text
stringlengths
0
1.05M
meta
dict
""" This file retrieves tasks from an Octopus application """ import logging, json, requests, time, sys import ConfigParser import splunk.Intersplunk as isp import octopus_common # Parse octopus.conf for configuration settings stanza = octopus_common.getSelfConfStanza("octopus") protocol = stanza['protocol'] hostnam...
{ "repo_name": "cmeerbeek/splunk-addon-octopus-deploy", "path": "TA-OctopusNT-Fwd/bin/get_tasks.py", "copies": "2", "size": "1896", "license": "mit", "hash": -1522295631519764500, "line_mean": 26.8970588235, "line_max": 85, "alpha_frac": 0.6571729958, "autogenerated": false, "ratio": 3.47889908256...
""" This file retrieves users from an Octopus application """ import logging, json, requests, time, sys import ConfigParser import splunk.Intersplunk as isp import octopus_common # Parse octopus.conf for configuration settings stanza = octopus_common.getSelfConfStanza("octopus") protocol = stanza['protocol'] hostnam...
{ "repo_name": "cmeerbeek/splunk-addon-octopus-deploy", "path": "TA-OctopusNT-Fwd/bin/get_users.py", "copies": "2", "size": "1145", "license": "mit", "hash": 8334504241456572000, "line_mean": 22.875, "line_max": 62, "alpha_frac": 0.7170305677, "autogenerated": false, "ratio": 3.2902298850574714, ...
# $Id: gnuplot_Suites.py,v 2.6 2001/04/03 02:42:24 ingraldi Exp $ # This file is provided as part of the Gnuplot.py package for the # convenience of Mac users. It was generated primarily using gensuitemodule # with Mac gnuplot 3.7.1a. Thanks to Anthony M. Ingraldi and Noboru Yamamoto # for helping with this. # file...
{ "repo_name": "pombredanne/ompc", "path": "ompclib/gplot/gnuplot_Suites.py", "copies": "1", "size": "17586", "license": "bsd-3-clause", "hash": -3490043900599927000, "line_mean": 28.1641791045, "line_max": 96, "alpha_frac": 0.599283521, "autogenerated": false, "ratio": 3.7665452987791816, "conf...
"""A 2D graph widget.""" from pygame import K_PLUS, K_KP_PLUS, K_MINUS, K_KP_MINUS, K_DOWN, K_LEFT from pygame import K_RIGHT, K_UP from Diagram import Diagram from ocempgui.draw import Draw from Constants import * import base class Graph2D (Diagram): """Graph2D (width, height) -> Graph2D A widget displayin...
{ "repo_name": "prim/ocempgui", "path": "ocempgui/widgets/Graph2D.py", "copies": "1", "size": "19747", "license": "bsd-2-clause", "hash": 1048160916091232300, "line_mean": 35.7728119181, "line_max": 78, "alpha_frac": 0.5433230364, "autogenerated": false, "ratio": 4.031645569620253, "config_test"...
# $Id: gre.py 30 2007-01-27 03:10:09Z dugsong $ """Generic Routing Encapsulation.""" import struct import dpkt GRE_CP = 0x8000 # Checksum Present GRE_RP = 0x4000 # Routing Present GRE_KP = 0x2000 # Key Present GRE_SP = 0x1000 # Sequence Present GRE_SS = 0x0800 # Strict Source Route GRE_AP = 0x0080 # Acknowledg...
{ "repo_name": "dragondjf/QMarkdowner", "path": "dpkt/gre.py", "copies": "9", "size": "3301", "license": "mit", "hash": 3660970651881698000, "line_mean": 30.7403846154, "line_max": 72, "alpha_frac": 0.5025749773, "autogenerated": false, "ratio": 3.186293436293436, "config_test": false, "has_no...
# $Id: gre.py 342 2006-01-29 14:38:19Z dugsong $ """Generic Routing Encapsulation.""" import struct import dpkt GRE_CP = 0x8000 # Checksum Present GRE_RP = 0x4000 # Routing Present GRE_KP = 0x2000 # Key Present GRE_SP = 0x1000 # Sequence Present GRE_SS = 0x0800 # Strict Source Route GRE_AP = 0x0080 # Acknowled...
{ "repo_name": "MercenaryLogic/StompingGround", "path": "stompingground/dpkt/gre.py", "copies": "1", "size": "3297", "license": "mit", "hash": 2037120370143332000, "line_mean": 30.7019230769, "line_max": 72, "alpha_frac": 0.5022747953, "autogenerated": false, "ratio": 3.1885880077369437, "config...
# $Id: gre.py 75 2010-08-03 14:42:19Z jon.oberheide $ # -*- coding: utf-8 -*- """Generic Routing Encapsulation.""" from __future__ import absolute_import import struct import codecs from . import dpkt from . import ethernet from .decorators import deprecated from .compat import compat_izip GRE_CP = 0x8000 # Checksu...
{ "repo_name": "dimagol/trex-core", "path": "scripts/external_libs/dpkt-1.9.1/dpkt/gre.py", "copies": "2", "size": "4221", "license": "apache-2.0", "hash": -3013198510865745000, "line_mean": 26.2322580645, "line_max": 90, "alpha_frac": 0.5178867567, "autogenerated": false, "ratio": 3.1313056379821...
# $Id: gre.py 75 2010-08-03 14:42:19Z jon.oberheide $ # -*- coding: utf-8 -*- """Generic Routing Encapsulation.""" import struct import dpkt from decorators import deprecated GRE_CP = 0x8000 # Checksum Present GRE_RP = 0x4000 # Routing Present GRE_KP = 0x2000 # Key Present GRE_SP = 0x1000 # Sequence Present GRE_S...
{ "repo_name": "bpanneton/dpkt", "path": "dpkt/gre.py", "copies": "6", "size": "3602", "license": "bsd-3-clause", "hash": 6174110543643454000, "line_mean": 28.0483870968, "line_max": 87, "alpha_frac": 0.5024986119, "autogenerated": false, "ratio": 3.2775250227479527, "config_test": false, "has...
# $Id: gre.py 75 2010-08-03 14:42:19Z jon.oberheide $ """Generic Routing Encapsulation.""" import struct import dpkt GRE_CP = 0x8000 # Checksum Present GRE_RP = 0x4000 # Routing Present GRE_KP = 0x2000 # Key Present GRE_SP = 0x1000 # Sequence Present GRE_SS = 0x0800 # Strict Source Route GRE_AP = 0x0080 # Ackn...
{ "repo_name": "wofanli/trex-core", "path": "scripts/external_libs/dpkt-1.8.6/dpkt/gre.py", "copies": "6", "size": "3272", "license": "apache-2.0", "hash": 6212465201164140000, "line_mean": 30.7669902913, "line_max": 72, "alpha_frac": 0.5030562347, "autogenerated": false, "ratio": 3.18287937743190...
__doc__ = """hashlib module - A common interface to many hash functions. new(name, string='') - returns a new hash object implementing the given hash function; initializing the hash using the given string data. Named constructor functions are also available, these are mu...
{ "repo_name": "TathagataChakraborti/resource-conflicts", "path": "PLANROB-2015/seq-sat-lama/py2.5/lib/python2.5/hashlib.py", "copies": "3", "size": "4887", "license": "mit", "hash": 6282126345387432000, "line_mean": 34.4130434783, "line_max": 85, "alpha_frac": 0.6320851238, "autogenerated": false, ...
__doc__ = """hashlib module - A common interface to many hash functions. new(name, string='') - returns a new hash object implementing the given hash function; initializing the hash using the given string data. Named constructor functions are also available, these...
{ "repo_name": "ericlink/adms-server", "path": "playframework-dist/1.1-src/python/Lib/hashlib.py", "copies": "2", "size": "5025", "license": "mit", "hash": -3396790429005478000, "line_mean": 34.4130434783, "line_max": 85, "alpha_frac": 0.6147263682, "autogenerated": false, "ratio": 4.0589660743134...
__doc__ = """hashlib module - A common interface to many hash functions. new(name, string='') - returns a new hash object implementing the given hash function; initializing the hash using the given string data. Named constructor functions are also available, these are mu...
{ "repo_name": "jeremiahmarks/sl4a", "path": "python/src/Lib/hashlib.py", "copies": "95", "size": "4993", "license": "apache-2.0", "hash": 8561263829787504000, "line_mean": 34.4113475177, "line_max": 85, "alpha_frac": 0.6326857601, "autogenerated": false, "ratio": 3.981658692185008, "config_test...
__doc__ = """hashlib module - A common interface to many hash functions. new(name, data=b'') - returns a new hash object implementing the given hash function; initializing the hash using the given binary data. Named constructor functions are also available, these are faste...
{ "repo_name": "MalloyPower/parsing-python", "path": "front-end/testsuite-python-lib/Python-3.1/Lib/hashlib.py", "copies": "2", "size": "4961", "license": "mit", "hash": -3130385755183492600, "line_mean": 34.4357142857, "line_max": 85, "alpha_frac": 0.6333400524, "autogenerated": false, "ratio": 3...
__doc__ = """hashlib module - A common interface to many hash functions. new(name, string='') - returns a new hash object implementing the given hash function; initializing the hash using the given string data. Named constructor functions are also available, these are mu...
{ "repo_name": "ahb0327/intellij-community", "path": "python/lib/Lib/hashlib.py", "copies": "82", "size": "4905", "license": "apache-2.0", "hash": -431001197329141100, "line_mean": 34.5434782609, "line_max": 85, "alpha_frac": 0.6301732926, "autogenerated": false, "ratio": 3.9878048780487805, "co...
# $Id: HC.py,v 1.2 2005-07-14 01:36:41 gosselin_a Exp $ # $Log: not supported by cvs2svn $ # Revision 1.1 2004/08/02 15:36:04 gosselin # Initial revision # from . import hdfext as _C class HC(object): """The HC class holds constants defining opening modes and data types. File opening modes (flags ORed together...
{ "repo_name": "fhs/pyhdf", "path": "pyhdf/HC.py", "copies": "1", "size": "1928", "license": "mit", "hash": 8024798732923601000, "line_mean": 26.1549295775, "line_max": 74, "alpha_frac": 0.5591286307, "autogenerated": false, "ratio": 2.984520123839009, "config_test": false, "has_no_keywords": ...
# $Id: HDF.py,v 1.3 2005-07-14 01:36:41 gosselin_a Exp $ # $Log: not supported by cvs2svn $ # Revision 1.2 2004/08/02 15:36:04 gosselin # pyhdf-0.7-1 # # Revision 1.1 2004/08/02 15:22:59 gosselin # Initial revision # # Author: Andre Gosselin # Maurice-Lamontagne Institute # gosselina@dfo-mpo.gc.ca ...
{ "repo_name": "fhs/python-hdf4", "path": "pyhdf/HDF.py", "copies": "1", "size": "10526", "license": "mit", "hash": -8021242355809869000, "line_mean": 31.487654321, "line_max": 78, "alpha_frac": 0.5530115903, "autogenerated": false, "ratio": 4.475340136054422, "config_test": false, "has_no_key...
''' Created on 20. okt. 2009 @author: levin ''' import SEMBA as S from math import * Vehicle_Types = {} def create_vehicle_list(): for k,v in S.H_HDV.items(): k=0 Vehicle_Types[v[0]]= v[2] def CreateHDV(): S.load_HDV() create_vehicle_list() def extractAndCalc(data,Speed): WarningText=[] Vehicle...
{ "repo_name": "tomasle/semba", "path": "SEMBA/HDV.py", "copies": "1", "size": "6578", "license": "bsd-2-clause", "hash": 1094339985683117300, "line_mean": 25.8530612245, "line_max": 107, "alpha_frac": 0.5834600182, "autogenerated": false, "ratio": 2.7170590665014456, "config_test": false, "ha...
#'$Id: HTMLgen.py,v 1.1 2007/02/22 17:02:49 geoff Exp $' # COPYRIGHT (C) 1996-9 ROBIN FRIEDRICH email:Robin.Friedrich@pdq.net # Permission to use, copy, modify, and distribute this software and # its documentation for any purpose and without fee is hereby granted, # provided that the above copyright notice appear in...
{ "repo_name": "emilybache/texttest-runner", "path": "src/main/python/lib/default/batch/HTMLgen.py", "copies": "1", "size": "94192", "license": "mit", "hash": -5430824176353145000, "line_mean": 35.2835130971, "line_max": 137, "alpha_frac": 0.5799324783, "autogenerated": false, "ratio": 3.979215073...
""" Directives for typically HTML-specific constructs. """ __docformat__ = 'reStructuredText' from docutils import nodes, utils from docutils.parsers.rst import Directive from docutils.parsers.rst import states from docutils.transforms import components class MetaBody(states.SpecializedBody): class meta(nodes...
{ "repo_name": "clumsy/intellij-community", "path": "python/helpers/py2only/docutils/parsers/rst/directives/html.py", "copies": "5", "size": "3212", "license": "apache-2.0", "hash": -8830700353368594000, "line_mean": 35.9195402299, "line_max": 73, "alpha_frac": 0.5716064757, "autogenerated": false, ...
""" Directives for typically HTML-specific constructs. """ __docformat__ = 'reStructuredText' import sys from docutils import nodes, utils from docutils.parsers.rst import Directive from docutils.parsers.rst import states from docutils.transforms import components class MetaBody(states.SpecializedBody): class...
{ "repo_name": "pwoodworth/intellij-community", "path": "python/helpers/docutils/parsers/rst/directives/html.py", "copies": "61", "size": "3223", "license": "apache-2.0", "hash": -8302856566071981000, "line_mean": 35.625, "line_max": 73, "alpha_frac": 0.5724480298, "autogenerated": false, "ratio":...
""" Directives for typically HTML-specific constructs. """ __docformat__ = 'reStructuredText' import sys from docutils import nodes, utils from docutils.parsers.rst import Directive from docutils.parsers.rst import states from docutils.transforms import components class MetaBody(states.SpecializedBod...
{ "repo_name": "rimbalinux/LMD3", "path": "docutils/parsers/rst/directives/html.py", "copies": "2", "size": "3311", "license": "bsd-3-clause", "hash": -2087029132208196000, "line_mean": 35.625, "line_max": 73, "alpha_frac": 0.5572334642, "autogenerated": false, "ratio": 4.23943661971831, "config...
""" Directives for typically HTML-specific constructs. """ __docformat__ = 'reStructuredText' from docutils import nodes, utils from docutils.parsers.rst import Directive from docutils.parsers.rst import states from docutils.transforms import components class MetaBody(states.SpecializedBody): class meta(nodes...
{ "repo_name": "jk1/intellij-community", "path": "python/helpers/py3only/docutils/parsers/rst/directives/html.py", "copies": "44", "size": "3089", "license": "apache-2.0", "hash": -7301818432584327000, "line_mean": 35.3411764706, "line_max": 73, "alpha_frac": 0.5739721593, "autogenerated": false, ...
""" Directives for typically HTML-specific constructs. """ __docformat__ = 'reStructuredText' import sys from docutils import nodes, utils from docutils.parsers.rst import Directive from docutils.parsers.rst import states from docutils.transforms import components class MetaBody(states.SpecializedBody): class...
{ "repo_name": "marcoantoniooliveira/labweb", "path": "oscar/lib/python2.7/site-packages/docutils/parsers/rst/directives/html.py", "copies": "128", "size": "3098", "license": "bsd-3-clause", "hash": -6939121412753285000, "line_mean": 35.023255814, "line_max": 73, "alpha_frac": 0.574564235, "autogene...
# $Id: icmp6.py 23 2006-11-08 15:45:33Z dugsong $ # -*- coding: utf-8 -*- """Internet Control Message Protocol for IPv6.""" from __future__ import absolute_import from . import dpkt ICMP6_DST_UNREACH = 1 # dest unreachable, codes: ICMP6_PACKET_TOO_BIG = 2 # packet too big ICMP6_TIME_EXCEEDED = 3 # time exceeded, c...
{ "repo_name": "smutt/dpkt", "path": "dpkt/icmp6.py", "copies": "3", "size": "2533", "license": "bsd-3-clause", "hash": 3424024409241193500, "line_mean": 28.1149425287, "line_max": 88, "alpha_frac": 0.6253454402, "autogenerated": false, "ratio": 3.107975460122699, "config_test": false, "has_no...
# $Id: icmp6.py 23 2006-11-08 15:45:33Z dugsong $ # -*- coding: utf-8 -*- """Internet Control Message Protocol for IPv6.""" import dpkt import ip6 ICMP6_DST_UNREACH = 1 # dest unreachable, codes: ICMP6_PACKET_TOO_BIG = 2 # packet too big ICMP6_TIME_EXCEEDED = 3 # time exceeded, code: ICMP6_PARAM_PROB = 4 # ip6 he...
{ "repo_name": "bpanneton/dpkt", "path": "dpkt/icmp6.py", "copies": "5", "size": "2291", "license": "bsd-3-clause", "hash": 6795031890748214000, "line_mean": 28.7532467532, "line_max": 88, "alpha_frac": 0.6311654299, "autogenerated": false, "ratio": 3.00262123197903, "config_test": false, "has...
# $Id: icmp6.py 23 2006-11-08 15:45:33Z dugsong $ """Internet Control Message Protocol for IPv6.""" import dpkt, ip6 ICMP6_DST_UNREACH = 1 # dest unreachable, codes: ICMP6_PACKET_TOO_BIG = 2 # packet too big ICMP6_TIME_EXCEEDED = 3 # time exceeded, code: ICMP6_PARAM_PROB...
{ "repo_name": "wofanli/trex-core", "path": "scripts/external_libs/dpkt-1.8.6/dpkt/icmp6.py", "copies": "15", "size": "2647", "license": "apache-2.0", "hash": -5035956623528712000, "line_mean": 35.7638888889, "line_max": 74, "alpha_frac": 0.5428787306, "autogenerated": false, "ratio": 3.3676844783...
# $Id: icmp6.py 290 2006-01-22 02:43:28Z dugsong $ """Internet Control Message Protocol for IPv6.""" import dpkt, ip6 ICMP6_DST_UNREACH = 1 # dest unreachable, codes: ICMP6_PACKET_TOO_BIG = 2 # packet too big ICMP6_TIME_EXCEEDED = 3 # time exceeded, code: ICMP6_PARAM_PRO...
{ "repo_name": "MercenaryLogic/StompingGround", "path": "stompingground/dpkt/icmp6.py", "copies": "1", "size": "2648", "license": "mit", "hash": 8512603304475537000, "line_mean": 35.7777777778, "line_max": 74, "alpha_frac": 0.5430513595, "autogenerated": false, "ratio": 3.364675984752224, "confi...
# $Id: icmp.py 271 2006-01-11 16:03:33Z dugsong $ """Internet Control Message Protocol.""" import dpkt, ip # Types (icmp_type) and codes (icmp_code) - # http://www.iana.org/assignments/icmp-parameters ICMP_CODE_NONE = 0 # for types without codes ICMP_ECHOREPLY = 0 # echo reply ICMP_UNREACH = 3 # dest unreachabl...
{ "repo_name": "MercenaryLogic/StompingGround", "path": "stompingground/dpkt/icmp.py", "copies": "1", "size": "4124", "license": "mit", "hash": -1632382164168545800, "line_mean": 36.1531531532, "line_max": 74, "alpha_frac": 0.6503394762, "autogenerated": false, "ratio": 2.6848958333333335, "conf...
# $Id: icmp.py 45 2007-08-03 00:05:22Z jon.oberheide $ # -*- coding: utf-8 -*- """Internet Control Message Protocol.""" from __future__ import print_function from __future__ import absolute_import from . import dpkt # Types (icmp_type) and codes (icmp_code) - # http://www.iana.org/assignments/icmp-parameters ICMP_CO...
{ "repo_name": "smutt/dpkt", "path": "dpkt/icmp.py", "copies": "3", "size": "5472", "license": "bsd-3-clause", "hash": -6734747464662150000, "line_mean": 30.4482758621, "line_max": 99, "alpha_frac": 0.6240862573, "autogenerated": false, "ratio": 2.770632911392405, "config_test": false, "has_no...
# $Id: icmp.py 45 2007-08-03 00:05:22Z jon.oberheide $ # -*- coding: utf-8 -*- """Internet Control Message Protocol.""" import dpkt import ip # Types (icmp_type) and codes (icmp_code) - # http://www.iana.org/assignments/icmp-parameters ICMP_CODE_NONE = 0 # for types without codes ICMP_ECHOREPLY = 0 # echo reply IC...
{ "repo_name": "jack8daniels2/dpkt", "path": "dpkt/icmp.py", "copies": "6", "size": "4464", "license": "bsd-3-clause", "hash": 1177008489762563600, "line_mean": 34.1496062992, "line_max": 202, "alpha_frac": 0.6505376344, "autogenerated": false, "ratio": 2.7369711833231145, "config_test": false, ...
"""Image constants for the widgets module. The image constants defined here include different image filenames and file paths to images included in the ocempgui library. All of the following image files are 16 pixels wide and high and several are using alpha transparency. File related icons ------------------ FOLDER ...
{ "repo_name": "prim/ocempgui", "path": "ocempgui/widgets/images/Icons16x16.py", "copies": "1", "size": "2136", "license": "bsd-2-clause", "hash": -7166344321987698000, "line_mean": 45.4347826087, "line_max": 78, "alpha_frac": 0.7551498127, "autogenerated": false, "ratio": 4.099808061420346, "co...
"""A button widget, which can display an image.""" from pygame import Surface from ocempgui.draw import Image from ButtonBase import ButtonBase from Label import Label from Constants import * from StyleInformation import StyleInformation import base class ImageButton (ButtonBase): """ImageButton (image) -> Image...
{ "repo_name": "prim/ocempgui", "path": "ocempgui/widgets/ImageButton.py", "copies": "1", "size": "8485", "license": "bsd-2-clause", "hash": -146452398116285700, "line_mean": 35.2606837607, "line_max": 78, "alpha_frac": 0.6161461402, "autogenerated": false, "ratio": 4.4400837257980115, "config_t...
"""A simple widget, which can display text.""" from pygame import Surface from ocempgui.draw import Image from BaseWidget import BaseWidget from Constants import * import base class ImageLabel (BaseWidget): """ImageLabel (image) -> ImageLabel A simple widget class, which can display an image. The Image...
{ "repo_name": "prim/ocempgui", "path": "ocempgui/widgets/ImageLabel.py", "copies": "1", "size": "7259", "license": "bsd-2-clause", "hash": 5576008350929140000, "line_mean": 36.2256410256, "line_max": 78, "alpha_frac": 0.6408596225, "autogenerated": false, "ratio": 4.478099938309685, "config_tes...
"""A widget, which can display images and reacts upon mouse events.""" from pygame import Surface, Rect from ocempgui.draw import Image from BaseWidget import BaseWidget from Constants import * from StyleInformation import StyleInformation import base class ImageMap (BaseWidget): """ImageMap (image) -> ImageMap ...
{ "repo_name": "prim/ocempgui", "path": "ocempgui/widgets/ImageMap.py", "copies": "1", "size": "10329", "license": "bsd-2-clause", "hash": 5286390188493134000, "line_mean": 38.4236641221, "line_max": 79, "alpha_frac": 0.5909574983, "autogenerated": false, "ratio": 4.494778067885117, "config_test...
"""$Id: image.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" from ba...
{ "repo_name": "slava-sh/NewsBlur", "path": "vendor/feedvalidator/image.py", "copies": "16", "size": "3634", "license": "mit", "hash": 3305537281029260000, "line_mean": 33.2830188679, "line_max": 101, "alpha_frac": 0.6474958723, "autogenerated": false, "ratio": 3.2330960854092528, "config_test":...
""" Directives for figures and simple images. """ __docformat__ = 'reStructuredText' from docutils import nodes from docutils.nodes import fully_normalize_name, whitespace_normalize_name from docutils.parsers.rst import Directive from docutils.parsers.rst import directives, states from docutils.parsers.rst.roles imp...
{ "repo_name": "MichaelNedzelsky/intellij-community", "path": "python/helpers/py2only/docutils/parsers/rst/directives/images.py", "copies": "5", "size": "6329", "license": "apache-2.0", "hash": -7632111782579808000, "line_mean": 40.6381578947, "line_max": 78, "alpha_frac": 0.5561700111, "autogenerat...
""" Directives for figures and simple images. """ __docformat__ = 'reStructuredText' import sys from docutils import nodes, utils from docutils.parsers.rst import Directive from docutils.parsers.rst import directives, states from docutils.nodes import fully_normalize_name, whitespace_normalize_name from docutils.pa...
{ "repo_name": "ahb0327/intellij-community", "path": "python/helpers/docutils/parsers/rst/directives/images.py", "copies": "51", "size": "6348", "license": "apache-2.0", "hash": -7813138445835482000, "line_mean": 40.2207792208, "line_max": 78, "alpha_frac": 0.556710775, "autogenerated": false, "ra...
""" Directives for figures and simple images. """ __docformat__ = 'reStructuredText' import sys from docutils import nodes, utils from docutils.parsers.rst import Directive from docutils.parsers.rst import directives, states from docutils.nodes import fully_normalize_name, whitespace_normalize_name fro...
{ "repo_name": "rimbalinux/LMD3", "path": "docutils/parsers/rst/directives/images.py", "copies": "2", "size": "6502", "license": "bsd-3-clause", "hash": 2854151722713147000, "line_mean": 40.2207792208, "line_max": 78, "alpha_frac": 0.5435250692, "autogenerated": false, "ratio": 4.390276839972991, ...
""" Directives for figures and simple images. """ __docformat__ = 'reStructuredText' import sys from docutils import nodes, utils from docutils.parsers.rst import Directive from docutils.parsers.rst import directives, states from docutils.nodes import fully_normalize_name, whitespace_normalize_name from docutils.pa...
{ "repo_name": "paaschpa/badcomputering", "path": "docutils/parsers/rst/directives/images.py", "copies": "6", "size": "6431", "license": "bsd-3-clause", "hash": -6009653844886542000, "line_mean": 40.2243589744, "line_max": 78, "alpha_frac": 0.5562120977, "autogenerated": false, "ratio": 4.35409614...
""" Directives for figures and simple images. """ __docformat__ = 'reStructuredText' import sys from docutils import nodes, utils from docutils.parsers.rst import Directive from docutils.parsers.rst import directives, states from docutils.nodes import fully_normalize_name, whitespace_normalize_name fro...
{ "repo_name": "ajaxsys/dict-admin", "path": "docutils/parsers/rst/directives/images.py", "copies": "2", "size": "6587", "license": "bsd-3-clause", "hash": 9082078375678682000, "line_mean": 40.2243589744, "line_max": 78, "alpha_frac": 0.5430393199, "autogenerated": false, "ratio": 4.38840772818121...
""" Directives for figures and simple images. """ __docformat__ = 'reStructuredText' import sys import urllib from docutils import nodes, utils from docutils.parsers.rst import Directive from docutils.parsers.rst import directives, states from docutils.nodes import fully_normalize_name, whitespace_normalize_name fr...
{ "repo_name": "ddd332/presto", "path": "presto-docs/target/sphinx/docutils/parsers/rst/directives/images.py", "copies": "4", "size": "6769", "license": "apache-2.0", "hash": 277430974279927140, "line_mean": 40.7839506173, "line_max": 78, "alpha_frac": 0.5609395775, "autogenerated": false, "ratio"...
""" Directives for figures and simple images. """ __docformat__ = 'reStructuredText' import sys import urllib.error import urllib.parse import urllib.request from docutils import nodes from docutils.nodes import fully_normalize_name, whitespace_normalize_name from docutils.parsers.rst import Directive from docutil...
{ "repo_name": "dahlstrom-g/intellij-community", "path": "python/helpers/py3only/docutils/parsers/rst/directives/images.py", "copies": "44", "size": "6933", "license": "apache-2.0", "hash": -935192787127929100, "line_mean": 40.2678571429, "line_max": 78, "alpha_frac": 0.5625270446, "autogenerated": ...
"""$Id: index.py 133 2009-03-26 15:31:38Z thomas.figg $""" import os import base64 import hashlib import datetime from google.appengine.ext.webapp import template from google.appengine.ext import webapp from google.appengine.ext.webapp.util import run_wsgi_app from google.appengine.ext import db from google.appengine...
{ "repo_name": "elliotlaster/papert", "path": "moderate.py", "copies": "1", "size": "1678", "license": "mit", "hash": 9123307837129872000, "line_mean": 30.6603773585, "line_max": 100, "alpha_frac": 0.6269368296, "autogenerated": false, "ratio": 3.8310502283105023, "config_test": false, "has_no...
import os import socket import sys def chop(s, extras=[]): """Remove \\r, \\n and all characters in the extras list from the end of string s and return """ _ch = ['\r','\n'] _ch.extend(extras) while s[-1] in _ch: s = s[:-1] return s def getClassFromString(clazz, reload=False...
{ "repo_name": "aquamatt/Peloton", "path": "src/peloton/utils/__init__.py", "copies": "1", "size": "2477", "license": "bsd-3-clause", "hash": -2623132613159616500, "line_mean": 32.4864864865, "line_max": 81, "alpha_frac": 0.6156641098, "autogenerated": false, "ratio": 3.69150521609538, "config_t...
""" Provides logging facilities to peloton. Allows centralised setup of logging and the option to switch logging back-ends. """ DEBUG, INFO, WARN, WARNING, ERROR, CRITICAL, FATAL = (10,20,30,30,40,50,50) __LOGGER__ = None _DEFAULT_FORMAT__ = "[%(levelname)s]\t %(asctime)-4s %(name)s\t : %(message)s" def initLogging...
{ "repo_name": "aquamatt/Peloton", "path": "src/peloton/utils/logging/__init__.py", "copies": "1", "size": "3007", "license": "bsd-3-clause", "hash": -4632251970301909000, "line_mean": 29.3737373737, "line_max": 82, "alpha_frac": 0.638510143, "autogenerated": false, "ratio": 3.6185318892900122, ...
# $Id: __init__.py 1945 2006-03-05 01:06:37Z cpbotha $ # importing this module shouldn't directly cause other large imports # do large imports in the init() hook so that you can call back to the # ModuleManager progress handler methods. """matplotlib_kit package driver file. Inserts the following modules in sys.modu...
{ "repo_name": "zhangfangyan/devide", "path": "module_kits/matplotlib_kit/__init__.py", "copies": "7", "size": "2895", "license": "bsd-3-clause", "hash": -4838247926058217000, "line_mean": 34.3048780488, "line_max": 81, "alpha_frac": 0.6911917098, "autogenerated": false, "ratio": 3.912162162162162...
""" 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": "umitproject/tease-o-matic", "path": "docutils/writers/pep_html/__init__.py", "copies": "10", "size": "3578", "license": "bsd-3-clause", "hash": 332049363251966460, "line_mean": 33.0761904762, "line_max": 79, "alpha_frac": 0.5944661822, "autogenerated": false, "ratio": 3.79025423728...
""" This package contains Docutils parser modules. """ __docformat__ = 'reStructuredText' from docutils import Component class Parser(Component): component_type = 'parser' config_section = 'parsers' def parse(self, inputstring, document): """Override to parse `inputstring` into document tree ...
{ "repo_name": "PatrickKennedy/Sybil", "path": "docutils/parsers/__init__.py", "copies": "2", "size": "1464", "license": "bsd-2-clause", "hash": 3270042501447439400, "line_mean": 30.1489361702, "line_max": 76, "alpha_frac": 0.6584699454, "autogenerated": false, "ratio": 3.8526315789473684, "conf...
""" 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' de...
{ "repo_name": "rimbalinux/LMD3", "path": "docutils/writers/pep_html/__init__.py", "copies": "2", "size": "3683", "license": "bsd-3-clause", "hash": -944172263727621900, "line_mean": 33.0761904762, "line_max": 79, "alpha_frac": 0.5775183275, "autogenerated": false, "ratio": 3.852510460251046, "c...
""" 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": "PatrickKennedy/Sybil", "path": "docutils/parsers/rst/directives/__init__.py", "copies": "2", "size": "12516", "license": "bsd-2-clause", "hash": 2120916281707862300, "line_mean": 33.1035422343, "line_max": 79, "alpha_frac": 0.606583573, "autogenerated": false, "ratio": 4.1901573485...
""" This package contains the Python Source Reader modules. """ __docformat__ = 'reStructuredText' import sys import docutils.readers from docutils.readers.python import moduleparser from docutils import parsers from docutils import nodes from docutils.readers.python import pynodes from docutils import readers cla...
{ "repo_name": "PatrickKennedy/Sybil", "path": "docutils/readers/python/__init__.py", "copies": "2", "size": "4345", "license": "bsd-2-clause", "hash": -7246210186595545000, "line_mean": 33.2125984252, "line_max": 157, "alpha_frac": 0.6204833142, "autogenerated": false, "ratio": 4.375629405840886,...
""" This package contains Docutils Reader modules. """ __docformat__ = 'reStructuredText' from docutils import utils, parsers, Component from docutils.transforms import universal class Reader(Component): """ Abstract base class for docutils Readers. Each reader module or package must export a subcla...
{ "repo_name": "PatrickKennedy/Sybil", "path": "docutils/readers/__init__.py", "copies": "2", "size": "3272", "license": "bsd-2-clause", "hash": -2028978134836391400, "line_mean": 29.5794392523, "line_max": 78, "alpha_frac": 0.6460880196, "autogenerated": false, "ratio": 4.205655526992288, "conf...
""" This package contains modules for standard tree transforms available to Docutils components. Tree transforms serve a variety of purposes: - To tie up certain syntax-specific "loose ends" that remain after the initial parsing of the input plaintext. These transforms are used to supplement a limited syntax. - ...
{ "repo_name": "akiokio/centralfitestoque", "path": "src/.pycharm_helpers/docutils/transforms/__init__.py", "copies": "1", "size": "6498", "license": "bsd-2-clause", "hash": -2888573276523362000, "line_mean": 36.7790697674, "line_max": 80, "alpha_frac": 0.6506617421, "autogenerated": false, "ratio...
""" This package contains modules for standard tree transforms available to Docutils components. Tree transforms serve a variety of purposes: - To tie up certain syntax-specific "loose ends" that remain after the initial parsing of the input plaintext. These transforms are used to supplement a limited synt...
{ "repo_name": "rimbalinux/MSISDNArea", "path": "docutils/transforms/__init__.py", "copies": "2", "size": "6660", "license": "bsd-3-clause", "hash": 3014064064606079500, "line_mean": 36.7209302326, "line_max": 79, "alpha_frac": 0.6333333333, "autogenerated": false, "ratio": 4.774193548387097, "c...
""" 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": "spreeker/democracygame", "path": "external_apps/docutils-snapshot/docutils/__init__.py", "copies": "2", "size": "7102", "license": "bsd-3-clause", "hash": 2733173340557853700, "line_mean": 33.8137254902, "line_max": 78, "alpha_frac": 0.6971275697, "autogenerated": false, "ratio": 4...
""" This package contains Docutils parser modules. """ __docformat__ = 'reStructuredText' from docutils import Component class Parser(Component): component_type = 'parser' config_section = 'parsers' def parse(self, inputstring, document): """Override to parse `inputstring` into document tree ...
{ "repo_name": "bobthecow/ManipulateCoda", "path": "src/Support/Library/docutils/parsers/__init__.py", "copies": "70", "size": "1457", "license": "mit", "hash": 8248649748395490000, "line_mean": 30, "line_max": 76, "alpha_frac": 0.6582017845, "autogenerated": false, "ratio": 3.8853333333333335, ...
""" 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": "spreeker/democracygame", "path": "external_apps/docutils-snapshot/docutils/writers/__init__.py", "copies": "2", "size": "4258", "license": "bsd-3-clause", "hash": 2298143483927577900, "line_mean": 31.015037594, "line_max": 78, "alpha_frac": 0.6510098638, "autogenerated": false, "ra...
""" This package contains the Python Source Reader modules. """ __docformat__ = 'reStructuredText' import docutils.readers from docutils import nodes from docutils import parsers from docutils.readers.python import moduleparser from docutils.readers.python import pynodes class Reader(docutils.readers.Reader): ...
{ "repo_name": "MichaelNedzelsky/intellij-community", "path": "python/helpers/py2only/docutils/readers/python/__init__.py", "copies": "5", "size": "4298", "license": "apache-2.0", "hash": -3960341462280866300, "line_mean": 33.384, "line_max": 157, "alpha_frac": 0.6181945091, "autogenerated": false, ...
""" This package contains the Python Source Reader modules. """ __docformat__ = 'reStructuredText' import sys import docutils.readers from docutils.readers.python import moduleparser from docutils import parsers from docutils import nodes from docutils.readers.python import pynodes from docutils import readers cla...
{ "repo_name": "holmes/intellij-community", "path": "python/helpers/docutils/readers/python/__init__.py", "copies": "51", "size": "4338", "license": "apache-2.0", "hash": -5402625147479237000, "line_mean": 33.157480315, "line_max": 157, "alpha_frac": 0.6203319502, "autogenerated": false, "ratio": ...
""" This package contains Docutils Reader modules. """ __docformat__ = 'reStructuredText' from docutils import utils, parsers, Component from docutils.transforms import universal class Reader(Component): """ Abstract base class for docutils Readers. Each reader module or package must export a subcla...
{ "repo_name": "MER-GROUP/intellij-community", "path": "python/helpers/py2only/docutils/readers/__init__.py", "copies": "70", "size": "3265", "license": "apache-2.0", "hash": -8559807576995436000, "line_mean": 29.5140186916, "line_max": 78, "alpha_frac": 0.645941807, "autogenerated": false, "ratio...
""" This package contains Docutils parser modules. """ __docformat__ = 'reStructuredText' from docutils import Component class Parser(Component): component_type = 'parser' config_section = 'parsers' def parse(self, inputstring, document): """Override to parse `inputstring` int...
{ "repo_name": "rimbalinux/LMD3", "path": "docutils/parsers/__init__.py", "copies": "2", "size": "1504", "license": "bsd-3-clause", "hash": 8253345689400622000, "line_mean": 30, "line_max": 76, "alpha_frac": 0.6376329787, "autogenerated": false, "ratio": 3.9683377308707124, "config_test": false,...
""" This package contains the Python Source Reader modules. """ __docformat__ = 'reStructuredText' import sys import docutils.readers from docutils.readers.python import moduleparser from docutils import parsers from docutils import nodes from docutils.readers.python import pynodes from docutils impor...
{ "repo_name": "rimbalinux/MSISDNArea", "path": "docutils/readers/python/__init__.py", "copies": "2", "size": "4465", "license": "bsd-3-clause", "hash": 7555743668727895000, "line_mean": 33.157480315, "line_max": 157, "alpha_frac": 0.60268757, "autogenerated": false, "ratio": 4.456087824351298, ...
""" This package contains Docutils Reader modules. """ __docformat__ = 'reStructuredText' from docutils import utils, parsers, Component from docutils.transforms import universal class Reader(Component): """ Abstract base class for docutils Readers. Each reader module or package mus...
{ "repo_name": "rimbalinux/MSISDNArea", "path": "docutils/readers/__init__.py", "copies": "2", "size": "3372", "license": "bsd-3-clause", "hash": -6854236395513899000, "line_mean": 29.5140186916, "line_max": 78, "alpha_frac": 0.6254448399, "autogenerated": false, "ratio": 4.334190231362468, "con...
""" LaTeX2e document tree Writer. """ # Thanks to Engelbert Gruber and various contributors for the original # LaTeX writer, some code and many ideas of which have been used for # this writer. __docformat__ = 'reStructuredText' import os.path import re import docutils from docutils import nodes, writers, utils fro...
{ "repo_name": "MER-GROUP/intellij-community", "path": "python/helpers/py2only/docutils/writers/newlatex2e/__init__.py", "copies": "5", "size": "32261", "license": "apache-2.0", "hash": -8346162357209320000, "line_mean": 37.6359281437, "line_max": 97, "alpha_frac": 0.5456123493, "autogenerated": fal...
""" LaTeX2e document tree Writer. """ # Thanks to Engelbert Gruber and various contributors for the original # LaTeX writer, some code and many ideas of which have been used for # this writer. __docformat__ = 'reStructuredText' import re import os.path import docutils from docutils import nodes, w...
{ "repo_name": "rimbalinux/LMD3", "path": "docutils/writers/newlatex2e/__init__.py", "copies": "2", "size": "33098", "license": "bsd-3-clause", "hash": -6612387738607564000, "line_mean": 37.5909090909, "line_max": 97, "alpha_frac": 0.5318146112, "autogenerated": false, "ratio": 4.149178889306757, ...
""" 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": "clumsy/intellij-community", "path": "python/helpers/py2only/docutils/writers/s5_html/__init__.py", "copies": "5", "size": "13959", "license": "apache-2.0", "hash": 5248223182164354000, "line_mean": 40.1769911504, "line_max": 80, "alpha_frac": 0.5602836879, "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": "umitproject/tease-o-matic", "path": "docutils/writers/s5_html/__init__.py", "copies": "51", "size": "14003", "license": "bsd-3-clause", "hash": 9143433466077451000, "line_mean": 40.1852941176, "line_max": 80, "alpha_frac": 0.5612368778, "autogenerated": false, "ratio": 3.9713556437...
""" 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": "rimbalinux/MSISDNArea", "path": "docutils/writers/s5_html/__init__.py", "copies": "2", "size": "14343", "license": "bsd-3-clause", "hash": 8433276496553163000, "line_mean": 40.1852941176, "line_max": 80, "alpha_frac": 0.5479327895, "autogenerated": false, "ratio": 4.015397536394177...
""" 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": "spreeker/democracygame", "path": "external_apps/docutils-snapshot/build/lib/docutils/writers/html4css1/__init__.py", "copies": "2", "size": "58584", "license": "bsd-3-clause", "hash": 340714269464389400, "line_mean": 37.0415584416, "line_max": 85, "alpha_frac": 0.5500477946, "autogen...
""" This package contains directive implementation modules. """ __docformat__ = 'reStructuredText' import codecs import re from docutils import nodes from docutils.parsers.rst.languages import en as _fallback_language_module _directive_registry = { 'attention': ('admonitions', 'Attention'), 'caution': ...
{ "repo_name": "MichaelNedzelsky/intellij-community", "path": "python/helpers/py2only/docutils/parsers/rst/directives/__init__.py", "copies": "5", "size": "13312", "license": "apache-2.0", "hash": -6457919653988906000, "line_mean": 32.7012658228, "line_max": 79, "alpha_frac": 0.6071965144, "autogene...
""" 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": "akiokio/centralfitestoque", "path": "src/.pycharm_helpers/docutils/parsers/rst/directives/__init__.py", "copies": "1", "size": "13322", "license": "bsd-2-clause", "hash": -6215334470628386000, "line_mean": 32.7265822785, "line_max": 79, "alpha_frac": 0.6074913677, "autogenerated": fa...
""" 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'), ...
{ "repo_name": "rimbalinux/MSISDNArea", "path": "docutils/parsers/rst/directives/__init__.py", "copies": "2", "size": "13707", "license": "bsd-3-clause", "hash": 1357717350783551700, "line_mean": 32.7012658228, "line_max": 79, "alpha_frac": 0.5896986941, "autogenerated": false, "ratio": 4.2834375,...
""" 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 docutils from docutils import frontend, n...
{ "repo_name": "spreeker/democracygame", "path": "external_apps/docutils-snapshot/build/lib/docutils/writers/odf_odt/__init__.py", "copies": "8", "size": "100388", "license": "bsd-3-clause", "hash": -4093276535225539600, "line_mean": 36.1394746578, "line_max": 108, "alpha_frac": 0.5451049926, "autog...
""" 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 docutils from doc...
{ "repo_name": "rimbalinux/MSISDNArea", "path": "docutils/writers/odf_odt/__init__.py", "copies": "2", "size": "103091", "license": "bsd-3-clause", "hash": -4056316879503788500, "line_mean": 36.1394746578, "line_max": 108, "alpha_frac": 0.5308125831, "autogenerated": false, "ratio": 3.845818100425...
"""LaTeX2e document tree Writer.""" __docformat__ = 'reStructuredText' # code contributions from several people included, thanks to all. # some named: David Abrahams, Julien Letessier, Lele Gaifax, and others. # # convention deactivate code by two # i.e. ##. import sys import os import time import re import string ...
{ "repo_name": "spreeker/democracygame", "path": "external_apps/docutils-snapshot/docutils/writers/latex2e/__init__.py", "copies": "2", "size": "99912", "license": "bsd-3-clause", "hash": 5680064542448231000, "line_mean": 37.6058732612, "line_max": 82, "alpha_frac": 0.5619044759, "autogenerated": fa...
""" This package contains Docutils Writer modules. """ __docformat__ = 'reStructuredText' 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 package must expor...
{ "repo_name": "MER-GROUP/intellij-community", "path": "python/helpers/py2only/docutils/writers/__init__.py", "copies": "5", "size": "4236", "license": "apache-2.0", "hash": 7121945599234420000, "line_mean": 31.3358778626, "line_max": 78, "alpha_frac": 0.6501416431, "autogenerated": false, "ratio"...
""" 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": "supersven/intellij-community", "path": "python/helpers/docutils/writers/__init__.py", "copies": "49", "size": "4252", "license": "apache-2.0", "hash": 1083218702507392300, "line_mean": 30.969924812, "line_max": 78, "alpha_frac": 0.6505174036, "autogenerated": false, "ratio": 4.3387...
""" 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 ...
{ "repo_name": "rimbalinux/MSISDNArea", "path": "docutils/writers/__init__.py", "copies": "2", "size": "4385", "license": "bsd-3-clause", "hash": 3895730597623927000, "line_mean": 30.969924812, "line_max": 78, "alpha_frac": 0.6307867731, "autogenerated": false, "ratio": 4.442755825734549, "confi...
""" 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": "bobthecow/ManipulateCoda", "path": "src/Support/Library/docutils/parsers/rst/__init__.py", "copies": "6", "size": "14192", "license": "mit", "hash": 6989899161993571000, "line_mean": 36.8453333333, "line_max": 82, "alpha_frac": 0.655651071, "autogenerated": false, "ratio": 4.354710...
""" 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": "rimbalinux/MSISDNArea", "path": "docutils/parsers/rst/__init__.py", "copies": "2", "size": "14567", "license": "bsd-3-clause", "hash": -5441133447148080000, "line_mean": 36.8453333333, "line_max": 82, "alpha_frac": 0.6387725681, "autogenerated": false, "ratio": 4.419599514563107, ...
""" 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": "umitproject/tease-o-matic", "path": "docutils/writers/html4css1/__init__.py", "copies": "6", "size": "59090", "license": "bsd-3-clause", "hash": -1363836062000105200, "line_mean": 37.0980012895, "line_max": 85, "alpha_frac": 0.548620748, "autogenerated": false, "ratio": 3.967902229...
""" 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": "rimbalinux/LMD3", "path": "docutils/writers/html4css1/__init__.py", "copies": "2", "size": "60641", "license": "bsd-3-clause", "hash": -7689416582410206000, "line_mean": 37.0980012895, "line_max": 85, "alpha_frac": 0.5345888096, "autogenerated": false, "ratio": 4.051646956637937, ...
""" 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": "edisonlz/fruit", "path": "web_project/base/site-packages/docutils/__init__.py", "copies": "6", "size": "7083", "license": "apache-2.0", "hash": 2103470691239159000, "line_mean": 33.7205882353, "line_max": 78, "alpha_frac": 0.6970210363, "autogenerated": false, "ratio": 4.5785391079...
""" 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": "romankagan/DDBWorkbench", "path": "python/helpers/docutils/parsers/rst/__init__.py", "copies": "42", "size": "14143", "license": "apache-2.0", "hash": 5651680125993455000, "line_mean": 36.9168900804, "line_max": 82, "alpha_frac": 0.6579226472, "autogenerated": false, "ratio": 4.354...
""" 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": "MichaelNedzelsky/intellij-community", "path": "python/helpers/py2only/docutils/writers/html4css1/__init__.py", "copies": "5", "size": "59134", "license": "apache-2.0", "hash": 8381569059715312000, "line_mean": 37.1509677419, "line_max": 85, "alpha_frac": 0.5491933575, "autogenerated"...
""" 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": "Soya93/Extract-Refactoring", "path": "python/helpers/py2only/docutils/writers/pep_html/__init__.py", "copies": "5", "size": "3533", "license": "apache-2.0", "hash": -7224462880800877000, "line_mean": 33.637254902, "line_max": 79, "alpha_frac": 0.5912821964, "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' de...
{ "repo_name": "ajaxsys/dict-admin", "path": "docutils/writers/pep_html/__init__.py", "copies": "2", "size": "3688", "license": "bsd-3-clause", "hash": -1032486783577772000, "line_mean": 33.1238095238, "line_max": 79, "alpha_frac": 0.5778199566, "autogenerated": false, "ratio": 3.849686847599165, ...
""" 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": "akiokio/centralfitestoque", "path": "src/.pycharm_helpers/docutils/__init__.py", "copies": "1", "size": "7112", "license": "bsd-2-clause", "hash": -7284775350619548000, "line_mean": 33.862745098, "line_max": 81, "alpha_frac": 0.6975534308, "autogenerated": false, "ratio": 4.5531370...
""" Open Document Format (ODF) Writer. """ VERSION = '1.0a' __docformat__ = 'reStructuredText' import StringIO import copy import os import os.path import re import tempfile import time import zipfile from xml.dom import minidom import docutils from docutils import frontend, nodes, utils, writers from docutils.re...
{ "repo_name": "kdwink/intellij-community", "path": "python/helpers/py2only/docutils/writers/odf_odt/__init__.py", "copies": "5", "size": "119224", "license": "apache-2.0", "hash": -2157689204296556500, "line_mean": 37.1394753679, "line_max": 103, "alpha_frac": 0.536259478, "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 inspect import imp import copy import docutils from docutils import frontend, n...
{ "repo_name": "robovm/robovm-studio", "path": "python/helpers/docutils/writers/odf_odt/__init__.py", "copies": "41", "size": "119306", "license": "apache-2.0", "hash": 8468282245481710000, "line_mean": 37.104758863, "line_max": 103, "alpha_frac": 0.5364608653, "autogenerated": false, "ratio": 3.8...
# 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": "johngian/remo", "path": "vendor-local/lib/python/docutils/languages/__init__.py", "copies": "6", "size": "1286", "license": "bsd-3-clause", "hash": -638516370537126900, "line_mean": 31.9743589744, "line_max": 74, "alpha_frac": 0.6617418351, "autogenerated": false, "ratio": 3.969135...
""" 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": "abdullah2891/remo", "path": "vendor-local/lib/python/docutils/writers/__init__.py", "copies": "6", "size": "4283", "license": "bsd-3-clause", "hash": -6788696736269331000, "line_mean": 30.9626865672, "line_max": 78, "alpha_frac": 0.6495447117, "autogenerated": false, "ratio": 4.348...
""" This package contains modules for standard tree transforms available to Docutils components. Tree transforms serve a variety of purposes: - To tie up certain syntax-specific "loose ends" that remain after the initial parsing of the input plaintext. These transforms are used to supplement a limited syntax. - ...
{ "repo_name": "mglukhikh/intellij-community", "path": "python/helpers/py2only/docutils/transforms/__init__.py", "copies": "186", "size": "6505", "license": "apache-2.0", "hash": -719012436074697700, "line_mean": 36.8197674419, "line_max": 79, "alpha_frac": 0.6505764796, "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 Docutils. """ __docformat__ = 'reStructuredText' from docutils.utils import normalize_language_tag _languages = {} def get_language(l...
{ "repo_name": "cuongthai/cuongthai-s-blog", "path": "docutils/languages/__init__.py", "copies": "2", "size": "1325", "license": "bsd-3-clause", "hash": 4072111173108203000, "line_mean": 31.9743589744, "line_max": 74, "alpha_frac": 0.6422641509, "autogenerated": false, "ratio": 4.027355623100304, ...
""" 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 ...
{ "repo_name": "ajaxsys/dict-admin", "path": "docutils/writers/__init__.py", "copies": "2", "size": "4417", "license": "bsd-3-clause", "hash": 6816592545464800000, "line_mean": 30.9626865672, "line_max": 78, "alpha_frac": 0.6298392574, "autogenerated": false, "ratio": 4.452620967741935, "config_...
""" This package contains modules for standard tree transforms available to Docutils components. Tree transforms serve a variety of purposes: - To tie up certain syntax-specific "loose ends" that remain after the initial parsing of the input plaintext. These transforms are used to supplement a limited synt...
{ "repo_name": "cuongthai/cuongthai-s-blog", "path": "docutils/transforms/__init__.py", "copies": "2", "size": "6677", "license": "bsd-3-clause", "hash": 3336815722050036000, "line_mean": 36.8197674419, "line_max": 79, "alpha_frac": 0.6338175827, "autogenerated": false, "ratio": 4.776108726752503,...
""" 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": "alekseyev/wheatleycms", "path": "docutils/parsers/rst/directives/__init__.py", "copies": "6", "size": "13349", "license": "bsd-3-clause", "hash": -9177735072327124000, "line_mean": 32.7095959596, "line_max": 79, "alpha_frac": 0.6067870252, "autogenerated": false, "ratio": 4.1754770...
""" 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'), ...
{ "repo_name": "ajaxsys/dict-admin", "path": "docutils/parsers/rst/directives/__init__.py", "copies": "2", "size": "13745", "license": "bsd-3-clause", "hash": -5591970400355042000, "line_mean": 32.7095959596, "line_max": 79, "alpha_frac": 0.5893052019, "autogenerated": false, "ratio": 4.2805979445...
"""$Id: __init__.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" impo...
{ "repo_name": "canwe/NewsBlur", "path": "vendor/feedvalidator/__init__.py", "copies": "16", "size": "10034", "license": "mit", "hash": -1342115423131937300, "line_mean": 33.6, "line_max": 116, "alpha_frac": 0.6720151485, "autogenerated": false, "ratio": 3.7665165165165164, "config_test": 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": "johngian/remo", "path": "vendor-local/lib/python/docutils/writers/s5_html/__init__.py", "copies": "6", "size": "14387", "license": "bsd-3-clause", "hash": 8786394808145313000, "line_mean": 40.4610951009, "line_max": 80, "alpha_frac": 0.5616876347, "autogenerated": false, "ratio": 3...