text
stringlengths
0
1.05M
meta
dict
""" S5/HTML Slideshow Writer. """ __docformat__ = 'reStructuredText' import sys import os import re import docutils from docutils import frontend, nodes, utils from docutils.writers import html4css1 from docutils.parsers.rst import directives from docutils._compat import b themes_dir_path = utils....
{ "repo_name": "cuongthai/cuongthai-s-blog", "path": "docutils/writers/s5_html/__init__.py", "copies": "2", "size": "14734", "license": "bsd-3-clause", "hash": 13832767334748964, "line_mean": 40.4610951009, "line_max": 80, "alpha_frac": 0.5484593457, "autogenerated": false, "ratio": 4.017998363785...
""" Open Document Format (ODF) Writer. """ VERSION = '1.0a' __docformat__ = 'reStructuredText' import sys import os import os.path import tempfile import zipfile from xml.dom import minidom import time import re import StringIO import inspect import imp import copy import urllib2 import docutils from docutils imp...
{ "repo_name": "chirilo/remo", "path": "vendor-local/lib/python/docutils/writers/odf_odt/__init__.py", "copies": "6", "size": "124704", "license": "bsd-3-clause", "hash": 5225821190591793000, "line_mean": 37.2175911738, "line_max": 103, "alpha_frac": 0.5366547986, "autogenerated": false, "ratio": ...
""" Open Document Format (ODF) Writer. """ VERSION = '1.0a' __docformat__ = 'reStructuredText' import sys import os import os.path import tempfile import zipfile from xml.dom import minidom import time import re import StringIO import inspect import imp import copy import urllib2 import do...
{ "repo_name": "cuongthai/cuongthai-s-blog", "path": "docutils/writers/odf_odt/__init__.py", "copies": "2", "size": "127967", "license": "bsd-3-clause", "hash": 4997229934621202000, "line_mean": 37.2175911738, "line_max": 103, "alpha_frac": 0.5229707659, "autogenerated": false, "ratio": 3.90906036...
""" Simple HyperText Markup Language document tree Writer. The output conforms to the XHTML version 1.0 Transitional DTD (*almost* strict). The output contains a minimum of formatting information. The cascading style sheet "html4css1.css" is required for proper viewing with a modern graphical browser. """ __docfor...
{ "repo_name": "abdullah2891/remo", "path": "vendor-local/lib/python/docutils/writers/html4css1/__init__.py", "copies": "6", "size": "64608", "license": "bsd-3-clause", "hash": 5197337839433477000, "line_mean": 37.6642728905, "line_max": 85, "alpha_frac": 0.549173477, "autogenerated": false, "rati...
""" Simple HyperText Markup Language document tree Writer. The output conforms to the HTML version 5 The css is based on twitter bootstrap: http://twitter.github.com/bootstrap/ this code is based on html4css1 """ from __future__ import absolute_import __docformat__ = 'reStructuredText' import codecs import os impo...
{ "repo_name": "marianoguerra/rst2html5", "path": "html5css3/__init__.py", "copies": "1", "size": "29453", "license": "mit", "hash": 7752941196281596000, "line_mean": 31.3659340659, "line_max": 110, "alpha_frac": 0.5457169049, "autogenerated": false, "ratio": 4.017048554282597, "config_test": fa...
""" Simple HyperText Markup Language document tree Writer. The output conforms to the XHTML version 1.0 Transitional DTD (*almost* strict). The output contains a minimum of formatting information. The cascading style sheet "html4css1.css" is required for proper viewing with a modern graphical browser. """ ...
{ "repo_name": "ajaxsys/dict-admin", "path": "docutils/writers/html4css1/__init__.py", "copies": "2", "size": "66279", "license": "bsd-3-clause", "hash": 494976943136167100, "line_mean": 37.6642728905, "line_max": 85, "alpha_frac": 0.5353279319, "autogenerated": false, "ratio": 4.033041255932822, ...
""" This is ``docutils.parsers.rst`` package. It exports a single class, `Parser`, the reStructuredText parser. Usage ===== 1. Create a parser:: parser = docutils.parsers.rst.Parser() Several optional arguments may be passed to modify the parser's behavior. Please see `Customizing the Parser`_ below ...
{ "repo_name": "abdullah2891/remo", "path": "vendor-local/lib/python/docutils/parsers/rst/__init__.py", "copies": "6", "size": "14608", "license": "bsd-3-clause", "hash": 8283112148653431000, "line_mean": 36.9428571429, "line_max": 82, "alpha_frac": 0.6550520263, "autogenerated": false, "ratio": 4...
""" This is ``docutils.parsers.rst`` package. It exports a single class, `Parser`, the reStructuredText parser. Usage ===== 1. Create a parser:: parser = docutils.parsers.rst.Parser() Several optional arguments may be passed to modify the parser's behavior. Please see `Customizing the P...
{ "repo_name": "ajaxsys/dict-admin", "path": "docutils/parsers/rst/__init__.py", "copies": "2", "size": "14993", "license": "bsd-3-clause", "hash": 1532011830481133000, "line_mean": 36.9428571429, "line_max": 82, "alpha_frac": 0.6382311745, "autogenerated": false, "ratio": 4.411003236245954, "co...
""" This is the Docutils (Python Documentation Utilities) package. Package Structure ================= Modules: - __init__.py: Contains component base classes, exception classes, and Docutils version information. - core.py: Contains the ``Publisher`` class and ``publish_*()`` convenience functions...
{ "repo_name": "ajaxsys/dict-admin", "path": "docutils/__init__.py", "copies": "2", "size": "7601", "license": "bsd-3-clause", "hash": 2825018362533927400, "line_mean": 33.5186915888, "line_max": 78, "alpha_frac": 0.6734640179, "autogenerated": false, "ratio": 4.6066666666666665, "config_test": ...
""" This package contains directive implementation modules. """ __docformat__ = 'reStructuredText' import re import codecs from docutils import nodes from docutils.parsers.rst.languages import en as _fallback_language_module _directive_registry = { 'attention': ('admonitions', 'Attention'), 'caution': ...
{ "repo_name": "neumerance/deploy", "path": ".venv/lib/python2.7/site-packages/docutils/parsers/rst/directives/__init__.py", "copies": "4", "size": "13382", "license": "apache-2.0", "hash": -3748411593631297000, "line_mean": 32.7078085642, "line_max": 79, "alpha_frac": 0.6065610522, "autogenerated":...
# Internationalization details are documented in # <http://docutils.sf.net/docs/howto/i18n.html>. """ This package contains modules for language-dependent features of Docutils. """ __docformat__ = 'reStructuredText' from docutils.utils import normalize_language_tag _languages = {} def get_language(language_code, ...
{ "repo_name": "mcr/ietfdb", "path": "docutils/languages/__init__.py", "copies": "6", "size": "1332", "license": "bsd-3-clause", "hash": -778499815933973900, "line_mean": 32.3, "line_max": 74, "alpha_frac": 0.6561561562, "autogenerated": false, "ratio": 4, "config_test": false, "has_no_keyword...
""" This package contains Docutils Writer modules. """ __docformat__ = 'reStructuredText' import os.path import docutils from docutils import languages, Component from docutils.transforms import universal class Writer(Component): """ Abstract base class for docutils Writers. Each writer module or pa...
{ "repo_name": "neumerance/cloudloon2", "path": ".venv/lib/python2.7/site-packages/docutils/writers/__init__.py", "copies": "6", "size": "4283", "license": "apache-2.0", "hash": 3010520620663041000, "line_mean": 30.9626865672, "line_max": 78, "alpha_frac": 0.6495447117, "autogenerated": false, "ra...
""" This is ``docutils.parsers.rst`` package. It exports a single class, `Parser`, the reStructuredText parser. Usage ===== 1. Create a parser:: parser = docutils.parsers.rst.Parser() Several optional arguments may be passed to modify the parser's behavior. Please see `Customizing the Parser`_ below ...
{ "repo_name": "neumerance/cloudloon2", "path": ".venv/lib/python2.7/site-packages/docutils/parsers/rst/__init__.py", "copies": "6", "size": "14890", "license": "apache-2.0", "hash": 3390777679472029000, "line_mean": 37.1794871795, "line_max": 82, "alpha_frac": 0.6514439221, "autogenerated": false, ...
""" S5/HTML Slideshow Writer. """ __docformat__ = 'reStructuredText' import sys import os import re import docutils from docutils import frontend, nodes, utils from docutils.writers import html4css1 from docutils.parsers.rst import directives from docutils._compat import b themes_dir_path = utils.relative_path( ...
{ "repo_name": "neumerance/cloudloon2", "path": ".venv/lib/python2.7/site-packages/docutils/writers/s5_html/__init__.py", "copies": "4", "size": "14394", "license": "apache-2.0", "hash": 6039815656861034000, "line_mean": 40.4812680115, "line_max": 80, "alpha_frac": 0.561900792, "autogenerated": fals...
""" Simple HyperText Markup Language document tree Writer. The output conforms to the XHTML version 1.0 Transitional DTD (*almost* strict). The output contains a minimum of formatting information. The cascading style sheet "html4css1.css" is required for proper viewing with a modern graphical browser. """ __docfor...
{ "repo_name": "ddd332/presto", "path": "presto-docs/target/sphinx/docutils/writers/html4css1/__init__.py", "copies": "4", "size": "65633", "license": "apache-2.0", "hash": 3288565393174676500, "line_mean": 37.7901891253, "line_max": 85, "alpha_frac": 0.549510155, "autogenerated": false, "ratio": ...
""" Open Document Format (ODF) Writer. """ VERSION = '1.0a' __docformat__ = 'reStructuredText' import sys import os import os.path import tempfile import zipfile from xml.dom import minidom import time import re import StringIO import inspect import imp import copy import urllib2 import docutils from docutils imp...
{ "repo_name": "mcr/ietfdb", "path": "docutils/writers/odf_odt/__init__.py", "copies": "4", "size": "124894", "license": "bsd-3-clause", "hash": 163482187942717900, "line_mean": 37.2406613595, "line_max": 103, "alpha_frac": 0.5367751854, "autogenerated": false, "ratio": 3.822310635042081, "confi...
""" This is the Docutils (Python Documentation Utilities) package. Package Structure ================= Modules: - __init__.py: Contains component base classes, exception classes, and Docutils version information. - core.py: Contains the ``Publisher`` class and ``publish_*()`` convenience functions. - frontend...
{ "repo_name": "neumerance/deploy", "path": ".venv/lib/python2.7/site-packages/docutils/__init__.py", "copies": "4", "size": "7427", "license": "apache-2.0", "hash": 513495679666374400, "line_mean": 33.7056074766, "line_max": 78, "alpha_frac": 0.6935505588, "autogenerated": false, "ratio": 4.52038...
""" This is ``docutils.parsers.rst`` package. It exports a single class, `Parser`, the reStructuredText parser. Usage ===== 1. Create a parser:: parser = docutils.parsers.rst.Parser() Several optional arguments may be passed to modify the parser's behavior. Please see `Customizing the Parser`_ below ...
{ "repo_name": "ktan2020/legacy-automation", "path": "win/Lib/site-packages/docutils/parsers/rst/__init__.py", "copies": "4", "size": "15298", "license": "mit", "hash": 8414381616869438000, "line_mean": 37.245, "line_max": 82, "alpha_frac": 0.6502157145, "autogenerated": false, "ratio": 4.34355479...
""" Simple HyperText Markup Language document tree Writer. The output conforms to the XHTML version 1.0 Transitional DTD (*almost* strict). The output contains a minimum of formatting information. The cascading style sheet "html4css1.css" is required for proper viewing with a modern graphical browser. """ __docfor...
{ "repo_name": "ktan2020/legacy-automation", "path": "win/Lib/site-packages/docutils/writers/html4css1/__init__.py", "copies": "4", "size": "66843", "license": "mit", "hash": 2556063508860106000, "line_mean": 37.9074505239, "line_max": 85, "alpha_frac": 0.5496910671, "autogenerated": false, "ratio...
# Internationalization details are documented in # <http://docutils.sf.net/docs/howto/i18n.html>. """ This package contains modules for language-dependent features of Docutils. """ __docformat__ = 'reStructuredText' import sys from docutils.utils import normalize_language_tag if sys.version_info < (2,5): from ...
{ "repo_name": "ktan2020/legacy-automation", "path": "win/Lib/site-packages/docutils/languages/__init__.py", "copies": "4", "size": "1626", "license": "mit", "hash": -5668487120892551000, "line_mean": 32.875, "line_max": 74, "alpha_frac": 0.6340713407, "autogenerated": false, "ratio": 4.0049261083...
""" This is ``docutils.parsers.rst`` package. It exports a single class, `Parser`, the reStructuredText parser. Usage ===== 1. Create a parser:: parser = docutils.parsers.rst.Parser() Several optional arguments may be passed to modify the parser's behavior. Please see `Customizing the Parser`_ below ...
{ "repo_name": "clumsy/intellij-community", "path": "python/helpers/py3only/docutils/parsers/rst/__init__.py", "copies": "44", "size": "15296", "license": "apache-2.0", "hash": -4893256351736852000, "line_mean": 37.335839599, "line_max": 82, "alpha_frac": 0.6502353556, "autogenerated": false, "rat...
""" This package contains directive implementation modules. """ __docformat__ = 'reStructuredText' import codecs import re import sys from docutils import nodes from docutils.parsers.rst.languages import en as _fallback_language_module if sys.version_info < (2,5): from docutils._compat import __import__ _dir...
{ "repo_name": "paplorinc/intellij-community", "path": "python/helpers/py3only/docutils/parsers/rst/directives/__init__.py", "copies": "44", "size": "13607", "license": "apache-2.0", "hash": -8927325904435080000, "line_mean": 32.5975308642, "line_max": 79, "alpha_frac": 0.6061585948, "autogenerated"...
""" This package contains directive implementation modules. """ __docformat__ = 'reStructuredText' import re import codecs import sys from docutils import nodes from docutils.parsers.rst.languages import en as _fallback_language_module if sys.version_info < (2,5): from docutils._compat import __import__ _dire...
{ "repo_name": "mdanielwork/intellij-community", "path": "python/helpers/py2only/docutils/parsers/rst/directives/__init__.py", "copies": "104", "size": "13607", "license": "apache-2.0", "hash": -7053554572301749000, "line_mean": 32.6806930693, "line_max": 79, "alpha_frac": 0.6062320864, "autogenerat...
""" PEP HTML Writer. """ __docformat__ = 'reStructuredText' import os import os.path from docutils import frontend, nodes, utils from docutils.writers import html4css1 class Writer(html4css1.Writer): default_stylesheet = 'pep.css' default_stylesheet_path = utils.relative_path( os.path.join(os.ge...
{ "repo_name": "xfournet/intellij-community", "path": "python/helpers/py3only/docutils/writers/pep_html/__init__.py", "copies": "44", "size": "3457", "license": "apache-2.0", "hash": -1312356845219453200, "line_mean": 33.2277227723, "line_max": 79, "alpha_frac": 0.593578247, "autogenerated": false, ...
""" PEP HTML Writer. """ __docformat__ = 'reStructuredText' import sys import os import os.path import codecs import docutils from docutils import frontend, nodes, utils, writers from docutils.writers import html4css1 class Writer(html4css1.Writer): default_stylesheet = 'pep.css' default_stylesheet_path...
{ "repo_name": "havard024/prego", "path": "crm/lib/python2.7/site-packages/docutils/writers/pep_html/__init__.py", "copies": "124", "size": "3507", "license": "mit", "hash": -8124608328573850000, "line_mean": 32.7211538462, "line_max": 79, "alpha_frac": 0.5970915312, "autogenerated": false, "ratio...
""" This package contains Docutils parser modules. """ __docformat__ = 'reStructuredText' import sys from docutils import Component if sys.version_info < (2,5): from docutils._compat import __import__ class Parser(Component): component_type = 'parser' config_section = 'parsers' def parse(self, ...
{ "repo_name": "signed/intellij-community", "path": "python/helpers/py3only/docutils/parsers/__init__.py", "copies": "44", "size": "1659", "license": "apache-2.0", "hash": -47401477058954580, "line_mean": 29.1636363636, "line_max": 76, "alpha_frac": 0.6522001206, "autogenerated": false, "ratio": 3...
# Internationalization details are documented in # <http://docutils.sf.net/docs/howto/i18n.html>. """ This package contains modules for language-dependent features of Docutils. """ __docformat__ = 'reStructuredText' import sys from docutils.utils import normalize_language_tag if sys.version_info < (2,5): from ...
{ "repo_name": "consulo/consulo-python", "path": "plugin/src/main/dist/helpers/py3only/docutils/languages/__init__.py", "copies": "170", "size": "1626", "license": "apache-2.0", "hash": 5080159798627564000, "line_mean": 32.875, "line_max": 74, "alpha_frac": 0.6340713407, "autogenerated": false, "r...
# Internationalization details are documented in # <http://docutils.sf.net/docs/howto/i18n.html>. """ This package contains modules for language-dependent features of reStructuredText. """ __docformat__ = 'reStructuredText' import sys from docutils.utils import normalize_language_tag if sys.version_info < (2,5): ...
{ "repo_name": "VirtueSecurity/aws-extender", "path": "BappModules/docutils/parsers/rst/languages/__init__.py", "copies": "170", "size": "1085", "license": "mit", "hash": -896150465109158800, "line_mean": 28.3243243243, "line_max": 70, "alpha_frac": 0.6331797235, "autogenerated": false, "ratio": 3...
""" This package contains Docutils Writer modules. """ __docformat__ = 'reStructuredText' import os.path import sys import docutils from docutils import languages, Component from docutils.transforms import universal if sys.version_info < (2,5): from docutils._compat import __import__ class Writer(Component): ...
{ "repo_name": "mdanielwork/intellij-community", "path": "python/helpers/py2only/docutils/writers/__init__.py", "copies": "106", "size": "4484", "license": "apache-2.0", "hash": -1355828573442566000, "line_mean": 31.0285714286, "line_max": 78, "alpha_frac": 0.6480820696, "autogenerated": false, "r...
""" This package contains Docutils Writer modules. """ __docformat__ = 'reStructuredText' import sys import docutils from docutils import languages, Component from docutils.transforms import universal if sys.version_info < (2,5): from docutils._compat import __import__ class Writer(Component): """ Ab...
{ "repo_name": "JetBrains/intellij-community", "path": "python/helpers/py3only/docutils/writers/__init__.py", "copies": "44", "size": "4469", "license": "apache-2.0", "hash": -2486960916132337700, "line_mean": 31.1510791367, "line_max": 78, "alpha_frac": 0.6475721638, "autogenerated": false, "rati...
""" This package contains Docutils Reader modules. """ __docformat__ = 'reStructuredText' import sys from docutils import utils, parsers, Component from docutils.transforms import universal if sys.version_info < (2,5): from docutils._compat import __import__ class Reader(Component): """ Abstract base...
{ "repo_name": "dahlstrom-g/intellij-community", "path": "python/helpers/py3only/docutils/readers/__init__.py", "copies": "170", "size": "3465", "license": "apache-2.0", "hash": -3942269144584981000, "line_mean": 29.6637168142, "line_max": 78, "alpha_frac": 0.6441558442, "autogenerated": false, "r...
""" Simple HyperText Markup Language document tree Writer. The output conforms to the XHTML version 1.0 Transitional DTD (*almost* strict). The output contains a minimum of formatting information. The cascading style sheet "html4css1.css" is required for proper viewing with a modern graphical browser. """ __docfor...
{ "repo_name": "mikaem/euroscipy_proceedings", "path": "publisher/html_writer/__init__.py", "copies": "8", "size": "68945", "license": "bsd-2-clause", "hash": -6768029442165753000, "line_mean": 38.0623229462, "line_max": 85, "alpha_frac": 0.5506128073, "autogenerated": false, "ratio": 3.9726303658...
""" Open Document Format (ODF) Writer. """ VERSION = '1.0a' __docformat__ = 'reStructuredText' import copy import io import os import os.path import re import sys import tempfile import time import zipfile from xml.dom import minidom import urllib.error import urllib.parse import urllib.request import docutils f...
{ "repo_name": "mglukhikh/intellij-community", "path": "python/helpers/py3only/docutils/writers/odf_odt/__init__.py", "copies": "44", "size": "125758", "license": "apache-2.0", "hash": -7751913813615576, "line_mean": 37.1431604489, "line_max": 103, "alpha_frac": 0.5364430096, "autogenerated": false,...
""" Open Document Format (ODF) Writer. """ VERSION = '1.0a' __docformat__ = 'reStructuredText' import sys import os import os.path import tempfile import zipfile from xml.dom import minidom import time import re import StringIO import copy import urllib2 import docutils from docutils import frontend, nodes, utils...
{ "repo_name": "rzabini/gradle-rst2odt", "path": "src/main/jython/docutils/writers/odf_odt/__init__.py", "copies": "1", "size": "128993", "license": "apache-2.0", "hash": -996044508297419000, "line_mean": 37.2882160879, "line_max": 126, "alpha_frac": 0.5365019807, "autogenerated": false, "ratio": ...
""" S5/HTML Slideshow Writer. """ __docformat__ = 'reStructuredText' import os import re import sys import docutils from docutils import frontend, nodes, utils from docutils._compat import b from docutils.writers import html4css1 themes_dir_path = utils.relative_path( os.path.join(os.getcwd(), 'dummy'), os...
{ "repo_name": "mdanielwork/intellij-community", "path": "python/helpers/py3only/docutils/writers/s5_html/__init__.py", "copies": "44", "size": "14620", "license": "apache-2.0", "hash": 626832949577162400, "line_mean": 40.5340909091, "line_max": 80, "alpha_frac": 0.5604651163, "autogenerated": false...
""" S5/HTML Slideshow Writer. """ __docformat__ = 'reStructuredText' import sys import os import re import docutils from docutils import frontend, nodes, utils from docutils.writers import html4css1 from docutils.parsers.rst import directives from docutils._compat import b themes_dir_path = utils.relative_path( ...
{ "repo_name": "FHannes/intellij-community", "path": "python/helpers/py2only/docutils/writers/s5_html/__init__.py", "copies": "100", "size": "14658", "license": "apache-2.0", "hash": 7486471707043696000, "line_mean": 40.5240793201, "line_max": 80, "alpha_frac": 0.561331696, "autogenerated": false, ...
""" Simple HyperText Markup Language document tree Writer. The output conforms to the XHTML version 1.0 Transitional DTD (*almost* strict). The output contains a minimum of formatting information. The cascading style sheet "html4css1.css" is required for proper viewing with a modern graphical browser. """ __docfor...
{ "repo_name": "vvv1559/intellij-community", "path": "python/helpers/py3only/docutils/writers/html4css1/__init__.py", "copies": "44", "size": "68115", "license": "apache-2.0", "hash": 1125256346087280800, "line_mean": 38.1915995397, "line_max": 85, "alpha_frac": 0.5495412171, "autogenerated": false,...
""" This is ``docutils.parsers.rst`` package. It exports a single class, `Parser`, the reStructuredText parser. Usage ===== 1. Create a parser:: parser = docutils.parsers.rst.Parser() Several optional arguments may be passed to modify the parser's behavior. Please see `Customizing the Parser`_ below ...
{ "repo_name": "juanmont/one", "path": ".vscode/extensions/tht13.rst-vscode-2.0.0/src/python/docutils/parsers/rst/__init__.py", "copies": "10", "size": "15764", "license": "apache-2.0", "hash": -6217381444111310000, "line_mean": 37.7321867322, "line_max": 82, "alpha_frac": 0.6480588683, "autogenerat...
""" Simple HyperText Markup Language document tree Writer. The output conforms to the XHTML version 1.0 Transitional DTD (*almost* strict). The output contains a minimum of formatting information. The cascading style sheet "html4css1.css" is required for proper viewing with a modern graphical browser. """ __docfor...
{ "repo_name": "AccelAI/accel.ai", "path": "flask-aws/lib/python2.7/site-packages/docutils/writers/html4css1/__init__.py", "copies": "9", "size": "33612", "license": "mit", "hash": -212076352371457100, "line_mean": 39.8408262454, "line_max": 85, "alpha_frac": 0.5561109128, "autogenerated": false, ...
""" This package contains directive implementation modules. """ __docformat__ = 'reStructuredText' import re import codecs import sys from docutils import nodes from docutils.utils import split_escaped_whitespace, escape2null, unescape from docutils.parsers.rst.languages import en as _fallback_language_module if sy...
{ "repo_name": "achang97/YouTunes", "path": "lib/python2.7/site-packages/docutils/parsers/rst/directives/__init__.py", "copies": "7", "size": "14065", "license": "mit", "hash": 1874953076044024000, "line_mean": 32.6483253589, "line_max": 79, "alpha_frac": 0.6077497334, "autogenerated": false, "rat...
""" Simple HyperText Markup Language document tree Writer. The output conforms to the XHTML version 1.0 Transitional DTD (*almost* strict). The output contains a minimum of formatting information. The cascading style sheet "html4css1.css" is required for proper viewing with a modern graphical browser. """ __docfor...
{ "repo_name": "burzillibus/RobHome", "path": "venv/lib/python2.7/site-packages/docutils/writers/html4css1/__init__.py", "copies": "7", "size": "33870", "license": "mit", "hash": 612315624632611000, "line_mean": 40.0545454545, "line_max": 85, "alpha_frac": 0.5571597284, "autogenerated": false, "ra...
""" This is ``docutils.parsers.rst`` package. It exports a single class, `Parser`, the reStructuredText parser. Usage ===== 1. Create a parser:: parser = docutils.parsers.rst.Parser() Several optional arguments may be passed to modify the parser's behavior. Please see `Customizing the Parser`_ below ...
{ "repo_name": "kawamon/hue", "path": "desktop/core/ext-py/docutils-0.14/docutils/parsers/rst/__init__.py", "copies": "10", "size": "16067", "license": "apache-2.0", "hash": 6810041920972060000, "line_mean": 37.9031476998, "line_max": 82, "alpha_frac": 0.6459202091, "autogenerated": false, "ratio"...
""" Open Document Format (ODF) Writer. """ VERSION = '1.0a' __docformat__ = 'reStructuredText' import sys import os import os.path import tempfile import zipfile from xml.dom import minidom import time import re import io import copy import urllib.request, urllib.error, urllib.parse import itertools import docuti...
{ "repo_name": "LEXmono/q", "path": "docutils/writers/odf_odt/__init__.py", "copies": "3", "size": "135235", "license": "apache-2.0", "hash": -6727370558646348000, "line_mean": 37.6385714286, "line_max": 103, "alpha_frac": 0.5342847636, "autogenerated": false, "ratio": 3.869384835479256, "config...
""" This is the Docutils (Python Documentation Utilities) package. Package Structure ================= Modules: - __init__.py: Contains component base classes, exception classes, and Docutils version information. - core.py: Contains the ``Publisher`` class and ``publish_*()`` convenience functions. - frontend...
{ "repo_name": "zrzka/blackmamba", "path": "blackmamba/lib/docutils/__init__.py", "copies": "3", "size": "8963", "license": "mit", "hash": 6685456265759938000, "line_mean": 33.2099236641, "line_max": 78, "alpha_frac": 0.6892781435, "autogenerated": false, "ratio": 4.3615571776155715, "config_tes...
"""fast, simple packet creation and parsing.""" __author__ = 'Dug Song <dugsong@monkey.org>' __copyright__ = 'Copyright (c) 2004 Dug Song' __license__ = 'BSD' __url__ = 'http://dpkt.googlecode.com/' __version__ = '1.8' from dpkt import * import ah import aim import arp import asn1 import bgp import cdp import dhcp ...
{ "repo_name": "ashrith/dpkt", "path": "dpkt/__init__.py", "copies": "1", "size": "1027", "license": "bsd-3-clause", "hash": 9097592329573338000, "line_mean": 13.2638888889, "line_max": 65, "alpha_frac": 0.7711781889, "autogenerated": false, "ratio": 3.0205882352941176, "config_test": false, "...
# "Copyright (c) 2000-2003 The Regents of the University of California. # All rights reserved. # # Permission to use, copy, modify, and distribute this software and its # documentation for any purpose, without fee, and without written agreement # is hereby granted, provided that the above copyright notice, the follo...
{ "repo_name": "fresskarma/tinyos-1.x", "path": "tools/python/pytos/__init__.py", "copies": "1", "size": "4000", "license": "bsd-3-clause", "hash": 8381873670169331000, "line_mean": 35.036036036, "line_max": 123, "alpha_frac": 0.559, "autogenerated": false, "ratio": 3.7313432835820897, "config_t...
import os import time import string import types import rocks.commands preamble_template = """$TTL 3D @ IN SOA ns.%s. root.ns.%s. ( %s ; Serial 8H ; Refresh 2H ; Retry 4W ; Expire 1D ) ; Min TTL ; NS ns.%s. MX 10 mail.%s. """ class Command(rocks.commands.report.command): """ Prints out all the named zone....
{ "repo_name": "kgururaj/rocks-centos7", "path": "multi_network/report_zones_init.py", "copies": "1", "size": "11334", "license": "mit", "hash": 3287150955799412000, "line_mean": 29.3048128342, "line_max": 84, "alpha_frac": 0.674607376, "autogenerated": false, "ratio": 2.952331336285491, "config...
import rocks.commands class Command(rocks.commands.NetworkArgumentProcessor, rocks.commands.set.command): """ Sets the gateway_ip for one or more named networks . <arg type='string' name='network' repeat='1'> One or more named networks that should have the defined netmask. </arg> <arg type='string' name='...
{ "repo_name": "kgururaj/rocks-centos7", "path": "multi_network/network_set_gateway.py", "copies": "1", "size": "4017", "license": "mit", "hash": -4419387179768510500, "line_mean": 36.5420560748, "line_max": 79, "alpha_frac": 0.7281553398, "autogenerated": false, "ratio": 3.5485865724381624, "co...
import os import sys import types import string import rocks.commands class Command(rocks.commands.add.command): """ Add a network to the database. By default both the "public" and "private" networks are already defined by Rocks. <arg type='string' name='name'> Name of the new network. </arg> <arg type='...
{ "repo_name": "kgururaj/rocks-centos7", "path": "multi_network/add_network_init.py", "copies": "1", "size": "7496", "license": "mit", "hash": 2588569978615815700, "line_mean": 31.5913043478, "line_max": 103, "alpha_frac": 0.6931696905, "autogenerated": false, "ratio": 3.246427024686011, "config...
from setup import ExtensionInstaller def loader(): return AmphibianInstaller() class AmphibianInstaller(ExtensionInstaller): def __init__(self): super(AmphibianInstaller, self).__init__( version="0.11", name='amphibian', description='Skin that looks a bit like a we...
{ "repo_name": "tony-rasskazov/meteo", "path": "weewx/bin/user/installer/amphibian/install.py", "copies": "1", "size": "1727", "license": "mit", "hash": 1547012612776249900, "line_mean": 40.119047619, "line_max": 65, "alpha_frac": 0.501447597, "autogenerated": false, "ratio": 3.8549107142857144, ...
from setup import ExtensionInstaller def loader(): return ExfoliationInstaller() class ExfoliationInstaller(ExtensionInstaller): def __init__(self): super(ExfoliationInstaller, self).__init__( version="0.35", name='exfoliation', description='A minimalist layout wit...
{ "repo_name": "tony-rasskazov/meteo", "path": "weewx/bin/user/installer/exfoliation/install.py", "copies": "1", "size": "5452", "license": "mit", "hash": 1721039498662489600, "line_mean": 50.9238095238, "line_max": 72, "alpha_frac": 0.5058694057, "autogenerated": false, "ratio": 3.734246575342466...
""" I/O classes provide a uniform API for low-level input and output. Subclasses will exist for a variety of input/output mechanisms. """ __docformat__ = 'reStructuredText' import sys try: import locale except: pass import re from types import UnicodeType from docutils import TransformSpec class Input(Tra...
{ "repo_name": "PatrickKennedy/Sybil", "path": "docutils/io.py", "copies": "2", "size": "13358", "license": "bsd-2-clause", "hash": -5292883687909448000, "line_mean": 31.4223300971, "line_max": 80, "alpha_frac": 0.5410241054, "autogenerated": false, "ratio": 4.601446779193937, "config_test": fal...
""" I/O classes provide a uniform API for low-level input and output. Subclasses will exist for a variety of input/output mechanisms. """ __docformat__ = 'reStructuredText' import sys try: import locale except: pass import re from docutils import TransformSpec from docutils._compat import b ...
{ "repo_name": "rimbalinux/LMD3", "path": "docutils/io.py", "copies": "2", "size": "13965", "license": "bsd-3-clause", "hash": 1159642084577259800, "line_mean": 31.0924170616, "line_max": 79, "alpha_frac": 0.5215180809, "autogenerated": false, "ratio": 4.694117647058824, "config_test": false, ...
""" I/O classes provide a uniform API for low-level input and output. Subclasses will exist for a variety of input/output mechanisms. """ __docformat__ = 'reStructuredText' import sys import re import codecs from docutils import TransformSpec from docutils._compat import b from docutils.error_reporting import local...
{ "repo_name": "abdullah2891/remo", "path": "vendor-local/lib/python/docutils/io.py", "copies": "6", "size": "13901", "license": "bsd-3-clause", "hash": -5560867513367429000, "line_mean": 31.8628841608, "line_max": 78, "alpha_frac": 0.5539169844, "autogenerated": false, "ratio": 4.513311688311688,...
""" I/O classes provide a uniform API for low-level input and output. Subclasses will exist for a variety of input/output mechanisms. """ __docformat__ = 'reStructuredText' import sys import re import codecs from docutils import TransformSpec from docutils._compat import b from docutils.error_reporting...
{ "repo_name": "ajaxsys/dict-admin", "path": "docutils/io.py", "copies": "2", "size": "14324", "license": "bsd-3-clause", "hash": -7082353410795681000, "line_mean": 31.8628841608, "line_max": 78, "alpha_frac": 0.537559341, "autogenerated": false, "ratio": 4.625121084920891, "config_test": false,...
""" I/O classes provide a uniform API for low-level input and output. Subclasses will exist for a variety of input/output mechanisms. """ __docformat__ = 'reStructuredText' import sys import os import re import codecs from docutils import TransformSpec from docutils._compat import b from docutils.error_reporting im...
{ "repo_name": "ddd332/presto", "path": "presto-docs/target/sphinx/docutils/io.py", "copies": "4", "size": "17891", "license": "apache-2.0", "hash": -3406483107361874400, "line_mean": 34.9979879276, "line_max": 79, "alpha_frac": 0.5529036946, "autogenerated": false, "ratio": 4.532809728908031, "...
""" I/O classes provide a uniform API for low-level input and output. Subclasses exist for a variety of input/output mechanisms. """ __docformat__ = 'reStructuredText' import codecs import os import re import sys from docutils import TransformSpec from docutils._compat import b from docutils.utils.error_reporting ...
{ "repo_name": "ibinti/intellij-community", "path": "python/helpers/py3only/docutils/io.py", "copies": "44", "size": "17042", "license": "apache-2.0", "hash": -5215135750085604000, "line_mean": 34.356846473, "line_max": 84, "alpha_frac": 0.5542189884, "autogenerated": false, "ratio": 4.53606601011...
""" I/O classes provide a uniform API for low-level input and output. Subclasses exist for a variety of input/output mechanisms. """ __docformat__ = 'reStructuredText' import sys import os import re import codecs from docutils import TransformSpec from docutils._compat import b from docutils.utils.error_reporting i...
{ "repo_name": "rzabini/gradle-rst2odt", "path": "src/main/jython/docutils/io.py", "copies": "1", "size": "17100", "license": "apache-2.0", "hash": -7312774277426281000, "line_mean": 34.4037267081, "line_max": 84, "alpha_frac": 0.554502924, "autogenerated": false, "ratio": 4.5394212901513145, "c...
# $Id: ip6.py 58 2010-03-06 00:06:14Z dugsong $ """Internet Protocol, version 6.""" import dpkt class IP6(dpkt.Packet): __hdr__ = ( ('v_fc_flow', 'I', 0x60000000L), ('plen', 'H', 0), # payload length (not including header) ('nxt', 'B', 0), # next header protocol ('hlim', 'B', 0), ...
{ "repo_name": "dragondjf/QMarkdowner", "path": "dpkt/ip6.py", "copies": "11", "size": "11508", "license": "mit", "hash": 8203530653008614000, "line_mean": 38.0101694915, "line_max": 376, "alpha_frac": 0.5350191171, "autogenerated": false, "ratio": 2.8626865671641792, "config_test": true, "has...
# $Id: ip6.py 87 2013-03-05 19:41:04Z andrewflnr@gmail.com $ # -*- coding: utf-8 -*- """Internet Protocol, version 6.""" from __future__ import print_function from __future__ import absolute_import from . import dpkt from . import ip from .compat import compat_ord class IP6(dpkt.Packet): """Internet Protocol, ve...
{ "repo_name": "dimagol/trex-core", "path": "scripts/external_libs/dpkt-1.9.1/dpkt/ip6.py", "copies": "2", "size": "14057", "license": "apache-2.0", "hash": -5030684088048115000, "line_mean": 33.5380835381, "line_max": 115, "alpha_frac": 0.5910934054, "autogenerated": false, "ratio": 2.56421014228...
# $Id: ip6.py 87 2013-03-05 19:41:04Z andrewflnr@gmail.com $ # -*- coding: utf-8 -*- """Internet Protocol, version 6.""" import dpkt from decorators import deprecated class IP6(dpkt.Packet): __hdr__ = ( ('_v_fc_flow', 'I', 0x60000000L), ('plen', 'H', 0), # payload length (not including header) ...
{ "repo_name": "hexcap/dpkt", "path": "dpkt/ip6.py", "copies": "6", "size": "13386", "license": "bsd-3-clause", "hash": 8818897807239755000, "line_mean": 31.728606357, "line_max": 368, "alpha_frac": 0.5721649485, "autogenerated": false, "ratio": 2.677735547109422, "config_test": true, "has_no_...
# $Id: ip6.py 87 2013-03-05 19:41:04Z andrewflnr@gmail.com $ """Internet Protocol, version 6.""" import dpkt class IP6(dpkt.Packet): __hdr__ = ( ('v_fc_flow', 'I', 0x60000000L), ('plen', 'H', 0), # payload length (not including header) ('nxt', 'B', 0), # next header protocol ('hli...
{ "repo_name": "ashrith/dpkt", "path": "dpkt/ip6.py", "copies": "4", "size": "12056", "license": "bsd-3-clause", "hash": -8243289486164138000, "line_mean": 38.2703583062, "line_max": 376, "alpha_frac": 0.5414731254, "autogenerated": false, "ratio": 2.8994708994708995, "config_test": true, "has...
# $Id: ip.py 65 2010-03-26 02:53:51Z dugsong $ """Internet Protocol.""" import dpkt class IP(dpkt.Packet): __hdr__ = ( ('v_hl', 'B', (4 << 4) | (20 >> 2)), ('tos', 'B', 0), ('len', 'H', 20), ('id', 'H', 0), ('off', 'H', 0), ('ttl', 'B', 64), ('p', 'B', 0), ...
{ "repo_name": "jacklee0810/QMarkdowner", "path": "dpkt/ip.py", "copies": "5", "size": "11092", "license": "mit", "hash": 5863251213305157000, "line_mean": 37.116838488, "line_max": 258, "alpha_frac": 0.6170212766, "autogenerated": false, "ratio": 2.425541220205554, "config_test": true, "has_n...
"""$Id: iso639codes.py 699 2006-09-25 02:01:18Z rubys $""" __author__ = "Sam Ruby <http://intertwingly.net/> and Mark Pilgrim <http://diveintomark.org/>" __version__ = "$Revision: 699 $" __date__ = "$Date: 2006-09-25 02:01:18 +0000 (Mon, 25 Sep 2006) $" __copyright__ = "Copyright (c) 2002 Sam Ruby and Mark Pilgrim" i...
{ "repo_name": "lucidbard/NewsBlur", "path": "vendor/feedvalidator/iso639codes.py", "copies": "16", "size": "18360", "license": "mit", "hash": 8488986314077918000, "line_mean": 24.2544704264, "line_max": 100, "alpha_frac": 0.4600762527, "autogenerated": false, "ratio": 2.417379855167874, "config...
# $Id: isql.py 3244 2007-05-28 11:33:44Z otmarhumbel $ import dbexts, cmd, sys, os """ Isql works in conjunction with dbexts to provide an interactive environment for database work. """ __version__ = "$Revision: 3244 $"[11:-2] class IsqlExit(Exception): pass class Prompt: """ This class fixes a problem with the ...
{ "repo_name": "aptana/Pydev", "path": "bundles/org.python.pydev.jython/Lib/isql.py", "copies": "8", "size": "5606", "license": "epl-1.0", "hash": 5813444784526416000, "line_mean": 22.5546218487, "line_max": 149, "alpha_frac": 0.6205850874, "autogenerated": false, "ratio": 2.880781089414183, "co...
# $Id: isql.py 4185 2008-02-28 16:55:33Z cgroves $ import dbexts, cmd, sys, os """ Isql works in conjunction with dbexts to provide an interactive environment for database work. """ __version__ = "$Revision: 4185 $"[11:-2] class IsqlExit(Exception): pass class Prompt: """ This class fixes a problem...
{ "repo_name": "babble/babble", "path": "include/jython/Lib/isql.py", "copies": "1", "size": "9270", "license": "apache-2.0", "hash": -7490585220590520000, "line_mean": 37.9495798319, "line_max": 163, "alpha_frac": 0.3748651564, "autogenerated": false, "ratio": 5.312320916905444, "config_test": ...
# $Id: isql.py 6639 2009-08-10 17:06:51Z fwierzbicki $ import dbexts, cmd, sys, os """ Isql works in conjunction with dbexts to provide an interactive environment for database work. """ __version__ = "$Revision: 6639 $"[11:-2] class IsqlExit(Exception): pass class Prompt: """ This class fixes a problem wit...
{ "repo_name": "ibinti/intellij-community", "path": "python/lib/Lib/isql.py", "copies": "74", "size": "7153", "license": "apache-2.0", "hash": 8895250873384227000, "line_mean": 29.1814345992, "line_max": 155, "alpha_frac": 0.4863693555, "autogenerated": false, "ratio": 4.094447624499141, "config...
# $Id: isql.py,v 1.1 2001/11/20 04:55:18 bzimmer Exp $ import dbexts, cmd, sys """ Isql works in conjunction with dbexts to provide an interactive environment for database work. """ __version__ = "$Revision: 1.1 $"[11:-2] class Prompt: """ This class fixes a problem with the cmd.Cmd class since it uses an ivar 'p...
{ "repo_name": "Integral-Technology-Solutions/ConfigNOW-4.3", "path": "Lib/isql.py", "copies": "2", "size": "3648", "license": "mit", "hash": -3448944979722056000, "line_mean": 24.1586206897, "line_max": 149, "alpha_frac": 0.6326754386, "autogenerated": false, "ratio": 2.8589341692789967, "confi...
# $Id: isql.py,v 1.4 2002/01/26 15:44:58 bzimmer Exp $ import dbexts, cmd, sys, os """ Isql works in conjunction with dbexts to provide an interactive environment for database work. """ __version__ = "$Revision: 1.4 $"[11:-2] class IsqlExit(Exception): pass class Prompt: """ This class fixes a problem with the c...
{ "repo_name": "ai-ku/langvis", "path": "jython-2.1/Lib/isql.py", "copies": "2", "size": "4533", "license": "mit", "hash": -1342189682404191000, "line_mean": 23.1117021277, "line_max": 149, "alpha_frac": 0.62475182, "autogenerated": false, "ratio": 2.887261146496815, "config_test": false, "has...
"""$Id: item.py 742 2007-03-23 18:51:49Z rubys $""" __author__ = "Sam Ruby <http://intertwingly.net/> and Mark Pilgrim <http://diveintomark.org/>" __version__ = "$Revision: 742 $" __date__ = "$Date: 2007-03-23 18:51:49 +0000 (Fri, 23 Mar 2007) $" __copyright__ = "Copyright (c) 2002 Sam Ruby and Mark Pilgrim" from bas...
{ "repo_name": "mihaip/NewsBlur", "path": "vendor/feedvalidator/item.py", "copies": "16", "size": "9887", "license": "mit", "hash": 4785767210341254000, "line_mean": 34.4372759857, "line_max": 113, "alpha_frac": 0.6631940933, "autogenerated": false, "ratio": 3.409310344827586, "config_test": fal...
"""$Id: itunes.py 746 2007-03-26 23:53:49Z rubys $""" __author__ = "Sam Ruby <http://intertwingly.net/> and Mark Pilgrim <http://diveintomark.org/>" __version__ = "$Revision: 746 $" __date__ = "$Date: 2007-03-26 23:53:49 +0000 (Mon, 26 Mar 2007) $" __copyright__ = "Copyright (c) 2002 Sam Ruby and Mark Pilgrim" from v...
{ "repo_name": "Suninus/NewsBlur", "path": "vendor/feedvalidator/itunes.py", "copies": "16", "size": "7984", "license": "mit", "hash": -6273729150884392000, "line_mean": 24.9220779221, "line_max": 108, "alpha_frac": 0.6084669339, "autogenerated": false, "ratio": 3.135899450117832, "config_test":...
"""A simple widget, which can display text.""" from BaseWidget import BaseWidget from Constants import * import base class Label (BaseWidget): """Label (text) -> Label A simple widget class, which can display text. The Label widget is able to display a short amount of text. It supports a mnemonic k...
{ "repo_name": "prim/ocempgui", "path": "ocempgui/widgets/Label.py", "copies": "1", "size": "12783", "license": "bsd-2-clause", "hash": -9019787890738869000, "line_mean": 36.3771929825, "line_max": 78, "alpha_frac": 0.6129234139, "autogenerated": false, "ratio": 4.580078824793981, "config_test":...
# $Id: lazy.py,v 1.5 2002/05/06 06:14:38 anthonybaxter Exp $ # # This file is part of the pydns project. # Homepage: http://pydns.sourceforge.net # # This code is covered by the standard Python License. # # routines for lazy people. from . import Base import string def revlookup(name): "convenience routine for do...
{ "repo_name": "hansroh/aquests", "path": "aquests/protocols/dns/pydns/lazy.py", "copies": "1", "size": "1262", "license": "mit", "hash": -5669907677743295000, "line_mean": 26.4347826087, "line_max": 69, "alpha_frac": 0.6719492868, "autogenerated": false, "ratio": 2.9764150943396226, "config_tes...
# $Id: lazy.py,v 1.5.2.1 2007/05/22 20:23:38 customdesigned Exp $ # # This file is part of the pydns project. # Homepage: http://pydns.sourceforge.net # # This code is covered by the standard Python License. # # routines for lazy people. import Base import string class NoDataError(IndexError): pass class StatusError(...
{ "repo_name": "eXcomm/namecoin", "path": "client/DNS/lazy.py", "copies": "35", "size": "1808", "license": "mit", "hash": 2281023954877459700, "line_mean": 29.1333333333, "line_max": 75, "alpha_frac": 0.6720132743, "autogenerated": false, "ratio": 3.1118760757314976, "config_test": false, "has...
# $Id: lazy.py,v 1.5.2.4 2011/03/19 22:15:01 customdesigned Exp $ # # This file is part of the pydns project. # Homepage: http://pydns.sourceforge.net # # This code is covered by the standard Python License. See LICENSE for details. # # routines for lazy people. import Base import string from Base import DNSError de...
{ "repo_name": "Axure/GoAgentX", "path": "Resources/west-chamber-proxy/DNS/lazy.py", "copies": "17", "size": "2654", "license": "bsd-2-clause", "hash": 7919811105939226000, "line_mean": 31.3658536585, "line_max": 79, "alpha_frac": 0.6876412962, "autogenerated": false, "ratio": 3.1670644391408116, ...
# $Id: lazy.py,v 1.5.2.7 2011/11/23 17:14:11 customdesigned Exp $ # # This file is part of the pydns project. # Homepage: http://pydns.sourceforge.net # # This code is covered by the standard Python License. See LICENSE for details. # # routines for lazy people. import Base from Base import ServerError def revlookup...
{ "repo_name": "danucalovj/mailin", "path": "python/DNS/lazy.py", "copies": "12", "size": "3023", "license": "mit", "hash": 2774351771696052000, "line_mean": 31.8586956522, "line_max": 79, "alpha_frac": 0.6870658286, "autogenerated": false, "ratio": 3.139148494288681, "config_test": false, "ha...
# $Id: lazy.py,v 1.5.2.7 2011/11/23 17:14:11 customdesigned Exp $ # # This file is part of the pydns project. # Homepage: http://pydns.sourceforge.net # # This code is covered by the standard Python License. See LICENSE for details. # # routines for lazy people. import Base from Base import ServerError ...
{ "repo_name": "lezizi/A-Framework", "path": "python/net-soruce/src/DNS/lazy.py", "copies": "1", "size": "3115", "license": "apache-2.0", "hash": -4420126253034735000, "line_mean": 31.8586956522, "line_max": 79, "alpha_frac": 0.6667736758, "autogenerated": false, "ratio": 3.0933465739821253, "co...
""" $Id: LDOBinary.py,v 1.10 2000/03/10 23:07:52 kmacleod Exp $ LDOBinary.py is derived from xml.marshal and pickle FIXME class instances aren't being revived yet LDOBinary.py implements the ``Self-Describing Binary Data Representation'' (LDO-Binary) at <http://casbah.org/Scarab/>. FIXME ScarabMarshal should be imp...
{ "repo_name": "mworks/mworks", "path": "supporting_libs/scarab/Scarab-0.1.00d19/python/LDOBinary.py", "copies": "1", "size": "10032", "license": "mit", "hash": 2132332765521958000, "line_mean": 25.6100795756, "line_max": 83, "alpha_frac": 0.5773524721, "autogenerated": false, "ratio": 3.2, "con...
""" $Id: LDOXML.py,v 1.3 2000/03/10 23:07:52 kmacleod Exp $ LDOXML.py implements the ``Self-Describing XML Data Representation'' (XML Serialization) at <http://casbah.org/Scarab/>. """ from StringIO import StringIO from ScarabMarshal import * from types import * from xml.sax import saxlib, saxexts import string imp...
{ "repo_name": "mworks/mworks", "path": "supporting_libs/scarab/Scarab-0.1.00d19/python/LDOXML.py", "copies": "1", "size": "5429", "license": "mit", "hash": -6612745249105831000, "line_mean": 26.145, "line_max": 92, "alpha_frac": 0.5660342605, "autogenerated": false, "ratio": 3.5483660130718953, ...
''' Created on 20. okt. 2009 @author: levin ''' import SEMBA as S #Create empty dictionaries to load emission data in Vehicle_Types = {} def CreateLDV(): S.load_LDV() create_vehicle_list() def create_vehicle_list(): for k,v in S.H_LDV.items(): k=0 Vehicle_Types[v[0]]= v[1] +v[1] + v[2]+v[3] def Ca...
{ "repo_name": "tomasle/semba", "path": "SEMBA/LDV.py", "copies": "1", "size": "3175", "license": "bsd-2-clause", "hash": -4342134230518740000, "line_mean": 23.8046875, "line_max": 111, "alpha_frac": 0.6176377953, "autogenerated": false, "ratio": 2.8222222222222224, "config_test": false, "has_...
"""$Id: link.py 747 2007-03-29 10:27:14Z rubys $""" __author__ = "Sam Ruby <http://intertwingly.net/> and Mark Pilgrim <http://diveintomark.org/>" __version__ = "$Revision: 747 $" __date__ = "$Date: 2007-03-29 10:27:14 +0000 (Thu, 29 Mar 2007) $" __copyright__ = "Copyright (c) 2002 Sam Ruby and Mark Pilgrim" from bas...
{ "repo_name": "lucidbard/NewsBlur", "path": "vendor/feedvalidator/link.py", "copies": "16", "size": "5520", "license": "mit", "hash": -7134595062963816000, "line_mean": 46.1794871795, "line_max": 123, "alpha_frac": 0.6393115942, "autogenerated": false, "ratio": 3.1724137931034484, "config_test"...
"""List item collection.""" from UserList import UserList from ListItem import ListItem class ListItemCollection (UserList): """ListItemCollection (items=None) -> ListItemCollection An collection class for ListItem objects. The ListItemCollection wraps a list object and limits it to the abstract Li...
{ "repo_name": "prim/ocempgui", "path": "ocempgui/widgets/components/ListItemCollection.py", "copies": "1", "size": "9141", "license": "bsd-2-clause", "hash": 7645028335066109000, "line_mean": 36.3102040816, "line_max": 79, "alpha_frac": 0.6318783503, "autogenerated": false, "ratio": 4.59346733668...
"""Objects suitable for the usage in a list.""" from ocempgui.widgets.base import GlobalStyle class ListItem (object): """ListItem () -> ListItem Creates a new ListItem suitable for the usage in list or tree widgets. The ListItem class is an abstract class for list implementations. It is not able to...
{ "repo_name": "prim/ocempgui", "path": "ocempgui/widgets/components/ListItem.py", "copies": "1", "size": "8558", "license": "bsd-2-clause", "hash": 4707117625881876000, "line_mean": 38.6203703704, "line_max": 79, "alpha_frac": 0.6444262678, "autogenerated": false, "ratio": 4.5838243170862345, "...
"""ViewPort proxy class for the ScrolledList.""" from pygame import Rect from ocempgui.draw import Draw from ocempgui.widgets.components import ListItemCollection from ocempgui.widgets.components import TextListItem, FileListItem from ViewPort import ViewPort from Bin import Bin from Constants import * from StyleInfo...
{ "repo_name": "prim/ocempgui", "path": "ocempgui/widgets/ListViewPort.py", "copies": "1", "size": "10652", "license": "bsd-2-clause", "hash": -5346333183740076000, "line_mean": 36.5070422535, "line_max": 79, "alpha_frac": 0.5935974465, "autogenerated": false, "ratio": 4.423588039867109, "config...
"""$Id: logging.py 749 2007-04-02 15:45:49Z rubys $""" __author__ = "Sam Ruby <http://intertwingly.net/> and Mark Pilgrim <http://diveintomark.org/>" __version__ = "$Revision: 749 $" __date__ = "$Date: 2007-04-02 15:45:49 +0000 (Mon, 02 Apr 2007) $" __copyright__ = "Copyright (c) 2002 Sam Ruby and Mark Pilgrim" # fee...
{ "repo_name": "Suninus/NewsBlur", "path": "vendor/feedvalidator/logging.py", "copies": "16", "size": "11350", "license": "mit", "hash": -5696258462539869000, "line_mean": 31.2443181818, "line_max": 168, "alpha_frac": 0.8, "autogenerated": false, "ratio": 3.9368713146028442, "config_test": false...
"""Magnification tool for pygame.""" import pygame class Magnifier (object): """Magnifier (size=(20, 20), factor=2) -> Magnifier A screen magnification class for the pygame screen. The Magnifier class allows to zoom a certain portion of the screen, determined by the current mouse position by a spec...
{ "repo_name": "prim/ocempgui", "path": "ocempgui/access/Magnifier.py", "copies": "1", "size": "10755", "license": "bsd-2-clause", "hash": 2570141448699661300, "line_mean": 40.5250965251, "line_max": 80, "alpha_frac": 0.5663412366, "autogenerated": false, "ratio": 4.123849693251533, "config_test...
""" Simple man page writer for reStructuredText. Man pages (short for "manual pages") contain system documentation on unix-like systems. The pages are grouped in numbered sections: 1 executable programs and shell commands 2 system calls 3 library functions 4 special files 5 file formats 6 games 7 miscellaneo...
{ "repo_name": "mozilla/sheriffs", "path": "vendor-local/src/python-nose/doc/manpage.py", "copies": "1", "size": "35499", "license": "bsd-3-clause", "hash": -6162317744942493000, "line_mean": 30.7238605898, "line_max": 86, "alpha_frac": 0.5540719457, "autogenerated": false, "ratio": 3.776891158633...
"""Mapping consists of the following core tasks, each represented by a class in this module: - Loading: determining what PSCs should be asked to start a service, and getting them to do so (i.e. maps service to PSC). - Routing: Working out where a request should be sent to be satisfied, then ...
{ "repo_name": "aquamatt/Peloton", "path": "src/peloton/mapping.py", "copies": "1", "size": "23506", "license": "bsd-3-clause", "hash": 8468745654154860000, "line_mean": 44.2057692308, "line_max": 201, "alpha_frac": 0.598740747, "autogenerated": false, "ratio": 4.548374613003096, "config_test": ...
""" Miscellaneous transforms. """ __docformat__ = 'reStructuredText' from docutils import nodes from docutils.transforms import Transform, TransformError class CallBack(Transform): """ Inserts a callback into a document. The callback is called when the transform is applied, which is determined by its...
{ "repo_name": "aswadrangnekar/khandelwal", "path": "app/lib/docutils/transforms/misc.py", "copies": "11", "size": "4828", "license": "mit", "hash": 704216991655701400, "line_mean": 32.7622377622, "line_max": 78, "alpha_frac": 0.5882352941, "autogenerated": false, "ratio": 4.651252408477842, "co...
""" Miscellaneous transforms. """ __docformat__ = 'reStructuredText' from docutils import nodes from docutils.transforms import Transform, TransformError class CallBack(Transform): """ Inserts a callback into a document. The callback is called when the transform is applied, which is de...
{ "repo_name": "rimbalinux/LMD3", "path": "docutils/transforms/misc.py", "copies": "2", "size": "4971", "license": "bsd-3-clause", "hash": -4311512255550875000, "line_mean": 32.7622377622, "line_max": 78, "alpha_frac": 0.571313619, "autogenerated": false, "ratio": 4.766059443911793, "config_test...
"""Miscellaneous directives.""" __docformat__ = 'reStructuredText' import sys import os.path import re import time from docutils import io, nodes, statemachine, utils from docutils.parsers.rst import Directive, convert_directive_function from docutils.parsers.rst import directives, roles, states from docutils.transf...
{ "repo_name": "spreeker/democracygame", "path": "external_apps/docutils-snapshot/docutils/parsers/rst/directives/misc.py", "copies": "2", "size": "18957", "license": "bsd-3-clause", "hash": -1442148893798630000, "line_mean": 40.0324675325, "line_max": 80, "alpha_frac": 0.5622197605, "autogenerated"...
""" Miscellaneous transforms. """ __docformat__ = 'reStructuredText' from docutils import nodes from docutils.transforms import Transform class CallBack(Transform): """ Inserts a callback into a document. The callback is called when the transform is applied, which is determined by its priority. ...
{ "repo_name": "asedunov/intellij-community", "path": "python/helpers/py3only/docutils/transforms/misc.py", "copies": "49", "size": "4866", "license": "apache-2.0", "hash": -8702776842850003000, "line_mean": 32.7916666667, "line_max": 78, "alpha_frac": 0.5869297164, "autogenerated": false, "ratio"...
""" Miscellaneous transforms. """ __docformat__ = 'reStructuredText' from docutils import nodes from docutils.transforms import Transform, TransformError class CallBack(Transform): """ Inserts a callback into a document. The callback is called when the transform is applied, which is determined by its...
{ "repo_name": "WillisXChen/django-oscar", "path": "oscar/lib/python2.7/site-packages/docutils/transforms/misc.py", "copies": "183", "size": "4882", "license": "bsd-3-clause", "hash": -4989243414719556000, "line_mean": 32.9027777778, "line_max": 78, "alpha_frac": 0.5878738222, "autogenerated": false...
""" Miscellaneous transforms. """ __docformat__ = 'reStructuredText' from docutils import nodes from docutils.transforms import Transform, TransformError class CallBack(Transform): """ Inserts a callback into a document. The callback is called when the transform is applied, which is de...
{ "repo_name": "ajaxsys/dict-admin", "path": "docutils/transforms/misc.py", "copies": "2", "size": "5026", "license": "bsd-3-clause", "hash": -7174328906657537000, "line_mean": 32.9027777778, "line_max": 78, "alpha_frac": 0.5710306407, "autogenerated": false, "ratio": 4.763981042654028, "config_...
"""Miscellaneous directives.""" __docformat__ = 'reStructuredText' import sys import os.path import re import time from docutils import io, nodes, statemachine, utils from docutils.error_reporting import SafeString, ErrorString from docutils.parsers.rst import Directive, convert_directive_function from docutils.pars...
{ "repo_name": "abdullah2891/remo", "path": "vendor-local/lib/python/docutils/parsers/rst/directives/misc.py", "copies": "6", "size": "19574", "license": "bsd-3-clause", "hash": -2633553596431856600, "line_mean": 40.2953586498, "line_max": 82, "alpha_frac": 0.5664657198, "autogenerated": false, "r...
"""Miscellaneous directives.""" __docformat__ = 'reStructuredText' import os.path import re import sys import time from docutils import io, nodes, statemachine, utils from docutils.parsers.rst import Directive, convert_directive_function from docutils.parsers.rst import directives, roles, states from docutils.parse...
{ "repo_name": "leafclick/intellij-community", "path": "python/helpers/py3only/docutils/parsers/rst/directives/misc.py", "copies": "44", "size": "22893", "license": "apache-2.0", "hash": 5015350255035558000, "line_mean": 41.7906542056, "line_max": 82, "alpha_frac": 0.5530948325, "autogenerated": fal...
"""Miscellaneous directives.""" __docformat__ = 'reStructuredText' import sys import os.path import re import time from docutils import io, nodes, statemachine, utils from docutils.utils.error_reporting import SafeString, ErrorString from docutils.utils.error_reporting import locale_encoding from docutils.parsers.rs...
{ "repo_name": "fitermay/intellij-community", "path": "python/helpers/py2only/docutils/parsers/rst/directives/misc.py", "copies": "106", "size": "22888", "license": "apache-2.0", "hash": 47689937248896470, "line_mean": 41.861423221, "line_max": 82, "alpha_frac": 0.5531282768, "autogenerated": false,...
# $Id: models.py ef5633b6df44 2009/09/06 14:08:22 jpartogi $ from django.db import models from django.utils.translation import ugettext as _ from django.db.models.signals import post_save from django.dispatch import receiver from django.core.mail import EmailMessage, BadHeaderError from django.conf import settings fr...
{ "repo_name": "jpartogi/django-contact-form", "path": "contact_form/models.py", "copies": "1", "size": "2778", "license": "bsd-3-clause", "hash": 1798552994013271800, "line_mean": 34.164556962, "line_max": 90, "alpha_frac": 0.6288696904, "autogenerated": false, "ratio": 4.115555555555556, "conf...
""" Parser for Python modules. The `parse_module()` function takes a module's text and file name, runs it through the module parser (using compiler.py and tokenize.py) and produces a parse tree of the source code, using the nodes as found in pynodes.py. For centralfitestoque, given this module (x.py):: # commen...
{ "repo_name": "akiokio/centralfitestoque", "path": "src/.pycharm_helpers/docutils/readers/python/moduleparser.py", "copies": "1", "size": "25803", "license": "bsd-2-clause", "hash": -8386106158658052000, "line_mean": 33.0858652576, "line_max": 81, "alpha_frac": 0.5656319033, "autogenerated": false,...
""" Parser for Python modules. The `parse_module()` function takes a module's text and file name, runs it through the module parser (using compiler.py and tokenize.py) and produces a parse tree of the source code, using the nodes as found in pynodes.py. For example, given this module (x.py):: # comment...
{ "repo_name": "rimbalinux/MSISDNArea", "path": "docutils/readers/python/moduleparser.py", "copies": "2", "size": "26540", "license": "bsd-3-clause", "hash": 2663831831861989000, "line_mean": 33.0594451783, "line_max": 81, "alpha_frac": 0.5491710625, "autogenerated": false, "ratio": 4.364413747738...