id stringlengths 17 116 | task stringclasses 1
value | context_length stringclasses 1
value | documents listlengths 10 1.02k | question stringlengths 332 403 | question_with_choices stringlengths 332 403 | answer stringlengths 40 43.3k | answer_raw stringlengths 42 43.8k | n_chunks_full int64 10 61.9k | truncated bool 2
classes | repo stringlengths 7 54 | target_name stringlengths 1 72 | document_id int64 2.87k 144k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
LDU_FT/Robpol86/sphinxcontrib-versioning/custom_sort | LDU_FT | [
"<BEGIN>\n## `setup_logging`",
"Configure console logging. Info and below go to stdout, others go to stderr.",
" :param int verbose: Verbosity level. > 0 print debug statements. > 1 passed to sphinx-build.\n :param bool colors: Print color text in non-verbose mode.\n :param str name: Which logger name ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the custom_sort API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the custom_sort API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Custom Click(Command|Group).params sorter.
Case insensitive sort with capitals after lowercase. --version at the end since I can't sort --help.
:param click.core.Option param: Parameter to evaluate.
:return: Sort weight.
:rtype: int | "Custom Click(Command|Group).params sorter.\n\n Case insensitive sort with capitals after lowercase. --version at the end since I can't sort --help.\n\n :param click.core.Option param: Parameter to evaluate.\n\n :return: Sort weight.\n :rtype: int" | 172 | false | Robpol86/sphinxcontrib-versioning | custom_sort | 35,173 | |
LDU_FT/influxdata/influxdb-python/create_continuous_query | LDU_FT | [
"<BEGIN>\n## `_get_unicode`",
"Try to return a text aka unicode object from the given data.\n<END>",
"<BEGIN>\n## `make_lines`",
"Extract points from given dict.",
" Extracts the points from the given dict and returns a Unicode string\n matching the line protocol introduced in InfluxDB 0.9.0.\n<END>",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_continuous_query API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_continuous_query API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | r"""Create a continuous query for a database.
:param name: the name of continuous query to create
:type name: str
:param select: select statement for the continuous query
:type select: str
:param database: the database for which the continuous query is
created. Defau... | "r\"\"\"Create a continuous query for a database.\n\n :param name: the name of continuous query to create\n :type name: str\n :param select: select statement for the continuous query\n :type select: str\n :param database: the database for which the continuous query is\n cre... | 205 | false | influxdata/influxdb-python | create_continuous_query | 35,174 | |
LDU_FT/saltstack/salt/stop | LDU_FT | [
"<BEGIN>\n## `_config`",
"Return a value for 'name' from command line args then config file options.\n Specify 'key' if the config file option is not the same as 'name'.\n<END>",
"<BEGIN>\n## `add_host`",
"Add, replace, or update the A and PTR (reverse) records for a host.",
" CLI Example:",
" ..... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stop API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stop API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Stops a running container
name
Container name or ID
unpause : False
If ``True`` and the container is paused, it will be unpaused before
attempting to stop the container.
timeout
Timeout in seconds after which the container will be killed (if it has
not yet graceful... | "Stops a running container\n\n name\n Container name or ID\n\n unpause : False\n If ``True`` and the container is paused, it will be unpaused before\n attempting to stop the container.\n\n timeout\n Timeout in seconds after which the container will be killed (if it has\n not ... | 61,937 | true | saltstack/salt | stop | 35,175 | |
LDU_FT/sporsh/carnifex/connectRelay | LDU_FT | [
"<BEGIN>\n## `attr_string`",
"Build a string consisting of 'key=value' substrings for each keyword\n argument in :kwargs:",
" @param filterKeys: list of key names to ignore\n @param filterValues: list of values to ignore (e.g. None will ignore all\n key=value pairs that has that... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connectRelay API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connectRelay API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Builds the target protocol and connects it to the relay transport. | "Builds the target protocol and connects it to the relay transport." | 61 | false | sporsh/carnifex | connectRelay | 35,176 | |
LDU_FT/captin411/ofxclient/secure_items | LDU_FT | [
"<BEGIN>\n## `is_secure_option`",
"Test an option to see if it is secured or not.",
" :param section: section id\n :type section: string\n :param option: option name\n :type option: string\n :rtype: boolean\n otherwise.\n<END>",
"<BEGIN>\n## `items`",
"Get all items... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the secure_items API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the secure_items API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Like items() but only return secure items.
:param section: section id
:type section: string | "Like items() but only return secure items.\n\n :param section: section id\n :type section: string" | 93 | false | captin411/ofxclient | secure_items | 35,177 | |
LDU_FT/zxylvlp/PingPHP/p_AccessObj | LDU_FT | [
"<BEGIN>\n## `t_DOCCOMMENT`",
"r'((\\'\\'\\'((?!\\'\\'\\')[\\s\\S])*\\'\\'\\')|(\\'{6,8})|(\"\"\"((?!\"\"\")[\\s\\S])*\"\"\")|(\"{6,8}))[ \\t]*\\n\n<END>",
"<BEGIN>\n## `t_NATIVEPHP`",
"r'<\\?php((?!<\\?php)[\\s\\S])*\\?>[ \\t]*(?=\\n)\n<END>",
"<BEGIN>\n## `t_INDENTIFIER`",
"r'(\\$?[_a-zA-Z][_a-zA-Z0-9]*... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the p_AccessObj API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the p_AccessObj API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | AccessObj : Expression DOT INDENTIFIER
| Expression LBRACKET Expression RBRACKET
| Expression LBRACKET RBRACKET | "AccessObj : Expression DOT INDENTIFIER\n | Expression LBRACKET Expression RBRACKET\n | Expression LBRACKET RBRACKET" | 74 | false | zxylvlp/PingPHP | p_AccessObj | 35,178 | |
LDU_FT/consbio/gis-metadata-parser/_init_data_map | LDU_FT | [
"<BEGIN>\n## `convert_parser_to`",
":return: a parser of type parser_or_type, initialized with the properties of parser. If parser_or_type\n is a type, an instance of it must contain a update method. The update method must also process\n the set of properties supported by MetadataParser for the conversion t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _init_data_map API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _init_data_map API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | OVERRIDDEN: Initialize required FGDC data map with XPATHS and specialized functions | "OVERRIDDEN: Initialize required FGDC data map with XPATHS and specialized functions" | 122 | false | consbio/gis-metadata-parser | _init_data_map | 35,179 | |
LDU_FT/Kozea/cairocffi/version_to_string | LDU_FT | [
"<BEGIN>\n## `set_size`",
"Informs cairo of the new size of the X Drawable underlying the surface.\n For a surface created for a Window (rather than a Pixmap), this\n function must be called each time the size of the window changes (for\n a subwindow, you are normally resizing the window your... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the version_to_string API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the version_to_string API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Return the string representation of the given :ref:`SVG_VERSION`.
See :meth:`get_versions` for a way to get
the list of valid version ids. | "Return the string representation of the given :ref:`SVG_VERSION`.\n See :meth:`get_versions` for a way to get\n the list of valid version ids." | 669 | false | Kozea/cairocffi | version_to_string | 35,180 | |
LDU_FT/artefactual-labs/mets-reader-writer/fromtree | LDU_FT | [
"<BEGIN>\n## `register_id`",
"Register a manually assigned id as used, to avoid collisions.\n<END>",
"<BEGIN>\n## `parse`",
"Create a new AMDSec by parsing root.",
" :param root: Element or ElementTree to be parsed into an object.\n<END>",
"<BEGIN>\n## `serialize`",
"Serialize this amdSec and all... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fromtree API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fromtree API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Create a METS from an ElementTree or Element.
:param ElementTree tree: ElementTree to build a METS document from. | "Create a METS from an ElementTree or Element.\n\n :param ElementTree tree: ElementTree to build a METS document from." | 179 | false | artefactual-labs/mets-reader-writer | fromtree | 35,181 | |
LDU_FT/nickjj/ansigenome/create_skeleton | LDU_FT | [
"<BEGIN>\n## `epilogue`",
"Return the epilogue for the help command.\n<END>",
"<BEGIN>\n## `command_name`",
"Return a snippet of help text for this command.\n<END>",
"<BEGIN>\n## `has_colors`",
"Determine if the terminal supports ansi colors.\n<END>",
"<BEGIN>\n## `file_to_string`",
"Return the conten... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_skeleton API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_skeleton API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Create the role's directory and file structure. | "Create the role's directory and file structure." | 58 | false | nickjj/ansigenome | create_skeleton | 35,182 | |
LDU_FT/rstoneback/pysatMagVect/geocentric_to_ecef | LDU_FT | [
"<BEGIN>\n## `add_mag_drift_unit_vectors_ecef`",
"Adds unit vectors expressing the ion drift coordinate system\n organized by the geomagnetic field. Unit vectors are expressed\n in ECEF coordinates.",
" Parameters\n ----------\n inst : pysat.Instrument\n Instrument object that will get uni... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the geocentric_to_ecef API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the geocentric_to_ecef API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Convert geocentric coordinates into ECEF
Parameters
----------
latitude : float or array_like
Geocentric latitude (degrees)
longitude : float or array_like
Geocentric longitude (degrees)
altitude : float or array_like
Height (km) above presumed spherical Earth with radiu... | "Convert geocentric coordinates into ECEF\n \n Parameters\n ----------\n latitude : float or array_like\n Geocentric latitude (degrees)\n longitude : float or array_like\n Geocentric longitude (degrees)\n altitude : float or array_like\n Height (km) above presumed spherical Earth ... | 108 | false | rstoneback/pysatMagVect | geocentric_to_ecef | 35,183 | |
LDU_FT/BlueBrain/NeuroM/soma_surface_area | LDU_FT | [
"<BEGIN>\n## `_get_type`",
"get the type of the soma",
" Args:\n points: Soma points\n soma_class(str): one of 'contour' or 'cylinder' to specify the type\n<END>",
"<BEGIN>\n## `make_soma`",
"Make a soma object from a set of points",
" Infers the soma type (SomaSinglePoint, SomaSimpleC... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the soma_surface_area API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the soma_surface_area API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Get the surface area of a neuron's soma.
Note:
The surface area is calculated by assuming the soma is spherical. | "Get the surface area of a neuron's soma.\n\n Note:\n The surface area is calculated by assuming the soma is spherical." | 706 | false | BlueBrain/NeuroM | soma_surface_area | 35,184 | |
LDU_FT/python/core-workflow/abort_cherry_pick | LDU_FT | [
"<BEGIN>\n## `f`",
"Basic support for 3.6's f-strings, in 3.5!",
" Formats \"s\" using appropriate globals and locals\n dictionaries. This f-string:\n f\"hello a is {a}\"\n simply becomes\n f(\"hello a is {a}\")\n In other words, just throw parentheses around the\n string, and you'... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the abort_cherry_pick API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the abort_cherry_pick API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | run `git cherry-pick --abort` and then clean up the branch | "run `git cherry-pick --abort` and then clean up the branch" | 71 | false | python/core-workflow | abort_cherry_pick | 35,185 | |
LDU_FT/totalgood/twip/drop_nan_columns | LDU_FT | [
"<BEGIN>\n## `lsi`",
"Train an LSI model on a \"corpus\" of documnets, like tweets",
" Arguments:\n tokenize (callable): Function that returns a sequence of tokens (str) when passed a document (str)\n ram (float): Portion of RAM to limit the document generator from consuming before StopIter... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the drop_nan_columns API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the drop_nan_columns API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Drop columns that are mostly NaNs
Excel files can only have 256 columns, so you may have to drop a lot in order to get down to this | "Drop columns that are mostly NaNs\n\n Excel files can only have 256 columns, so you may have to drop a lot in order to get down to this" | 144 | false | totalgood/twip | drop_nan_columns | 35,186 | |
LDU_FT/NAMD/pypln.api/add_document | LDU_FT | [
"<BEGIN>\n## `add_document`",
"Add a document to this corpus",
" `document' is passed to `requests.post', so it can be a file-like\n object, a string (that will be sent as the file content) or a tuple\n containing a filename followed by any of these two options.\n<END>",
"<BEGIN>\n## `add... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_document API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_document API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Add a document to this corpus
`document' is passed to `requests.post', so it can be a file-like
object, a string (that will be sent as the file content) or a tuple
containing a filename followed by any of these two options. | "Add a document to this corpus\n\n `document' is passed to `requests.post', so it can be a file-like\n object, a string (that will be sent as the file content) or a tuple\n containing a filename followed by any of these two options." | 14 | false | NAMD/pypln.api | add_document | 35,187 | |
LDU_FT/mikemelch/hallie/play | LDU_FT | [
"<BEGIN>\n## `copy`",
"copy file or directory at a given location; can be pasted later\n<END>",
"<BEGIN>\n## `paste`",
"paste a file or directory that has been previously copied\n<END>",
"<BEGIN>\n## `checkInstalledPip`",
"checks if a given package is installed on pip\n<END>",
"<BEGIN>\n## `checkInstall... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the play API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the play API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Tells iTunes to play a given song/artist/album - MACOSX ONLY | "Tells iTunes to play a given song/artist/album - MACOSX ONLY" | 12 | false | mikemelch/hallie | play | 35,188 | |
LDU_FT/Othernet-Project/chainable-validators/chainable | LDU_FT | [
"<BEGIN>\n## `chainable`",
"Make function a chainable validator",
" The returned function is a chainable validator factory which takes the next\n function in the chain and returns a chained version of the original\n validator: ``fn(next(value))``.",
" The chainable validators are used with the ``m... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the chainable API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the chainable API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Make function a chainable validator
The returned function is a chainable validator factory which takes the next
function in the chain and returns a chained version of the original
validator: ``fn(next(value))``.
The chainable validators are used with the ``make_chain()`` function. | "Make function a chainable validator\n\n The returned function is a chainable validator factory which takes the next\n function in the chain and returns a chained version of the original\n validator: ``fn(next(value))``.\n\n The chainable validators are used with the ``make_chain()`` function." | 16 | false | Othernet-Project/chainable-validators | chainable | 35,189 | |
LDU_FT/square/connect-python-sdk/break_type_id | LDU_FT | [
"<BEGIN>\n## `attribute_name`",
"Sets the attribute_name of this CatalogQueryRange.\n The name of the attribute to be searched.",
" :param attribute_name: The attribute_name of this CatalogQueryRange.\n :type: str\n<END>",
"<BEGIN>\n## `idempotency_key`",
"Sets the idempotency_key of th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the break_type_id API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the break_type_id API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Sets the break_type_id of this ModelBreak.
The `BreakType` this `Break` was templated on.
:param break_type_id: The break_type_id of this ModelBreak.
:type: str | "Sets the break_type_id of this ModelBreak.\n The `BreakType` this `Break` was templated on.\n\n :param break_type_id: The break_type_id of this ModelBreak.\n :type: str" | 148 | false | square/connect-python-sdk | break_type_id | 35,190 | |
LDU_FT/angr/angr/set_size | LDU_FT | [
"<BEGIN>\n## `_alias_analysis`",
"Perform a forward execution and perform alias analysis. Note that this analysis is fast, light-weight, and by no\n means complete. For instance, most arithmetic operations are not supported.",
" - Depending on user settings, stack pointer and stack base pointer wi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_size API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_size API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Use this to set the size on a chunk. When the chunk is new (such as when a free chunk is shrunk to form an
allocated chunk and a remainder free chunk) it is recommended that the is_free hint be used since setting the
size depends on the chunk's freeness, and vice versa.
:param size: size of the... | "Use this to set the size on a chunk. When the chunk is new (such as when a free chunk is shrunk to form an\n allocated chunk and a remainder free chunk) it is recommended that the is_free hint be used since setting the\n size depends on the chunk's freeness, and vice versa.\n\n :param size: size o... | 2,448 | true | angr/angr | set_size | 35,191 | |
LDU_FT/ssalentin/plip/find_hal | LDU_FT | [
"<BEGIN>\n## `process_pdb`",
"Analysis of a single PDB file. Can generate textual reports XML, PyMOL session files and images as output.\n<END>",
"<BEGIN>\n## `download_structure`",
"Given a PDB ID, downloads the corresponding PDB structure.\n Checks for validity of ID and handles error while downloading.\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_hal API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_hal API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Look for halogen bond acceptors (Y-{O|P|N|S}, with Y=C,P,S) | "Look for halogen bond acceptors (Y-{O|P|N|S}, with Y=C,P,S)" | 176 | false | ssalentin/plip | find_hal | 35,192 | |
LDU_FT/mgbarrero/xbob.db.atvskeystroke/reverse | LDU_FT | [
"<BEGIN>\n## `dumplist`",
"Dumps lists of files based on your criteria\n<END>",
"<BEGIN>\n## `checkfiles`",
"Checks existence of files based on your criteria\n<END>",
"<BEGIN>\n## `reverse`",
"Returns a list of file database identifiers given the path stems\n<END>",
"<BEGIN>\n## `path`",
"Returns a li... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reverse API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reverse API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Returns a list of file database identifiers given the path stems | "Returns a list of file database identifiers given the path stems" | 45 | false | mgbarrero/xbob.db.atvskeystroke | reverse | 35,193 | |
LDU_FT/bitlabstudio/django-libs/get_content_type | LDU_FT | [
"<BEGIN>\n## `add_form_widget_attr`",
"Adds widget attributes to a bound form field.",
" This is helpful if you would like to add a certain class to all your forms\n (i.e. `form-control` to all form fields when you are using Bootstrap)::",
" {% load libs_tags %}\n {% for field in form.fiel... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_content_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_content_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Returns the content type of an object.
:param obj: A model instance.
:param field_name: Field of the object to return. | "Returns the content type of an object.\n\n :param obj: A model instance.\n :param field_name: Field of the object to return." | 101 | false | bitlabstudio/django-libs | get_content_type | 35,194 | |
LDU_FT/projecthamster/hamster-lib/get_default_backend_config | LDU_FT | [
"<BEGIN>\n## `_fact_to_tuple`",
"Convert a ``Fact`` to its normalized tuple.",
" This is where all type conversion for ``Fact`` attributes to strings as\n well as any normalization happens.",
" Note:\n Because different writers may require different types, we need to\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_default_backend_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_default_backend_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Return a default config dictionary.
Args:
appdirs (HamsterAppDirs): ``HamsterAppDirs`` instance encapsulating the apps details.
Returns:
dict: Dictionary with a default configuration.
Note:
Those defaults are independent of the particular config-store. | "Return a default config dictionary.\n\n Args:\n appdirs (HamsterAppDirs): ``HamsterAppDirs`` instance encapsulating the apps details.\n\n Returns:\n dict: Dictionary with a default configuration.\n\n Note:\n Those defaults are independent of the particular config-store." | 82 | false | projecthamster/hamster-lib | get_default_backend_config | 35,195 | |
LDU_FT/wtsi-hgi/python-baton-wrapper/get_all | LDU_FT | [
"<BEGIN>\n## `validate_baton_binaries_location`",
"Validates that the given directory contains the baton binaries required to use the runner.\n :param baton_binaries_directory: the directory to check\n :return: exception that describes the issue else `None` if no issues\n<END>",
"<BEGIN>\n## `_rai... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_all API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_all API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Gets all the access controls for the entity with the given path.
:param path: the path of the entity to find access controls for
:return: | "Gets all the access controls for the entity with the given path.\n :param path: the path of the entity to find access controls for\n :return:" | 71 | false | wtsi-hgi/python-baton-wrapper | get_all | 35,196 | |
LDU_FT/kashifrazzaqui/vyked/attach_service | LDU_FT | [
"<BEGIN>\n## `configure`",
"A convenience method for providing registry and pubsub(redis) endpoints",
" :param name: Used for process name\n :param registry_host: IP Address for vyked-registry; default = 0.0.0.0\n :param registry_port: Port for vyked-registry; default = 4500\n :param... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the attach_service API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the attach_service API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Allows you to attach one TCP and one HTTP service
deprecated:: 2.1.73 use http and tcp specific methods
:param service: A vyked TCP or HTTP service that needs to be hosted | "Allows you to attach one TCP and one HTTP service\n\n deprecated:: 2.1.73 use http and tcp specific methods\n :param service: A vyked TCP or HTTP service that needs to be hosted" | 14 | false | kashifrazzaqui/vyked | attach_service | 35,197 | |
LDU_FT/redbridge/molnctrl/monkeycache | LDU_FT | [
"<BEGIN>\n## `_create_api_method`",
"Create dynamic class methods based on the Cloudmonkey precached_verbs\n<END>",
"<BEGIN>\n## `Initialize`",
"Initializes the Cloudstack API\n Accepts arguments: \n api_host (localhost)\n api_port (443)\n api_ssl (True)\n ap... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the monkeycache API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the monkeycache API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Feed this a dictionary of api bananas, it spits out processed cache | "Feed this a dictionary of api bananas, it spits out processed cache" | 12 | false | redbridge/molnctrl | monkeycache | 35,198 | |
LDU_FT/great-expectations/great_expectations/find_expectations | LDU_FT | [
"<BEGIN>\n## `_setup_source_conn`",
"Retrieve connection based on source_conn_id. In case of s3 it also configures the bucket.\n Validates that connection id belongs to supported connection type.\n :param source_conn_id:\n :param source_bucket_name:\n<END>",
"<BEGIN>\n## `_setup_dest_conn`"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_expectations API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_expectations API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Find matching expectations within _expectation_config.
Args:
expectation_type=None : The name of the expectation type to be matched.
column=None : The name of the column to be matched.
expectation_kwargs=None : A dictionary... | "Find matching expectations within _expectation_config.\n Args:\n expectation_type=None : The name of the expectation type to be matched.\n column=None : The name of the column to be matched.\n expectation_kwargs=None : A dicti... | 475 | false | great-expectations/great_expectations | find_expectations | 35,199 | |
LDU_FT/cs01/gdbgui/get_marked_up_list | LDU_FT | [
"<BEGIN>\n## `get_marked_up_list`",
"an updated version of pygments.formatter.format_unencoded\n<END>",
"<BEGIN>\n## `get_ssl_context`",
"Get ssl context from private key and certificate paths.\n The return value is used when calling Flask.\n i.e. app.run(ssl_context=get_ssl_context(,,,))\n<END>",
"<B... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_marked_up_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_marked_up_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | an updated version of pygments.formatter.format_unencoded | "an updated version of pygments.formatter.format_unencoded" | 22 | false | cs01/gdbgui | get_marked_up_list | 35,200 | |
LDU_FT/inveniosoftware-attic/invenio-utils/indent_text | LDU_FT | [
"<BEGIN>\n## `get_callable_signature_as_string`",
"Return a string representing a callable.",
" It is executed as if it would have been declared on the prompt.",
" >>> def foo(arg1, arg2, arg3='val1', arg4='val2', *args, **argd):\n ... pass\n >>> get_callable_signature_as_string(foo)\n def ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the indent_text API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the indent_text API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | r"""Add tabs to each line of text.
:param text: the text to indent
:param nb_tabs: number of tabs to add
:param tab_str: type of tab (could be, for example "\t", default: 2 spaces
:param linebreak_input: linebreak on input
:param linebreak_output: linebreak on output
:param wrap: wethever to ap... | "r\"\"\"Add tabs to each line of text.\n\n :param text: the text to indent\n :param nb_tabs: number of tabs to add\n :param tab_str: type of tab (could be, for example \"\\t\", default: 2 spaces\n :param linebreak_input: linebreak on input\n :param linebreak_output: linebreak on output\n :param wrap: ... | 424 | false | inveniosoftware-attic/invenio-utils | indent_text | 35,201 | |
LDU_FT/liam-middlebrook/csh_ldap/enqueue_mod | LDU_FT | [
"<BEGIN>\n## `get_members`",
"Return all members in the group as CSHMember objects\n<END>",
"<BEGIN>\n## `check_member`",
"Check if a Member is in the bound group.",
" Arguments:\n member -- the CSHMember object (or distinguished name) of the member to\n check against",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the enqueue_mod API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the enqueue_mod API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Enqueue a LDAP modification.
Arguments:
dn -- the distinguished name of the object to modify
mod -- an ldap modfication entry to enqueue | "Enqueue a LDAP modification.\n\n Arguments:\n dn -- the distinguished name of the object to modify\n mod -- an ldap modfication entry to enqueue" | 29 | false | liam-middlebrook/csh_ldap | enqueue_mod | 35,202 | |
LDU_FT/merll/docker-fabric/copy_resource | LDU_FT | [
"<BEGIN>\n## `reset_socat`",
"Finds and closes all processes of `socat`.",
" :param use_sudo: Use `sudo` command. As Docker-Fabric does not run `socat` with `sudo`, this is by default set to\n ``False``. Setting it to ``True`` could unintentionally remove instances from other users.\n :type use_sudo:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the copy_resource API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the copy_resource API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Copies a resource from a container to a compressed tarball and downloads it.
:param container: Container name or id.
:type container: unicode
:param resource: Name of resource to copy.
:type resource: unicode
:param local_filename: Path to store the tarball locally.
:type local_filename: unicod... | "Copies a resource from a container to a compressed tarball and downloads it.\n\n :param container: Container name or id.\n :type container: unicode\n :param resource: Name of resource to copy.\n :type resource: unicode\n :param local_filename: Path to store the tarball locally.\n :type local_filename... | 157 | false | merll/docker-fabric | copy_resource | 35,203 | |
LDU_FT/nickoala/telepot/setStickerPositionInSet | LDU_FT | [
"<BEGIN>\n## `answer`",
"Create a task that calls ``compute fn`` (along with additional arguments\n ``*compute_args`` and ``**compute_kwargs``), then applies the returned value to\n :meth:`.Bot.answerInlineQuery` to answer the inline query.\n If a preceding task is already working for a user,... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setStickerPositionInSet API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setStickerPositionInSet API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | See: https://core.telegram.org/bots/api#setstickerpositioninset | "See: https://core.telegram.org/bots/api#setstickerpositioninset" | 312 | false | nickoala/telepot | setStickerPositionInSet | 35,204 | |
LDU_FT/Chilipp/funcargparse/parse_known2func | LDU_FT | [
"<BEGIN>\n## `get_param_doc`",
"Get the documentation and datatype for a parameter",
" This function returns the documentation and the argument for a\n napoleon like structured docstring `doc`",
" Parameters\n ----------\n doc: str\n The base docstring to use\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_known2func API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_known2func API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Parse the command line arguments to the setup function
This method parses the given command line arguments to the function
used in the :meth:`setup_args` method to setup up this parser
Parameters
----------
args: list
The list of command line arguments
func:... | "Parse the command line arguments to the setup function\n\n This method parses the given command line arguments to the function\n used in the :meth:`setup_args` method to setup up this parser\n\n Parameters\n ----------\n args: list\n The list of command line arguments\n ... | 105 | false | Chilipp/funcargparse | parse_known2func | 35,205 | |
LDU_FT/avanwyk/cipy/gbest_idx | LDU_FT | [
"<BEGIN>\n## `dictionary_based_metrics`",
"Higher order function creating a result type and collection function from\n the given metrics.",
" Args:\n metrics (iterable): Sequence of callable metrics, each\n accepting the algorithm state as parameter and returning the\n measure... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gbest_idx API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gbest_idx API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | gbest Neighbourhood topology function.
Args:
swarm: list: The list of particles.
Returns:
int: The index of the gbest particle. | "gbest Neighbourhood topology function.\n\n Args:\n swarm: list: The list of particles.\n\n Returns:\n int: The index of the gbest particle." | 54 | false | avanwyk/cipy | gbest_idx | 35,206 | |
LDU_FT/espressif/esptool/_load_hardware_key | LDU_FT | [
"<BEGIN>\n## `decrypt`",
"Decrypt a block of cipher text using the AES block cipher.\n<END>",
"<BEGIN>\n## `increment`",
"Increment the counter (overflow rolls back to 0).\n<END>",
"<BEGIN>\n## `summary`",
"Print a human-readable summary of efuse contents\n<END>",
"<BEGIN>\n## `write_efuses`",
"Write ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _load_hardware_key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _load_hardware_key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Load a 256-bit key, similar to stored in efuse, from a file
192-bit keys will be extended to 256-bit using the same algorithm used
by hardware if 3/4 Coding Scheme is set. | "Load a 256-bit key, similar to stored in efuse, from a file\n\n 192-bit keys will be extended to 256-bit using the same algorithm used\n by hardware if 3/4 Coding Scheme is set." | 199 | false | espressif/esptool | _load_hardware_key | 35,207 | |
LDU_FT/houtianze/bypy/interpret_size | LDU_FT | [
"<BEGIN>\n## `human_time`",
"DocTests:\n\t>>> human_time(0) == ''\n\tTrue\n\t>>> human_time(122.1) == '2m2s'\n\tTrue\n\t>>> human_time(133) == '2m13s'\n\tTrue\n\t>>> human_time(12345678) == '20W2D21h21m18s'\n\tTrue\n<END>",
"<BEGIN>\n## `limit_unit`",
"DocTests:\n\t>>> limit_unit('1m2s', 1) == '1m'\n\tTrue\n\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the interpret_size API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the interpret_size API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | >>> interpret_size(10)
10
>>> interpret_size('10')
10
>>> interpret_size('10b')
10
>>> interpret_size('10k')
10240
>>> interpret_size('10K')
10240
>>> interpret_size('10kb')
10240
>>> interpret_size('10kB')
10240
>>> interpret_size('a10')
Traceback (most recent call last):
ValueError
>>> interpret_size... | ">>> interpret_size(10)\n\t10\n\t>>> interpret_size('10')\n\t10\n\t>>> interpret_size('10b')\n\t10\n\t>>> interpret_size('10k')\n\t10240\n\t>>> interpret_size('10K')\n\t10240\n\t>>> interpret_size('10kb')\n\t10240\n\t>>> interpret_size('10kB')\n\t10240\n\t>>> interpret_size('a10')\n\tTraceback (most recent call last):\... | 55 | false | houtianze/bypy | interpret_size | 35,208 | |
LDU_FT/TkTech/Jawa/start_shell | LDU_FT | [
"<BEGIN>\n## `_walk`",
"A modified os.walk with support for maximum traversal depth.\n<END>",
"<BEGIN>\n## `update`",
"Add one or more ClassFile sources to the class loader.",
" If a given source is a directory path, it is traversed up to the\n maximum set depth and all files under it are adde... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start_shell API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start_shell API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Create and immediately drop into a Python shell.
If IPython version 5 or greater is available it will be used instead
of the built-in python shell.
:param local_ns: An optional dict containing the global namespace of
the newly created shell.
:param banner: An optional banner to ... | "Create and immediately drop into a Python shell.\n\n If IPython version 5 or greater is available it will be used instead\n of the built-in python shell.\n\n :param local_ns: An optional dict containing the global namespace of\n the newly created shell.\n :param banner: An optional ba... | 226 | false | TkTech/Jawa | start_shell | 35,209 | |
LDU_FT/TankerHQ/python-cli-ui/debug | LDU_FT | [
"<BEGIN>\n## `setup`",
"Configure behavior of message functions.",
" :param verbose: Whether :func:`debug` messages should get printed\n :param quiet: Hide every message except :func:`warning`, :func:`error`, and\n :func:`fatal`\n :param color: Choices: 'auto', 'always', or 'never'. Wh... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the debug API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the debug API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Print a debug message.
Messages are shown only when ``CONFIG["verbose"]`` is true | "Print a debug message.\n\n Messages are shown only when ``CONFIG[\"verbose\"]`` is true" | 35 | false | TankerHQ/python-cli-ui | debug | 35,210 | |
LDU_FT/metapensiero/metapensiero.signal/notify_prepared | LDU_FT | [
"<BEGIN>\n## `get_subscribers`",
"Get per-instance subscribers from the signal.\n<END>",
"<BEGIN>\n## `notify_prepared`",
"Like notify allows to pass more options to the underlying\n `Signal.prepare_notification()` method.",
" The allowed options are:",
" notify_external : bool\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the notify_prepared API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the notify_prepared API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Like notify allows to pass more options to the underlying
`Signal.prepare_notification()` method.
The allowed options are:
notify_external : bool
a flag indicating if the notification should also include the
registered `~.external.ExternalSignaller` in the notification. It'... | "Like notify allows to pass more options to the underlying\n `Signal.prepare_notification()` method.\n\n The allowed options are:\n\n notify_external : bool\n a flag indicating if the notification should also include the\n registered `~.external.ExternalSignaller` in the notificat... | 47 | false | metapensiero/metapensiero.signal | notify_prepared | 35,211 | |
LDU_FT/striglia/pyramid_swagger/matches | LDU_FT | [
"<BEGIN>\n## `includeme`",
":type config: :class:`pyramid.config.Configurator`\n<END>",
"<BEGIN>\n## `validate_swagger_schema`",
"Validate the structure of Swagger schemas against the spec.",
" **Valid only for Swagger v1.2 spec**",
" Note: It is possible that resource_listing is not present in\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the matches API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the matches API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | :param request: a :class:`pyramid.request.Request`
:returns: True if this matcher matches the request, False otherwise | ":param request: a :class:`pyramid.request.Request`\n :returns: True if this matcher matches the request, False otherwise" | 101 | false | striglia/pyramid_swagger | matches | 35,212 | |
LDU_FT/andreasjansson/head-in-the-clouds/ssh | LDU_FT | [
"<BEGIN>\n## `create`",
"Create a new base with specified field names\r\n A keyword argument mode can be specified ; it is used if a file\r\n with the base name already exists\r\n - if mode = 'open' : open the existing base, ignore the fields\r\n - if mode = 'override' : erase the exis... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ssh API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ssh API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | SSH into the server(s) (sequentially if more than one)
Args:
cmd (str) ='': Command to run on the server | "SSH into the server(s) (sequentially if more than one)\n\n Args:\n cmd (str) ='': Command to run on the server" | 101 | false | andreasjansson/head-in-the-clouds | ssh | 35,213 | |
LDU_FT/tanwanirahul/django-batch-requests/get_response | LDU_FT | [
"<BEGIN>\n## `import_class`",
"Imports the class for the given class name.\n<END>",
"<BEGIN>\n## `_executor`",
"Creating an ExecutorPool is a costly operation. Executor needs to be instantiated only once.\n<END>",
"<BEGIN>\n## `pre_process_method_headers`",
"Returns the lowered method.\n Capitalize... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_response API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_response API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Given a WSGI request, makes a call to a corresponding view
function and returns the response. | "Given a WSGI request, makes a call to a corresponding view\n function and returns the response." | 22 | false | tanwanirahul/django-batch-requests | get_response | 35,214 | |
LDU_FT/nicolargo/glances/update | LDU_FT | [
"<BEGIN>\n## `msg_curse`",
"Return the string to display in the curse interface.\n<END>",
"<BEGIN>\n## `load`",
"Load the web list from the configuration file.\n<END>",
"<BEGIN>\n## `set_server`",
"Set the key to the value for the pos (position in the list).\n<END>",
"<BEGIN>\n## `update`",
"Update se... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Update Docker stats using the input method. | "Update Docker stats using the input method." | 678 | false | nicolargo/glances | update | 35,215 | |
LDU_FT/mabuchilab/QNET/show | LDU_FT | [
"<BEGIN>\n## `isdisjoint`",
"Check whether two Hilbert spaces are disjoint (do not have any\n common local factors). Note that `FullSpace` is *not* disjoint with any\n other Hilbert space, while `TrivialSpace` *is* disjoint with any other\n HilbertSpace (even itself)\n<END>",
"<BEGIN>\n## `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the show API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the show API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Show the circuit expression in an IPython notebook. | "Show the circuit expression in an IPython notebook." | 1,017 | false | mabuchilab/QNET | show | 35,216 | |
LDU_FT/fedora-infra/fmn.rules/get_requirements | LDU_FT | [
"<BEGIN>\n## `pagure_specific_project_filter`",
"Particular pagure projects",
" Adding this rule allows you to get notifications for one or more\n `pagure.io <https://pagure.io>`_ projects. Specify multiple\n projects by separating them with a comma ','.\n<END>",
"<BEGIN>\n## `pagure_specific_proj... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_requirements API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_requirements API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Get the contents of a file listing the requirements.
:param filename: path to a requirements file
:type filename: str
:returns: the list of requirements
:return type: list | "Get the contents of a file listing the requirements.\n\n :param filename: path to a requirements file\n :type filename: str\n\n :returns: the list of requirements\n :return type: list" | 95 | false | fedora-infra/fmn.rules | get_requirements | 35,217 | |
LDU_FT/sods/paramz/add_index_operation | LDU_FT | [
"<BEGIN>\n## `adjust_name_for_printing`",
"Make sure a name can be printed, alongside used as a variable name.\n<END>",
"<BEGIN>\n## `name`",
"Set the name of this object.\n Tell the parent if the name has changed.\n<END>",
"<BEGIN>\n## `hierarchy_name`",
"return the name for this object with the p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_index_operation API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_index_operation API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Add index operation with name to the operations given.
raises: attribute error if operations exist. | "Add index operation with name to the operations given.\n\n raises: attribute error if operations exist." | 225 | false | sods/paramz | add_index_operation | 35,218 | |
LDU_FT/archman/beamline/addElement | LDU_FT | [
"<BEGIN>\n## `plotLattice`",
"function plot beamline defined by ``beamlinepatchlist``, which is a set of patches for all elements",
" :param beamlinepatchlist: generated by function ``makeBeamline()``\n :param fignum: figure number, 1 by default\n :param fig_size: figure size, 20 inch by default\n :... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the addElement API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the addElement API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | add element to lattice element list
:param ele: magnetic element defined in element module
return total element number | "add element to lattice element list\n\n :param ele: magnetic element defined in element module\n return total element number" | 318 | false | archman/beamline | addElement | 35,219 | |
LDU_FT/alejandrobll/py-sphviewer/set_autocamera | LDU_FT | [
"<BEGIN>\n## `set_logscale`",
"- set_logscale(): If M is the matrix of the image, it defines the image M as log10(M+1).\n<END>",
"<BEGIN>\n## `histogram`",
"- histogram(axis=None, **kargs): It computes and shows the histogram of the image. This is \n usefull for choosing a proper scale to the output, o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_autocamera API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_autocamera API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | - set_autocamera(mode='density'): By default, Scene defines its
own Camera. However, there is no a general way for doing so. Scene
uses a density criterion for getting the point of view. If this is
not a good option for your problem, you can choose among:
|'minmax'|'density'|'median'|... | "- set_autocamera(mode='density'): By default, Scene defines its \n own Camera. However, there is no a general way for doing so. Scene \n uses a density criterion for getting the point of view. If this is \n not a good option for your problem, you can choose among:\n |'minmax'|'density'|'med... | 55 | false | alejandrobll/py-sphviewer | set_autocamera | 35,220 | |
LDU_FT/vsjha18/nsetools/get_fno_lot_sizes | LDU_FT | [
"<BEGIN>\n## `byte_adaptor`",
"provides py3 compatibility by converting byte based\n file stream to string based file stream",
" Arguments:\n fbuffer: file like objects containing bytes",
" Returns:\n string buffer\n<END>",
"<BEGIN>\n## `js_adaptor`",
"convert javascript objects lik... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_fno_lot_sizes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_fno_lot_sizes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | returns a dictionary with key as stock code and value as stock name.
It also implements cache functionality and hits the server only
if user insists or cache is empty
:return: dict | "returns a dictionary with key as stock code and value as stock name.\n It also implements cache functionality and hits the server only\n if user insists or cache is empty\n :return: dict" | 30 | false | vsjha18/nsetools | get_fno_lot_sizes | 35,221 | |
LDU_FT/Microsoft/ApplicationInsights-Python/flush | LDU_FT | [
"<BEGIN>\n## `track_pageview`",
"Send information about the page viewed in the application (a web page for instance).",
" Args:\n name (str). the name of the page that was viewed.\\n\n url (str). the URL of the page that was viewed.\\n\n duration (int). the duration of th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the flush API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the flush API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Flushes the current queue by by calling :func:`sender`'s :func:`send` method. | "Flushes the current queue by by calling :func:`sender`'s :func:`send` method." | 268 | false | Microsoft/ApplicationInsights-Python | flush | 35,222 | |
LDU_FT/xiaocong/uiautomator/devices | LDU_FT | [
"<BEGIN>\n## `cmd`",
"adb command, add -s serial by default. return the subprocess.Popen object.\n<END>",
"<BEGIN>\n## `devices`",
"get a dict of attached devices. key is the device serial, value is device name.\n<END>",
"<BEGIN>\n## `dump`",
"dump device window and pull to local file.\n<END>",
"<BEGIN>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the devices API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the devices API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | get a dict of attached devices. key is the device serial, value is device name. | "get a dict of attached devices. key is the device serial, value is device name." | 33 | false | xiaocong/uiautomator | devices | 35,223 | |
LDU_FT/pallets/flask-sqlalchemy/create_app | LDU_FT | [
"<BEGIN>\n## `should_set_tablename`",
"Determine whether ``__tablename__`` should be automatically generated\n for a model.",
" * If no class in the MRO sets a name, one should be generated.\n * If a declared attr is found, it should be used instead.\n * If a name is found, it should be used if the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_app API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_app API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Create and configure an instance of the Flask application. | "Create and configure an instance of the Flask application." | 73 | false | pallets/flask-sqlalchemy | create_app | 35,224 | |
LDU_FT/NaviNet/JiraRobot/create_issue | LDU_FT | [
"<BEGIN>\n## `connect_to_jira`",
"Connect to a JIRA server.\r",
" Arguments:\r\n | JIRAUsername (string) \t| (Optional) A JIRA Username you wish to authenticate with, will authorise with anonymous account if left empty \t\t\t\t|\r\n | JIRAPassword (string) \t| ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_issue API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_issue API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Creates a new JIRA issue.
Arguments:
| issue_field_dict (string) | A dictionary in the form of a string that the user can specify the issues fields and field values |
| assign_current_user (string/bool) | (Optional) A flag to assign the current user to the iss... | "Creates a new JIRA issue.\r\n\r\n Arguments:\r\n | issue_field_dict (string) \t\t\t| A dictionary in the form of a string that the user can specify the issues fields and field values \t\t\t|\r\n | assign_current_user (string/bool) \t| (Optional) A flag to assign the current... | 34 | false | NaviNet/JiraRobot | create_issue | 35,225 | |
LDU_FT/IAMconsortium/pyam/variables | LDU_FT | [
"<BEGIN>\n## `read_ix`",
"Read timeseries data from an ixmp object",
" Parameters\n ----------\n ix: ixmp.TimeSeries or ixmp.Scenario\n this option requires the ixmp package as a dependency\n kwargs: arguments passed to ixmp.TimeSeries.timeseries()\n<END>",
"<BEGIN>\n## `requires_package`",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the variables API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the variables API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Get a list of variables
Parameters
----------
include_units: boolean, default False
include the units | "Get a list of variables\n\n Parameters\n ----------\n include_units: boolean, default False\n include the units" | 256 | false | IAMconsortium/pyam | variables | 35,226 | |
LDU_FT/kaste/mockito-python/expect | LDU_FT | [
"<BEGIN>\n## `verify`",
"Central interface to verify interactions.",
" `verify` uses a fluent interface::",
" verify(<obj>, times=2).<method_name>(<args>)",
" `args` can be as concrete as necessary. Often a catch-all is enough,\n especially if you're working with strict mocks, bc they throw ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the expect API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the expect API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Stub a function call, and set up an expected call count.
Usage::
# Given `dog` is an instance of a `Dog`
expect(dog, times=1).bark('Wuff').thenReturn('Miau')
dog.bark('Wuff')
dog.bark('Wuff') # will throw at call time: too many invocations
# maybe if you need to ensure th... | "Stub a function call, and set up an expected call count.\n\n Usage::\n\n # Given `dog` is an instance of a `Dog`\n expect(dog, times=1).bark('Wuff').thenReturn('Miau')\n dog.bark('Wuff')\n dog.bark('Wuff') # will throw at call time: too many invocations\n\n # maybe if you need to... | 106 | false | kaste/mockito-python | expect | 35,227 | |
LDU_FT/cdeboever3/cdpybio/vcf_as_df | LDU_FT | [
"<BEGIN>\n## `get_region_nt_counts`",
"Get counts of each nucleotide from a bam file for a given region. If R1 and\n R2 reads both overlap a position, only one count will be added. If the R1\n and R2 reads disagree at a position they both overlap, that read pair is not\n used for that position. Can opti... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the vcf_as_df API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the vcf_as_df API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Read VCF file into pandas DataFrame.
Parameters:
-----------
fn : str
Path to VCF file.
Returns
-------
df : pandas.DataFrame
The VCF file as a data frame. Note that all header information is thrown
away. | "Read VCF file into pandas DataFrame.\n\n Parameters:\n -----------\n fn : str\n Path to VCF file.\n\n Returns\n -------\n df : pandas.DataFrame\n The VCF file as a data frame. Note that all header information is thrown\n away." | 387 | false | cdeboever3/cdpybio | vcf_as_df | 35,228 | |
LDU_FT/neon-jungle/wagtailnews/user_can_edit_newsitem | LDU_FT | [
"<BEGIN>\n## `build_dummy_request`",
"Construct a HttpRequest object that is, as far as possible,\n representative of ones that would receive this page as a response. Used\n for previewing / moderation and any other place where we want to\n display a view of this page in the admin interface without going... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the user_can_edit_newsitem API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the user_can_edit_newsitem API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Check if the user has permission to edit a particular NewsItem type. | "Check if the user has permission to edit a particular NewsItem type." | 12 | false | neon-jungle/wagtailnews | user_can_edit_newsitem | 35,229 | |
LDU_FT/cdeboever3/cdpybio/_make_sj_out_panel | LDU_FT | [
"<BEGIN>\n## `get_region_nt_counts`",
"Get counts of each nucleotide from a bam file for a given region. If R1 and\n R2 reads both overlap a position, only one count will be added. If the R1\n and R2 reads disagree at a position they both overlap, that read pair is not\n used for that position. Can opti... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _make_sj_out_panel API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _make_sj_out_panel API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Filter junctions from many sj_out files and make panel.
Parameters
----------
sj_outD : dict
Dict whose keys are sample names and values are sj_out dataframes
total_jxn_cov_cutoff : int
If the unique read coverage of a junction summed over all samples is not
greater than or equ... | "Filter junctions from many sj_out files and make panel.\n\n Parameters\n ----------\n sj_outD : dict\n Dict whose keys are sample names and values are sj_out dataframes\n\n total_jxn_cov_cutoff : int\n If the unique read coverage of a junction summed over all samples is not\n greater t... | 387 | false | cdeboever3/cdpybio | _make_sj_out_panel | 35,230 | |
LDU_FT/MarcoFavorito/pythomata/powerset | LDU_FT | [
"<BEGIN>\n## `from_transitions`",
"Initialize a DFA without explicitly specifying the set of states and the alphabet.",
" :param initial_state: the initial state.\n :param accepting_states: the accepting state.\n :param transition_function: the transition function.\n :return: the DFA... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the powerset API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the powerset API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | powerset([1,2,3]) --> () (1,) (2,) (3,) (1,2) (1,3) (2,3) (1,2,3) | "powerset([1,2,3]) --> () (1,) (2,) (3,) (1,2) (1,3) (2,3) (1,2,3)" | 16 | false | MarcoFavorito/pythomata | powerset | 35,231 | |
LDU_FT/CI-WATER/gsshapy/getStreamNetworkAsGeoJson | LDU_FT | [
"<BEGIN>\n## `_read`",
"Generic Time Series Read from File Method\n<END>",
"<BEGIN>\n## `_write`",
"Generic Time Series Write to File Method\n<END>",
"<BEGIN>\n## `_createTimeSeriesObjects`",
"Create GSSHAPY TimeSeries and TimeSeriesValue Objects Method\n<END>",
"<BEGIN>\n## `_read`",
"Generic Output ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getStreamNetworkAsGeoJson API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getStreamNetworkAsGeoJson API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Retrieve the stream network geometry in GeoJSON format.
Args:
session (:mod:`sqlalchemy.orm.session.Session`): SQLAlchemy session object bound to PostGIS enabled database
withNodes (bool, optional): Include nodes. Defaults to False.
Returns:
str: GeoJSON string. | "Retrieve the stream network geometry in GeoJSON format.\n\n Args:\n session (:mod:`sqlalchemy.orm.session.Session`): SQLAlchemy session object bound to PostGIS enabled database\n withNodes (bool, optional): Include nodes. Defaults to False.\n\n Returns:\n str: GeoJSON str... | 537 | false | CI-WATER/gsshapy | getStreamNetworkAsGeoJson | 35,232 | |
LDU_FT/NyashniyVladya/RusPhonetic/end | LDU_FT | [
"<BEGIN>\n## `set_prev_sonorus`",
"Выставляет параметры звонкости/глухости, для предыдущих согласных.\n<END>",
"<BEGIN>\n## `set_prev_hard`",
"Выставляет параметры твёрдости/мягкости, для предыдущих согласных.\n<END>",
"<BEGIN>\n## `get_prev_letter`",
"Возвращает предыдущий объект буквы, если она не являе... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the end API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the end API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Проверяет, заканчивается ли последовательность букв переданной строкой.
Скан производится, без учёта текущей. | "Проверяет, заканчивается ли последовательность букв переданной строкой.\n Скан производится, без учёта текущей." | 14 | false | NyashniyVladya/RusPhonetic | end | 35,233 | |
LDU_FT/radzak/rtv-downloader/quality_comparator | LDU_FT | [
"<BEGIN>\n## `suppress_stdout`",
"Context manager that suppresses stdout.",
" Examples:\n >>> with suppress_stdout():\n ... print('Test print')",
" >>> print('test')\n test\n<END>",
"<BEGIN>\n## `get_domain_name`",
"Extract a domain name from the url (without subdomain).... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the quality_comparator API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the quality_comparator API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Custom comparator used to choose the right format based on the resolution. | "Custom comparator used to choose the right format based on the resolution." | 59 | false | radzak/rtv-downloader | quality_comparator | 35,234 | |
LDU_FT/scivision/morecvutils/draw_hsv | LDU_FT | [
"<BEGIN>\n## `cohensutherland`",
"Clips a line to a rectangular area.",
" This implements the Cohen-Sutherland line clipping algorithm. xmin,\n ymax, xmax and ymin denote the clipping area, into which the line\n defined by x1, y1 (start point) and x2, y2 (end point) will be\n clipped.",
" If t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the draw_hsv API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the draw_hsv API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | mag must be uint8, uint16, uint32 and 2-D
ang is in radians (float) | "mag must be uint8, uint16, uint32 and 2-D\n ang is in radians (float)" | 14 | false | scivision/morecvutils | draw_hsv | 35,235 | |
LDU_FT/wistful/pympris/GetPlaylists | LDU_FT | [
"<BEGIN>\n## `register_signal_handler`",
"register `handler_function` to receive `signal_name`.",
" Uses class's dbus interface self.IFACE, objects name self.name\n and objects path self.OBJ_PATH to match signal.",
" :param str signal_name: The signal name;\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the GetPlaylists API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the GetPlaylists API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Gets a set of playlists.
:param int start: The index of the first playlist to be fetched
(according to the ordering).
:param int max_count: The maximum number of playlists to fetch.
:param str order: The ordering that should be used.
:param bool reversed: Whet... | "Gets a set of playlists.\n\n :param int start: The index of the first playlist to be fetched\n (according to the ordering).\n :param int max_count: The maximum number of playlists to fetch.\n :param str order: The ordering that should be used.\n :param bool reverse... | 36 | false | wistful/pympris | GetPlaylists | 35,236 | |
LDU_FT/kylemede/KMlogger/setStreamLevel | LDU_FT | [
"<BEGIN>\n## `getLogger`",
"This will either return the logging object already\n instantiated, or instantiate a new one and return it. \n **Use this function to both create and return any logger** to avoid \n accidentally adding additional handlers by using the setUpLogger function \n instead.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setStreamLevel API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setStreamLevel API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Set/change the level for the stream handler for a logging object.
Any file handlers will be left alone.
All messages of a higher severity level than 'lvl' will be printed
to the screen.
Args:
lvl (int): The severity level of messages printed to the screen with
... | "Set/change the level for the stream handler for a logging object.\n Any file handlers will be left alone.\n All messages of a higher severity level than 'lvl' will be printed \n to the screen.\n \n Args: \n lvl (int): The severity level of messages printed to the screen... | 26 | false | kylemede/KMlogger | setStreamLevel | 35,237 | |
LDU_FT/pydsigner/taskit/_sending_task | LDU_FT | [
"<BEGIN>\n## `_wait`",
"Based upon an extract from threading.Condition().wait(). Immediately \n tries to acquire the lock, and then sleeps for a period of time (going \n 1/2ms..1ms..2ms..4ms...50ms..50ms), repeating until the lock is \n acquired or the timeout limit is reached.\n<END>",
"<B... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _sending_task API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _sending_task API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Used internally to safely increment `backend`s task count. Returns the
overall count of tasks for `backend`. | "Used internally to safely increment `backend`s task count. Returns the \n overall count of tasks for `backend`." | 59 | false | pydsigner/taskit | _sending_task | 35,238 | |
LDU_FT/opencobra/memote/get_path | LDU_FT | [
"<BEGIN>\n## `validate`",
"Use a defined schema to validate the medium table format.\n<END>",
"<BEGIN>\n## `apply`",
"Set the defined medium on the given model.\n<END>",
"<BEGIN>\n## `find_transported_elements`",
"Return a dictionary showing the amount of transported elements of a rxn.",
" Collects t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Return a relative or absolute path to experimental data. | "Return a relative or absolute path to experimental data." | 508 | false | opencobra/memote | get_path | 35,239 | |
LDU_FT/zeaphoo/reston/get_fields_class | LDU_FT | [
"<BEGIN>\n## `get_access_flags_string`",
"Transform an access flags to the corresponding string",
" :param value: the value of the access flags\n :type value: int",
" :rtype: string\n<END>",
"<BEGIN>\n## `get_shorty_idx_value`",
"Return the string associated to the shorty_idx",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_fields_class API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_fields_class API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Return all fields of a specific class
:param class_name: the class name
:type class_name: string
:rtype: a list with :class:`EncodedField` objects | "Return all fields of a specific class\n\n :param class_name: the class name\n :type class_name: string\n\n :rtype: a list with :class:`EncodedField` objects" | 152 | false | zeaphoo/reston | get_fields_class | 35,240 | |
LDU_FT/cox-labs/perseuspy/count | LDU_FT | [
"<BEGIN>\n## `read_annotations`",
"Read all annotations from the specified file.",
" >>> annotations = read_annotations(path_or_file, separator)\n >>> colnames = annotations['Column Name']\n >>> types = annotations['Type']\n >>> annot_row = annotations['Annot. row name']",
" :param path_or_file... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the count API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the count API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | count occurences in a list of lists
>>> count([['a','b'],['a']])
defaultdict(int, {'a' : 2, 'b' : 1}) | "count occurences in a list of lists\n >>> count([['a','b'],['a']])\n defaultdict(int, {'a' : 2, 'b' : 1})" | 57 | false | cox-labs/perseuspy | count | 35,241 | |
LDU_FT/ArabellaTech/django-basic-cms/do_get_pages_with_tag | LDU_FT | [
"<BEGIN>\n## `move_page`",
"Move the page to the requested target, at the given\n position.\n<END>",
"<BEGIN>\n## `sub_menu`",
"Render the children of the requested page with the sub_menu\n template.\n<END>",
"<BEGIN>\n## `parse_placeholder`",
"Parse the `PlaceholderNode` parameters.",
" Return... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_get_pages_with_tag API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_get_pages_with_tag API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Return Pages with given tag
Syntax::
{% get_pages_with_tag <tag name> as <varname> %}
Example use:
{% get_pages_with_tag "footer" as pages %} | "Return Pages with given tag\n\n Syntax::\n\n {% get_pages_with_tag <tag name> as <varname> %}\n\n Example use:\n {% get_pages_with_tag \"footer\" as pages %}" | 91 | false | ArabellaTech/django-basic-cms | do_get_pages_with_tag | 35,242 | |
LDU_FT/Robpol86/colorclass/center | LDU_FT | [
"<BEGIN>\n## `readme`",
"Try to read README.rst or return empty string if failed.",
" :return: File contents.\n :rtype: str\n<END>",
"<BEGIN>\n## `apply_text`",
"Call `func` on text portions of incoming color string.",
" :param iter incoming: Incoming string/ColorStr/string-like object to iterate... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the center API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the center API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Return centered in a string of length width. Padding is done using the specified fill character or space.
:param int width: Length of output string.
:param str fillchar: Use this character instead of spaces. | "Return centered in a string of length width. Padding is done using the specified fill character or space.\n\n :param int width: Length of output string.\n :param str fillchar: Use this character instead of spaces." | 191 | false | Robpol86/colorclass | center | 35,243 | |
LDU_FT/flaviogrossi/sockjs-cyclone/set_handler | LDU_FT | [
"<BEGIN>\n## `enable_cache`",
"Enable client-side caching for the current request\n<END>",
"<BEGIN>\n## `flush`",
"Add accumulator to the moving average queue and reset it. For\n example, called by the StatsCollector once per second to calculate\n per-second average.\n<END>",
"<BEGIN>\n## `cre... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_handler API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_handler API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Set active handler for the session
@param handler: Associate active cyclone handler with the session
@param start_heartbeat: Should session start heartbeat immediately | "Set active handler for the session\n\n @param handler: Associate active cyclone handler with the session\n\n @param start_heartbeat: Should session start heartbeat immediately" | 56 | false | flaviogrossi/sockjs-cyclone | set_handler | 35,244 | |
LDU_FT/fracpete/python-weka-wrapper3/fix_config | LDU_FT | [
"<BEGIN>\n## `main`",
"Runs a clusterer from the command-line. Calls JVM start/stop automatically.\n Use -h to see all options.\n<END>",
"<BEGIN>\n## `update_clusterer`",
"Updates the clusterer with the instance.",
" :param inst: the Instance to update the clusterer with\n :type inst: Insta... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fix_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fix_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Fixes the options, if necessary. I.e., it adds all required elements to the dictionary.
:param options: the options to fix
:type options: dict
:return: the (potentially) fixed options
:rtype: dict | "Fixes the options, if necessary. I.e., it adds all required elements to the dictionary.\n\n :param options: the options to fix\n :type options: dict\n :return: the (potentially) fixed options\n :rtype: dict" | 856 | false | fracpete/python-weka-wrapper3 | fix_config | 35,245 | |
LDU_FT/lightning-viz/lightning-python/_get_user_data | LDU_FT | [
"<BEGIN>\n## `enable_ipython`",
"Enable plotting in the iPython notebook.",
" Once enabled, all lightning plots will be automatically produced\n within the iPython notebook. They will also be available on\n your lightning server within the current session.\n<END>",
"<BEGIN>\n## `disable_i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_user_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_user_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Base method for retrieving user data from a viz. | "Base method for retrieving user data from a viz." | 55 | false | lightning-viz/lightning-python | _get_user_data | 35,246 | |
LDU_FT/epfl-lts2/pygsp/gft | LDU_FT | [
"<BEGIN>\n## `compute_avg_adj_deg`",
"r\"\"\"\n Compute the average adjacency degree for each node.",
" The average adjacency degree is the average of the degrees of a node and\n its neighbors.",
" Parameters\n ----------\n G: Graph\n Graph on which the statistic is extracted\n<END>",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gft API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gft API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | r"""Compute the graph Fourier transform.
The graph Fourier transform of a signal :math:`s` is defined as
.. math:: \hat{s} = U^* s,
where :math:`U` is the Fourier basis attr:`U` and :math:`U^*` denotes
the conjugate transpose or Hermitian transpose of :math:`U`.
Parameters
... | "r\"\"\"Compute the graph Fourier transform.\n\n The graph Fourier transform of a signal :math:`s` is defined as\n\n .. math:: \\hat{s} = U^* s,\n\n where :math:`U` is the Fourier basis attr:`U` and :math:`U^*` denotes\n the conjugate transpose or Hermitian transpose of :math:`U`.\n\n ... | 617 | false | epfl-lts2/pygsp | gft | 35,247 | |
LDU_FT/meejah/txtorcon/_validate_single_port_string | LDU_FT | [
"<BEGIN>\n## `tor_agent`",
"This is the low-level method used by\n :meth:`txtorcon.Tor.web_agent` and\n :meth:`txtorcon.Circuit.web_agent` -- probably you should call one\n of those instead.",
" :returns: a Deferred that fires with an object that implements\n :class:`twisted.web.iweb.IAgent` ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _validate_single_port_string API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _validate_single_port_string API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | Validate a single string specifying ports for Onion
services. These look like: "80 127.0.0.1:4321" | "Validate a single string specifying ports for Onion\n services. These look like: \"80 127.0.0.1:4321\"" | 289 | false | meejah/txtorcon | _validate_single_port_string | 35,248 | |
LDU_FT/maljovec/topopy/load_data_and_build | LDU_FT | [
"<BEGIN>\n## `build`",
"Assigns data to this object and builds the Morse-Smale\n Complex\n @ In, X, an m-by-n array of values specifying m\n n-dimensional samples\n @ In, Y, a m vector of values specifying the output\n responses corresponding to the m samples... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_data_and_build API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_data_and_build API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Convenience function for directly working with a data file.
This opens a file and reads the data into an array, sets the
data as an nparray and list of dimnames
@ In, filename, string representing the data file | "Convenience function for directly working with a data file.\n This opens a file and reads the data into an array, sets the\n data as an nparray and list of dimnames\n @ In, filename, string representing the data file" | 57 | false | maljovec/topopy | load_data_and_build | 35,249 | |
LDU_FT/scott-griffiths/bitstring/_readuint | LDU_FT | [
"<BEGIN>\n## `offsetcopy`",
"Return a copy of a ByteStore with the newoffset.",
" Not part of public interface.\n<END>",
"<BEGIN>\n## `equal`",
"Return True if ByteStores a == b.",
" Not part of public interface.\n<END>",
"<BEGIN>\n## `structparser`",
"Parse struct-like format string token into ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _readuint API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _readuint API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Read bits and interpret as an unsigned int. | "Read bits and interpret as an unsigned int." | 251 | false | scott-griffiths/bitstring | _readuint | 35,250 | |
LDU_FT/django-cumulus/django-cumulus/match_cloud | LDU_FT | [
"<BEGIN>\n## `set_options`",
"Sets instance variables based on an options dict\n<END>",
"<BEGIN>\n## `match_cloud`",
"Returns the cloud objects that match the include and exclude patterns.\n<END>",
"<BEGIN>\n## `match_local`",
"Filters os.walk() with include and exclude patterns.\n See: http://stac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the match_cloud API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the match_cloud API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Returns the cloud objects that match the include and exclude patterns. | "Returns the cloud objects that match the include and exclude patterns." | 30 | false | django-cumulus/django-cumulus | match_cloud | 35,251 | |
LDU_FT/ekiro/haps/resolver | LDU_FT | [
"<BEGIN>\n## `inject`",
"A decorator for injection dependencies into functions/methods, based\n on their type annotations.",
" .. code-block:: python",
" class SomeClass:\n @inject\n def __init__(self, my_dep: DepType) -> None:\n self.my_dep = my_dep",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resolver API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resolver API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Variable resolver decorator. Function or method decorated with it is
used to resolve the config variable.
.. note::
Variable is resolved only once.
Next gets are returned from the cache.
:param var_name: Variable name
:return: Function decorator | "Variable resolver decorator. Function or method decorated with it is\n used to resolve the config variable.\n\n .. note::\n Variable is resolved only once.\n Next gets are returned from the cache.\n\n :param var_name: Variable name\n :return: Function decorator" | 50 | false | ekiro/haps | resolver | 35,252 | |
LDU_FT/jaysonsantos/python-binary-memcached/split_host_port | LDU_FT | [
"<BEGIN>\n## `str_to_bytes`",
"Simply convert a string type to bytes if the value is a string\n and is an instance of six.string_types but not of six.binary_type\n in python2 struct.pack(\"<Q\") is both string_types and binary_type but\n in python3 struct.pack(\"<Q\") is binary_type but not a string_type... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the split_host_port API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the split_host_port API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Return (host, port) from server.
Port defaults to 11211.
>>> split_host_port('127.0.0.1:11211')
('127.0.0.1', 11211)
>>> split_host_port('127.0.0.1')
('127.0.0.1', 11211) | "Return (host, port) from server.\n\n Port defaults to 11211.\n\n >>> split_host_port('127.0.0.1:11211')\n ('127.0.0.1', 11211)\n >>> split_host_port('127.0.0.1')\n ('127.0.0.1', 11211)" | 132 | false | jaysonsantos/python-binary-memcached | split_host_port | 35,253 | |
LDU_FT/matousc89/padasip/get_valid_error | LDU_FT | [
"<BEGIN>\n## `standardize_back`",
"This is function for de-standarization of input series.",
" **Args:**",
" * `xs` : standardized input (1 dimensional array)",
" * `offset` : offset to add (float).",
" * `scale` : scale (float).",
" **Returns:**",
" * `x` : original (destandardised)... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_valid_error API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_valid_error API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Function that validates:
* x1 is possible to convert to numpy array
* x2 is possible to convert to numpy array (if exists)
* x1 and x2 have the same length (if both exist) | "Function that validates:\n\n * x1 is possible to convert to numpy array\n\n * x2 is possible to convert to numpy array (if exists)\n\n * x1 and x2 have the same length (if both exist)" | 327 | false | matousc89/padasip | get_valid_error | 35,254 | |
LDU_FT/alejandrobll/py-sphviewer/histogram | LDU_FT | [
"<BEGIN>\n## `set_logscale`",
"- set_logscale(): If M is the matrix of the image, it defines the image M as log10(M+1).\n<END>",
"<BEGIN>\n## `histogram`",
"- histogram(axis=None, **kargs): It computes and shows the histogram of the image. This is \n usefull for choosing a proper scale to the output, o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the histogram API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the histogram API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | - histogram(axis=None, **kargs): It computes and shows the histogram of the image. This is
usefull for choosing a proper scale to the output, or for clipping some values. If
axis is None, it selects the current axis to plot the histogram.
Keyword arguments:
*bins*:
... | "- histogram(axis=None, **kargs): It computes and shows the histogram of the image. This is \n usefull for choosing a proper scale to the output, or for clipping some values. If \n axis is None, it selects the current axis to plot the histogram.\n \n Keyword arguments:\n \n *bi... | 55 | false | alejandrobll/py-sphviewer | histogram | 35,255 | |
LDU_FT/joeyespo/gitpress/use_theme | LDU_FT | [
"<BEGIN>\n## `remove_directory`",
"Deletes a directory and its contents.\n Returns a list of errors in form (function, path, excinfo).\n<END>",
"<BEGIN>\n## `copy_files`",
"Copies a list of files to the specified directory.\n If source_directory is provided, it will be prepended to each source file.\n<E... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the use_theme API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the use_theme API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Switches to the specified theme. This returns False if switching to the already active theme. | "Switches to the specified theme. This returns False if switching to the already active theme." | 36 | false | joeyespo/gitpress | use_theme | 35,256 | |
LDU_FT/bschollnick/semantic_url/change_item | LDU_FT | [
"<BEGIN>\n## `norm_page_cnt`",
"Normalize a integer (page).",
" * Ensure that it is greater than Zero, and is not None.\n - If less than 1, or None, set it to 1",
" * if max_number is None, then do not check for max_number\n * if greater than max_number, reset it to be max_number\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the change_item API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the change_item API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Args:
* offset - Integer - The positive / negative change to apply
to the item.
* max_item_count - The maximum number of items available.
* nom - None on Max or Min - If max or min number of itemsreached,
return none instead of forcing back into range.
Returns:
B... | "Args:\n * offset - Integer - The positive / negative change to apply\n to the item.\n * max_item_count - The maximum number of items available.\n * nom - None on Max or Min - If max or min number of itemsreached,\n return none instead of forcing back into range.\n\n Returns:\n... | 61 | false | bschollnick/semantic_url | change_item | 35,257 | |
LDU_FT/fredRos/pypmc/_get_log_rho_metropolis_hastings | LDU_FT | [
"<BEGIN>\n## `r_value`",
"Calculate the Gelman-Rubin R value (Chapter 2.2 in [GR92]_).",
" The R value can be used to quantify mixing of \"multiple iterative\n simulations\" (e.g. Markov Chains) in parameter space. An R value\n \"close to one\" indicates that all chains explored the same region\n o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_log_rho_metropolis_hastings API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_log_rho_metropolis_hastings API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c... | calculate log(metropolis ratio times hastings factor) | "calculate log(metropolis ratio times hastings factor)" | 279 | false | fredRos/pypmc | _get_log_rho_metropolis_hastings | 35,258 | |
LDU_FT/btr1975/persistentdatatools/collect_and_zip_files | LDU_FT | [
"<BEGIN>\n## `verify_file_exists`",
"Function to verify if a file exists\n Args:\n file_name: The name of file to check\n file_location: The location of the file, derive from the os module",
" Returns: returns boolean True or False\n<END>",
"<BEGIN>\n## `file_name_increase`",
"Function t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the collect_and_zip_files API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the collect_and_zip_files API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Function to collect files and make a zip file
:param dir_list: A list of directories
:param output_dir: The output directory
:param zip_file_name: Zip file name
:param file_extension_list: A list of extensions of files to find
:param file_name_list: A list of file names to find
:return:
... | "Function to collect files and make a zip file\n :param dir_list: A list of directories\n :param output_dir: The output directory\n :param zip_file_name: Zip file name\n :param file_extension_list: A list of extensions of files to find\n :param file_name_list: A list of file names to find\n :return:\n... | 56 | false | btr1975/persistentdatatools | collect_and_zip_files | 35,259 | |
LDU_FT/xflows/rdm/orng_type | LDU_FT | [
"<BEGIN>\n## `cv_split`",
"Returns a list of pairs (train_context, test_context), one for each cross-validation fold.",
" The split is stratified.",
" :param context: DBContext to be split\n :param folds: number of folds\n :param random_seed: random seed to be used",
" :return... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the orng_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the orng_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Returns an Orange datatype for a given mysql column.
:param table_name: target table name
:param col: column to determine the Orange datatype | "Returns an Orange datatype for a given mysql column.\n\n :param table_name: target table name\n :param col: column to determine the Orange datatype" | 102 | false | xflows/rdm | orng_type | 35,260 | |
LDU_FT/square/pylink/swo_read | LDU_FT | [
"<BEGIN>\n## `main`",
"Prints the core's information.",
" Args:\n jlink_serial (str): the J-Link serial number\n device (str): the target CPU",
" Returns:\n Always returns ``0``.",
" Raises:\n JLinkException: on error\n<END>",
"<BEGIN>\n## `acquire`",
"Attempts to acquire a ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the swo_read API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the swo_read API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Reads data from the SWO buffer.
The data read is not automatically removed from the SWO buffer after
reading unless ``remove`` is ``True``. Otherwise the callee must
explicitly remove the data by calling ``.swo_flush()``.
Args:
self (JLink): the ``JLink`` instance
... | "Reads data from the SWO buffer.\n\n The data read is not automatically removed from the SWO buffer after\n reading unless ``remove`` is ``True``. Otherwise the callee must\n explicitly remove the data by calling ``.swo_flush()``.\n\n Args:\n self (JLink): the ``JLink`` instance\n ... | 949 | false | square/pylink | swo_read | 35,261 | |
LDU_FT/assamite/creamas/random_connection | LDU_FT | [
"<BEGIN>\n## `configure_logger`",
"Configure logging behvior for the simulations.\n<END>",
"<BEGIN>\n## `fractal_dimension`",
"Estimates the fractal dimension of an image with box counting.\n Counts pixels with value 0 as empty and everything else as non-empty.\n Input image has to be grayscale.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the random_connection API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the random_connection API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Connect to random agent from current :attr:`connections`.
:returns: :class:`aiomas.Proxy` object for the connected agent. | "Connect to random agent from current :attr:`connections`.\n\n :returns: :class:`aiomas.Proxy` object for the connected agent." | 529 | false | assamite/creamas | random_connection | 35,262 | |
LDU_FT/phoebe-project/phoebe2/_log10_Inorm_extern_planckint | LDU_FT | [
"<BEGIN>\n## `lc`",
"Create parameters for a new light curve dataset.",
" Generally, this will be used as an input to the kind argument in\n :meth:`phoebe.frontend.bundle.Bundle.add_dataset`",
" :parameter **kwargs: defaults for the values of any of the parameters\n :return: a :class:`phoebe.param... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _log10_Inorm_extern_planckint API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _log10_Inorm_extern_planckint API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | Internal function to compute normal passband intensities using
the external WD machinery that employs blackbody approximation.
@Teff: effective temperature in K
Returns: log10(Inorm) | "Internal function to compute normal passband intensities using\n the external WD machinery that employs blackbody approximation.\n\n @Teff: effective temperature in K\n\n Returns: log10(Inorm)" | 1,080 | true | phoebe-project/phoebe2 | _log10_Inorm_extern_planckint | 35,263 | |
LDU_FT/svenkreiss/databench/check_folders | LDU_FT | [
"<BEGIN>\n## `color`",
"triangles.",
" Colors:\n - http://paletton.com/#uid=70l150klllletuehUpNoMgTsdcs shade 2\n<END>",
"<BEGIN>\n## `on`",
"Decorator for action handlers.",
" The action name is inferred from the function name.",
" This also decorates the method with `tornado.gen.coroutine`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_folders API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_folders API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Only checks and asks questions. Nothing is written to disk. | "Only checks and asks questions. Nothing is written to disk." | 86 | false | svenkreiss/databench | check_folders | 35,264 | |
LDU_FT/summa-tx/riemann/legacy_tx | LDU_FT | [
"<BEGIN>\n## `addsalt`",
"adds a salt to the hash function (OPTIONAL)\n should be called AFTER Init, and BEFORE update\n salt: a bytestring, length determined by hashbitlen.\n if not of sufficient length, the bytestring\n will be assumed to be a big endia... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the legacy_tx API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the legacy_tx API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Construct a fully-signed legacy transaction
Args:
tx_ins list(TxIn instances): list of transaction inputs
tx_outs list(TxOut instances): list of transaction outputs
**kwargs:
version (int): transaction version number
locktime (hex): transaction locktime
... | "Construct a fully-signed legacy transaction\n Args:\n tx_ins list(TxIn instances): list of transaction inputs\n tx_outs list(TxOut instances): list of transaction outputs\n\n **kwargs:\n version (int): transaction version number\n locktime (hex): transaction lockti... | 132 | false | summa-tx/riemann | legacy_tx | 35,265 | |
LDU_FT/m-weigand/sip_models/mpl_get_cb_bound_below_plot | LDU_FT | [
"<BEGIN>\n## `_set_parameters`",
"Sort out the various possible parameter inputs and return a config\n object (dict)",
" We have multiple input formats:",
" 1) a list, tuple, or numpy.ndarray, containing the linear parameters\n in the following order:\n * for single term: rh... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mpl_get_cb_bound_below_plot API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mpl_get_cb_bound_below_plot API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Return the coordinates for a colorbar axes below the provided axes object.
Take into account the changes of the axes due to aspect ratio settings.
Parts of this code are taken from the transforms.py file from matplotlib
Important: Use only AFTER fig.subplots_adjust(...)
Use as:
======= | "Return the coordinates for a colorbar axes below the provided axes object.\n Take into account the changes of the axes due to aspect ratio settings.\n\n Parts of this code are taken from the transforms.py file from matplotlib\n\n Important: Use only AFTER fig.subplots_adjust(...)\n\n Use as:\n =======" | 40 | false | m-weigand/sip_models | mpl_get_cb_bound_below_plot | 35,266 | |
LDU_FT/NatLibFi/Skosify/disjoint_relations | LDU_FT | [
"<BEGIN>\n## `read_rdf`",
"Read a list of RDF files and/or RDF graphs. May raise an Exception.\n<END>",
"<BEGIN>\n## `mapping_get`",
"Look up the URI in the given mapping and return the result.",
" Throws KeyError if no matching mapping was found.\n<END>",
"<BEGIN>\n## `mapping_match`",
"Determine wh... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the disjoint_relations API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the disjoint_relations API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Check if the graph contains concepts connected by both of the semantically
disjoint semantic skos:related and skos:broaderTransitive (S27),
and optionally remove the involved skos:related relations.
:param Graph rdf: An rdflib.graph.Graph object.
:param bool fix: Fix the problem by removing skos:relate... | "Check if the graph contains concepts connected by both of the semantically\n disjoint semantic skos:related and skos:broaderTransitive (S27),\n and optionally remove the involved skos:related relations.\n\n :param Graph rdf: An rdflib.graph.Graph object.\n :param bool fix: Fix the problem by removing skos:... | 109 | false | NatLibFi/Skosify | disjoint_relations | 35,267 | |
LDU_FT/bopo/mootdx/daily | LDU_FT | [
"<BEGIN>\n## `bars`",
"获取实时日K线数据",
" :param symbol: 股票代码\n :param category: 数据类别\n :param market: 证券市场\n :param start: 开始位置\n :param offset: 每次获取条数\n :return: pd.dataFrame or None\n<END>",
"<BEGIN>\n## `minute_his`",
"分时历史数据",
" :param market:\n :par... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the daily API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the daily API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | 获取日线数据
:return: pd.dataFrame or None | "获取日线数据\n\n :return: pd.dataFrame or None" | 62 | false | bopo/mootdx | daily | 35,268 | |
LDU_FT/fridiculous/django-estimators/persist | LDU_FT | [
"<BEGIN>\n## `filter`",
"filter lets django managers use `objects.filter` on a hashable object.\n<END>",
"<BEGIN>\n## `_extract_model_params`",
"this method allows django managers use `objects.get_or_create` and\n `objects.update_or_create` on a hashable object.\n<END>",
"<BEGIN>\n## `persist`",
"a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the persist API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the persist API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | a private method that persists an estimator object to the filesystem | "a private method that persists an estimator object to the filesystem" | 10 | false | fridiculous/django-estimators | persist | 35,269 | |
LDU_FT/mrstephenneal/dirutility/creation_date | LDU_FT | [
"<BEGIN>\n## `connect`",
"Connect and login to an FTP server and return ftplib.FTP object.\n<END>",
"<BEGIN>\n## `get`",
"Download a remote file on the fto sever to a local directory.",
" :param remote: File path of remote source file\n :param local: Directory of local destination directory\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the creation_date API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the creation_date API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Retrieve a file's creation date.
Try to get the date that a file was created, falling back to when it was
last modified if that isn't possible.
See http://stackoverflow.com/a/39501288/1709587 for explanation.
:param path_to_file: File path
:param return_datetime: Bool, returns value in Datetime f... | "Retrieve a file's creation date.\n\n Try to get the date that a file was created, falling back to when it was\n last modified if that isn't possible.\n\n See http://stackoverflow.com/a/39501288/1709587 for explanation.\n\n :param path_to_file: File path\n :param return_datetime: Bool, returns value in D... | 92 | false | mrstephenneal/dirutility | creation_date | 35,270 | |
LDU_FT/r-barnes/richdem/FillDepressions | LDU_FT | [
"<BEGIN>\n## `LoadGDAL`",
"Read a GDAL file.",
" Opens any file GDAL can read, selects the first raster band, and loads it\n and its metadata into a RichDEM array of the appropriate data type.",
" If you need to do something more complicated, look at the source of this\n function.",
" Ar... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the FillDepressions API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the FillDepressions API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Fills all depressions in a DEM.
Args:
dem (rdarray): An elevation model
epsilon (float): If True, an epsilon gradient is imposed to all flat regions.
This ensures that there is always a local gradient.
in_place (bool): If True, the DEM is modified in ... | "Fills all depressions in a DEM.\n\n Args:\n dem (rdarray): An elevation model\n epsilon (float): If True, an epsilon gradient is imposed to all flat regions.\n This ensures that there is always a local gradient.\n in_place (bool): If True, the DEM is modif... | 47 | false | r-barnes/richdem | FillDepressions | 35,271 | |
LDU_FT/wbond/certvalidator/validate_tls | LDU_FT | [
"<BEGIN>\n## `fetch`",
"Fetches an OCSP response for a certificate",
" :param cert:\n An asn1cyrpto.x509.Certificate object to get an OCSP reponse for",
" :param issuer:\n An asn1crypto.x509.Certificate object that is the issuer of cert",
" :param hash_algo:\n A unicode string ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_tls API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_tls API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Validates the certificate path, that the certificate is valid for
the hostname provided and that the certificate is valid for the purpose
of a TLS connection.
:param hostname:
A unicode string of the TLS server hostname
:raises:
certvalidator.errors.PathValidati... | "Validates the certificate path, that the certificate is valid for\n the hostname provided and that the certificate is valid for the purpose\n of a TLS connection.\n\n :param hostname:\n A unicode string of the TLS server hostname\n\n :raises:\n certvalidator.errors.Pat... | 202 | false | wbond/certvalidator | validate_tls | 35,272 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.