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/SiLab-Bonn/pyBAR/get_n_cluster_per_event_hist
LDU_FT
[ "<BEGIN>\n## `thunkify`", "Make a function immediately return a function of no args which, when called,\n waits for the result, which will start being processed in another thread.\n Taken from https://wiki.python.org/moin/PythonDecoratorLibrary.\n<END>", "<BEGIN>\n## `set_event_when_keyboard_interrupt`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_n_cluster_per_event_hist API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_n_cluster_per_event_hist API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl...
Calculates the number of cluster in every event. Parameters ---------- cluster_table : pytables.table Returns ------- numpy.Histogram
"Calculates the number of cluster in every event.\n\n Parameters\n ----------\n cluster_table : pytables.table\n\n Returns\n -------\n numpy.Histogram"
501
false
SiLab-Bonn/pyBAR
get_n_cluster_per_event_hist
13,573
LDU_FT/zapier/django-rest-hooks/run
LDU_FT
[ "<BEGIN>\n## `run`", "target: the url to receive the payload.\n payload: a python primitive data structure\n instance: a possibly null \"trigger\" instance\n hook: the defining Hook object (useful for removing)\n<END>", "<BEGIN>\n## `model_saved`", "Automatically triggers \...
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...
target: the url to receive the payload. payload: a python primitive data structure instance: a possibly null "trigger" instance hook: the defining Hook object (useful for removing)
"target: the url to receive the payload.\n payload: a python primitive data structure\n instance: a possibly null \"trigger\" instance\n hook: the defining Hook object (useful for removing)"
22
false
zapier/django-rest-hooks
run
13,574
LDU_FT/juju-solutions/jujuresources/fetch
LDU_FT
[ "<BEGIN>\n## `config_get`", "Helper to access a Juju config option when charmhelpers is not available.", " :param str option_name: Name of the config option to get the value of\n<END>", "<BEGIN>\n## `fetch`", "Attempt to fetch all resources for a charm.", " :param list which: A name, or a list of on...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetch API. 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 fetch API. 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...
Create a local mirror of one or more resources.
"Create a local mirror of one or more resources."
34
false
juju-solutions/jujuresources
fetch
13,575
LDU_FT/mbakker7/timml/potinf
LDU_FT
[ "<BEGIN>\n## `plot`", "Plot layout", " Parameters\n ----------", " win : list or tuple\n [x1, x2, y1, y2]\n<END>", "<BEGIN>\n## `contour`", "Contour plot", " Parameters\n ----------", " win : list or tuple\n [x1, x2, y1, y2]\n ngr ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the potinf API. 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 potinf API. 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 ...
linesink 0, order 0, layer[0] order 0, layer[1] ... order 1, layer[0] order 1, layer[1] ... linesink 1, order 0, layer[0] order 0, layer[1] ... order 1,...
"linesink 0, order 0, layer[0]\n order 0, layer[1]\n ...\n order 1, layer[0]\n order 1, layer[1]\n ...\n linesink 1, order 0, layer[0]\n order 0, layer[1]\n ...\n ...
82
false
mbakker7/timml
potinf
13,576
LDU_FT/mcs07/ChemDataExtractor/strip_querystring
LDU_FT
[ "<BEGIN>\n## `train_punkt`", "Train Punkt sentence splitter using sentences in input.\n<END>", "<BEGIN>\n## `sentences`", "Read input document, and output sentences.\n<END>", "<BEGIN>\n## `_in_stoplist`", "Return True if the entity is in the stoplist.\n<END>", "<BEGIN>\n## `tag`", "Run individual chem...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the strip_querystring API. 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 strip_querystring API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Remove the querystring from the end of a URL.
"Remove the querystring from the end of a URL."
243
false
mcs07/ChemDataExtractor
strip_querystring
13,577
LDU_FT/kiwi0fruit/sugartex/main
LDU_FT
[ "<BEGIN>\n## `_search_regex`", "Search order:\n * specified regexps\n * operators sorted from longer to shorter\n<END>", "<BEGIN>\n## `spec`", "Returns prefix unary operators list.\n Sets only one regex for all items in the dict.\n<END>", "<BEGIN>\n## `fill`", "Insert:\n * math s...
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...
Usage: pre-sugartex [OPTIONS] Reads from stdin and writes to stdout. When no options: only replace U+02CE Modifier Letter Low Grave Accent (that looks like low '`') with $ Options: --all Full SugarTeX replace with regexp, --kiwi Same as above but with kiwi flavor, --...
"Usage: pre-sugartex [OPTIONS]\n\n Reads from stdin and writes to stdout.\n When no options: only replace\n U+02CE Modifier Letter Low Grave Accent\n (that looks like low '`') with $\n\n Options:\n --all Full SugarTeX replace with regexp,\n --kiwi Same as above but with kiwi flavor...
30
false
kiwi0fruit/sugartex
main
13,578
LDU_FT/mbr/simplekv/_check_valid_key
LDU_FT
[ "<BEGIN>\n## `delete`", "Implementation of :meth:`~simplekv.KeyValueStore.delete`.", " If an exception occurs in either the cache or backing store, all are\n passing on.\n<END>", "<BEGIN>\n## `get`", "Implementation of :meth:`~simplekv.KeyValueStore.get`.", " If a cache miss occurs, t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_valid_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 ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_valid_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 ...
Checks if a key is valid and raises a ValueError if its not. When in need of checking a key for validity, always use this method if possible. :param key: The key to be checked
"Checks if a key is valid and raises a ValueError if its not.\n\n When in need of checking a key for validity, always use this\n method if possible.\n\n :param key: The key to be checked"
86
false
mbr/simplekv
_check_valid_key
13,579
LDU_FT/HewlettPackard/python-hpOneView/do_post
LDU_FT
[ "<BEGIN>\n## `get_visual_content`", "Gets a list of visual content objects describing each rack within the data center. The response aggregates data\n center and rack data with a specified metric (peak24HourTemp) to provide simplified access to display data for\n the data center.", " Args:\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_post API. 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 do_post API. 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...
Helps to make post requests. Args: uri: URI of the resource. resource: Resource data to post. timeout: Time out for the request in seconds. cutom_headers: Allows to add custom http headers. Returns: Retunrs Task object.
"Helps to make post requests.\n\n Args:\n uri: URI of the resource.\n resource: Resource data to post.\n timeout: Time out for the request in seconds.\n cutom_headers: Allows to add custom http headers.\n\n Returns:\n Retunrs Task object."
1,297
true
HewlettPackard/python-hpOneView
do_post
13,580
LDU_FT/oasis-open/cti-stix-validator/valid_hash_value
LDU_FT
[ "<BEGIN>\n## `pretty_error`", "Return an error message that is easier to read and more useful.\n May require updating if the schemas change significantly.\n<END>", "<BEGIN>\n## `_iter_errors_custom`", "Perform additional validation not possible merely with JSON schemas.", " Args:\n instance: Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the valid_hash_value API. 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 valid_hash_value API. 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 true if given value is a valid, recommended hash name according to the STIX 2 specification.
"Return true if given value is a valid, recommended hash name according\n to the STIX 2 specification."
220
false
oasis-open/cti-stix-validator
valid_hash_value
13,581
LDU_FT/pkkid/python-plexapi/get
LDU_FT
[ "<BEGIN>\n## `registerPlexObject`", "Registry of library types we may come across when parsing XML. This allows us to\n define a few helper functions to dynamically convery the XML into objects. See\n buildItem() below for an example.\n<END>", "<BEGIN>\n## `cast`", "Cast the specified value to t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API. 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 get API. 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...
Returns the specified configuration value or <default> if not found. Parameters: key (str): Configuration variable to load in the format '<section>.<variable>'. default: Default value to use if key not found. cast (func): Cast the value to the specified type ...
"Returns the specified configuration value or <default> if not found.\n\n Parameters:\n key (str): Configuration variable to load in the format '<section>.<variable>'.\n default: Default value to use if key not found.\n cast (func): Cast the value to the specified...
372
false
pkkid/python-plexapi
get
13,582
LDU_FT/sdss/sdss_access/random
LDU_FT
[ "<BEGIN>\n## `remote`", "Configures remote access", " Parameters\n ----------\n remote_base : str\n base URL path for remote repository\n username : str\n user name for remote repository\n password : str\n password for local repository\n<END>",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the random API. 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 random API. 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 random number of the given type of file Parameters ---------- filetype : str File type parameter. num : int The number of files to return as_url: bool Boolean to return SAS urls refine: str Regular expression str...
"Returns random number of the given type of file\n\n Parameters\n ----------\n filetype : str\n File type parameter.\n\n num : int\n The number of files to return\n\n as_url: bool\n Boolean to return SAS urls\n\n refine: str\n Regular...
121
false
sdss/sdss_access
random
13,583
LDU_FT/adamreeve/npTDMS/as_hdf
LDU_FT
[ "<BEGIN>\n## `to_file`", "Wrapper around ndarray.tofile to support any file-like object\n<END>", "<BEGIN>\n## `write_segment`", "Write a segment of data to a TDMS file", " :param objects: A list of TdmsObject instances to write\n<END>", "<BEGIN>\n## `fromfile`", "Wrapper around np.fromfile to sup...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the as_hdf API. 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 as_hdf API. 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 ...
Converts the TDMS file into an HDF5 file :param filepath: The path of the HDF5 file you want to write to. :param mode: The write mode of the HDF5 file. This can be w, a ... :param group: A group in the HDF5 file that will contain the TDMS data.
"Converts the TDMS file into an HDF5 file\n\n :param filepath: The path of the HDF5 file you want to write to.\n :param mode: The write mode of the HDF5 file. This can be w, a ...\n :param group: A group in the HDF5 file that will contain the TDMS data."
65
false
adamreeve/npTDMS
as_hdf
13,584
LDU_FT/tehmaze/natural/_to_datetime
LDU_FT
[ "<BEGIN>\n## `ordinal`", "Converts a number to its ordinal representation.", " :param value: number", " >>> print(ordinal(1))\n 1st\n >>> print(ordinal(11))\n 11th\n >>> print(ordinal(101))\n 101st\n >>> print(ordinal(104))\n 104th\n >>> print(ordinal(113))\n 113th\n >>> pr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _to_datetime API. 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 _to_datetime API. 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...
Internal function that tries whatever to convert ``t`` into a :class:`datetime.datetime` object. >>> _to_datetime('2013-12-11') datetime.datetime(2013, 12, 11, 0, 0) >>> _to_datetime('Wed, 11 Dec 2013') datetime.datetime(2013, 12, 11, 0, 0) >>> _to_datetime('Wed, 11 Dec 13') datetime.datet...
"Internal function that tries whatever to convert ``t`` into a\n :class:`datetime.datetime` object.\n\n\n >>> _to_datetime('2013-12-11')\n datetime.datetime(2013, 12, 11, 0, 0)\n >>> _to_datetime('Wed, 11 Dec 2013')\n datetime.datetime(2013, 12, 11, 0, 0)\n >>> _to_datetime('Wed, 11 Dec 13')\n date...
153
false
tehmaze/natural
_to_datetime
13,585
LDU_FT/linnarsson-lab/loompy/aggregate
LDU_FT
[ "<BEGIN>\n## `create_append`", "**DEPRECATED** - Use `new` instead; see https://github.com/linnarsson-lab/loompy/issues/42\n<END>", "<BEGIN>\n## `new`", "Create an empty Loom file, and return it as a context manager.\n<END>", "<BEGIN>\n## `create`", "Create a new Loom file from the given data.", "\tArgs...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the aggregate API. 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 aggregate API. 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...
Aggregate the Loom file by applying aggregation functions to the main matrix as well as to the column attributes Args: out_file The name of the output Loom file (will be appended to if it exists) select Bool array giving the columns to include (or None, to include all) group_by The column attribute to grou...
"Aggregate the Loom file by applying aggregation functions to the main matrix as well as to the column attributes\n\n\t\tArgs:\n\t\t\tout_file\tThe name of the output Loom file (will be appended to if it exists)\n\t\t\tselect\t\tBool array giving the columns to include (or None, to include all)\n\t\t\tgroup_by\tThe col...
170
false
linnarsson-lab/loompy
aggregate
13,586
LDU_FT/apacha/OMR-Datasets/draw_capitan_stroke_onto_canvas
LDU_FT
[ "<BEGIN>\n## `move_images`", "Moves png-files one directory up from path/image/*.png -> path/*.png\n<END>", "<BEGIN>\n## `create_images`", "Creates a visual representation of the Homus Dataset by parsing all text-files and the symbols as specified\n by the parameters by drawing lines that connect the p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the draw_capitan_stroke_onto_canvas API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the draw_capitan_stroke_onto_canvas API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co...
Draws the symbol strokes onto a canvas :param export_path: The path, where the symbols should be created on disk :param stroke_thickness: :param margin:
"Draws the symbol strokes onto a canvas\n :param export_path: The path, where the symbols should be created on disk\n :param stroke_thickness:\n :param margin:"
53
false
apacha/OMR-Datasets
draw_capitan_stroke_onto_canvas
13,587
LDU_FT/Kopachris/seshet/part
LDU_FT
[ "<BEGIN>\n## `_add_channel_names`", "Add a new channel to self.channels and initialize its user list.", " Called as event handler for RPL_NAMES events. Do not call directly.\n<END>", "<BEGIN>\n## `join`", "Add this user to the channel's user list and add the channel to this\n user's list of jo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the part API. 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 part API. 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...
Remove this user from the channel's user list and remove the channel from this user's list of joined channels.
"Remove this user from the channel's user list and remove the channel\n from this user's list of joined channels."
49
false
Kopachris/seshet
part
13,588
LDU_FT/sckott/pygbif/name_parser
LDU_FT
[ "<BEGIN>\n## `name_suggest`", "A quick and simple autocomplete service that returns up to 20 name usages by\n doing prefix matching against the scientific name. Results are ordered by relevance.", " :param q: [str] Simple search parameter. The value for this parameter can be a\n simple word or a phrase. W...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the name_parser API. 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 name_parser API. 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...
Parse taxon names using the GBIF name parser :param name: [str] A character vector of scientific names. (required) reference: http://www.gbif.org/developer/species#parser Usage:: from pygbif import species species.name_parser('x Agropogon littoralis') species.name_parser(['Arrhenatherum elat...
"Parse taxon names using the GBIF name parser\n\n :param name: [str] A character vector of scientific names. (required)\n\n reference: http://www.gbif.org/developer/species#parser\n\n Usage::\n\n from pygbif import species\n species.name_parser('x Agropogon littoralis')\n species.name_parser(['Arrhena...
300
false
sckott/pygbif
name_parser
13,589
LDU_FT/talkincode/toughlib/urlquote
LDU_FT
[ "<BEGIN>\n## `make_sign`", ">>> make_sign(\"123456\",[1,'2',u'中文'])\n '33C9065427EECA3490C5642C99165145'\n<END>", "<BEGIN>\n## `check_sign`", ">>> check_sign(\"123456\",dict(code=1,s='2',msg=u'中文',sign='33C9065427EECA3490C5642C99165145'))\n True\n<END>", "<BEGIN>\n## `make_message`", ">>> js...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the urlquote API. 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 urlquote API. 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...
Quotes a string for use in a URL. >>> urlquote('://?f=1&j=1') '%3A//%3Ff%3D1%26j%3D1' >>> urlquote(None) '' >>> urlquote(u'\u203d') '%E2%80%BD'
"Quotes a string for use in a URL.\n \n >>> urlquote('://?f=1&j=1')\n '%3A//%3Ff%3D1%26j%3D1'\n >>> urlquote(None)\n ''\n >>> urlquote(u'\\u203d')\n '%E2%80%BD'"
35
false
talkincode/toughlib
urlquote
13,590
LDU_FT/mk-fg/feedjack/page_context
LDU_FT
[ "<BEGIN>\n## `getsteps`", "Returns a list with the max number of posts per \"tagcloud level\"\n<END>", "<BEGIN>\n## `build`", "Returns the tag cloud for a list of tags.\n<END>", "<BEGIN>\n## `cloudata`", "Returns a dictionary with all the tag clouds related to a site.\n<END>", "<BEGIN>\n## `getcloud`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the page_context API. 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 page_context API. 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...
Returns the context dictionary for a page view.
"Returns the context dictionary for a page view."
62
false
mk-fg/feedjack
page_context
13,591
LDU_FT/PyMySQL/Tornado-MySQL/executemany
LDU_FT
[ "<BEGIN>\n## `executemany`", "Run several data against one query", " PyMySQL can execute bulkinsert for query like 'INSERT ... VALUES (%s)'.\n In other form of queries, just run :meth:`execute` many times.\n<END>", "<BEGIN>\n## `fetchall`", "Fetch all, as per MySQLdb. Pretty useless for large ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the executemany API. 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 executemany API. 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...
Run several data against one query PyMySQL can execute bulkinsert for query like 'INSERT ... VALUES (%s)'. In other form of queries, just run :meth:`execute` many times.
"Run several data against one query\n\n PyMySQL can execute bulkinsert for query like 'INSERT ... VALUES (%s)'.\n In other form of queries, just run :meth:`execute` many times."
56
false
PyMySQL/Tornado-MySQL
executemany
13,592
LDU_FT/bskinn/opan/check_geom
LDU_FT
[ "<BEGIN>\n## `ortho_basis`", "Generates an orthonormal basis in the plane perpendicular to `normal`", " The orthonormal basis generated spans the plane defined with `normal` as\n its normal vector. The handedness of `on1` and `on2` in the returned\n basis is such that:", " .. math::", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_geom API. 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 check_geom API. 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...
Check for consistency of Hessian geometry with input coords/atoms. The cartesian coordinates associated with a Hessian object are considered consistent with the input `coords` and `atoms` if each component matches to within `tol` and all atoms are identical. If `coords` or `ato...
"Check for consistency of Hessian geometry with input coords/atoms.\n\n The cartesian coordinates associated with a Hessian object\n are considered consistent with the input `coords` and `atoms`\n if each component matches to within `tol` and all atoms\n are identical. If\n `coords` ...
445
false
bskinn/opan
check_geom
13,593
LDU_FT/pydata/numexpr/precompile
LDU_FT
[ "<BEGIN>\n## `set_vml_accuracy_mode`", "Set the accuracy mode for VML operations.", " The `mode` parameter can take the values:\n - 'high': high accuracy mode (HA), <1 least significant bit\n - 'low': low accuracy mode (LA), typically 1-2 least significant bits\n - 'fast': enhanced performance mode ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the precompile API. 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 precompile API. 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...
Compile the expression to an intermediate form.
"Compile the expression to an intermediate form."
69
false
pydata/numexpr
precompile
13,594
LDU_FT/neithere/monk/normalize_list_of_dicts
LDU_FT
[ "<BEGIN>\n## `_insert_defaults`", "Inserts default values from :attr:`StructuredDictMixin.structure`\n to `self` by merging the two structures\n (see :func:`monk.manipulation.merge_defaults`).\n<END>", "<BEGIN>\n## `opt_key`", "Returns a validator which allows the value to be missing.\n Simil...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the normalize_list_of_dicts 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 normalize_list_of_dicts API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
Converts given value to a list of dictionaries as follows: * ``[{...}]`` → ``[{...}]`` * ``{...}`` → ``[{...}]`` * ``'xyz'`` → ``[{default_key: 'xyz'}]`` * ``None`` → ``[{default_key: default_value}]`` (if specified) * ``None`` → ``[]`` :param default_value: only Unicode, i....
"Converts given value to a list of dictionaries as follows:\n\n * ``[{...}]`` → ``[{...}]``\n * ``{...}`` → ``[{...}]``\n * ``'xyz'`` → ``[{default_key: 'xyz'}]``\n * ``None`` → ``[{default_key: default_value}]`` (if specified)\n * ``None`` → ``[]``\n\n :param default_value:\n only U...
64
false
neithere/monk
normalize_list_of_dicts
13,595
LDU_FT/budacom/trading-bots/handle_template
LDU_FT
[ "<BEGIN>\n## `fetch_deposits`", "Fetch latest deposits, must provide a limit.\n<END>", "<BEGIN>\n## `fetch_deposits_since`", "Fetch all deposits since the given timestamp.\n<END>", "<BEGIN>\n## `fetch_withdrawals`", "Fetch latest withdrawals, must provide a limit.\n<END>", "<BEGIN>\n## `fetch_withdrawal...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_template API. 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 handle_template API. 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...
Copy either a bot layout template or a Trading-Bots project layout template into the specified directory. :param bot_or_project: The string 'bot' or 'project'. :param name: The name of the bot or project. :param target: The directory to which the template should be copied. :param options: The additi...
"Copy either a bot layout template or a Trading-Bots project\n layout template into the specified directory.\n :param bot_or_project: The string 'bot' or 'project'.\n :param name: The name of the bot or project.\n :param target: The directory to which the template should be copied.\n :param options: The ...
62
false
budacom/trading-bots
handle_template
13,596
LDU_FT/syndbg/demonoid-api/fetch
LDU_FT
[ "<BEGIN>\n## `get_params`", "Static method that parses a given `url` and retrieves `url`'s parameters. Could also ignore empty value parameters.\n Handles parameters-only urls as `q=banana&peel=false`.", " :param str url: url to parse\n :param bool ignore_empty: ignore empty value parameter...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetch API. 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 fetch API. 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...
Makes a request to combined url with `self._params` as parameters. If the server at combined url responds with Client or Server error, raises an exception. :return: the response from combined url :rtype: requests.models.Response
"Makes a request to combined url with `self._params` as parameters.\n If the server at combined url responds with Client or Server error, raises an exception.\n\n :return: the response from combined url\n :rtype: requests.models.Response"
27
false
syndbg/demonoid-api
fetch
13,597
LDU_FT/IRC-SPHERE/HyperStream/add_plate
LDU_FT
[ "<BEGIN>\n## `func_load`", "Reload a function\n :param code: The code object\n :param defaults: Default values\n :param closure: The closure\n :param globs: globals\n :return:\n<END>", "<BEGIN>\n## `func_reconstruct_closure`", "Deserialization helper that reconstructs a closure\n :param valu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_plate API. 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 add_plate API. 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...
Add a plate using the plate definition :param plate_definition: The plate definition :return: None :type plate_definition: PlateDefinitionModel
"Add a plate using the plate definition\n :param plate_definition: The plate definition\n :return: None\n :type plate_definition: PlateDefinitionModel"
292
false
IRC-SPHERE/HyperStream
add_plate
13,598
LDU_FT/ashmastaflash/kal-wrapper/scan_band
LDU_FT
[ "<BEGIN>\n## `scan_band`", "Run Kalibrate for a band.", " Supported keyword arguments:\n gain -- Gain in dB\n device -- Index of device to be used\n error -- Initial frequency error in ppm\n<END>", "<BEGIN>\n## `scan_channel`", "Run Kalibrate.", " Supported keyword...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the scan_band API. 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 scan_band API. 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...
Run Kalibrate for a band. Supported keyword arguments: gain -- Gain in dB device -- Index of device to be used error -- Initial frequency error in ppm
"Run Kalibrate for a band.\n\n Supported keyword arguments:\n gain -- Gain in dB\n device -- Index of device to be used\n error -- Initial frequency error in ppm"
25
false
ashmastaflash/kal-wrapper
scan_band
13,599
LDU_FT/stan-dev/pystan/_writable_sample_file
LDU_FT
[ "<BEGIN>\n## `lookup`", "Look up for a Stan function with similar functionality to a Python\n function (or even an R function, see examples). If the function is\n not present on the lookup table, then attempts to find similar one\n and prints the results. This function requires package `pandas`.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _writable_sample_file 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 _writable_sample_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Check to see if file is writable, if not use temporary file
"Check to see if file is writable, if not use temporary file"
222
false
stan-dev/pystan
_writable_sample_file
13,600
LDU_FT/mozilla-releng/scriptworker/verify_chain_of_trust
LDU_FT
[ "<BEGIN>\n## `create_queue`", "Create a taskcluster queue.", " Args:\n credentials (dict): taskcluster credentials.\n<END>", "<BEGIN>\n## `write_json`", "Write json to disk.", " Args:\n path (str): the path to write to\n contents (dict): the contents of the j...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the verify_chain_of_trust 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 verify_chain_of_trust API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Build and verify the chain of trust. Args: chain (ChainOfTrust): the chain we're operating on Raises: CoTError: on failure
"Build and verify the chain of trust.\n\n Args:\n chain (ChainOfTrust): the chain we're operating on\n\n Raises:\n CoTError: on failure"
621
false
mozilla-releng/scriptworker
verify_chain_of_trust
13,601
LDU_FT/oblalex/candv/merge_into_group
LDU_FT
[ "<BEGIN>\n## `merge_into_group`", "Redefines :meth:`~candv.base.Constant.merge_into_group` and adds\n ``verbose_name`` and ``help_text`` attributes to the target group.\n<END>", "<BEGIN>\n## `merge_into_group`", "Redefines :meth:`~candv.base.Constant.merge_into_group` and adds\n ``value`` attrib...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the merge_into_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 ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the merge_into_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 ...
Redefines :meth:`~candv.base.Constant.merge_into_group` and adds ``value`` attribute to the target group.
"Redefines :meth:`~candv.base.Constant.merge_into_group` and adds\n ``value`` attribute to the target group."
12
false
oblalex/candv
merge_into_group
13,602
LDU_FT/cemsbr/yala/parse
LDU_FT
[ "<BEGIN>\n## `_set_linters`", "Use user linters or all available when not specified.\n<END>", "<BEGIN>\n## `print_config`", "Print all yala configurations, including default and user's.\n<END>", "<BEGIN>\n## `_parse_cfg_linters`", "Return valid linter names found in config files.\n<END>", "<BEGIN>\n## `...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API. 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 parse API. 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...
Get :class:`base.Result` parameters using regex.
"Get :class:`base.Result` parameters using regex."
45
false
cemsbr/yala
parse
13,603
LDU_FT/StorjOld/pyp2p/synchronize_simultaneous
LDU_FT
[ "<BEGIN>\n## `set_keep_alive`", "This function instructs the TCP socket to send a heart beat every n\n seconds to detect dead connections. It's the TCP equivalent of the\n IRC ping-pong protocol and allows for better cleanup / detection\n of dead TCP connections.", " It activates aft...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the synchronize_simultaneous API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the synchronize_simultaneous API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Because adjacent mappings for certain NAT types can be stolen by other connections, the purpose of this function is to ensure the last connection by a passive simultaneous node is recent compared to the time for a candidate to increase the chance that the precited mappings r...
"Because adjacent mappings for certain NAT types can\r\n be stolen by other connections, the purpose of this\r\n function is to ensure the last connection by a passive\r\n simultaneous node is recent compared to the time for\r\n a candidate to increase the chance that the precited\r\n ...
88
false
StorjOld/pyp2p
synchronize_simultaneous
13,604
LDU_FT/Fizzadar/pydocs/_parse_module_list
LDU_FT
[ "<BEGIN>\n## `parse_module`", "Parse a module's attributes and generate a markdown document.\n<END>", "<BEGIN>\n## `_parse_module_list`", "Loop through all the modules and parse them.\n<END>", "<BEGIN>\n## `_build_module_list`", "Builds a list of python modules in the current directory.\n<END>", "<BEGIN...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_module_list API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_module_list API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
Loop through all the modules and parse them.
"Loop through all the modules and parse them."
13
false
Fizzadar/pydocs
_parse_module_list
13,605
LDU_FT/mitodl/mit-moira/user_list_membership
LDU_FT
[ "<BEGIN>\n## `user_lists`", "Look up all the lists that the user is a member of.", " Args:\n username (str): The MIT username of the user\n member_type(str): The type of user, \"USER\" or \"STRING\"", " Returns:\n list of strings: names of the lists that this use...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the user_list_membership API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the user_list_membership 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 info for lists a user is a member of. This is similar to :meth:`user_lists` but with a few differences: #. It returns list info objects instead of list names. #. It has an option to fully resolve a user's list hierarchy. That is, if a user is a member of a nested lis...
"Get info for lists a user is a member of.\n\n This is similar to :meth:`user_lists` but with a few differences:\n\n #. It returns list info objects instead of list names.\n #. It has an option to fully resolve a user's list hierarchy. That\n is, if a user is a member of a nes...
29
false
mitodl/mit-moira
user_list_membership
13,606
LDU_FT/cloudera/impyla/_get_table_schema_hack
LDU_FT
[ "<BEGIN>\n## `drop_database`", "Parameters:\n - name\n - deleteData\n - cascade\n<END>", "<BEGIN>\n## `get_fields`", "Parameters:\n - db_name\n - table_name\n<END>", "<BEGIN>\n## `get_fields_with_environment_context`", "Parameters:\n - db_name\n - table_name\n - environment...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_table_schema_hack 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_table_schema_hack 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 the schema of table by talking to Impala table must be a string (incl possible db name)
"Get the schema of table by talking to Impala\n\n table must be a string (incl possible db name)"
206
false
cloudera/impyla
_get_table_schema_hack
13,607
LDU_FT/openfisca/openfisca-core/get_memory_usage
LDU_FT
[ "<BEGIN>\n## `apply_thresholds`", "Return one of the choices depending on the input position compared to thresholds, for each input.", " >>> apply_thresholds(np.array([4]), [5, 7], [10, 15, 20])\n array([10])\n >>> apply_thresholds(np.array([5]), [5, 7], [10, 15, 20])\n array([10])\n >>> apply_th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_memory_usage API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_memory_usage API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Get data about the virtual memory usage of the holder. :returns: Memory usage data :rtype: dict Example: >>> holder.get_memory_usage() >>> { >>> 'nb_arrays': 12, # The holder contains the variable values for 12 different periods ...
"Get data about the virtual memory usage of the holder.\n\n :returns: Memory usage data\n :rtype: dict\n\n Example:\n\n >>> holder.get_memory_usage()\n >>> {\n >>> 'nb_arrays': 12, # The holder contains the variable values for 12 different periods\n ...
322
false
openfisca/openfisca-core
get_memory_usage
13,608
LDU_FT/spotify/luigi/start_session
LDU_FT
[ "<BEGIN>\n## `_fetch_json`", "Returns the json representation of the dep graph\n<END>", "<BEGIN>\n## `prefix_search`", "Searches for jobs matching the given ``job_name_prefix``.\n<END>", "<BEGIN>\n## `status_search`", "Searches for jobs matching the given ``status``.\n<END>", "<BEGIN>\n## `move`", "Mo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start_session API. 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 start_session API. 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...
Starts a Salesforce session and determines which SF instance to use for future requests.
"Starts a Salesforce session and determines which SF instance to use for future requests."
765
false
spotify/luigi
start_session
13,609
LDU_FT/bkabrda/flask-whooshee/search
LDU_FT
[ "<BEGIN>\n## `whooshee_search`", "Do a fulltext search on the query.\n Returns a query filtered with results of the fulltext search.", " :param search_string: The string to search for.\n :param group: The whoosh group to use for searching.\n Defaults to :class:`whoosh.q...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search API. 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 search API. 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 ...
Searches the fields for given search_string. Returns the found records if 'values_of' is left empty, else the values of the given columns. :param search_string: The string to search for. :param values_of: If given, the method will not return the whole records, ...
"Searches the fields for given search_string.\n Returns the found records if 'values_of' is left empty,\n else the values of the given columns.\n\n :param search_string: The string to search for.\n :param values_of: If given, the method will not return the whole\n re...
30
false
bkabrda/flask-whooshee
search
13,610
LDU_FT/cloudsmith-io/cloudsmith-cli/refresh
LDU_FT
[ "<BEGIN>\n## `convert`", "Take a path with $HOME variables and resolve it to full path.\n<END>", "<BEGIN>\n## `make_user_agent`", "Get a suitable user agent for identifying the CLI process.\n<END>", "<BEGIN>\n## `pretty_print_list_info`", "Pretty print list info, with pagination, for user display.\n<END>"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the refresh API. 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 refresh API. 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...
Refresh an entitlement in a repository. Note that this changes the token associated with the entitlement. - OWNER/REPO/IDENTIFIER: Specify the OWNER namespace (i.e. user or org), and the REPO name that has an entitlement identified by IDENTIFIER. All separated by a slash. Example: 'your-o...
"Refresh an entitlement in a repository.\n\n Note that this changes the token associated with the entitlement.\n\n - OWNER/REPO/IDENTIFIER: Specify the OWNER namespace (i.e. user or org),\n and the REPO name that has an entitlement identified by IDENTIFIER. All\n separated by a slash.\n\n Example...
214
false
cloudsmith-io/cloudsmith-cli
refresh
13,611
LDU_FT/edx/django-user-tasks/cancel
LDU_FT
[ "<BEGIN>\n## `on_init`", "Run sphinx-apidoc and swg2rst after Sphinx initialization.", " Read the Docs won't run tox or custom shell commands, so we need this to\n avoid checking in the generated reStructuredText files.\n<END>", "<BEGIN>\n## `create_user_task`", "Create a :py:class:`UserTaskStatus` re...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cancel API. 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 cancel API. 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 ...
Cancel the task associated with the specified status record. Arguments: request (Request): A POST including a task status record ID Returns ------- Response: A JSON response indicating whether the cancellation succeeded or not
"Cancel the task associated with the specified status record.\n\n Arguments:\n request (Request): A POST including a task status record ID\n\n Returns\n -------\n Response: A JSON response indicating whether the cancellation succeeded or not"
43
false
edx/django-user-tasks
cancel
13,612
LDU_FT/tzutalin/labelImg/selectShapePoint
LDU_FT
[ "<BEGIN>\n## `newAction`", "Create a new action and assign callbacks, shortcuts, etc.\n<END>", "<BEGIN>\n## `natural_sort`", "Sort the list into natural alphanumeric order.\n<END>", "<BEGIN>\n## `mouseMoveEvent`", "Update line with last point and current coordinates.\n<END>", "<BEGIN>\n## `selectShapePo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the selectShapePoint API. 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 selectShapePoint API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Select the first shape created which contains this point.
"Select the first shape created which contains this point."
29
false
tzutalin/labelImg
selectShapePoint
13,613
LDU_FT/brutasse/graphite-api/movingAverage
LDU_FT
[ "<BEGIN>\n## `_find_paths`", "Recursively generates absolute paths whose components\n underneath current_dir match the corresponding pattern in\n patterns\n<END>", "<BEGIN>\n## `union_overlapping`", "Union any overlapping intervals in the given set.\n<END>", "<BEGIN>\n## `recurse`", "Recursi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the movingAverage API. 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 movingAverage API. 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...
Graphs the moving average of a metric (or metrics) over a fixed number of past points, or a time interval. Takes one metric or a wildcard seriesList followed by a number N of datapoints or a quoted string with a length of time like '1hour' or '5min' (See ``from / until`` in the render\_api_ for example...
"Graphs the moving average of a metric (or metrics) over a fixed number of\n past points, or a time interval.\n\n Takes one metric or a wildcard seriesList followed by a number N of\n datapoints or a quoted string with a length of time like '1hour' or '5min'\n (See ``from / until`` in the render\\_api_ for ...
519
false
brutasse/graphite-api
movingAverage
13,614
LDU_FT/fracpete/python-weka-wrapper/options
LDU_FT
[ "<BEGIN>\n## `next`", "Reads the next dataset row.", " :return: the next row\n :rtype: Instance\n<END>", "<BEGIN>\n## `main`", "Runs a associator from the command-line. Calls JVM start/stop automatically.\n Use -h to see all options.\n<END>", "<BEGIN>\n## `next`", "Returns the next rule...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the options API. 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 options API. 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...
Obtains the currently set options as list. :return: the list of options :rtype: list
"Obtains the currently set options as list.\n\n :return: the list of options\n :rtype: list"
68
false
fracpete/python-weka-wrapper
options
13,615
LDU_FT/wrobstory/vincent/stroke_opacity
LDU_FT
[ "<BEGIN>\n## `fill_opacity`", "ValueRef : int or float, opacity of the fill (0 to 1)\n<END>", "<BEGIN>\n## `stroke_width`", "ValueRef : int, width of the stroke in pixels\n<END>", "<BEGIN>\n## `stroke_opacity`", "ValueRef : number, opacity of the stroke (0 to 1)\n<END>", "<BEGIN>\n## `size`", "ValueRe...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stroke_opacity API. 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 stroke_opacity API. 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...
ValueRef : number, opacity of the stroke (0 to 1)
"ValueRef : number, opacity of the stroke (0 to 1)"
139
false
wrobstory/vincent
stroke_opacity
13,616
LDU_FT/annayqho/TheCannon/overlay_spectra
LDU_FT
[ "<BEGIN>\n## `gen_cannon_grad_spec`", "Generate Cannon gradient spectra", " Parameters\n ----------\n labels: default values for [teff, logg, feh, cfe, nfe, afe, ak]\n choose: val of cfe or nfe, whatever you're varying\n low: lowest val of cfe or nfe, whatever you're varying\n high: highest va...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the overlay_spectra API. 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 overlay_spectra API. 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...
Run a series of diagnostics on the fitted spectra Parameters ---------- model: model best-fit Cannon spectral model dataset: Dataset original spectra
"Run a series of diagnostics on the fitted spectra \n\n Parameters\n ----------\n model: model\n best-fit Cannon spectral model\n \n dataset: Dataset\n original spectra"
188
false
annayqho/TheCannon
overlay_spectra
13,617
LDU_FT/Projectplace/basepage/upload_to_file_input
LDU_FT
[ "<BEGIN>\n## `click`", "Click web element.", " :param locator: locator tuple or WebElement instance\n :param params: (optional) locator parameters\n :param timeout: (optional) time to wait for element\n :return: None\n<END>", "<BEGIN>\n## `alt_click`", "Alt-click web element.", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the upload_to_file_input 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 upload_to_file_input API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Sends in path in an <input type=file> to upload a file. The <input type=file> must be set to be visible, usually by setting the style of the element to display-block; instead of display-none or nothing at all. Uses WebElement's send_keys instead of ActionChains. :param locator: locator tuple or...
"Sends in path in an <input type=file> to upload a file. The <input type=file> must be set to be visible,\n usually by setting the style of the element to display-block; instead of display-none or nothing at all.\n Uses WebElement's send_keys instead of ActionChains.\n\n :param locator: locator tup...
138
false
Projectplace/basepage
upload_to_file_input
13,618
LDU_FT/stoneworksolutions/stoneredis/wait_for_lock
LDU_FT
[ "<BEGIN>\n## `reconnect`", "Connects to Redis with a exponential waiting (3**n)\n<END>", "<BEGIN>\n## `_multi_lpop_pipeline`", "Pops multiple elements from a list in a given pipeline\n<END>", "<BEGIN>\n## `multi_lpop`", "Pops multiple elements from a list\r\n This operation will be atomic if tr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wait_for_lock API. 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 wait_for_lock API. 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...
Gets a lock or waits until it is able to get it
"Gets a lock or waits until it is able to get it"
20
false
stoneworksolutions/stoneredis
wait_for_lock
13,619
LDU_FT/smnorris/pgdata/tables_in_schema
LDU_FT
[ "<BEGIN>\n## `schemas`", "Get a listing of all non-system schemas (prefixed with 'pg_') that\n exist in the database.\n<END>", "<BEGIN>\n## `tables`", "Get a listing of all tables\n - if schema specified on connect, return unqualifed table names in\n that schema\n - in no s...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tables_in_schema API. 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 tables_in_schema API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Get a listing of all tables in given schema
"Get a listing of all tables in given schema"
50
false
smnorris/pgdata
tables_in_schema
13,620
LDU_FT/daveoncode/python-string-utils/is_credit_card
LDU_FT
[ "<BEGIN>\n## `is_url`", "Check if a string is a valid url.", " :param string: String to check.\n :param allowed_schemes: List of valid schemes ('http', 'https', 'ftp'...). Default to None (any scheme is valid).\n :return: True if url, false otherwise\n :rtype: bool\n<END>", "<BEGIN>\n## `is_credit...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_credit_card API. 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 is_credit_card API. 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 string is a valid credit card number. If card type is provided then it checks that specific type, otherwise any known credit card number will be accepted. :param string: String to check. :type string: str :param card_type: Card type. :type card_type: str Can be one of these: ...
"Checks if a string is a valid credit card number.\n If card type is provided then it checks that specific type,\n otherwise any known credit card number will be accepted.\n\n :param string: String to check.\n :type string: str\n :param card_type: Card type.\n :type card_type: str\n\n Can be one of...
46
false
daveoncode/python-string-utils
is_credit_card
13,621
LDU_FT/yfpeng/bioc/parse_relation
LDU_FT
[ "<BEGIN>\n## `decodes`", "Deserialize ``s`` to a BioC collection object.", " Args:\n s: a \"str\" instance containing a BioC collection", " Returns:\n an object of BioCollection\n<END>", "<BEGIN>\n## `decode`", "Deserialize ``fp`` to a BioC collection object.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_relation API. 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_relation API. 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...
Deserialize a dict obj to a BioCRelation object
"Deserialize a dict obj to a BioCRelation object"
75
false
yfpeng/bioc
parse_relation
13,622
LDU_FT/yougov/mongo-connector/unmap_namespace
LDU_FT
[ "<BEGIN>\n## `retry_until_ok`", "Retry code block until it succeeds.", " If it does not succeed in 120 attempts, the function re-raises any\n error the function raised on its last attempt.\n<END>", "<BEGIN>\n## `apply_update`", "Apply an update operation to a document.\n<END>", "<BEGIN>\n## `bulk_up...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unmap_namespace API. 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 unmap_namespace API. 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...
Given a plain target namespace, return the corresponding source namespace.
"Given a plain target namespace, return the corresponding source\n namespace."
115
false
yougov/mongo-connector
unmap_namespace
13,623
LDU_FT/click-contrib/click-configfile/collect_config_sections_from_schemas
LDU_FT
[ "<BEGIN>\n## `find_packages_by_root_package`", "Better than excluding everything that is not needed,\n collect only what is needed.\n<END>", "<BEGIN>\n## `make_long_description`", "click_ is a framework to simplify writing composable commands for\n command-line tools. This package extends the click_ fun...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the collect_config_sections_from_schemas API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the collect_config_sections_from_schemas API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates i...
Derive support config section names from config section schemas. If no :param:`config_section_schemas` are provided, the schemas from this class are used (normally defined in the DerivedClass). :param config_section_schemas: List of config section schema classes. :return: List of confi...
"Derive support config section names from config section schemas.\n If no :param:`config_section_schemas` are provided, the schemas from\n this class are used (normally defined in the DerivedClass).\n\n :param config_section_schemas: List of config section schema classes.\n :return: List of...
181
false
click-contrib/click-configfile
collect_config_sections_from_schemas
13,624
LDU_FT/OCR-D/core/ocrd_tool_tool_parse_params
LDU_FT
[ "<BEGIN>\n## `xmllint_format`", "Pretty-print XML like ``xmllint`` does.", " Arguments:\n xml (string): Serialized XML\n<END>", "<BEGIN>\n## `download_to_directory`", "Download a file to the workspace.", " Early Shortcut: If url is a file://-URL and that file is already in the directory, ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ocrd_tool_tool_parse_params API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ocrd_tool_tool_parse_params API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
Parse parameters with fallback to defaults and output as shell-eval'able assignments to params var.
"Parse parameters with fallback to defaults and output as shell-eval'able assignments to params var."
176
false
OCR-D/core
ocrd_tool_tool_parse_params
13,625
LDU_FT/jbasko/autoboto/of
LDU_FT
[ "<BEGIN>\n## `of`", "By default, marks the block as expecting an indented \"body\" blocks of which are then supplied\n as arguments to this method.", " Unless the block specifies a \"closed_by\", if no body blocks are supplied or they are all Nones,\n this will generate a \"pass\" statement...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the of API. 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 of API. 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...
By default, marks the block as expecting an indented "body" blocks of which are then supplied as arguments to this method. Unless the block specifies a "closed_by", if no body blocks are supplied or they are all Nones, this will generate a "pass" statement as the body. If there is a "closed_by"...
"By default, marks the block as expecting an indented \"body\" blocks of which are then supplied\n as arguments to this method.\n\n Unless the block specifies a \"closed_by\", if no body blocks are supplied or they are all Nones,\n this will generate a \"pass\" statement as the body. If there is a ...
29
false
jbasko/autoboto
of
13,626
LDU_FT/xi/ldif3/_fold_line
LDU_FT
[ "<BEGIN>\n## `_fold_line`", "Write string line as one or more folded lines.\n<END>", "<BEGIN>\n## `_needs_base64_encoding`", "Return True if attr_value has to be base-64 encoded.", " This is the case because of special chars or because attr_type is in\n self._base64_attrs\n<END>", "<BEGIN>\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _fold_line API. 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 _fold_line API. 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...
Write string line as one or more folded lines.
"Write string line as one or more folded lines."
25
false
xi/ldif3
_fold_line
13,627
LDU_FT/django-haystack/pysolr/unescape_html
LDU_FT
[ "<BEGIN>\n## `force_unicode`", "Forces a bytestring to become a Unicode string.\n<END>", "<BEGIN>\n## `force_bytes`", "Forces a Unicode string to become a bytestring.\n<END>", "<BEGIN>\n## `unescape_html`", "Removes HTML or XML character references and entities from a text string.", " @param text The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unescape_html API. 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 unescape_html API. 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...
Removes HTML or XML character references and entities from a text string. @param text The HTML (or XML) source text. @return The plain text, as a Unicode string, if necessary. Source: http://effbot.org/zone/re-sub.htm#unescape-html
"Removes HTML or XML character references and entities from a text string.\n\n @param text The HTML (or XML) source text.\n @return The plain text, as a Unicode string, if necessary.\n\n Source: http://effbot.org/zone/re-sub.htm#unescape-html"
102
false
django-haystack/pysolr
unescape_html
13,628
LDU_FT/zalando/patroni/invoke_editor
LDU_FT
[ "<BEGIN>\n## `create_connection`", "This method is trying to establish connection with one of the zookeeper nodes.\n Somehow strategy \"fail earlier and retry more often\" works way better comparing to\n the original strategy \"try to connect with specified timeout\".\n Since we want...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the invoke_editor API. 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 invoke_editor API. 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...
Starts editor command to edit configuration in human readable format :param before_editing: human representation before editing :returns tuple of human readable and parsed datastructure after changes
"Starts editor command to edit configuration in human readable format\n\n :param before_editing: human representation before editing\n :returns tuple of human readable and parsed datastructure after changes"
228
false
zalando/patroni
invoke_editor
13,629
LDU_FT/GGiecold/Cluster_Ensembles/store_hypergraph_adjacency
LDU_FT
[ "<BEGIN>\n## `memory`", "Determine memory specifications of the machine.", " Returns\n -------\n mem_info : dictonary\n Holds the current values for the total, free and used memory of the system.\n<END>", "<BEGIN>\n## `get_chunk_size`", "Given a two-dimensional array with a dimension of size...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the store_hypergraph_adjacency API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the store_hypergraph_adjacency API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
Write an hypergraph adjacency to disk to disk in an HDF5 data structure. Parameters ---------- hypergraph_adjacency : compressed sparse row matrix hdf5_file_name : file handle or string
"Write an hypergraph adjacency to disk to disk in an HDF5 data structure.\n \n Parameters\n ----------\n hypergraph_adjacency : compressed sparse row matrix\n \n hdf5_file_name : file handle or string"
110
false
GGiecold/Cluster_Ensembles
store_hypergraph_adjacency
13,630
LDU_FT/CogSciUOS/StudDP/path
LDU_FT
[ "<BEGIN>\n## `path`", "Path of this node on Studip. Looks like Coures/folder/folder/document. Respects the renaming policies defined in the namemap\n<END>", "<BEGIN>\n## `title`", "get title of this node. If an entry for this course is found in the configuration namemap it is used, otherwise the default\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the path API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the path API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Path of this node on Studip. Looks like Coures/folder/folder/document. Respects the renaming policies defined in the namemap
"Path of this node on Studip. Looks like Coures/folder/folder/document. Respects the renaming policies defined in the namemap"
26
false
CogSciUOS/StudDP
path
13,631
LDU_FT/Autodesk/pyccc/open
LDU_FT
[ "<BEGIN>\n## `persistent_id`", "Tags objects with a persistent ID, but do NOT emit it\n<END>", "<BEGIN>\n## `open`", "Return file-like object (actually opens the file for this class)\n<END>", "<BEGIN>\n## `_open_tmpfile`", "Open a temporary, unique file in CACHEDIR (/tmp/cyborgcache) by default.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the open API. 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 open API. 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 file-like object (actually opens the file for this class)
"Return file-like object (actually opens the file for this class)"
114
false
Autodesk/pyccc
open
13,632
LDU_FT/ifduyue/urlfetch/request
LDU_FT
[ "<BEGIN>\n## `fetch`", "fetch an URL.", " :func:`~urlfetch.fetch` is a wrapper of :func:`~urlfetch.request`.\n It calls :func:`~urlfetch.get` by default. If one of parameter ``data``\n or parameter ``files`` is supplied, :func:`~urlfetch.post` is called.\n<END>", "<BEGIN>\n## `request`", "request a...
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...
request an URL :arg string url: URL to be fetched. :arg string method: (optional) HTTP method, one of ``GET``, ``DELETE``, ``HEAD``, ``OPTIONS``, ``PUT``, ``POST``, ``TRACE``, ``PATCH``. ``GET`` is the default. :arg dict/string params: (optional) Dict or stri...
"request an URL\n\n :arg string url: URL to be fetched.\n :arg string method: (optional) HTTP method, one of ``GET``, ``DELETE``,\n ``HEAD``, ``OPTIONS``, ``PUT``, ``POST``, ``TRACE``,\n ``PATCH``. ``GET`` is the default.\n :arg dict/string params: (optional) Dict ...
33
false
ifduyue/urlfetch
request
13,633
LDU_FT/MillionIntegrals/vel/model_estimated_values_next
LDU_FT
[ "<BEGIN>\n## `histogram_info`", "Return extra information about histogram\n<END>", "<BEGIN>\n## `sample`", "Sample from a greedy strategy with given q-value histogram\n<END>", "<BEGIN>\n## `sample_forward_transitions`", "Sample transitions from replay buffer with _forward steps_.\n That is, instead...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the model_estimated_values_next API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the model_estimated_values_next API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
Estimate state-value of the transition next state
"Estimate state-value of the transition next state"
279
false
MillionIntegrals/vel
model_estimated_values_next
13,634
LDU_FT/openeemeter/eeweather/build_metadata_db
LDU_FT
[ "<BEGIN>\n## `get_lat_long_climate_zones`", "Get climate zones that contain lat/long coordinates.", " Parameters\n ----------\n latitude : float\n Latitude of point.\n longitude : float\n Longitude of point.", " Returns\n -------\n climate_zones: dict of str\n Region ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_metadata_db API. 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 build_metadata_db API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Build database of metadata from primary sources. Downloads primary sources, clears existing DB, and rebuilds from scratch. Parameters ---------- zcta_geometry : bool, optional Whether or not to include ZCTA geometry in database. iecc_climate_zone_geometry : bool, optional Whether o...
"Build database of metadata from primary sources.\n\n Downloads primary sources, clears existing DB, and rebuilds from scratch.\n\n Parameters\n ----------\n zcta_geometry : bool, optional\n Whether or not to include ZCTA geometry in database.\n iecc_climate_zone_geometry : bool, optional\n ...
68
false
openeemeter/eeweather
build_metadata_db
13,635
LDU_FT/ultradns/python_rest_api_client/create_tc_pool
LDU_FT
[ "<BEGIN>\n## `create_primary_zone`", "Creates a new primary zone.", " Arguments:\n account_name -- The name of the account that will contain this zone.\n zone_name -- The name of the zone. It must be unique.\n<END>", "<BEGIN>\n## `create_primary_zone_by_upload`", "Creates a new primary...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_tc_pool API. 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 create_tc_pool API. 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...
Creates a new TC Pool. Arguments: zone_name -- The zone that contains the RRSet. The trailing dot is optional. owner_name -- The owner name for the RRSet. If no trailing dot is supplied, the owner_name is assumed to be relative (foo). If a trailing d...
"Creates a new TC Pool.\n\n Arguments:\n zone_name -- The zone that contains the RRSet. The trailing dot is optional.\n owner_name -- The owner name for the RRSet.\n If no trailing dot is supplied, the owner_name is assumed to be relative (foo).\n If a tra...
69
false
ultradns/python_rest_api_client
create_tc_pool
13,636
LDU_FT/panosl/django-currencies/get_info
LDU_FT
[ "<BEGIN>\n## `get_imports`", "See if we have been passed a set of currencies or a setting variable\n or look for settings CURRENCIES or SHOP_CURRENCIES.\n<END>", "<BEGIN>\n## `log`", "Both prints to stdout/stderr and the django.currencies logger\n<END>", "<BEGIN>\n## `check_rates`", "Local helper f...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_info API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_info API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Return a dict of information about the currency
"Return a dict of information about the currency"
57
false
panosl/django-currencies
get_info
13,637
LDU_FT/Mic92/kshape/_ncc_c_3dim
LDU_FT
[ "<BEGIN>\n## `_ncc_c`", ">>> _ncc_c([1,2,3,4], [1,2,3,4])\n array([ 0.13333333, 0.36666667, 0.66666667, 1. , 0.66666667,\n 0.36666667, 0.13333333])\n >>> _ncc_c([1,1,1], [1,1,1])\n array([ 0.33333333, 0.66666667, 1. , 0.66666667, 0.33333333])\n >>> _ncc_c([1,2,3], [-1...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _ncc_c_3dim API. 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 _ncc_c_3dim API. 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...
Variant of NCCc that operates with 2 dimensional X arrays and 2 dimensional y vector Returns a 3 dimensional array of normalized fourier transforms
"Variant of NCCc that operates with 2 dimensional X arrays and 2 dimensional\n y vector\n\n Returns a 3 dimensional array of normalized fourier transforms"
14
false
Mic92/kshape
_ncc_c_3dim
13,638
LDU_FT/getnikola/coil/find_user_by_name
LDU_FT
[ "<BEGIN>\n## `orphans_single`", "Remove all orphans in the site, in the single user-mode.\n<END>", "<BEGIN>\n## `password_hash`", "Hash the password, using bcrypt+sha256.", " .. versionchanged:: 1.1.0", " :param str password: Password in plaintext\n :return: password hash\n :rtype: str\n<END>"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_user_by_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...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_user_by_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...
Get an user by their username. :param str username: Username to find :return: the user :rtype: User object or None
"Get an user by their username.\n\n :param str username: Username to find\n :return: the user\n :rtype: User object or None"
68
false
getnikola/coil
find_user_by_name
13,639
LDU_FT/decryptus/sonicprobe/txtsubst
LDU_FT
[ "<BEGIN>\n## `remove_if_stale_pidfile`", "@pidfile: PID file to remove if it is staled.", " Exceptions are logged and are not propagated.\n<END>", "<BEGIN>\n## `take_file_lock`", "Atomically \"move\" @own_file to @lock_file if the latter does not exists,\n else just remove @own_file.", " @own_fil...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the txtsubst API. 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 txtsubst API. 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...
Log that target_file is going to be generated, and calculate its content by applying the linesubst() transformation with the given variables to each given lines.
"Log that target_file is going to be generated, and calculate its\n content by applying the linesubst() transformation with the given\n variables to each given lines."
174
false
decryptus/sonicprobe
txtsubst
13,640
LDU_FT/diffeo/rejester/fork_worker
LDU_FT
[ "<BEGIN>\n## `dump_queue`", "Debug-log some of the queues.", " ``names`` may include any of \"worker\", \"available\", \"priorities\",\n \"expiration\", \"workers\", or \"reservations_ITEM\" filling in some\n specific item.\n<END>", "<BEGIN>\n## `worker_id`", "A unique identifier for th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fork_worker API. 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 fork_worker API. 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...
Run the worker as a daemon process. This uses :mod:`daemon` to run the standard double-fork, so it can return immediately and successfully in the parent process having forked. :param dict gconfig: the :mod:`yakonfig` global configuration :param args: command-line arguments
"Run the worker as a daemon process.\n\n This uses :mod:`daemon` to run the standard double-fork, so it can\n return immediately and successfully in the parent process having forked.\n\n :param dict gconfig: the :mod:`yakonfig` global configuration\n :param args: command-line arguments"
391
false
diffeo/rejester
fork_worker
13,641
LDU_FT/HHammond/PrettyPandas/as_currency
LDU_FT
[ "<BEGIN>\n## `_surpress_formatting_errors`", "I know this is dangerous and the wrong way to solve the problem, but when\n using both row and columns summaries it's easier to just swallow errors\n so users can format their tables how they need.\n<END>", "<BEGIN>\n## `as_percent`", "Convert number to perc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the as_currency API. 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 as_currency API. 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...
Format subset as currency :param currency: Currency :param locale: Babel locale for currency formatting :param subset: Pandas subset
"Format subset as currency\n\n :param currency: Currency\n :param locale: Babel locale for currency formatting\n :param subset: Pandas subset"
23
false
HHammond/PrettyPandas
as_currency
13,642
LDU_FT/zeromake/aiko/host
LDU_FT
[ "<BEGIN>\n## `fresh`", "根据 req_headers, res_headers 判断改消息是否为 304\n<END>", "<BEGIN>\n## `get`", "Return the first value, either the default or actual\n<END>", "<BEGIN>\n## `schema`", "返回请求协议,“https” 或 “http”。\n 当 app.proxy 是 true 时支持 X-Forwarded-Proto。\n<END>", "<BEGIN>\n## `host`", "获取 host + p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the host API. 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 host API. 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...
获取 host + port, 如果开启 proxy 开关。使用 X-Forwarded-Host 头
"获取 host + port, 如果开启 proxy 开关。使用 X-Forwarded-Host 头"
16
false
zeromake/aiko
host
13,643
LDU_FT/TeamHG-Memex/eli5/format_as_html
LDU_FT
[ "<BEGIN>\n## `explain_weights_lightning`", "Return an explanation of a lightning estimator weights\n<END>", "<BEGIN>\n## `explain_prediction_lightning`", "Return an explanation of a lightning estimator predictions\n<END>", "<BEGIN>\n## `format_as_html`", "Format explanation as html.\n Most styles are i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format_as_html API. 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 format_as_html API. 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...
Format explanation as html. Most styles are inline, but some are included separately in <style> tag, you can omit them by passing ``include_styles=False`` and call ``format_html_styles`` to render them separately (or just omit them). With ``force_weights=False``, weights will not be displayed in a table...
"Format explanation as html.\n Most styles are inline, but some are included separately in <style> tag,\n you can omit them by passing ``include_styles=False`` and call\n ``format_html_styles`` to render them separately (or just omit them).\n With ``force_weights=False``, weights will not be displayed in a ...
391
false
TeamHG-Memex/eli5
format_as_html
13,644
LDU_FT/welbornprod/colr/wrap_str
LDU_FT
[ "<BEGIN>\n## `main`", "Main entry point, expects doctopt arg dict as argd.\n<END>", "<BEGIN>\n## `print_err`", "A wrapper for print() that uses stderr by default.\n<END>", "<BEGIN>\n## `walk_dir_animated`", "Walk a directory, printing status updates along the way.\n<END>", "<BEGIN>\n## `walk_dir_progres...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wrap_str API. 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 wrap_str API. 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...
Wrap a string in self.wrapper, with some extra handling for empty/None strings. If `wrapper` is set, use it instead.
"Wrap a string in self.wrapper, with some extra handling for\n empty/None strings.\n If `wrapper` is set, use it instead."
316
false
welbornprod/colr
wrap_str
13,645
LDU_FT/edeposit/edeposit.amqp.antivirus/main
LDU_FT
[ "<BEGIN>\n## `_parse_result`", "Parse ``clamscan`` output into same dictionary structured used by\n ``pyclamd``.", " Input example::\n /home/bystrousak/Plocha/prace/test/eicar.com: Eicar-Test-Signature FOUND", " Output dict::\n {\n \"/home/bystrousak/Plocha/prace/test/eicar.c...
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...
Create configuration and log file. Restart the daemon when configuration is done. Args: conf_file (str): Path to the configuration file. overwrite (bool): Overwrite the configuration file with `clean` config?
"Create configuration and log file. Restart the daemon when configuration\n is done.\n\n Args:\n conf_file (str): Path to the configuration file.\n overwrite (bool): Overwrite the configuration file with `clean` config?"
41
false
edeposit/edeposit.amqp.antivirus
main
13,646
LDU_FT/dfunckt/django-connections/distance_between
LDU_FT
[ "<BEGIN>\n## `get_connection_distance`", "Calculates the distance between the two given objects for the given\n relationship. See `connections.models.Relationship` for more info.", " {% get_connection_distance 'relationship_name' obj1 obj2 as distance %}\n {% get_connection_distance 'relationsh...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the distance_between API. 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 distance_between API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Calculates the distance between two objects. Distance 0 means ``from_obj`` and ``to_obj`` are the same objects, 1 means ``from_obj`` has a direct connection to ``to_obj``, 2 means that one or more of ``from_obj``'s connected objects are directly connected to ``to_obj``, etc. ...
"Calculates the distance between two objects. Distance 0 means\n ``from_obj`` and ``to_obj`` are the same objects, 1 means ``from_obj``\n has a direct connection to ``to_obj``, 2 means that one or more of\n ``from_obj``'s connected objects are directly connected to ``to_obj``,\n etc.\n ...
25
false
dfunckt/django-connections
distance_between
13,647
LDU_FT/staugur/Flask-PluginKit/createJWT
LDU_FT
[ "<BEGIN>\n## `push_dcp`", "Push a callable for :class:`~flask_pluginkit.PluginManager`, :func:`push_dcp`.", " Example usage::", " push_dcp('demo', lambda:'Hello dcp')", " .. versionadded:: 2.1.0\n<END>", "<BEGIN>\n## `__scanPlugins`", "Scanning local plugin directories and third-party plugi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the createJWT API. 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 createJWT API. 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...
生成token: https://tools.ietf.org/html/rfc7519 @param payload dict: 自定义公有或私有载荷, 存放有效信息的地方; @param expiredSeconds int: Token过期时间,单位秒,签发时间是本地当前时间戳,此参数指定签发时间之后多少秒过期;
"生成token: https://tools.ietf.org/html/rfc7519\n @param payload dict: 自定义公有或私有载荷, 存放有效信息的地方;\n @param expiredSeconds int: Token过期时间,单位秒,签发时间是本地当前时间戳,此参数指定签发时间之后多少秒过期;"
128
false
staugur/Flask-PluginKit
createJWT
13,648
LDU_FT/eaton-lab/toytree/add_tip_lines_to_axes
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 add_tip_lines_to_axes 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 add_tip_lines_to_axes API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
add lines to connect tips to zero axis for tip_labels_align=True
"add lines to connect tips to zero axis for tip_labels_align=True"
332
false
eaton-lab/toytree
add_tip_lines_to_axes
13,649
LDU_FT/singnet/snet-cli/metadata_remove_all_endpoints
LDU_FT
[ "<BEGIN>\n## `list_my`", "Find organization that has the current identity as the owner or as the member\n<END>", "<BEGIN>\n## `is_group_name_exists`", "check if group with given name is already exists\n<END>", "<BEGIN>\n## `get_group_by_group_id`", "return group with given group_id (return None if doesn't...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the metadata_remove_all_endpoints 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 metadata_remove_all_endpoints API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc...
Metadata: remove all endpoints from all groups
"Metadata: remove all endpoints from all groups"
65
false
singnet/snet-cli
metadata_remove_all_endpoints
13,650
LDU_FT/faroit/stempeg/cli
LDU_FT
[ "<BEGIN>\n## `ffmpeg_version`", "Returns the available ffmpeg version", " Returns\n ----------\n version : str\n version number as string\n<END>", "<BEGIN>\n## `cli`", "Commandline interface for receiving stem files\n<END>", "<BEGIN>\n## `check_available_aac_encoders`", "Returns the avai...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cli API. 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 cli API. 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...
Commandline interface for receiving stem files
"Commandline interface for receiving stem files"
22
false
faroit/stempeg
cli
13,651
LDU_FT/Microsoft/azure-devops-python-api/create_extension
LDU_FT
[ "<BEGIN>\n## `create_attachment`", "CreateAttachment.\n Creates an attachment in the wiki.\n :param object upload_stream: Stream to upload\n :param str project: Project ID or project name\n :param str wiki_identifier: Wiki Id or name.\n :param str name: Wiki attachment name.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_extension API. 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 create_extension API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
CreateExtension. [Preview API] :param object upload_stream: Stream to upload :rtype: :class:`<PublishedExtension> <azure.devops.v5_1.gallery.models.PublishedExtension>`
"CreateExtension.\n [Preview API]\n :param object upload_stream: Stream to upload\n :rtype: :class:`<PublishedExtension> <azure.devops.v5_1.gallery.models.PublishedExtension>`"
1,304
true
Microsoft/azure-devops-python-api
create_extension
13,652
LDU_FT/AtteqCom/zsl/execute_command
LDU_FT
[ "<BEGIN>\n## `_nested_transactional`", "In a transactional method create a nested transaction.\n<END>", "<BEGIN>\n## `exec_task`", "Execute task.", " :param task_path: task path\n :type task_path: str|Callable\n :param data: task's data\n :type data: Any\n :return:\n<END>", "<BEGIN>\n## `ap...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the execute_command API. 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 execute_command API. 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...
Execute a command :param command: name of the command :type command: str :param args: optional named arguments for command :type args: dict :return: the result of command :raises KeyError: if command is not found
"Execute a command\n\n :param command: name of the command\n :type command: str\n :param args: optional named arguments for command\n :type args: dict\n :return: the result of command\n :raises KeyError: if command is not found"
292
false
AtteqCom/zsl
execute_command
13,653
LDU_FT/blackecho/Deep-Learning-TensorFlow/reconstruct
LDU_FT
[ "<BEGIN>\n## `fit`", "Fit the model to the given data.", " :param train_set: training data\n :param test_set: test data\n<END>", "<BEGIN>\n## `_run_train_step`", "Run a single training step.", " :param data: input data\n :param mode: 'train' or 'test'.\n<END>", "<BEGIN>\n## `...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reconstruct API. 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 reconstruct API. 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...
Reconstruct data according to the model. Parameters ---------- data : array_like, shape (n_samples, n_features) Data to transform. graph : tf.Graph, optional (default = None) Tensorflow Graph object Returns ------- array_like, transform...
"Reconstruct data according to the model.\n\n Parameters\n ----------\n\n data : array_like, shape (n_samples, n_features)\n Data to transform.\n\n graph : tf.Graph, optional (default = None)\n Tensorflow Graph object\n\n Returns\n -------\n array_l...
284
false
blackecho/Deep-Learning-TensorFlow
reconstruct
13,654
LDU_FT/Meseira/subordinate/simplify
LDU_FT
[ "<BEGIN>\n## `append`", "If name is not in the map, append it with an empty id range set.\n<END>", "<BEGIN>\n## `read_file`", "Read and parse id data from id_file which must be an iterable\n yielding Unicode strings formatted as in '/etc/subuid' or\n '/etc/subgid'.\n<END>", "<BEGIN>\n## `write...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the simplify API. 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 simplify API. 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...
Reorganize the ranges in the set in order to ensure that each range is unique and that there is not overlap between to ranges.
"Reorganize the ranges in the set in order to ensure that each range\n is unique and that there is not overlap between to ranges."
14
false
Meseira/subordinate
simplify
13,655
LDU_FT/smira/txZMQ/publish
LDU_FT
[ "<BEGIN>\n## `shutdown`", "Shutdown factory.", " This is shutting down all created connections\n and terminating ZeroMQ context. Also cleans up\n Twisted reactor.\n<END>", "<BEGIN>\n## `publish`", "Publish `message` with specified `tag`.", " :param message: message data\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the publish API. 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 publish API. 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...
Publish `message` with specified `tag`. :param message: message data :type message: str :param tag: message tag :type tag: str
"Publish `message` with specified `tag`.\n\n :param message: message data\n :type message: str\n :param tag: message tag\n :type tag: str"
35
false
smira/txZMQ
publish
13,656
LDU_FT/pycampers/ampy/run
LDU_FT
[ "<BEGIN>\n## `ls`", "List the contents of the specified directory (or root if none is\n specified). Returns a list of strings with the names of files in the\n specified directory. If long_format is True then a list of 2-tuples\n with the name and size (in bytes) of the item is returned. No...
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 provided script and return its output. If wait_output is True (default) then wait for the script to finish and then print its output, otherwise just run the script and don't wait for any output.
"Run the provided script and return its output. If wait_output is True\n (default) then wait for the script to finish and then print its output,\n otherwise just run the script and don't wait for any output."
63
false
pycampers/ampy
run
13,657
LDU_FT/CodeReclaimers/neat-python/stop
LDU_FT
[ "<BEGIN>\n## `eval_genome`", "This function will be run in parallel by ParallelEvaluator. It takes two\n arguments (a single genome and the genome class configuration data) and\n should return one float (that genome's fitness).", " Note that this function needs to be in module scope for multiprocessin...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stop API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stop API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Stops the worker threads and waits for them to finish
"Stops the worker threads and waits for them to finish"
121
false
CodeReclaimers/neat-python
stop
13,658
LDU_FT/robotools/fontParts/_moveBy
LDU_FT
[ "<BEGIN>\n## `_set_unicode`", "Assign the primary unicode to the glyph.\n This will be an integer or None.", " Subclasses may override this method.\n<END>", "<BEGIN>\n## `_get_leftMargin`", "This must return an int or float.\n If the glyph has no outlines, this must return `None`.", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _moveBy API. 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 _moveBy API. 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...
This is the environment implementation of :meth:`BaseObject.moveBy`. **value** will be an iterable containing two :ref:`type-int-float` values defining the x and y values to move the object by. It will have been normalized with :func:`normalizers.normalizeTransformationOffset`. ...
"This is the environment implementation of\n :meth:`BaseObject.moveBy`.\n\n **value** will be an iterable containing two\n :ref:`type-int-float` values defining the x and y\n values to move the object by. It will have been\n normalized with :func:`normalizers.normalizeTransformationOf...
646
false
robotools/fontParts
_moveBy
13,659
LDU_FT/veeti/decent/Type
LDU_FT
[ "<BEGIN>\n## `as_dict`", "Returns the error as a path to message dictionary. Paths are joined\n with the ``join`` string.\n<END>", "<BEGIN>\n## `as_dict`", "Returns all the errors in this collection as a path to message\n dictionary. Paths are joined with the ``join`` string.\n<END>", "<BEGIN>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Type API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Type API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Creates a validator that compares the type of the given value to ``expected``. This is a direct type() equality check. Also see ``Instance``, which is an isinstance() check. A custom message can be specified with ``message``.
"Creates a validator that compares the type of the given value to\n ``expected``. This is a direct type() equality check. Also see\n ``Instance``, which is an isinstance() check.\n\n A custom message can be specified with ``message``."
47
false
veeti/decent
Type
13,660
LDU_FT/iotile/coretools/_validate_information
LDU_FT
[ "<BEGIN>\n## `_value_length`", "Given an integer or list of them, convert it to an array of bytes.\n<END>", "<BEGIN>\n## `_parse_line`", "Parse a line in a TileBus file", " Args:\n line_no (int): The line number for printing useful error messages\n line (string): The line that w...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _validate_information 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 _validate_information API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Validate that all information has been filled in
"Validate that all information has been filled in"
4,849
true
iotile/coretools
_validate_information
13,661
LDU_FT/UCL-INGI/INGInious/_watch_docker_events
LDU_FT
[ "<BEGIN>\n## `handle_agent_message`", "Dispatch messages received from agents to the right handlers\n<END>", "<BEGIN>\n## `handle_client_message`", "Dispatch messages received from clients to the right handlers\n<END>", "<BEGIN>\n## `send_container_update_to_client`", ":param client_addrs: list of clients...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _watch_docker_events 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 _watch_docker_events 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 raw docker events and convert them to more readable objects, and then give them to self._docker_events_subscriber
"Get raw docker events and convert them to more readable objects, and then give them to self._docker_events_subscriber"
567
false
UCL-INGI/INGInious
_watch_docker_events
13,662
LDU_FT/timeyyy/apptools/release_singleton
LDU_FT
[ "<BEGIN>\n## `process_exists`", "Evaluates a Pid Value defaults to the currently foucsed window\n against the current open programs,\n if there is a match returns the process name and pid\n otherwise returns None, None\n<END>", "<BEGIN>\n## `move_active_window`", "Moves the active window to a given p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the release_singleton API. 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 release_singleton API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
deletes the data that lets our program know if it is running as singleton when calling check_if_open, i.e check_if_open will return fals after calling this
"deletes the data that lets our program know if it is\n running as singleton when calling check_if_open,\n i.e check_if_open will return fals after calling this"
67
false
timeyyy/apptools
release_singleton
13,663
LDU_FT/celery/cell/get_rr_queue
LDU_FT
[ "<BEGIN>\n## `main`", "Implement the actor main loop by waiting forever for messages.\n<END>", "<BEGIN>\n## `send`", "Call method on agent listening to ``routing_key``.", " See :meth:`call_or_cast` for a full list of supported\n arguments.", " If the keyword argument `nowait` is false...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_rr_queue API. 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_rr_queue API. 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...
Returns a :class: `kombu.Queue` instance for receiving round-robin commands for this actor type.
"Returns a :class: `kombu.Queue` instance for receiving round-robin\n commands for this actor type."
82
false
celery/cell
get_rr_queue
13,664
LDU_FT/edeposit/edeposit.amqp.storage/list_publications
LDU_FT
[ "<BEGIN>\n## `render_trees`", "Render list of `trees` to HTML.", " Args:\n trees (list): List of :class:`.Tree`.\n path_composer (fn reference): Function used to compose paths from UUID.\n Look at :func:`.compose_tree_path` from :mod:`.web_tools`.", " Returns:\n str: HTML...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_publications API. 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 list_publications API. 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 list of all publications in basic graphic HTML render.
"Return list of all publications in basic graphic HTML render."
140
false
edeposit/edeposit.amqp.storage
list_publications
13,665
LDU_FT/keras-rl/keras-rl/select_action
LDU_FT
[ "<BEGIN>\n## `fit`", "Trains the agent on the given environment.", " # Arguments\n env: (`Env` instance): Environment that the agent interacts with. See [Env](#env) for details.\n nb_steps (integer): Number of training steps to be performed.\n action_repetition (integer):...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the select_action API. 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 select_action API. 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...
Return the selected action # Arguments q_values (np.ndarray): List of the estimations of Q for each action # Returns Selection action
"Return the selected action\n\n # Arguments\n q_values (np.ndarray): List of the estimations of Q for each action\n\n # Returns\n Selection action"
113
false
keras-rl/keras-rl
select_action
13,666
LDU_FT/kenlowrie/pylib/format
LDU_FT
[ "<BEGIN>\n## `pushd`", "Push the current working directory (CWD) onto a stack, set CWD to 'dir'", " Save the CWD onto a global stack so that we can return to it later. If dir\n is None, the function simply stores the CWD onto the stack and returns.\n Use :py:meth:`popd()` to restore the original direct...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format API. 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 format API. 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 string representing the items specified in the format string The format string can contain: .. code:: d - drive letter p - path n - name x - extension z - file size t - file time in seconds And, you can string th...
"Returns string representing the items specified in the format string\n\n The format string can contain:\n\n .. code::\n\n d - drive letter\n p - path\n n - name\n x - extension\n z - file size\n t - file time in seconds\n\n And, you...
34
false
kenlowrie/pylib
format
13,667
LDU_FT/ozgurgunes/django-manifest/clean_email
LDU_FT
[ "<BEGIN>\n## `create_user`", "A simple wrapper that creates a new :class:`User`.", " :param username:\n String containing the username of the new user.", " :param email:\n String containing the email address of the new user.", " :param password:\n String...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clean_email API. 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 clean_email API. 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...
Validate that the email address is unique.
"Validate that the email address is unique."
121
false
ozgurgunes/django-manifest
clean_email
13,668
LDU_FT/mabuchilab/QNET/_algebraic_rules_operator
LDU_FT
[ "<BEGIN>\n## `isdisjoint`", "Check whether two Hilbert spaces are disjoint (do not have any\n common local factors). Note that `FullSpace` is *not* disjoint with any\n other Hilbert space, while `TrivialSpace` *is* disjoint with any other\n HilbertSpace (even itself)\n<END>", "<BEGIN>\n## `...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _algebraic_rules_operator 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 _algebraic_rules_operator API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Set the default algebraic rules for the operations defined in this module
"Set the default algebraic rules for the operations defined in this\n module"
1,017
false
mabuchilab/QNET
_algebraic_rules_operator
13,669
LDU_FT/mozilla-b2g/fxos-certsuite/first_older_than_second
LDU_FT
[ "<BEGIN>\n## `to_ints`", "Turn version string into a numeric representation for easy comparison.\n Undeclared point versions are assumed to be 0.\n :param version: a NSS version string\n :return: array of [major, minor, point, pointpoint, tag value]\n<END>", "<BEGIN>\n## `first_older_than_s...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the first_older_than_second 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 first_older_than_second API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
Tests for the NSS version string in the first parameter being less recent than the second (a < b). Tag order is RTM > RC > BETA > *. Works with hg tags like "NSS_3_7_9_RTM" and version strings reported by nsINSSVersion, like "3.18 Basic ECC Beta" (mixed, too). :param version_a: a NSS ver...
"Tests for the NSS version string in the first parameter being less\n recent than the second (a < b). Tag order is RTM > RC > BETA > *.\n Works with hg tags like \"NSS_3_7_9_RTM\" and version strings reported by\n nsINSSVersion, like \"3.18 Basic ECC Beta\" (mixed, too).\n :param version_a: ...
58
false
mozilla-b2g/fxos-certsuite
first_older_than_second
13,670
LDU_FT/erget/StereoVision/get_disparity
LDU_FT
[ "<BEGIN>\n## `get_frames_singleimage`", "Get current left and right frames from a single image,\n by splitting the image in half.\n<END>", "<BEGIN>\n## `show_frames`", "Show current frames from cameras.", " ``wait`` is the wait interval in milliseconds before the window closes.\n<END>", "<BE...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_disparity API. 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 get_disparity API. 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...
Compute disparity from image pair (left, right).
"Compute disparity from image pair (left, right)."
83
false
erget/StereoVision
get_disparity
13,671
LDU_FT/havardgulldahl/jottalib/sync
LDU_FT
[ "<BEGIN>\n## `get_auth_info`", "Get authentication details to jottacloud.", " Will first check environment variables, then the .netrc file.\n<END>", "<BEGIN>\n## `calculate_md5`", "Utility function to calculate md5 hashes while being light on memory usage.", " By reading the fileobject piece by piec...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sync API. 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 sync API. 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...
Update state of folder from Jottacloud server
"Update state of folder from Jottacloud server"
111
false
havardgulldahl/jottalib
sync
13,672