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/Shizmob/pydle/on_raw_410
LDU_FT
[ "<BEGIN>\n## `on_ctcp_version`", "Built-in CTCP version as some networks seem to require it.\n<END>", "<BEGIN>\n## `on_raw_privmsg`", "Modify PRIVMSG to redirect CTCP messages.\n<END>", "<BEGIN>\n## `on_raw_notice`", "Modify NOTICE to redirect CTCP messages.\n<END>", "<BEGIN>\n## `_register`", "Hijack...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the on_raw_410 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 on_raw_410 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...
Unknown CAP subcommand or CAP error. Force-end negotiations.
"Unknown CAP subcommand or CAP error. Force-end negotiations."
96
false
Shizmob/pydle
on_raw_410
15,873
LDU_FT/klen/muffin-debugtoolbar/sourcelines
LDU_FT
[ "<BEGIN>\n## `setup`", "Setup the plugin and prepare application.\n<END>", "<BEGIN>\n## `inject`", "Inject Debug Toolbar code to response body.\n<END>", "<BEGIN>\n## `get_current_traceback`", "Get the current exception info as `Traceback` object. Per default\n calling this method will reraise system e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sourcelines 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 sourcelines 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...
The sourcecode of the file as list of unicode strings.
"The sourcecode of the file as list of unicode strings."
12
false
klen/muffin-debugtoolbar
sourcelines
15,874
LDU_FT/rasbt/biopandas/_get_mainchain
LDU_FT
[ "<BEGIN>\n## `docstring_to_markdown`", "Convert a Python object's docstring to markdown", " Parameters\n ----------\n docstring : str\n The docstring body.", " Returns\n ----------\n clean_lst : list\n The markdown formatted docstring as lines (str) in a Python list.\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_mainchain 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_mainchain 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...
Return only main chain atom entries from a DataFrame
"Return only main chain atom entries from a DataFrame"
110
false
rasbt/biopandas
_get_mainchain
15,875
LDU_FT/asmodehn/filefinder2/path_hook
LDU_FT
[ "<BEGIN>\n## `strip_encoding_cookie`", "Generator to pull lines from a text-mode file, skipping the encoding\n cookie if it is found in the first two lines.\n<END>", "<BEGIN>\n## `source_to_unicode`", "Converts a bytes string with python source code to unicode.\n Unicode strings are passed through uncha...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the path_hook 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 path_hook 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...
A class method which returns a closure to use on sys.path_hook which will return an instance using the specified loaders and the path called on the closure. If the path called on the closure is not a directory, ImportError is raised.
"A class method which returns a closure to use on sys.path_hook\n which will return an instance using the specified loaders and the path\n called on the closure.\n\n If the path called on the closure is not a directory, ImportError is\n raised."
64
false
asmodehn/filefinder2
path_hook
15,876
LDU_FT/wummel/linkchecker/notimplemented
LDU_FT
[ "<BEGIN>\n## `start_output`", "Write start of checking info as gml comment.\n<END>", "<BEGIN>\n## `getaddresses`", "Return list of email addresses from given field value.\n<END>", "<BEGIN>\n## `build_url`", "Call super.build_url(), extract list of mail addresses from URL,\n and check their syntax.\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the notimplemented 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 notimplemented 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...
Raises a NotImplementedError if the function is called.
"Raises a NotImplementedError if the function is called."
1,377
true
wummel/linkchecker
notimplemented
15,877
LDU_FT/scdoshi/django-bits/get_group
LDU_FT
[ "<BEGIN>\n## `gprmc_to_degdec`", "Converts GPRMC formats (Decimal Minutes) to Degrees Decimal.\n<END>", "<BEGIN>\n## `tinygps_to_degdec`", "Converts TinyGPS formats (Decimal Degrees to e-5) to Degrees Decimal.\n<END>", "<BEGIN>\n## `change_in_longitude`", "Given a latitude and a distance west, return the ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_group 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 get_group 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...
Return group with given name, if it exists. Check cache first.
"Return group with given name, if it exists. Check cache first."
25
false
scdoshi/django-bits
get_group
15,878
LDU_FT/gsi-upm/soil/try_friends
LDU_FT
[ "<BEGIN>\n## `save_record`", "Save a collection of records to the database.\n Database writes are cached.\n<END>", "<BEGIN>\n## `convert`", "Get the serialized value for a given key.\n<END>", "<BEGIN>\n## `recover`", "Get the deserialized value for a given key, and the serialized version.\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the try_friends 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 try_friends 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...
Look for random agents around me and try to befriend them
"Look for random agents around me and try to befriend them"
63
false
gsi-upm/soil
try_friends
15,879
LDU_FT/oauthlib/oauthlib/validate_request
LDU_FT
[ "<BEGIN>\n## `signature_base_string`", "**Construct the signature base string.**\n Per `section 3.4.1.1`_ of the spec.", " For example, the HTTP request::", " POST /request?b5=%3D%253D&a3=a&c%40=&a2=r%20b HTTP/1.1\n Host: example.com\n Content-Type: application/x-www-form-urlencoded...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_request 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 validate_request 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 ...
:param request: OAuthlib request. :type request: oauthlib.common.Request
":param request: OAuthlib request.\n :type request: oauthlib.common.Request"
651
false
oauthlib/oauthlib
validate_request
15,880
LDU_FT/coveralls-clients/coveralls-python/create_report
LDU_FT
[ "<BEGIN>\n## `report`", "Generate a part of json report for coveralls", " `morfs` is a list of modules or filenames.\n `outfile` is a file object to write the json to.\n<END>", "<BEGIN>\n## `get_arcs`", "Hit stats for each branch.", " Returns a flat list where every four values repres...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_report 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 create_report 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...
Generate json dumped report for coveralls api.
"Generate json dumped report for coveralls api."
16
false
coveralls-clients/coveralls-python
create_report
15,881
LDU_FT/gabstopper/smc-python/update_or_create
LDU_FT
[ "<BEGIN>\n## `element_href`", "Get specified element href by element name", " :param name: name of element\n :return: string href location of object, else None\n<END>", "<BEGIN>\n## `element_as_json`", "Get specified element json data by name", " :param name: name of element\n :return: json da...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_or_create 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 update_or_create 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 ...
Update or create an Alias and it's mappings. :param str name: name of alias :param Engine engine: engine to modify alias translation values :param list(str,Element) translation_values: translation values as elements. Can be None if you want to unset any existing values ...
"Update or create an Alias and it's mappings.\n \n :param str name: name of alias\n :param Engine engine: engine to modify alias translation values\n :param list(str,Element) translation_values: translation values\n as elements. Can be None if you want to unset any existing values...
1,703
true
gabstopper/smc-python
update_or_create
15,882
LDU_FT/bheinzerling/pyrouge/convert_and_evaluate
LDU_FT
[ "<BEGIN>\n## `split`", "Splits text and returns a list of the resulting sentences.\n<END>", "<BEGIN>\n## `xml_equal`", "Parse xml and convert to a canonical string representation so we don't\n have to worry about semantically meaningless differences\n<END>", "<BEGIN>\n## `process`", "Apply function to ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_and_evaluate 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 convert_and_evaluate API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Convert plain text summaries to ROUGE format and run ROUGE to evaluate the system summaries in system_dir against the model summaries in model_dir. Optionally split texts into sentences in case they aren't already. This is just a convenience method combining convert_summaries_to...
"Convert plain text summaries to ROUGE format and run ROUGE to\n evaluate the system summaries in system_dir against the model\n summaries in model_dir. Optionally split texts into sentences\n in case they aren't already.\n\n This is just a convenience method combining\n convert_summa...
45
false
bheinzerling/pyrouge
convert_and_evaluate
15,883
LDU_FT/sesh/piprot/main
LDU_FT
[ "<BEGIN>\n## `build_github_url`", "Builds a URL to a file inside a Github repository.\n<END>", "<BEGIN>\n## `get_default_branch`", "returns the name of the default branch of the repo\n<END>", "<BEGIN>\n## `get_pypi_url`", "Get the PyPI url for a given requirement and optional version number and\n PyPI ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main 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 main 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...
Given a list of requirements files reports which requirements are out of date. Everything is rather somewhat obvious: - verbose makes things a little louder - outdated forces piprot to only report out of date packages - latest outputs the requirements line with the latest version - verbatim out...
"Given a list of requirements files reports which requirements are out\n of date.\n\n Everything is rather somewhat obvious:\n - verbose makes things a little louder\n - outdated forces piprot to only report out of date packages\n - latest outputs the requirements line with the latest version\n - verb...
15
false
sesh/piprot
main
15,884
LDU_FT/PaulHancock/Aegean/do_lmfit
LDU_FT
[ "<BEGIN>\n## `classify_catalog`", "Look at a list of sources and split them according to their class.", " Parameters\n ----------\n catalog : iterable\n A list or iterable object of {SimpleSource, IslandSource, OutputSource} objects, possibly mixed.\n Any other objects will be silently ig...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_lmfit 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 do_lmfit 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...
Fit the model to the data data may contain 'flagged' or 'masked' data with the value of np.NaN Parameters ---------- data : 2d-array Image data params : lmfit.Parameters Initial model guess. B : 2d-array B matrix to be used in residual calculations. Default = N...
"Fit the model to the data\n data may contain 'flagged' or 'masked' data with the value of np.NaN\n\n Parameters\n ----------\n data : 2d-array\n Image data\n\n params : lmfit.Parameters\n Initial model guess.\n\n B : 2d-array\n B matrix to be used in residual calculations.\n ...
771
false
PaulHancock/Aegean
do_lmfit
15,885
LDU_FT/jfear/sramongo/entrez_sets_of_results
LDU_FT
[ "<BEGIN>\n## `esearch`", "Search for a query using the Entrez ESearch API.", " Parameters\n ----------\n database : str\n Entez database to search.\n query : str\n Query string\n userhistory : bool\n Tells API to return a WebEnV and query_key.\n webenv : str\n An En...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the entrez_sets_of_results 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 entrez_sets_of_results API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Gets sets of results back from Entrez. Entrez can only return 500 results at a time. This creates a generator that gets results by incrementing retstart and retmax. Parameters ---------- url : str The Entrez API url to use. retstart : int Return values starting at this index. ...
"Gets sets of results back from Entrez.\n\n Entrez can only return 500 results at a time. This creates a generator that gets results by incrementing\n retstart and retmax.\n\n Parameters\n ----------\n url : str\n The Entrez API url to use.\n retstart : int\n Return values starting at th...
36
false
jfear/sramongo
entrez_sets_of_results
15,886
LDU_FT/yougov/pmxbot/forward
LDU_FT
[ "<BEGIN>\n## `attach`", "Given a function and a namespace of possible parameters,\n\tbind any params matching the signature of the function\n\tto that function.\n<END>", "<BEGIN>\n## `init_config`", "Install the config dict as pmxbot.config, setting overrides,\n\tand return the result.\n<END>", "<BEGIN>\n##...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the forward 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 forward 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...
Given an HREF in the legacy timezone, redirect to an href for UTC.
"Given an HREF in the legacy timezone, redirect to an href for UTC."
128
false
yougov/pmxbot
forward
15,887
LDU_FT/goodmami/penman/dump
LDU_FT
[ "<BEGIN>\n## `alphanum_order`", "Sort a list of triples by relation name.", " Embedded integers are sorted numerically, but otherwise the sorting\n is alphabetic.\n<END>", "<BEGIN>\n## `decode`", "Deserialize PENMAN-serialized *s* into its Graph object", " Args:\n s: a string containing a ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dump 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 dump 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...
Serialize each graph in *graphs* to PENMAN and write to *file*. Args: graphs: an iterable of Graph objects file: a filename or file-like object to write to triples: if True, write graphs as triples instead of as PENMAN cls: serialization codec class kwargs: keyword arguments...
"Serialize each graph in *graphs* to PENMAN and write to *file*.\n\n Args:\n graphs: an iterable of Graph objects\n file: a filename or file-like object to write to\n triples: if True, write graphs as triples instead of as PENMAN\n cls: serialization codec class\n kwargs: keyword a...
59
false
goodmami/penman
dump
15,888
LDU_FT/manrajgrover/halo/_get_spinner
LDU_FT
[ "<BEGIN>\n## `spinner`", "Setter for spinner property.\n Parameters\n ----------\n spinner : dict, str\n Defines the spinner value with frame and interval\n<END>", "<BEGIN>\n## `placement`", "Setter for placement property.\n Parameters\n ----------\n placem...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_spinner 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_spinner 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...
Extracts spinner value from options and returns value containing spinner frames and interval, defaults to 'dots' spinner. Parameters ---------- spinner : dict, str Contains spinner value or type of spinner to be used Returns ------- dict Co...
"Extracts spinner value from options and returns value\n containing spinner frames and interval, defaults to 'dots' spinner.\n Parameters\n ----------\n spinner : dict, str\n Contains spinner value or type of spinner to be used\n Returns\n -------\n dict\n ...
45
false
manrajgrover/halo
_get_spinner
15,889
LDU_FT/ojii/django-multilingual-ng/fill_translation_cache
LDU_FT
[ "<BEGIN>\n## `reorder_translation_formset_by_language_code`", "Shuffle the forms in the formset of multilingual model in the\n order of their language_ids.\n<END>", "<BEGIN>\n## `multilingual`", "Returns context variables containing information about available languages.\n<END>", "<BEGIN>\n## `multilingu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fill_translation_cache 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 fill_translation_cache API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Fill the translation cache using information received in the instance objects as extra fields. You can not do this in post_init because the extra fields are assigned by QuerySet.iterator after model initialization.
"Fill the translation cache using information received in the\n instance objects as extra fields.\n\n You can not do this in post_init because the extra fields are\n assigned by QuerySet.iterator after model initialization."
58
false
ojii/django-multilingual-ng
fill_translation_cache
15,890
LDU_FT/kylejusticemagnuson/pyti/positive_volume_index
LDU_FT
[ "<BEGIN>\n## `band_width`", "Bandwidth.", " Formula:\n BW = SMA(H - L)\n<END>", "<BEGIN>\n## `center_band`", "Center Band.", " Formula:\n CB = SMA(TP)\n<END>", "<BEGIN>\n## `upper_band`", "Upper Band.", " Formula:\n UB = CB + BW\n<END>", "<BEGIN>\n## `lower_band`", "Lower Band....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the positive_volume_index 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 positive_volume_index API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Positive Volume Index (PVI). Formula: PVI0 = 1 IF Vt > Vt-1 PVIt = PVIt-1 + (CLOSEt - CLOSEt-1 / CLOSEt-1 * PVIt-1) ELSE: PVIt = PVIt-1
"Positive Volume Index (PVI).\n\n Formula:\n PVI0 = 1\n IF Vt > Vt-1\n PVIt = PVIt-1 + (CLOSEt - CLOSEt-1 / CLOSEt-1 * PVIt-1)\n ELSE:\n PVIt = PVIt-1"
204
false
kylejusticemagnuson/pyti
positive_volume_index
15,891
LDU_FT/svenevs/exhale/reparentNamespaces
LDU_FT
[ "<BEGIN>\n## `apply_sphinx_configurations`", "This method applies the various configurations users place in their ``conf.py``, in\n the dictionary ``exhale_args``. The error checking seems to be robust, and\n borderline obsessive, but there may very well be some glaring flaws.", " When the user reques...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reparentNamespaces 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 reparentNamespaces 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...
Helper method for :func:`~exhale.graph.ExhaleRoot.reparentAll`. Adds nested namespaces as children to the relevant namespace ExhaleNode. If a node in ``self.namespaces`` is added as a child to a different namespace node, it is removed from the ``self.namespaces`` list. Because these are remov...
"Helper method for :func:`~exhale.graph.ExhaleRoot.reparentAll`. Adds nested\n namespaces as children to the relevant namespace ExhaleNode. If a node in\n ``self.namespaces`` is added as a child to a different namespace node, it is\n removed from the ``self.namespaces`` list. Because these are r...
239
false
svenevs/exhale
reparentNamespaces
15,892
LDU_FT/rackerlabs/fastfood/metadata
LDU_FT
[ "<BEGIN>\n## `metadata`", "Return dict representation of this cookbook's metadata.rb .\n<END>", "<BEGIN>\n## `berksfile`", "Return this cookbook's Berksfile instance.\n<END>", "<BEGIN>\n## `from_dict`", "Create a MetadataRb instance from a dict.\n<END>", "<BEGIN>\n## `depends_statement`", "Return a va...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the metadata 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 metadata 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 dict representation of this cookbook's metadata.rb .
"Return dict representation of this cookbook's metadata.rb ."
68
false
rackerlabs/fastfood
metadata
15,893
LDU_FT/bcbio/bcbio-nextgen/get_summary_metrics
LDU_FT
[ "<BEGIN>\n## `groom`", "Grooms a FASTQ file from Illumina 1.3/1.5 quality scores into\n sanger format, if it is not already in that format.\n<END>", "<BEGIN>\n## `filter_single_reads_by_length`", "removes reads from a fastq file which are shorter than a minimum\n length\n<END>", "<BEGIN>\n## `filter_r...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_summary_metrics 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 get_summary_metrics 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...
Retrieve a high level summary of interesting metrics.
"Retrieve a high level summary of interesting metrics."
3,670
true
bcbio/bcbio-nextgen
get_summary_metrics
15,894
LDU_FT/PonteIneptique/collatinus-python/parse_lemme
LDU_FT
[ "<BEGIN>\n## `assims`", "Cherche si la chaîne a peut subir une assimilation, renvoie cette chaîne éventuellement assimilée.", " :param mot: Mot pour lequel on doit vérifier des assimilations\n :type mot: str\n :return: Mot assimilé\n :rtype: str\n<END>", "<BEGIN>\n## `morpho`", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_lemme 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 parse_lemme 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...
Constructeur de la classe Lemme à partir de la ligne linea. Exemple de linea avec numéro d'éclat: # cădo|lego|cĕcĭd|cās|is, ere, cecidi, casum|687 # 0 | 1 | 2 | 3 | 4 | 5 :param linea: Ligne à parser :type linea: str :param origin: 0 for ...
"Constructeur de la classe Lemme à partir de la ligne linea.\n\n Exemple de linea avec numéro d'éclat:\n # cădo|lego|cĕcĭd|cās|is, ere, cecidi, casum|687\n # 0 | 1 | 2 | 3 | 4 | 5\n\n :param linea: Ligne à parser\n :type linea: str\n :param origi...
109
false
PonteIneptique/collatinus-python
parse_lemme
15,895
LDU_FT/klmitch/tendril/wrap
LDU_FT
[ "<BEGIN>\n## `send_frame`", "Sends a frame to the other end of the connection.\n<END>", "<BEGIN>\n## `start`", "Starts the TendrilManager.", " :param acceptor: If given, specifies a callable that will be\n called with each newly received Tendril;\n that...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wrap 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 wrap 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...
Allows the underlying socket to be wrapped, as by an SSL connection. :param wrapper: A callable taking, as its first argument, a socket.socket object. The callable must return a valid proxy for the socket.socket object, which will...
"Allows the underlying socket to be wrapped, as by an SSL\n connection.\n\n :param wrapper: A callable taking, as its first argument, a\n socket.socket object. The callable must\n return a valid proxy for the socket.socket\n object, whi...
92
false
klmitch/tendril
wrap
15,896
LDU_FT/sethmlarson/virtualbox-python/set_next_operation
LDU_FT
[ "<BEGIN>\n## `register_on_network_adapter_changed`", "Set the callback function to consume on network adapter changed\n events.", " Callback receives a INetworkAdapterChangedEvent object.", " Returns the callback_id\n<END>", "<BEGIN>\n## `register_on_serial_port_changed`", "Set the ca...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_next_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. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_next_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. Th...
Internal method, not to be called externally. in next_operation_description of type str in next_operations_weight of type int
"Internal method, not to be called externally.\n\n in next_operation_description of type str\n\n in next_operations_weight of type int"
2,484
true
sethmlarson/virtualbox-python
set_next_operation
15,897
LDU_FT/RockFeng0/rtsf/until_cmd
LDU_FT
[ "<BEGIN>\n## `get_summary`", "summarize the report data\r\n @param list_all: a list which save the report data\r\n @param kwargs: such as\r\n show_all: True/False report show all status cases\r\n proj_name: project name \r\n home_page: ho...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the until_cmd 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 until_cmd 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...
执行系统命令,并等待执行完 @param listcmd: 执行的命令,列表格式 @param end_expects: 命令执行结束,在输出的最后一行,正则搜素期望值,并设置 结果标志 @param save2logfile: 设置执行过程,保存的日志 @param coding: 设置输出编码
"执行系统命令,并等待执行完\r\n @param listcmd: 执行的命令,列表格式\r\n @param end_expects: 命令执行结束,在输出的最后一行,正则搜素期望值,并设置 结果标志\r\n @param save2logfile: 设置执行过程,保存的日志\r\n @param coding: 设置输出编码"
53
false
RockFeng0/rtsf
until_cmd
15,898
LDU_FT/xiaocong/uiautomator/cmd
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 cmd 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 cmd 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...
adb command, add -s serial by default. return the subprocess.Popen object.
"adb command, add -s serial by default. return the subprocess.Popen object."
33
false
xiaocong/uiautomator
cmd
15,899
LDU_FT/iblancasa/GitHubCity/__getNumberOfRepositories
LDU_FT
[ "<BEGIN>\n## `export`", "Export all attributes of the user to a dict.", " :return: attributes of the user.\n :rtype: dict.\n<END>", "<BEGIN>\n## `__getContributions`", "Scrap the contributions from a GitHub profile.", " :param web: parsed web.\n :type web: BeautifulSoup node.\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __getNumberOfRepositories 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 __getNumberOfRepositories API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Scrap the number of repositories from a GitHub profile. :param web: parsed web. :type web: BeautifulSoup node.
"Scrap the number of repositories from a GitHub profile.\n\n :param web: parsed web.\n :type web: BeautifulSoup node."
97
false
iblancasa/GitHubCity
__getNumberOfRepositories
15,900
LDU_FT/tgsmith61591/pmdarima/predict
LDU_FT
[ "<BEGIN>\n## `nsdiffs`", "Estimate the seasonal differencing term, ``D``.", " Perform a test of seasonality for different levels of ``D`` to\n estimate the number of seasonal differences required to make a given time\n series stationary. Will select the maximum value of ``D`` for which\n the time se...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the predict 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 predict 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...
Forecast future values Generate predictions (forecasts) ``n_periods`` in the future. Note that if ``exogenous`` variables were used in the model fit, they will be expected for the predict procedure and will fail otherwise. Parameters ---------- n_periods : int, optional...
"Forecast future values\n\n Generate predictions (forecasts) ``n_periods`` in the future.\n Note that if ``exogenous`` variables were used in the model fit, they\n will be expected for the predict procedure and will fail otherwise.\n\n Parameters\n ----------\n n_periods : int,...
356
false
tgsmith61591/pmdarima
predict
15,901
LDU_FT/burnash/gspread/numericise_all
LDU_FT
[ "<BEGIN>\n## `authorize`", "Login to Google API using OAuth2 credentials.\n This is a shortcut function which\n instantiates :class:`gspread.client.Client`\n and performs login right away.", " :returns: :class:`gspread.Client` instance.\n<END>", "<BEGIN>\n## `batch_update`", "Lower-level method ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the numericise_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 ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the numericise_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 ex...
Returns a list of numericised values from strings
"Returns a list of numericised values from strings"
226
false
burnash/gspread
numericise_all
15,902
LDU_FT/cthoyt/onto2nx/get_uri_name
LDU_FT
[ "<BEGIN>\n## `parse_owl_rdf`", "Parses an OWL resource that's encoded in OWL/RDF into a NetworkX directional graph", " :param str iri: The location of the OWL resource to be parsed by Ontospy\n :type iri: str\n :rtype: network.DiGraph\n<END>", "<BEGIN>\n## `get_or_create_home_repo`", "Check to make...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_uri_name 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_uri_name 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 the file name from the end of the URL. Only useful for PyBEL's testing though since it looks specifically if the file is from the weird owncloud resources distributed by Fraunhofer
"Gets the file name from the end of the URL. Only useful for PyBEL's testing though since it looks specifically\n if the file is from the weird owncloud resources distributed by Fraunhofer"
102
false
cthoyt/onto2nx
get_uri_name
15,903
LDU_FT/trezor/python-trezor/generate_entropy
LDU_FT
[ "<BEGIN>\n## `encode_pin`", "Transform correct PIN according to the displayed matrix.\n<END>", "<BEGIN>\n## `address_from_public_key`", "Returns the base32-encoded version of pk_bytes (G...)\n<END>", "<BEGIN>\n## `parse_transaction_bytes`", "Parses base64data into a map with the following keys:\n t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_entropy 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 generate_entropy 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 ...
strength - length of produced seed. One of 128, 192, 256 random - binary stream of random data from external HRNG
"strength - length of produced seed. One of 128, 192, 256\n random - binary stream of random data from external HRNG"
52
false
trezor/python-trezor
generate_entropy
15,904
LDU_FT/lmcinnes/umap/smooth_knn_dist
LDU_FT
[ "<BEGIN>\n## `tau_rand_int`", "A fast (pseudo)-random number generator.", " Parameters\n ----------\n state: array of int64, shape (3,)\n The internal state of the rng", " Returns\n -------\n A (pseudo)-random int32 value\n<END>", "<BEGIN>\n## `norm`", "Compute the (standard l2) n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the smooth_knn_dist 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 smooth_knn_dist 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...
Compute a continuous version of the distance to the kth nearest neighbor. That is, this is similar to knn-distance but allows continuous k values rather than requiring an integral k. In esscence we are simply computing the distance such that the cardinality of fuzzy set we generate is k. Parameters...
"Compute a continuous version of the distance to the kth nearest\n neighbor. That is, this is similar to knn-distance but allows continuous\n k values rather than requiring an integral k. In esscence we are simply\n computing the distance such that the cardinality of fuzzy set we generate\n is k.\n\n Par...
255
false
lmcinnes/umap
smooth_knn_dist
15,905
LDU_FT/fozzle/python-brotherprint/machine_op
LDU_FT
[ "<BEGIN>\n## `initialize`", "Calling this function initializes the printer.", " Args:\n None\n Returns:\n None\n Raises:\n None\n<END>", "<BEGIN>\n## `select_charset`", "Select international character set and changes codes in code table accordingly", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the machine_op 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 machine_op 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...
Perform machine operations Args: operations: which operation you would like Returns: None Raises: RuntimeError: Invalid operation
"Perform machine operations\n \n Args:\n operations: which operation you would like\n Returns:\n None\n Raises:\n RuntimeError: Invalid operation"
113
false
fozzle/python-brotherprint
machine_op
15,906
LDU_FT/Yelp/venv-update/pipfaster_download_cacher
LDU_FT
[ "<BEGIN>\n## `parseargs`", "handle --help, --version and our double-equal ==options\n<END>", "<BEGIN>\n## `timid_relpath`", "convert an argument to a relative path, carefully\n<END>", "<BEGIN>\n## `exec_`", "Wrapper to os.execv which shows the command and runs any atexit handlers (for coverage's sake).\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pipfaster_download_cacher 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 pipfaster_download_cacher API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
vanilla pip stores a cache of the http session in its cache and not the wheel files. We intercept the download and save those files into our cache
"vanilla pip stores a cache of the http session in its cache and not the\n wheel files. We intercept the download and save those files into our\n cache"
36
false
Yelp/venv-update
pipfaster_download_cacher
15,907
LDU_FT/shawnsilva/steamwebapi/get_schema_for_game
LDU_FT
[ "<BEGIN>\n## `create_request_url`", "Create the URL to submit to the Steam Web API", " interface: Steam Web API interface containing methods.\n method: The method to call.\n version: The version of the method.\n paramters: Parameters to supply to the method.\n<END>", "<BEGIN>\n## `...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_schema_for_game 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 get_schema_for_game 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...
Request the available achievements and stats for a game. appID: The app id language: The language to return the results in. None uses default. format: Return format. None defaults to json. (json, xml, vdf)
"Request the available achievements and stats for a game.\n\n appID: The app id\n language: The language to return the results in. None uses default.\n format: Return format. None defaults to json. (json, xml, vdf)"
64
false
shawnsilva/steamwebapi
get_schema_for_game
15,908
LDU_FT/emirozer/bowshock/apod
LDU_FT
[ "<BEGIN>\n## `search_target_obj`", "Query for a specific target:", " http://asterank.com/api/skymorph/search?<params>\n target\tTarget object (lookup in MPC).\n<END>", "<BEGIN>\n## `search_orbit`", "Query based on orbital elements:", " http://asterank.com/api/skymorph/search_orbit?<params>\n e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the apod 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 apod 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...
HTTP REQUEST GET https://api.nasa.gov/planetary/apod QUERY PARAMETERS Parameter Type Default Description date YYYY-MM-DD today The date of the APOD image to retrieve concept_tags bool False Return an ordered dictionary of concepts from the APOD explanation api_key string DEMO_KEY api.nasa.gov...
"HTTP REQUEST\n\n GET https://api.nasa.gov/planetary/apod\n\n QUERY PARAMETERS\n\n Parameter\tType\tDefault\tDescription\n date\tYYYY-MM-DD\ttoday\tThe date of the APOD image to retrieve\n concept_tags\tbool\tFalse\tReturn an ordered dictionary of concepts from the APOD explanation\n api_key\tstring\t...
90
false
emirozer/bowshock
apod
15,909
LDU_FT/ergoithz/unicategories/merge
LDU_FT
[ "<BEGIN>\n## `load_from_package`", "Try to load category ranges from module.", " :returns: category ranges dict or None\n :rtype: None or dict of RangeGroup\n<END>", "<BEGIN>\n## `load_from_cache`", "Try to load category ranges from userlevel cache file.", " :param path: path to userlevel cache f...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the merge 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 merge 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...
Join given range groups, collapsing their overlapping ranges. If only one group is given, this method will still fix it (sort and collapsing). No typecheck is performed, so a valid range group will be any iterable (or iterator) containing an (start, end) iterable pair. Result type will be defined by gr...
"Join given range groups, collapsing their overlapping ranges. If only one\n group is given, this method will still fix it (sort and collapsing).\n\n No typecheck is performed, so a valid range group will be any iterable\n (or iterator) containing an (start, end) iterable pair. Result type will\n be defined...
22
false
ergoithz/unicategories
merge
15,910
LDU_FT/sony/nnabla/Slice_6
LDU_FT
[ "<BEGIN>\n## `convert`", "All functions are replaced with the same `new` function.", " Args:\n vroot (:obj:`Variable`): NNabla Variable\n entry_variables (:obj:`Variable`): Entry variable from which the conversion starts.\n<END>", "<BEGIN>\n## `convert`", "All functions are repl...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Slice_6 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 Slice_6 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...
nnabla slice assume a batch dimension existed in the shape of input data. Onnx caffe2 implementation only support one dimension for each slice, hence, we connect multiple slice node to implement slice with multiple axis
"nnabla slice assume a batch dimension existed in\n the shape of input data.\n Onnx caffe2 implementation only support one dimension\n for each slice, hence, we connect multiple slice\n node to implement slice with multiple axis"
870
false
sony/nnabla
Slice_6
15,911
LDU_FT/by46/simplekit/delete_container_2
LDU_FT
[ "<BEGIN>\n## `_bin_update_items`", "Subclassed from omdict._bin_update_items() to make update() and\n updateall() process lists of values as multiple values.", " <replacements and <leftovers> are modified directly, ala pass by\n reference.\n<END>", "<BEGIN>\n## `import_string`", "Import...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_container_2 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 delete_container_2 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...
:param name: `class`:`str`, container name :return: `class`:`bool`, return True if delete success, otherwise return False
":param name: `class`:`str`, container name\r\n :return: `class`:`bool`, return True if delete success, otherwise return False"
73
false
by46/simplekit
delete_container_2
15,912
LDU_FT/jason-weirather/py-seq-tools/equals
LDU_FT
[ "<BEGIN>\n## `sort_ranges`", "from an array of ranges, make a sorted array of ranges", " :param inranges: List of GenomicRange data\n :type inranges: GenomicRange[]\n :returns: a new sorted GenomicRange list\n :rtype: GenomicRange[]\n<END>", "<BEGIN>\n## `merge_ranges`", "from a list of genomic range or...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the equals 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 equals 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 ...
check for equality. does not consider direction :param gr: another genomic range :type gr: GenomicRange :return: true if they are the same, false if they are not :rtype: bool
"check for equality. does not consider direction\n\n :param gr: another genomic range\n :type gr: GenomicRange\n :return: true if they are the same, false if they are not\n :rtype: bool"
449
false
jason-weirather/py-seq-tools
equals
15,913
LDU_FT/douban/brownant/to_bytes_safe
LDU_FT
[ "<BEGIN>\n## `url`", "The fetching target URL.", " The default behavior of this property is build URL string with the\n :const:`~brownant.dinergate.Dinergate.URL_TEMPLATE`.", " The subclasses could override\n :const:`~brownant.dinergate.Dinergate.URL_TEMPLATE` or use a different\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_bytes_safe 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 to_bytes_safe 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...
Convert the input value into bytes type. If the input value is string type and could be encode as UTF-8 bytes, the encoded value will be returned. Otherwise, the encoding has failed, the origin value will be returned as well. :param text: the input value which could be string or bytes. :param enco...
"Convert the input value into bytes type.\n\n If the input value is string type and could be encode as UTF-8 bytes, the\n encoded value will be returned. Otherwise, the encoding has failed, the\n origin value will be returned as well.\n\n :param text: the input value which could be string or bytes.\n :pa...
45
false
douban/brownant
to_bytes_safe
15,914
LDU_FT/artefactual-labs/agentarchives/collection_list
LDU_FT
[ "<BEGIN>\n## `edit_record`", "Update a record in Archivist's Toolkit using the provided new_record.", " The format of new_record is identical to the format returned by get_resource_component_and_children and related methods.\n This means it's possible, for example, to request a record, modify the ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the collection_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. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the collection_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. The e...
Fetches a list of all resource and component IDs within the specified resource. :param long resource_id: The ID of the resource to fetch children from. :param string resource_type: Specifies whether the resource to fetch is a collection or a child element. Defaults to 'collection'. ...
"Fetches a list of all resource and component IDs within the specified resource.\n\n :param long resource_id: The ID of the resource to fetch children from.\n :param string resource_type: Specifies whether the resource to fetch is a collection or a child element.\n Defaults to 'collection'.\n\n...
122
false
artefactual-labs/agentarchives
collection_list
15,915
LDU_FT/openid/JWTConnect-Python-CryptoJWT/load_key
LDU_FT
[ "<BEGIN>\n## `encrypt`", "Encrypts and authenticates the data provided as well as authenticating\n the associated_data.", " :param msg: The message to be encrypted\n :param iv: MUST be present, at least 96-bit long\n :param auth_data: Associated data\n :return: The cipher text...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_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. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_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. The extracte...
Load a RSA key. Try to serialize the key before binding it to this instance. :param key: An RSA key instance
"Load a RSA key. Try to serialize the key before binding it to this\n instance.\n\n :param key: An RSA key instance"
399
false
openid/JWTConnect-Python-CryptoJWT
load_key
15,916
LDU_FT/kibitzr/kibitzr/_parse_field_text
LDU_FT
[ "<BEGIN>\n## `is_applicable`", "Return whether this promoter is applicable for given conf\n<END>", "<BEGIN>\n## `xpath_selector`", "Returns Xpath match for `selector` within `html`.", " :param selector: XPath string\n :param html: Unicode content\n :param select_all: True to get all matches\n<END>"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_field_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...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_field_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...
Return form field value from 3 options: 1. If value key is present, render it as a Jinja2 template. The template has access to ``conf`` and ``creds`` dictionaries. 2. If creds key is present, use it as a dot-delimited path in creds dictionary (e.g. ``account.login``). 3. Ot...
"Return form field value from 3 options:\n 1. If value key is present, render it as a Jinja2 template.\n The template has access to ``conf`` and ``creds`` dictionaries.\n 2. If creds key is present, use it as a dot-delimited path\n in creds dictionary (e.g. ``account.login``).\n ...
53
false
kibitzr/kibitzr
_parse_field_text
15,917
LDU_FT/trevorstephens/gplearn/crossover
LDU_FT
[ "<BEGIN>\n## `_parallel_evolve`", "Private function used to build a batch of programs within a job.\n<END>", "<BEGIN>\n## `_verbose_reporter`", "A report of the progress of the evolution process.", " Parameters\n ----------\n run_details : dict\n Information about the evoluti...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the crossover 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 crossover 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...
Perform the crossover genetic operation on the program. Crossover selects a random subtree from the embedded program to be replaced. A donor also has a subtree selected at random and this is inserted into the original parent to form an offspring. Parameters ---------- d...
"Perform the crossover genetic operation on the program.\n\n Crossover selects a random subtree from the embedded program to be\n replaced. A donor also has a subtree selected at random and this is\n inserted into the original parent to form an offspring.\n\n Parameters\n ----------\n...
103
false
trevorstephens/gplearn
crossover
15,918
LDU_FT/Azure/azure-multiapi-storage-python/_extract_etag
LDU_FT
[ "<BEGIN>\n## `_extract_encryption_metadata`", "Extracts the encryption metadata from the given entity, setting them to be utf-8 strings.\n If no encryption metadata is present, will return None for all return values unless\n require_encryption is true, in which case the method will throw.", " :param en...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _extract_etag 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 _extract_etag 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...
Extracts the etag from the response headers.
"Extracts the etag from the response headers."
364
false
Azure/azure-multiapi-storage-python
_extract_etag
15,919
LDU_FT/booktype/python-ooxml/get_header
LDU_FT
[ "<BEGIN>\n## `parse_drawing`", "Parse drawing element.", " We don't do much with drawing element. We can find embeded image but we don't do more than that.\n<END>", "<BEGIN>\n## `parse_paragraph`", "Parse paragraph element.", " Some other elements could be found inside of paragraph element (math, li...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_header 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 get_header 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...
Returns HTML tag representing specific header for this element. :Returns: String representation of HTML tag.
"Returns HTML tag representing specific header for this element.\n\n :Returns:\n String representation of HTML tag."
117
false
booktype/python-ooxml
get_header
15,920
LDU_FT/googleapis/google-auth-library-python/_get_jwt_for_audience
LDU_FT
[ "<BEGIN>\n## `_convert_oauth2_credentials`", "Converts to :class:`google.oauth2.credentials.Credentials`.", " Args:\n credentials (Union[oauth2client.client.OAuth2Credentials,\n oauth2client.client.GoogleCredentials]): The credentials to\n convert.", " Returns:\n goog...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_jwt_for_audience 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 _get_jwt_for_audience API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Get a JWT For a given audience. If there is already an existing, non-expired token in the cache for the audience, that token is used. Otherwise, a new token will be created. Args: audience (str): The intended audience. Returns: bytes: The encoded JWT.
"Get a JWT For a given audience.\n\n If there is already an existing, non-expired token in the cache for\n the audience, that token is used. Otherwise, a new token will be\n created.\n\n Args:\n audience (str): The intended audience.\n\n Returns:\n bytes: The enc...
311
false
googleapis/google-auth-library-python
_get_jwt_for_audience
15,921
LDU_FT/inspirehep/inspire-utils/_prepare_nameparser_constants
LDU_FT
[ "<BEGIN>\n## `dedupe_list_of_dicts`", "Remove duplicates from a list of dictionaries preserving the order.", " We can't use the generic list helper because a dictionary isn't hashable.\n Adapted from http://stackoverflow.com/a/9427216/374865.\n<END>", "<BEGIN>\n## `force_list`", "Force ``data`` to bec...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _prepare_nameparser_constants 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 _prepare_nameparser_constants API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc...
Prepare nameparser Constants. Remove nameparser's titles and use our own and add as suffixes the roman numerals. Configuration is the same for all names (i.e. instances).
"Prepare nameparser Constants.\n\n Remove nameparser's titles and use our own and add as suffixes the roman numerals.\n Configuration is the same for all names (i.e. instances)."
65
false
inspirehep/inspire-utils
_prepare_nameparser_constants
15,922
LDU_FT/Parisson/TimeSide/import_module_with_exceptions
LDU_FT
[ "<BEGIN>\n## `JSON_NumpyArrayEncoder`", "Define Specialize JSON encoder for numpy array\n<END>", "<BEGIN>\n## `to_hdf5`", "Save a dictionnary-like object inside a h5 file group\n<END>", "<BEGIN>\n## `render`", "Render a matplotlib figure from the analyzer result", " Return the figure, use fig....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the import_module_with_exceptions 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 import_module_with_exceptions API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc...
Wrapper around importlib.import_module to import TimeSide subpackage and ignoring ImportError if Aubio, Yaafe and Vamp Host are not available
"Wrapper around importlib.import_module to import TimeSide subpackage\n and ignoring ImportError if Aubio, Yaafe and Vamp Host are not available"
88
false
Parisson/TimeSide
import_module_with_exceptions
15,923
LDU_FT/J535D165/recordlinkage/load_febrl3
LDU_FT
[ "<BEGIN>\n## `_map_tril_1d_on_2d`", "Map 1d indices on lower triangular matrix in 2d.\n<END>", "<BEGIN>\n## `random_pairs_without_replacement_large_frames`", "Make a sample of random pairs with replacement\n<END>", "<BEGIN>\n## `clean`", "Clean string variables.", " Clean strings in the Series by rem...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_febrl3 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 load_febrl3 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...
Load the FEBRL 3 dataset. The Freely Extensible Biomedical Record Linkage (Febrl) package is distributed with a dataset generator and four datasets generated with the generator. This function returns the third Febrl dataset as a :class:`pandas.DataFrame`. *"This data set contains 5000 reco...
"Load the FEBRL 3 dataset.\n\n The Freely Extensible Biomedical Record Linkage (Febrl) package is\n distributed with a dataset generator and four datasets generated\n with the generator. This function returns the third Febrl dataset\n as a :class:`pandas.DataFrame`.\n\n *\"This data set contains ...
339
false
J535D165/recordlinkage
load_febrl3
15,924
LDU_FT/SoCo/SoCo/volume
LDU_FT
[ "<BEGIN>\n## `_post`", "Try 3 times to request the content.", " :param headers: The HTTP headers\n :type headers: dict\n :param body: The body of the HTTP post\n :type body: str\n :param retries: The number of times to retry before giving up\n :type retries: int\n :param timeout: The time t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the volume 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 volume 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 ...
int: The speaker's volume. An integer between 0 and 100.
"int: The speaker's volume.\n\n An integer between 0 and 100."
663
false
SoCo/SoCo
volume
15,925
LDU_FT/kennknowles/python-jsonpath-rw/child
LDU_FT
[ "<BEGIN>\n## `tokenize`", "Maps a string to an iterator over tokens. In other words: [char] -> [token]\n<END>", "<BEGIN>\n## `child`", "Equivalent to Child(self, next) but with some canonicalization\n<END>", "<BEGIN>\n## `id_pseudopath`", "Looks like a path, but with ids stuck in when available\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the child 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 child 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...
Equivalent to Child(self, next) but with some canonicalization
"Equivalent to Child(self, next) but with some canonicalization"
10
false
kennknowles/python-jsonpath-rw
child
15,926
LDU_FT/ploneintranet/ploneintranet.workspace/children
LDU_FT
[ "<BEGIN>\n## `get_storage`", "helper function to get annotation storage on the portal", " :param clear: If true is passed in, annotations will be cleared\n :returns: portal annotations\n :rtype: IAnnotations\n<END>", "<BEGIN>\n## `send_email`", "helper function to send an email with the sender pres...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the children 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 children 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...
returns a list of dicts of items in the current context
"returns a list of dicts of items in the current context"
53
false
ploneintranet/ploneintranet.workspace
children
15,927
LDU_FT/Unidata/siphon/parse_xml_station
LDU_FT
[ "<BEGIN>\n## `open_store_variable`", "Turn CDMRemote variable into something like a numpy.ndarray.\n<END>", "<BEGIN>\n## `get_attrs`", "Get the global attributes from underlying data set.\n<END>", "<BEGIN>\n## `get_dimensions`", "Get the dimensions from underlying data set.\n<END>", "<BEGIN>\n## `_find_...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_xml_station 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_xml_station 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...
Create a :class:`Station` instance from an XML tag.
"Create a :class:`Station` instance from an XML tag."
309
false
Unidata/siphon
parse_xml_station
15,928
LDU_FT/GoogleCloudPlatform/httplib2shim/_is_ipv6
LDU_FT
[ "<BEGIN>\n## `_default_make_pool`", "Creates a urllib3.PoolManager object that has SSL verification enabled\n and uses the certifi certificates.\n<END>", "<BEGIN>\n## `patch`", "Monkey-patches httplib2.Http to be httplib2shim.Http.", " This effectively makes all clients of httplib2 use urlilb3. It's p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _is_ipv6 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 _is_ipv6 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...
Checks if a given address is an IPv6 address.
"Checks if a given address is an IPv6 address."
15
false
GoogleCloudPlatform/httplib2shim
_is_ipv6
15,929
LDU_FT/helixyte/everest/load
LDU_FT
[ "<BEGIN>\n## `domain_relationship`", "Returns a domain relationship equivalent with this resource\n relationship.\n<END>", "<BEGIN>\n## `get_attribute_cardinality`", "Returns the cardinality of the given resource attribute.", " :returns: One of the constants defined in\n :class:`evererst.cons...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load 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 load 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...
Load the given repository entity into the session and return a clone. If it was already loaded before, look up the loaded entity and return it. All entities referenced by the loaded entity will also be loaded (and cloned) recursively. :raises ValueError: When an attempt is made...
"Load the given repository entity into the session and return a\n clone. If it was already loaded before, look up the loaded entity\n and return it.\n\n All entities referenced by the loaded entity will also be loaded\n (and cloned) recursively.\n\n :raises ValueError: When an attempt...
449
false
helixyte/everest
load
15,930
LDU_FT/henzk/ape/register_helper
LDU_FT
[ "<BEGIN>\n## `is_valid`", "Checks the feature list product spec against.\n Checks if all mandartory features are contained;\n Checks that all \"never\" features are not contained\n :return: boolean\n<END>", "<BEGIN>\n## `_read`", "Reads the spec files and extracts the concrete product spe...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_helper 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 register_helper 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...
A helper is a task that is not directly exposed to the command line :param func: registers func as a helper :return: invalid accessor
"A helper is a task that is not directly exposed to\n the command line\n :param func: registers func as a helper\n :return: invalid accessor"
106
false
henzk/ape
register_helper
15,931
LDU_FT/CI-WATER/gsshapy/_read
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 _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 extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _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 extracted d...
Private file object read method. Classes that inherit from this base class must implement this method. The ``read()`` method that each file object inherits from this base class performs the processes common to all file read methods, after which it calls the file object's ``_read()`` (the preceding unde...
"Private file object read method. Classes that inherit from this base class must implement this method.\n\n The ``read()`` method that each file object inherits from this base class performs the processes common to all\n file read methods, after which it calls the file object's ``_read()`` (the preceding ...
537
false
CI-WATER/gsshapy
_read
15,932
LDU_FT/insilichem/ommprotocol/statexml2pdb
LDU_FT
[ "<BEGIN>\n## `protocol`", "Run all the stages in protocol", " Parameters\n ----------\n handler : SystemHandler\n Container of initial conditions of simulation", " cfg : dict\n Imported YAML file.\n<END>", "<BEGIN>\n## `run`", "Launch MD simulation, which may consist of:\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the statexml2pdb 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 statexml2pdb 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 an OpenMM xml file containing the state of the simulation, generate a PDB snapshot for easy visualization.
"Given an OpenMM xml file containing the state of the simulation,\n generate a PDB snapshot for easy visualization."
84
false
insilichem/ommprotocol
statexml2pdb
15,933
LDU_FT/gmichaeljaison/cv-utils/move
LDU_FT
[ "<BEGIN>\n## `match_one`", "Match template and find exactly one match in the Image using specified features.", " :param template: Template Image\n :param image: Search Image\n :param options: Options include\n - features: List of options for each feature\n :return: (Box, Score) Bounding box o...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the move 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 move 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...
Translates the box by given (tx, ty) :param point: (tx, ty) :param reverse: If true, the translation direction is reversed. ie. (-tx, -ty) :return: New translated box
"Translates the box by given (tx, ty)\n\n :param point: (tx, ty)\n :param reverse: If true, the translation direction is reversed. ie. (-tx, -ty)\n :return: New translated box"
91
false
gmichaeljaison/cv-utils
move
15,934
LDU_FT/BDNYC/astrodbkit/_lowest_rowids
LDU_FT
[ "<BEGIN>\n## `dict_tovot`", "Converts dictionary table **tabdata** to a VOTable with name **tabname**", " Parameters\n ----------\n tabdata: list\n SQL query dictionary list from running query_dict.execute()\n tabname: str\n The name of the VOTable to be created\n phot: bool\n Para...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _lowest_rowids 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 _lowest_rowids 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...
Gets the lowest available row ids for table insertion. Keeps things tidy! Parameters ---------- table: str The name of the table being modified limit: int The number of row ids needed Returns ------- available: sequence An...
"Gets the lowest available row ids for table insertion. Keeps things tidy!\n\n Parameters\n ----------\n table: str\n The name of the table being modified\n limit: int\n The number of row ids needed\n\n Returns\n -------\n available: sequence\n ...
166
false
BDNYC/astrodbkit
_lowest_rowids
15,935
LDU_FT/selenol/selenol-python/run
LDU_FT
[ "<BEGIN>\n## `run`", "Run the service in infinitive loop processing requests.\n<END>", "<BEGIN>\n## `on_message`", "Message from the backend has been received.", " :param message: Message string received.\n<END>", "<BEGIN>\n## `event`", "Create an event in the backend to be triggered given a circ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run 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 run 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...
Run the service in infinitive loop processing requests.
"Run the service in infinitive loop processing requests."
33
false
selenol/selenol-python
run
15,936
LDU_FT/linkedin/Zopkio/sleep
LDU_FT
[ "<BEGIN>\n## `make_machine_mapping`", "Convert the machine list argument from a list of names into a mapping of logical names to\n physical hosts. This is similar to the _parse_configs function but separated to provide the\n opportunity for extension and additional checking of machine access\n<END>", "<BEGIN>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sleep 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 sleep 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...
Pauses the process for the specified delay and then resumes it :Parameter unique_id: the name of the process :Parameter delay: delay time in seconds
"Pauses the process for the specified delay and then resumes it\n\n :Parameter unique_id: the name of the process\n :Parameter delay: delay time in seconds"
85
false
linkedin/Zopkio
sleep
15,937
LDU_FT/argaen/aiocache/close
LDU_FT
[ "<BEGIN>\n## `loads`", "Deserialize value using ``msgpack.loads``.", " :param value: bytes\n :returns: obj\n<END>", "<BEGIN>\n## `parse_uri_path`", "Given a uri path, return the Redis specific configuration\n options in that path string according to iana definition\n http://www.i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the close 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 close 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...
Perform any resource clean up necessary to exit the program safely. After closing, cmd execution is still possible but you will have to close again before exiting. :raises: :class:`asyncio.TimeoutError` if it lasts more than self.timeout
"Perform any resource clean up necessary to exit the program safely.\n After closing, cmd execution is still possible but you will have to\n close again before exiting.\n\n :raises: :class:`asyncio.TimeoutError` if it lasts more than self.timeout"
77
false
argaen/aiocache
close
15,938
LDU_FT/cvxopt/chompack/symmetrize
LDU_FT
[ "<BEGIN>\n## `symb_to_block`", "Maps a symbolic factorization to a block-diagonal structure with\n coupling constraints.", " :param symb: :py:class:`symbolic`\n :param coupling: optional \n :return dims: list of block dimensions\n :return sparse_to_block: di...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the symmetrize 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 symmetrize 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...
Returns a symmetric matrix from a sparse square matrix :math:`A`. Only the lower triangular entries of :math:`A` are accessed.
"Returns a symmetric matrix from a sparse square matrix :math:`A`. Only the\n lower triangular entries of :math:`A` are accessed."
215
false
cvxopt/chompack
symmetrize
15,939
LDU_FT/laf/russound/create_response_signature
LDU_FT
[ "<BEGIN>\n## `connect`", "Connect to the tcp gateway\n Allow for this function to be keypad agnostic\n If keypad value is omitted, then set it to the hex value of 70 which is the recommended value for an external\n device controlling the system (top of pg 3 of cav6.6_rnet_protocol_v1.01.00.pd...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_response_signature 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 create_response_signature API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Basic helper function to keep code clean for defining a response message signature
"Basic helper function to keep code clean for defining a response message signature"
24
false
laf/russound
create_response_signature
15,940
LDU_FT/DheerendraRathor/django-auth-ldap-ng/_begin
LDU_FT
[ "<BEGIN>\n## `get_ldap`", "Returns the ldap module. The unit test harness will assign a mock object\n to _LDAPConfig.ldap. It is imperative that the ldap module not be\n imported anywhere else so that the unit tests will pass in the absence\n of python-ldap.\n<END>", "<BEGIN>\n## `get_logge...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _begin 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 _begin 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 ...
Begins an asynchronous search and returns the message id to retrieve the results. filterargs is an object that will be used for expansion of the filter string. If escape is True, values in filterargs will be escaped.
"Begins an asynchronous search and returns the message id to retrieve\n the results.\n\n filterargs is an object that will be used for expansion of the filter\n string. If escape is True, values in filterargs will be escaped."
55
false
DheerendraRathor/django-auth-ldap-ng
_begin
15,941
LDU_FT/KE-works/pykechain/move
LDU_FT
[ "<BEGIN>\n## `value`", "Value of a reference property.", " You can set the reference with a Part, Part id or None value.\n Ensure that the model of the provided part, matches the configured model", " :return: a :class:`Part` or None\n :raises APIError: When unable to find the assoc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the move 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 move 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...
Move the `Part` to target parent, both of them the same category. .. versionadded:: 2.3 :param target_parent: `Part` object under which the desired `Part` is moved :type target_parent: :class:`Part` :param name: how the moved top-level `Part` should be called :type name: basest...
"Move the `Part` to target parent, both of them the same category.\n\n .. versionadded:: 2.3\n\n :param target_parent: `Part` object under which the desired `Part` is moved\n :type target_parent: :class:`Part`\n :param name: how the moved top-level `Part` should be called\n :type name...
751
false
KE-works/pykechain
move
15,942
LDU_FT/scikit-learn-contrib/hdbscan/_extend_condensed_tree
LDU_FT
[ "<BEGIN>\n## `_tree_to_labels`", "Converts a pretrained tree and cluster size into a\n set of labels and probabilities.\n<END>", "<BEGIN>\n## `check_precomputed_distance_matrix`", "Perform check_array(X) after removing infinite values (numpy.inf) from the given distance matrix.\n<END>", "<BEGIN>\n## `hdb...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _extend_condensed_tree 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 _extend_condensed_tree API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Create a new condensed tree with an additional point added, allowing for computations as if this point had been part of the original tree. Note that this makes as little change to the tree as possible, with no re-optimizing/re-condensing so that the selected clusters remain effectively unchanged. P...
"Create a new condensed tree with an additional point added, allowing for\n computations as if this point had been part of the original tree. Note\n that this makes as little change to the tree as possible, with no\n re-optimizing/re-condensing so that the selected clusters remain\n effectively unchanged.\n...
224
false
scikit-learn-contrib/hdbscan
_extend_condensed_tree
15,943
LDU_FT/mswart/pyopenmensa/hasMealsFor
LDU_FT
[ "<BEGIN>\n## `extractDate`", "Tries to extract a date from a given :obj:`str`.", " :param str text: Input date. A :obj:`datetime.date` object is passed\n thought without modification.\n :rtype: :obj:`datetime.date`\n<END>", "<BEGIN>\n## `convertPrice`", "Helper function to convert ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hasMealsFor 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 hasMealsFor 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...
Checks whether for this day are information stored. :param date: Date of the day :type date: datetime.date :rtype: bool
"Checks whether for this day are information stored.\n\n :param date: Date of the day\n :type date: datetime.date\n :rtype: bool"
43
false
mswart/pyopenmensa
hasMealsFor
15,944
LDU_FT/wiredrive/wtframework/wait_until_element_not_visible
LDU_FT
[ "<BEGIN>\n## `print_debug`", "Print if and only if the debug flag is set true in the config.yaml file.", " Args:\n args : var args of print arguments.\n<END>", "<BEGIN>\n## `print_time`", "Print the current elapsed time.", " Kwargs:\n message (str) : Message to prefix the time ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wait_until_element_not_visible API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wait_until_element_not_visible API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con...
Wait for a WebElement to disappear. Args: webdriver (Webdriver) - Selenium Webdriver locator (lambda) - Locator lambda expression. Kwargs: timeout (number) - timeout period sleep (number) - sleep period between intervals.
"Wait for a WebElement to disappear.\n\n Args:\n webdriver (Webdriver) - Selenium Webdriver\n locator (lambda) - Locator lambda expression.\n\n Kwargs:\n timeout (number) - timeout period\n sleep (number) - sleep period between intervals."
236
false
wiredrive/wtframework
wait_until_element_not_visible
15,945
LDU_FT/adamziel/python_translate/find_files
LDU_FT
[ "<BEGIN>\n## `load_messages`", "Loads translation found in a directory.", " @type directory: string\n @param directory: The directory to search", " @type catalogue: MessageCatalogue\n @param catalogue: The message catalogue to dump", " @raises: ValueError\n<END>", "<BEGI...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_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. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_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. The extrac...
Returns all files from a given path that matches the pattern or list of patterns @type path: str @param path: A path to traverse @typ patterns: str|list @param patterns: A pattern or a list of patterns to match @rtype: list[str]: @return: A list of matched files
"Returns all files from a given path that matches the pattern or list\n of patterns\n\n @type path: str\n @param path: A path to traverse\n\n @typ patterns: str|list\n @param patterns: A pattern or a list of patterns to match\n\n @rtype: list[str]:\n @return: A list of matched files"
136
false
adamziel/python_translate
find_files
15,946
LDU_FT/Yelp/kafka-utils/move
LDU_FT
[ "<BEGIN>\n## `get_assignment`", "Parse the given json plan in dict format.\n<END>", "<BEGIN>\n## `_send_consumer_aware_request`", "Send a list of requests to the consumer coordinator for the group\n specified using the supplied encode/decode functions. As the payloads\n that use consumer-aware r...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the move 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 move 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...
Return a new state that is the result of moving a single partition. :param partition: The partition index of the partition to move. :param source: The broker index of the broker to move the partition from. :param dest: The broker index of the broker to move the partition to.
"Return a new state that is the result of moving a single partition.\n\n :param partition: The partition index of the partition to move.\n :param source: The broker index of the broker to move the partition\n from.\n :param dest: The broker index of the broker to move the partition to."
538
false
Yelp/kafka-utils
move
15,947
LDU_FT/Microsoft/ApplicationInsights-Python/ikey
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 ikey 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 ikey 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...
The ikey property. Args: value (string). the property value.
"The ikey property.\n \n Args:\n value (string). the property value."
268
false
Microsoft/ApplicationInsights-Python
ikey
15,948
LDU_FT/aiortc/aioice/request
LDU_FT
[ "<BEGIN>\n## `create_turn_endpoint`", "Create datagram connection relayed over TURN.\n<END>", "<BEGIN>\n## `refresh`", "Periodically refresh the TURN allocation.\n<END>", "<BEGIN>\n## `request`", "Execute a STUN transaction and return the response.\n<END>", "<BEGIN>\n## `send_data`", "Send data to a r...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the request 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 request 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...
Execute a STUN transaction and return the response.
"Execute a STUN transaction and return the response."
61
false
aiortc/aioice
request
15,949
LDU_FT/chatfirst/chatfirst/to_json
LDU_FT
[ "<BEGIN>\n## `bots_list`", "List all user's bots", " :rtype: list of Bot\n :return: user's bots\n<END>", "<BEGIN>\n## `bots_create`", "Save new bot", " :param bot: bot object to save\n :type bot: Bot\n<END>", "<BEGIN>\n## `bots_get`", "Fetch and fill Bot object", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_json 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 to_json 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...
Serialize object to json dict :return: dict
"Serialize object to json dict\n\n :return: dict"
38
false
chatfirst/chatfirst
to_json
15,950
LDU_FT/KyleJamesWalker/yamlsettings/_load_first
LDU_FT
[ "<BEGIN>\n## `conform_query`", "Converts the query string from a target uri, uses\n cls.default_query to populate default arguments.", " :param query: Unparsed query string\n :type query: urllib.parse.unsplit(uri).query\n :returns: Dictionary of parsed values, everything in cls.defau...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _load_first 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 _load_first 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...
Load first yamldict target found in uri list. :param target_uris: Uris to try and open :param load_method: load callback :type target_uri: list or string :type load_method: callback :returns: yamldict
"Load first yamldict target found in uri list.\n\n :param target_uris: Uris to try and open\n :param load_method: load callback\n :type target_uri: list or string\n :type load_method: callback\n\n :returns: yamldict"
46
false
KyleJamesWalker/yamlsettings
_load_first
15,951
LDU_FT/chatfirst/chatfirst/talk
LDU_FT
[ "<BEGIN>\n## `bots_list`", "List all user's bots", " :rtype: list of Bot\n :return: user's bots\n<END>", "<BEGIN>\n## `bots_create`", "Save new bot", " :param bot: bot object to save\n :type bot: Bot\n<END>", "<BEGIN>\n## `bots_get`", "Fetch and fill Bot object", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the talk 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 talk 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...
Talk to bot and get response based You can use this method to integrate the platform with your own channels :param bot: bot to talk to :type bot: Bot :param message: message to send to bot :type message: Message :rtype: ActionResponse :return: response object
"Talk to bot and get response based\n You can use this method to integrate the platform with your own channels\n\n :param bot: bot to talk to\n :type bot: Bot\n :param message: message to send to bot\n :type message: Message\n :rtype: ActionResponse\n :return: response o...
38
false
chatfirst/chatfirst
talk
15,952
LDU_FT/fictorial/filesysdb/_remove_from_index
LDU_FT
[ "<BEGIN>\n## `object_path`", "Returns path to the backing file of the object\n with the given ``id`` in the given ``collection``.\n Note that the ``id`` is made filesystem-safe by\n \"normalizing\" its string representation.\n<END>", "<BEGIN>\n## `load_object_at_path`", "Load an object from disk at e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _remove_from_index 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 _remove_from_index 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...
Removes object ``obj`` from the ``index``.
"Removes object ``obj`` from the ``index``."
34
false
fictorial/filesysdb
_remove_from_index
15,953
LDU_FT/a1ezzz/wasp-general/register_wait
LDU_FT
[ "<BEGIN>\n## `connect`", ":meth:`.WNetworkClientProto.connect` method implementation\n<END>", "<BEGIN>\n## `scheme_specification`", ":meth:`.WSchemeHandler.scheme_specification` method implementation\n<END>", "<BEGIN>\n## `upload_file`", ":meth:`.WNetworkClientProto.upload_file` method implementation\n<EN...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_wait 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 register_wait 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...
:meth:`.WSimpleTrackerStorage.register_wait` method implementation
":meth:`.WSimpleTrackerStorage.register_wait` method implementation"
917
false
a1ezzz/wasp-general
register_wait
15,954
LDU_FT/PredixDev/predixpy/get_acs
LDU_FT
[ "<BEGIN>\n## `create`", "Create an instance of the US Weather Forecast Service with\n typical starting settings.\n<END>", "<BEGIN>\n## `add_to_manifest`", "Add useful details to the manifest about this service\n so that it can be used in an application.", " :param manifest: An predix.ad...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_acs 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_acs 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 an instance of the Asset Control Service.
"Returns an instance of the Asset Control Service."
501
false
PredixDev/predixpy
get_acs
15,955
LDU_FT/BYU-Hydroinformatics/HydroErr/sa
LDU_FT
[ "<BEGIN>\n## `me`", "Compute the mean error of the simulated and observed data.", " .. image:: /pictures/ME.png", " **Range:** -inf < MAE < inf, data units, closer to zero is better, indicates bias.", " **Notes:** The mean error (ME) measures the difference between the simulated data and the\n o...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sa 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 docu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sa 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 docu...
Compute the Spectral Angle (SA). .. image:: /pictures/SA.png **Range:** -π/2 ≤ SA < π/2, closer to 0 is better. **Notes:** The spectral angle metric measures the angle between the two vectors in hyperspace. It indicates how well the shape of the two series match – not magnitude. Parameters -...
"Compute the Spectral Angle (SA).\n\n .. image:: /pictures/SA.png\n\n **Range:** -π/2 ≤ SA < π/2, closer to 0 is better.\n\n **Notes:** The spectral angle metric measures the angle between the two vectors in hyperspace.\n It indicates how well the shape of the two series match – not magnitude.\n\n Parame...
343
false
BYU-Hydroinformatics/HydroErr
sa
15,956
LDU_FT/ransford/sllurp/politeShutdown
LDU_FT
[ "<BEGIN>\n## `decode_tve_parameter`", "Generic byte decoding function for TVE parameters.", " Given an array of bytes, tries to interpret a TVE parameter from the\n beginning of the array. Returns the decoded data and the number of bytes\n it read.\n<END>", "<BEGIN>\n## `tagReportCallback`", "Func...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the politeShutdown 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 politeShutdown 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...
Stop inventory on all connected readers.
"Stop inventory on all connected readers."
59
false
ransford/sllurp
politeShutdown
15,957
LDU_FT/CI-WATER/mapkit/getIndexForValue
LDU_FT
[ "<BEGIN>\n## `getAsKmlGrid`", "Creates a KML file with each cell in the raster represented by a polygon. The result is a vector grid representation of the raster.\n Note that pixels with values between -1 and 0 are omitted as no data values. Also note that this method only works on the first band.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getIndexForValue 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 getIndexForValue 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 ramp index for the given value :param value: Lookup value :rtype: int
"Return the ramp index for the given value\n :param value: Lookup value\n :rtype: int"
62
false
CI-WATER/mapkit
getIndexForValue
15,958
LDU_FT/xoolive/traffic/api_states
LDU_FT
[ "<BEGIN>\n## `closest_point_of_approach`", "Computes a CPA dataframe for all pairs of trajectories candidates for\n being separated by less than lateral_separation in vertical_separation.", " In order to be computed efficiently, the method needs the following\n parameters:", " - projection: a firs...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the api_states 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 api_states 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...
Returns the current state vectors from OpenSky REST API. If own parameter is set to True, returns only the state vectors associated to own sensors (requires authentication) bounds parameter can be a shape or a tuple of float. Official documentation ---------------------- ...
"Returns the current state vectors from OpenSky REST API.\n\n If own parameter is set to True, returns only the state vectors\n associated to own sensors (requires authentication)\n\n bounds parameter can be a shape or a tuple of float.\n\n Official documentation\n -------------------...
147
false
xoolive/traffic
api_states
15,959
LDU_FT/intelligenia/modeltranslation/set
LDU_FT
[ "<BEGIN>\n## `_get_fieldtranslations`", "Get all the translations for this object.\n<END>", "<BEGIN>\n## `_load_translations`", "Loads all translations as dynamic attributes:\n\t\t<attr>_<lang_code>\n\t\t<attr>_<lang_code>_is_fuzzy\n<END>", "<BEGIN>\n## `_set_dict_translations`", "Establece los atributos ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set 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 set 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...
Establece en la instancia actual los atributos de traducción y la almacena en un diccionario de claves _create_key y valores el objeto con los atributos dinámicos.
"Establece en la instancia actual los atributos de traducción\n y la almacena en un diccionario de claves _create_key y valores\n el objeto con los atributos dinámicos."
36
false
intelligenia/modeltranslation
set
15,960
LDU_FT/20c/vaping/parse_interval
LDU_FT
[ "<BEGIN>\n## `probe_to_graphsrv`", "takes a probe instance and generates\n a graphsrv data group for it using the\n probe's config\n<END>", "<BEGIN>\n## `new_message`", "creates a new message, setting `type`, `source`, `ts`, `data`\n - `data` is initialized to an empty array\n<END>", "<BEGIN>\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_interval 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 parse_interval 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...
converts a string to float of seconds .5 = 500ms 90 = 1m30s
"converts a string to float of seconds\n .5 = 500ms\n 90 = 1m30s"
23
false
20c/vaping
parse_interval
15,961
LDU_FT/openmicroanalysis/pyxray/from_pure
LDU_FT
[ "<BEGIN>\n## `set_default_reference`", "Set the default reference for a method.", " :arg method: name of a method\n :type method: :class:`str`", " {reference}\n<END>", "<BEGIN>\n## `get_default_reference`", "Returns the default reference for a method.", " :arg method: name of...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_pure 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 from_pure 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...
Creates a pure composition. Args: z (int): atomic number
"Creates a pure composition.\n\n Args:\n z (int): atomic number"
42
false
openmicroanalysis/pyxray
from_pure
15,962
LDU_FT/MichaelAquilina/hashedindex/word_tokenize
LDU_FT
[ "<BEGIN>\n## `normalize_unicode`", "Normalize any unicode characters to ascii equivalent\n https://docs.python.org/2/library/unicodedata.html#unicodedata.normalize\n<END>", "<BEGIN>\n## `word_tokenize`", "Parses the given text and yields tokens which represent words within\n the given text. Tokens are a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the word_tokenize 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 word_tokenize 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...
Parses the given text and yields tokens which represent words within the given text. Tokens are assumed to be divided by any form of whitespace character.
"Parses the given text and yields tokens which represent words within\n the given text. Tokens are assumed to be divided by any form of\n whitespace character."
27
false
MichaelAquilina/hashedindex
word_tokenize
15,963
LDU_FT/mdgart/sentrylogs/process_arguments
LDU_FT
[ "<BEGIN>\n## `process_arguments`", "Deal with arguments passed on the command line\n<END>", "<BEGIN>\n## `parse_sentry_configuration`", "Parse Sentry DSN out of an application or Sentry configuration file\n<END>", "<BEGIN>\n## `follow_tail`", "Read (tail and follow) the log file, parse entries and send me...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_arguments 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 process_arguments 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...
Deal with arguments passed on the command line
"Deal with arguments passed on the command line"
12
false
mdgart/sentrylogs
process_arguments
15,964
LDU_FT/Richienb/quilt/encryptstring
LDU_FT
[ "<BEGIN>\n## `userinput`", "Get the input of the user via a universally secure method.", " :type prompttext: string\n :param prompttext: The text to display while receiving the data.", " :type times: integer\n :param times: The amount of times to ask the user. If value is not 1, a list will be ret...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the encryptstring 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 encryptstring 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...
Encrypt a string according to a specific password. :type text: string :param text: The text to encrypt. :type pass: string :param pass: The password to encrypt the text with.
"Encrypt a string according to a specific password.\n\n :type text: string\n :param text: The text to encrypt.\n\n :type pass: string\n :param pass: The password to encrypt the text with."
210
false
Richienb/quilt
encryptstring
15,965
LDU_FT/Othernet-Project/hwd/aliases
LDU_FT
[ "<BEGIN>\n## `devices_by_subsystem`", "Iterator that yields devices that belong to specified subsystem. Returned\n values are ``pydev.Device`` instances.", " The ``only`` argument can be used to further filter devices. It should be\n a function that takes a ``pyudev.Device`` object, and returns ``True`...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the aliases 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 aliases 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...
Aliases for UBI volume. This propery evaluates to device node itself plus the ``'ubi${INDEX}:${LABEL}'`` string. The latter is used to identify the device in /proc/mounts table, and is not really an alias.
"Aliases for UBI volume. This propery evaluates to device node itself\n plus the ``'ubi${INDEX}:${LABEL}'`` string. The latter is used to\n identify the device in /proc/mounts table, and is not really an alias."
27
false
Othernet-Project/hwd
aliases
15,966
LDU_FT/sentinel-hub/sentinelhub-py/get_config_dict
LDU_FT
[ "<BEGIN>\n## `_get_utm_code`", "Get UTM code given a zone and direction", " Direction is encoded as NORTH=6, SOUTH=7, while zone is the UTM zone number zero-padded.\n For instance, the code 32604 is returned for zone number 4, north direction.", " :param zone: UTM zone number\n :type zone: int\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_config_dict 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_config_dict 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...
Get a dictionary representation of `SHConfig` class :return: A dictionary with configuration parameters :rtype: OrderedDict
"Get a dictionary representation of `SHConfig` class\n\n :return: A dictionary with configuration parameters\n :rtype: OrderedDict"
559
false
sentinel-hub/sentinelhub-py
get_config_dict
15,967
LDU_FT/bdastur/spam/is_file_encrypted
LDU_FT
[ "<BEGIN>\n## `rados_df`", "Invoked the rados df command and return output to user\n<END>", "<BEGIN>\n## `rados_parse_df`", "Parse the result from ansirunner module and save it as a json\n object\n<END>", "<BEGIN>\n## `is_file_encrypted`", "Given a file. Check if it is already encrypted.\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_file_encrypted 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 is_file_encrypted 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...
Given a file. Check if it is already encrypted.
"Given a file. Check if it is already encrypted."
14
false
bdastur/spam
is_file_encrypted
15,968
LDU_FT/manahl/arctic/_segment_index
LDU_FT
[ "<BEGIN>\n## `delete`", "Delete all chunks for a symbol.", " Which are, for the moment, fully contained in the passed in\n date_range.", " Parameters\n ----------\n symbol : `str`\n symbol name for the item\n date_range : `date.DateRange`\n DateR...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _segment_index 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 _segment_index 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...
Generate index of datetime64 -> item offset. Parameters: ----------- new_data: new data being written (or appended) existing_index: index field from the versions document of the previous version start: first (0-based) offset of the new data segments: list of offsets. Eac...
"Generate index of datetime64 -> item offset.\n\n Parameters:\n -----------\n new_data: new data being written (or appended)\n existing_index: index field from the versions document of the previous version\n start: first (0-based) offset of the new data\n segments: list of offs...
429
false
manahl/arctic
_segment_index
15,969
LDU_FT/chakki-works/seqeval/start_of_chunk
LDU_FT
[ "<BEGIN>\n## `find_pad_index`", "Find padding index.", " Args:\n array (list): integer list.", " Returns:\n idx: padding index.", " Examples:\n >>> array = [1, 2, 0]\n >>> self.find_pad_index(array)\n 2\n<END>", "<BEGIN>\n## `g...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start_of_chunk 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 start_of_chunk 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...
Checks if a chunk started between the previous and current word. Args: prev_tag: previous chunk tag. tag: current chunk tag. prev_type: previous type. type_: current type. Returns: chunk_start: boolean.
"Checks if a chunk started between the previous and current word.\n\n Args:\n prev_tag: previous chunk tag.\n tag: current chunk tag.\n prev_type: previous type.\n type_: current type.\n\n Returns:\n chunk_start: boolean."
73
false
chakki-works/seqeval
start_of_chunk
15,970
LDU_FT/eaton-lab/toytree/get_tip_labels
LDU_FT
[ "<BEGIN>\n## `_translate_nodes`", "Convert node names into node instances...\n<END>", "<BEGIN>\n## `add_child`", "Adds a new child to this node. If child node is not suplied\n as an argument, a new node instance will be created.", " Parameters\n ----------", " child: \n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_tip_labels 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_tip_labels 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...
Returns tip labels in the order they will be plotted on the tree, i.e., starting from zero axis and counting up by units of 1 (bottom to top in right-facing trees; left to right in down-facing). If 'idx' is indicated then a list of tip labels descended from that node will be returned,...
"Returns tip labels in the order they will be plotted on the tree, i.e.,\n starting from zero axis and counting up by units of 1 (bottom to top \n in right-facing trees; left to right in down-facing). If 'idx' is \n indicated then a list of tip labels descended from that node will be \n retu...
332
false
eaton-lab/toytree
get_tip_labels
15,971
LDU_FT/ganguli-lab/proxalgs/set_regularizers
LDU_FT
[ "<BEGIN>\n## `add_regularizer`", "Add a regularizer from the operators module to the list of objectives", " Parameters\n ----------\n proxfun : string or function\n If a string, then it must be the name of a corresponding function in the `operators` module.\n If a func...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_regularizers 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 set_regularizers 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 ...
Adds a set of regularizers Parameters ---------- regularizers : dict Each key is the name of a corresponding proximal operator, and the value associated with that key is a set of keyword arguments clear : boolean, optional Whether or not to clear the...
"Adds a set of regularizers\n\n Parameters\n ----------\n regularizers : dict\n Each key is the name of a corresponding proximal operator, and the\n value associated with that key is a set of keyword arguments\n\n clear : boolean, optional\n Whether or not to...
90
false
ganguli-lab/proxalgs
set_regularizers
15,972