Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/btbytes/teh
/ functions
Functions
417 in github.com/btbytes/teh
⨍
Functions
417
◇
Types & classes
55
↓ 106 callers
Method
append
Appends the given tag to the contents of this tag.
lib/BeautifulSoup.py:228
↓ 28 callers
Function
param_default
(pname,def)
static/scripts/dynamic.js:193
↓ 19 callers
Method
encode
Encodes the Python object into a JSON string representation. This method will first attempt to encode an object by seeing if it has a
lib/demjson.py:1714
↓ 18 callers
Method
has_key
(self, key)
lib/BeautifulSoup.py:510
↓ 18 callers
Method
parse_params
Parse the parameters from a block signature. This function parses the parameters from a block signature, splitting the information ab
lib/textile.py:1018
↓ 17 callers
Method
get
Returns the value of the 'key' attribute for the tag, or the value given for 'default' if it doesn't have that attribute.
lib/BeautifulSoup.py:504
↓ 16 callers
Method
search
(self, markup)
lib/BeautifulSoup.py:849
↓ 15 callers
Method
build_open_tag
Build the open tag with specified attributes. This function is used by all block builders to generate the opening tags with the attr
lib/textile.py:1170
↓ 14 callers
Function
preg_replace
Alternative re.sub that handles empty groups. This acts like re.sub, except it replaces empty groups with '' instead of raising an exception.
lib/textile.py:453
↓ 13 callers
Method
get
(self, slug)
blog.py:85
↓ 13 callers
Method
render
(self, tmpl, **kw)
utils.py:15
↓ 10 callers
Function
addEvent
(obj,type,fn)
static/scripts/dynamic.js:19
↓ 10 callers
Method
find
Return only the first child of this Tag matching the given criteria.
lib/BeautifulSoup.py:717
↓ 9 callers
Method
__str__
Returns a string or Unicode representation of this tag and its contents. To get Unicode, pass None for encoding. NOTE: since Python's
lib/BeautifulSoup.py:606
↓ 9 callers
Method
decode
Decodes a JSON-endoded string into a Python object.
lib/demjson.py:1700
↓ 9 callers
Function
hh
(text,cs,navtype)
static/scripts/dynamic.js:112
↓ 8 callers
Method
skipws
Skips whitespace.
lib/demjson.py:1497
↓ 7 callers
Method
_getAttrMap
Initializes a map representation of this tag's attributes, if not already initialized.
lib/BeautifulSoup.py:757
↓ 7 callers
Function
addClassName
(objElement,strClass,blnMayAlreadyExist)
static/scripts/dynamic.js:14
↓ 7 callers
Method
get
(self,fname)
shooin.py:60
↓ 6 callers
Method
_findAll
Iterates over a generator looking for things that match.
lib/BeautifulSoup.py:312
↓ 6 callers
Function
buildTagMap
Turns a list of maps, lists, or scalars into a single map. Used to build the SELF_CLOSING_TAGS, NESTABLE_TAGS, and NESTING_RESET_TAGS maps out
lib/BeautifulSoup.py:930
↓ 6 callers
Method
handle_data
(self, data)
lib/BeautifulSoup.py:1287
↓ 5 callers
Method
endData
(self, containerClass=NavigableString)
lib/BeautifulSoup.py:1155
↓ 5 callers
Method
inline
Inline formatting. This function calls the formatting on the inline text, taking care to avoid the escaped parts. ---
lib/textile.py:2829
↓ 5 callers
Method
insert
(self, position, newChild)
lib/BeautifulSoup.py:168
↓ 5 callers
Function
isString
Convenience method that works with all 2.x versions of Python to determine whether or not something is stringlike.
lib/BeautifulSoup.py:922
↓ 4 callers
Method
__init__
Basic constructor.
lib/BeautifulSoup.py:477
↓ 4 callers
Method
_convertFrom
(self, proposed)
lib/BeautifulSoup.py:1721
↓ 4 callers
Method
_findOne
(self, method, name, attrs, text, **kwargs)
lib/BeautifulSoup.py:305
↓ 4 callers
Method
_matches
(self, markup, matchAgainst)
lib/BeautifulSoup.py:875
↓ 4 callers
Method
_run_block_gamut
(self, text)
lib/markdown2.py:553
↓ 4 callers
Method
_run_span_gamut
(self, text)
lib/markdown2.py:580
↓ 4 callers
Method
_toStringSubclass
Adds a certain piece of text to the tree as a NavigableString subclass.
lib/BeautifulSoup.py:1290
↓ 4 callers
Function
clearSafariRadios
()
static/scripts/dynamic.js:6
↓ 4 callers
Method
decodeobj
Intermediate-level JSON decoder. Takes a string and a starting index, and returns a two-tuple consting of a Python object and the ind
lib/demjson.py:1645
↓ 4 callers
Method
findAll
Extracts a list of Tag objects that match the given criteria. You can specify the name of the Tag and any attributes you want the Tag
lib/BeautifulSoup.py:728
↓ 4 callers
Function
isList
Convenience method that works with all 2.x versions of Python to determine whether or not something is listlike.
lib/BeautifulSoup.py:916
↓ 4 callers
Function
removeClassName
(objElement,strClass)
static/scripts/dynamic.js:17
↓ 4 callers
Function
setMonth
(m)
static/scripts/dynamic.js:95
↓ 4 callers
Function
textile
This is Textile. Generates XHTML from a simple markup developed by Dean Allen. This function should be called like this: textil
lib/textile.py:2859
↓ 4 callers
Method
toEncoding
Encodes an object to a string in some encoding, or to Unicode. .
lib/BeautifulSoup.py:372
↓ 3 callers
Method
_codec
(self, charset)
lib/BeautifulSoup.py:1844
↓ 3 callers
Function
_in_tag
Extracts text from inside a tag. This function extracts the text from inside a given tag. It's useful to get the text between <body></body> o
lib/textile.py:167
↓ 3 callers
Method
_lastRecursiveChild
Finds the last element beneath this object to be parsed.
lib/BeautifulSoup.py:161
↓ 3 callers
Method
_outdent
(self, text)
lib/markdown2.py:1391
↓ 3 callers
Method
encode_helper
(self, chunklist, obj, nest_level)
lib/demjson.py:1737
↓ 3 callers
Method
isSelfClosingTag
Returns true iff the given string is the name of a self-closing tag according to this parser.
lib/BeautifulSoup.py:1118
↓ 3 callers
Function
isstringtype
Is the object of a Python string type?
lib/demjson.py:730
↓ 3 callers
Method
isws
Determines if the given character is considered as white space. Note that Javscript is much more permissive on what it considers
lib/demjson.py:986
↓ 3 callers
Function
makeTimePart
(className,init,range_start,range_end)
static/scripts/dynamic.js:118
↓ 3 callers
Method
popTag
(self)
lib/BeautifulSoup.py:1134
↓ 2 callers
Method
__getattr__
(self, tag)
lib/BeautifulSoup.py:564
↓ 2 callers
Function
_debug
Outputs debug information to sys.stderr. This function outputs debug information if DEBUGLEVEL is higher than a given treshold.
lib/textile.py:258
↓ 2 callers
Method
_detab
r"""Remove (leading?) tabs from a file. >>> m = Markdown() >>> m._detab("\tfoo") ' foo' >>> m._det
lib/markdown2.py:368
↓ 2 callers
Method
_do_lists
(self, text)
lib/markdown2.py:950
↓ 2 callers
Method
_encode_amps_and_angles
(self, text)
lib/markdown2.py:1300
↓ 2 callers
Method
_encode_code
Encode/escape certain characters inside Markdown code runs. The point is that in code, these characters are literals, and lose their s
lib/markdown2.py:1177
↓ 2 callers
Method
_feed
(self, inDocumentEncoding=None)
lib/BeautifulSoup.py:1073
↓ 2 callers
Method
_hash_html_blocks
Hashify HTML blocks We only want to do this for block-level HTML tags, such as headers, lists, and tables. That's because we still wa
lib/markdown2.py:423
↓ 2 callers
Function
_hash_text
(text)
lib/markdown2.py:1610
↓ 2 callers
Method
_popToTag
Pops the tag stack up to and including the most recent instance of the given tag. If inclusivePop is false, pops the tag stack up to b
lib/BeautifulSoup.py:1176
↓ 2 callers
Method
_sanitize_html
(self, s)
lib/markdown2.py:678
↓ 2 callers
Method
_unescape_special_chars
(self, text)
lib/markdown2.py:1385
↓ 2 callers
Method
build_li
Build the list item. This function build the list item of an (un)ordered list. It works by peeking at the next list item, and searchi
lib/textile.py:1575
↓ 2 callers
Method
convert
Convert the given text.
lib/markdown2.py:179
↓ 2 callers
Function
decode_hex
Decodes a hexadecimal string into it's integer value.
lib/demjson.py:744
↓ 2 callers
Method
decode_number
Intermediate-level decoder for JSON numeric literals. Takes a string and a starting index, and returns a Python suitable numeric type
lib/demjson.py:1072
↓ 2 callers
Function
decode_octal
Decodes an octal string into it's integer value.
lib/demjson.py:764
↓ 2 callers
Method
extract
Destructively rips this element out of the tree.
lib/BeautifulSoup.py:133
↓ 2 callers
Method
format
Text formatting. This function basically defines the order on which the formatting is applied.
lib/textile.py:2814
↓ 2 callers
Method
get
(self)
admin.py:20
↓ 2 callers
Function
getElementsByClassName
(oElm,strTagName,strClassName)
static/scripts/dynamic.js:12
↓ 2 callers
Function
getVisib
(obj)
static/scripts/dynamic.js:162
↓ 2 callers
Function
in_repertoire
( c, encoding_func )
lib/demjson.py:1973
↓ 2 callers
Method
islineterm
Determines if the given character is considered a line terminator. Ref. ECMAScript section 7.3
lib/demjson.py:1005
↓ 2 callers
Function
isnumbertype
Is the object of a Python number type (excluding complex)?
lib/demjson.py:723
↓ 2 callers
Method
paragraph
Process a paragraph. This function processes the paragraphs, enclosing the text in a <p> tag and breaking lines with <br />. Paragra
lib/textile.py:1192
↓ 2 callers
Method
pushTag
(self, tag)
lib/BeautifulSoup.py:1148
↓ 2 callers
Method
searchTag
(self, markupName=None, markupAttrs={})
lib/BeautifulSoup.py:812
↓ 2 callers
Method
setup
Sets up the initial relations between this element and other elements.
lib/BeautifulSoup.py:107
↓ 2 callers
Method
substituteEncoding
(self, str, encoding=None)
lib/BeautifulSoup.py:368
↓ 1 callers
Method
__init__
Instantiate the class, passing the text to be formatted. Here we pre-process the text and collect all the link lookups fo
lib/textile.py:640
↓ 1 callers
Method
__mul__
(self,x)
lib/demjson.py:322
↓ 1 callers
Method
__mul__
(self,x)
lib/demjson.py:407
↓ 1 callers
Method
_add_footnotes
(self, text)
lib/markdown2.py:1267
↓ 1 callers
Function
_color
Colorizer Python code. This function wraps a text string in a StringIO, and passes it to the htmlizer function from Twisted.
lib/textile.py:195
↓ 1 callers
Method
_color_with_pygments
(self, codeblock, lexer)
lib/markdown2.py:1072
↓ 1 callers
Function
_curry
(*args, **kwargs)
lib/markdown2.py:1409
↓ 1 callers
Function
_dedent
_dedent(text, tabsize=8, skip_first_line=False) -> dedented text "text" is the text to dedent. "tabsize" is the tab width to use for
lib/markdown2.py:1517
↓ 1 callers
Function
_dedentlines
_dedentlines(lines, tabsize=8, skip_first_line=False) -> dedented lines "lines" is a list of lines to dedent. "tabsize" is the ta
lib/markdown2.py:1447
↓ 1 callers
Method
_detectEncoding
Given a document, tries to detect its XML encoding.
lib/BeautifulSoup.py:1774
↓ 1 callers
Method
_do_auto_links
(self, text)
lib/markdown2.py:1333
↓ 1 callers
Method
_do_block_quotes
(self, text)
lib/markdown2.py:1245
↓ 1 callers
Method
_do_code_blocks
Process Markdown `<pre><code>` blocks.
lib/markdown2.py:1112
↓ 1 callers
Method
_do_code_spans
(self, text)
lib/markdown2.py:1152
↓ 1 callers
Method
_do_headers
(self, text)
lib/markdown2.py:916
↓ 1 callers
Method
_do_italics_and_bold
(self, text)
lib/markdown2.py:1206
↓ 1 callers
Method
_do_link_patterns
Caveat emptor: there isn't much guarding against link patterns being formed inside other standard Markdown links, e.g. inside a [link
lib/markdown2.py:1358
↓ 1 callers
Method
_do_links
Turn Markdown link shortcuts into XHTML <a> and <img> tags. This is a combination of Markdown.pl's _DoAnchors() and _DoImages(). They
lib/markdown2.py:720
next →
1–100 of 417, ranked by callers