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/maxweisspoker/simplebitcoinfuncs/receivestealth
LDU_FT
[ "<BEGIN>\n## `sign`", "Returns a DER-encoded signature from a input of a hash and private\n key, and optionally a K value.", " Hash and private key inputs must be 64-char hex strings,\n k input is an int/long.", " >>> h = 'f7011e94125b5bba7f62eb25efe23339eb1637539206c87df3ee61b5ec6b023e'\n >>> ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the receivestealth API. 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 receivestealth API. 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...
Derive the private key for a stealth payment, using the scan and spend private keys, and the ephemeral public key. Input private keys should be 64-char hex strings, and ephemeral public key should be a 66-char hex compressed public key. >>> receivestealth('af4afaeb40810e5f8abdbb177c31a2d310913f91cf556...
"Derive the private key for a stealth payment, using the scan and\n spend private keys, and the ephemeral public key.\n\n Input private keys should be 64-char hex strings, and ephemeral\n public key should be a 66-char hex compressed public key.\n\n >>> receivestealth('af4afaeb40810e5f8abdbb177c31a2d310913f...
91
false
maxweisspoker/simplebitcoinfuncs
receivestealth
33,173
LDU_FT/bapakode/OmMongo/ensure
LDU_FT
[ "<BEGIN>\n## `setdefault`", "if the ``name`` is set, return its value. Otherwse set ``name`` to\n ``value`` and return ``value``\n<END>", "<BEGIN>\n## `ascending`", "Add a descending index for ``name`` to this index.", " :param name: Name to be used in the index\n<END>", "<BEGIN>\n#...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ensure API. 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 ensure API. 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 ...
Call the pymongo method ``ensure_index`` on the passed collection. :param collection: the ``pymongo`` collection to ensure this index \ is on
"Call the pymongo method ``ensure_index`` on the passed collection.\n\n :param collection: the ``pymongo`` collection to ensure this index \\\n is on"
248
false
bapakode/OmMongo
ensure
33,174
LDU_FT/chaoss/grimoirelab-elk/process
LDU_FT
[ "<BEGIN>\n## `__related_categories`", "Get all related categories to a given one\n<END>", "<BEGIN>\n## `__show_categories_tree`", "Show the category tree: list of categories and its subcategories\n<END>", "<BEGIN>\n## `fetch_track_items`", "The file format is:", " # Upstream contributions, bitergia w...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process API. 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 process API. 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...
Process items to add file related information. Eventize items creating one new item per each file found in the commit (excluding files with no actions performed on them). For each event, file path, file name, path parts, file type and file extension are added as fields. :param items_bl...
"Process items to add file related information.\n\n Eventize items creating one new item per each file found in the commit (excluding\n files with no actions performed on them). For each event, file path, file name,\n path parts, file type and file extension are added as fields.\n\n :param i...
296
false
chaoss/grimoirelab-elk
process
33,175
LDU_FT/romana/vpc-router/read_route_spec_config
LDU_FT
[ "<BEGIN>\n## `_do_tcp_check`", "Attempt to establish a TCP connection.", " If not successful, record the IP in the results dict.", " Always closes the connection at the end.\n<END>", "<BEGIN>\n## `do_health_checks`", "Perform a health check on a list of IP addresses.", " Each check ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_route_spec_config API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_route_spec_config API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Read, parse and sanity check the route spec config file. The config file needs to be in this format: { "<CIDR-1>" : [ "host-1-ip", "host-2-ip", "host-3-ip" ], "<CIDR-2>" : [ "host-4-ip", "host-5-ip" ], "<CIDR-3>" : [ "host-6-ip", "host-7-ip", "host-8-ip", "host-9-ip" ] } Retur...
"Read, parse and sanity check the route spec config file.\n\n The config file needs to be in this format:\n\n {\n \"<CIDR-1>\" : [ \"host-1-ip\", \"host-2-ip\", \"host-3-ip\" ],\n \"<CIDR-2>\" : [ \"host-4-ip\", \"host-5-ip\" ],\n \"<CIDR-3>\" : [ \"host-6-ip\", \"host-7-ip\", \"host-8-ip\", ...
207
false
romana/vpc-router
read_route_spec_config
33,176
LDU_FT/taborlab/FlowCal/cv
LDU_FT
[ "<BEGIN>\n## `clustering_gmm`", "Find clusters in an array using a Gaussian Mixture Model.", " Before clustering, `data` can be automatically rescaled as specified by\n the `scale` argument.", " Parameters\n ----------\n data : FCSData or array_like\n Data to cluster.\n n_clusters : i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cv API. 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 cv API. 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...
Calculate the Coeff. of Variation of the events in an FCSData object. Parameters ---------- data : FCSData or numpy array NxD flow cytometry data where N is the number of events and D is the number of parameters (aka channels). channels : int or str or list of int or list of str, option...
"Calculate the Coeff. of Variation of the events in an FCSData object.\n\n Parameters\n ----------\n data : FCSData or numpy array\n NxD flow cytometry data where N is the number of events and D is\n the number of parameters (aka channels).\n channels : int or str or list of int or list of str...
418
false
taborlab/FlowCal
cv
33,177
LDU_FT/GoogleCloudPlatform/datastore-ndb-python/integer_id
LDU_FT
[ "<BEGIN>\n## `get_event_loop`", "Return a EventLoop instance.", " A new instance is created for each new HTTP request. We determine\n that we're in a new request by inspecting os.environ, which is reset\n at the start of each request. Also, each thread gets its own loop.\n<END>", "<BEGIN>\n## `clear`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the integer_id API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the integer_id API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Return the integer id in the last (kind, id) pair, if any. Returns: An integer id, or None if the key has a string id or is incomplete.
"Return the integer id in the last (kind, id) pair, if any.\n\n Returns:\n An integer id, or None if the key has a string id or is incomplete."
569
false
GoogleCloudPlatform/datastore-ndb-python
integer_id
33,178
LDU_FT/BDNYC/astrodbkit/output_spectrum
LDU_FT
[ "<BEGIN>\n## `dict_tovot`", "Converts dictionary table **tabdata** to a VOTable with name **tabname**", " Parameters\n ----------\n tabdata: list\n SQL query dictionary list from running query_dict.execute()\n tabname: str\n The name of the VOTable to be created\n phot: bool\n Para...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the output_spectrum API. 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 output_spectrum API. 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...
Prints a file of the given spectrum to an ascii file with specified filepath. Parameters ---------- spectrum: int, sequence The id from the SPECTRA table or a [w,f,e] sequence filepath: str The path of the file to print the data to. header: dict ...
"Prints a file of the given spectrum to an ascii file with specified filepath.\n\n Parameters\n ----------\n spectrum: int, sequence\n The id from the SPECTRA table or a [w,f,e] sequence\n filepath: str\n The path of the file to print the data to.\n header: dict\...
166
false
BDNYC/astrodbkit
output_spectrum
33,179
LDU_FT/nir0s/serv/generate
LDU_FT
[ "<BEGIN>\n## `generate`", "Create a service.", " `COMMAND` is the path to the executable to run\n<END>", "<BEGIN>\n## `_parse_service_env_vars`", "Return a dict based on `key=value` pair strings.\n<END>", "<BEGIN>\n## `_set_service_name_from_command`", "Set the name of a service according to the comm...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate API. 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 generate API. 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...
Generate service files. This exposes several comforts. `self.files` is a list into which all generated file paths will be appended. It is later returned by `generate` to be consumed by any program that wants to do something with it. `self.templates` is the directory in which a...
"Generate service files.\n\n This exposes several comforts.\n\n `self.files` is a list into which all generated file paths will be\n appended. It is later returned by `generate` to be consumed by any\n program that wants to do something with it.\n\n `self.templates` is the directory i...
65
false
nir0s/serv
generate
33,180
LDU_FT/mozillazg/python-pinyin/single_pinyin
LDU_FT
[ "<BEGIN>\n## `convert_zero_consonant`", "零声母转换,还原原始的韵母", " i行的韵母,前面没有声母的时候,写成yi(衣),ya(呀),ye(耶),yao(腰),\n you(忧),yan(烟),yin(因),yang(央),ying(英),yong(雍)。", " u行的韵母,前面没有声母的时候,写成wu(乌),wa(蛙),wo(窝),wai(歪),\n wei(威),wan(弯),wen(温),wang(汪),weng(翁)。", " ü行的韵母,前面没有声母的时候,写成yu(迂),yue(约),yuan(冤),\n yun(晕...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the single_pinyin API. 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 single_pinyin API. 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...
单字拼音转换. :param han: 单个汉字 :param errors: 指定如何处理没有拼音的字符,详情请参考 :py:func:`~pypinyin.pinyin` :param strict: 是否严格遵照《汉语拼音方案》来处理声母和韵母 :return: 返回拼音列表,多音字会有多个拼音项 :rtype: list
"单字拼音转换.\n\n :param han: 单个汉字\n :param errors: 指定如何处理没有拼音的字符,详情请参考\n :py:func:`~pypinyin.pinyin`\n :param strict: 是否严格遵照《汉语拼音方案》来处理声母和韵母\n :return: 返回拼音列表,多音字会有多个拼音项\n :rtype: list"
75
false
mozillazg/python-pinyin
single_pinyin
33,181
LDU_FT/dlecocq/nsq-py/flush
LDU_FT
[ "<BEGIN>\n## `pack_iterable`", "Pack an iterable of messages in the TCP protocol format\n<END>", "<BEGIN>\n## `hexify`", "Print out printable characters, but others in hex\n<END>", "<BEGIN>\n## `distribute`", "Generator for (count, object) tuples that distributes count evenly among\n the provided objec...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the flush API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the flush API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Flush some of the waiting messages, returns count written
"Flush some of the waiting messages, returns count written"
54
false
dlecocq/nsq-py
flush
33,182
LDU_FT/onicagroup/runway/reinit_on_backend_changes
LDU_FT
[ "<BEGIN>\n## `fix_hyphen_commands`", "Update options to match their module names with underscores.\n<END>", "<BEGIN>\n## `calculate_hash_of_files`", "Return a hash of all of the given files at the given root.", " Adapted from stacker.hooks.aws_lambda; used according to its license:\n https://github.co...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reinit_on_backend_changes 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 reinit_on_backend_changes API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Clean terraform directory and run init if necessary. If deploying a TF module to multiple regions (or any scenario requiring multiple backend configs), switching the backend will cause TF to compare the old and new backends. This will frequently cause an access error as the creds/role for the new backe...
"Clean terraform directory and run init if necessary.\n\n If deploying a TF module to multiple regions (or any scenario requiring\n multiple backend configs), switching the backend will cause TF to\n compare the old and new backends. This will frequently cause an access\n error as the creds/role for the new...
130
false
onicagroup/runway
reinit_on_backend_changes
33,183
LDU_FT/dahlia/wikidata/normalize_locale_code
LDU_FT
[ "<BEGIN>\n## `page_url`", "(:class:`str`) The canonical url of the page.\n<END>", "<BEGIN>\n## `image_url`", "r\"\"\"(:class:`~typing.Optional`\\ [:class:`str`]) The image url.\n It may be :const:`None` if it's not an image.\n<END>", "<BEGIN>\n## `image_resolution`", "r\"\"\"(:class:`~typing.Option...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the normalize_locale_code 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_locale_code API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Determine the normalized locale code string. >>> normalize_locale_code('ko-kr') 'ko_KR' >>> normalize_locale_code('zh_TW') 'zh_Hant_TW' >>> normalize_locale_code(Locale.parse('en_US')) 'en_US'
"Determine the normalized locale code string.\n\n >>> normalize_locale_code('ko-kr')\n 'ko_KR'\n >>> normalize_locale_code('zh_TW')\n 'zh_Hant_TW'\n >>> normalize_locale_code(Locale.parse('en_US'))\n 'en_US'"
33
false
dahlia/wikidata
normalize_locale_code
33,184
LDU_FT/Aplopio/django_rip/validate
LDU_FT
[ "<BEGIN>\n## `_setup_configuration`", "All steps are accepted as classes. Instantiate them with the right\n configuration and set them in a local property.\n<END>", "<BEGIN>\n## `read_detail`", "Implements the Read Detail (read an object)", " maps to GET /api/objects/:id/ in rest semantics\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate API. 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 validate API. 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...
This is not for business validation This should be only used for type validation Hence the only input is the value of the field :param value: :return:
"This is not for business validation\n This should be only used for type validation\n Hence the only input is the value of the field\n :param value:\n :return:"
35
false
Aplopio/django_rip
validate
33,185
LDU_FT/jaredLunde/redis_structures/move
LDU_FT
[ "<BEGIN>\n## `_hashed_key`", "Returns 16-digit numeric hash of the redis key\n<END>", "<BEGIN>\n## `expire_at`", "Sets the expiration time of :prop:key_prefix to @_time\n @_time: absolute Unix timestamp (seconds since January 1, 1970)\n<END>", "<BEGIN>\n## `pexpire_at`", "Sets the expiration ti...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the move API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the move API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Moves @member from this set to @destination atomically @member: a member of this set @destination: #str redis keyname or :class:RedisSet object -> #bool True if the member was moved
"Moves @member from this set to @destination atomically\n\n @member: a member of this set\n @destination: #str redis keyname or :class:RedisSet object\n\n -> #bool True if the member was moved"
216
false
jaredLunde/redis_structures
move
33,186
LDU_FT/dddomodossola/remi/item_at
LDU_FT
[ "<BEGIN>\n## `add_coord`", "Adds a coord to the polyline and creates another circle\n<END>", "<BEGIN>\n## `set_stroke`", "Sets the stroke properties.\r", " Args:\r\n width (int): stroke width\r\n color (str): stroke color\n<END>", "<BEGIN>\n## `add_arrow_coord`", "Determine ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the item_at API. 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 item_at API. 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 the TableItem instance at row, column cordinates Args: row (int): zero based index column (int): zero based index
"Returns the TableItem instance at row, column cordinates\n\n Args:\n row (int): zero based index\n column (int): zero based index"
195
false
dddomodossola/remi
item_at
33,187
LDU_FT/mlaprise/genSpline/birth
LDU_FT
[ "<BEGIN>\n## `gaussianPulse`", "Geneate a gaussian/supergaussiance envelope pulse", "\t\t* field_amp: \toutput gaussian pulse envellope (amplitude).\n\t\t* t: \t\tvector of times at which to compute u\n\t\t* t0: \t\tcenter of pulse (default = 0)\n\t\t* FWHM: \t\tfull-width at half-intensity of pulse (d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the birth API. 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 birth API. 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 the individual (compute the spline curve)
"Create the individual (compute the spline curve)"
13
false
mlaprise/genSpline
birth
33,188
LDU_FT/LordGaav/python-chaos/publish
LDU_FT
[ "<BEGIN>\n## `registerWorker`", "Register a new Worker, under the given descriptive name.", "\t\tTrying to register multiple workers under the same name will raise an Exception.", "\t\tParameters\n\t\t----------\n\t\tname: string\n\t\t\tName to register the given worker under.\n\t\tworker: multiprocessing.Pro...
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 a message to an AMQP exchange. Parameters ---------- message: string Message to publish. properties: dict Properties to set on message. This parameter is optional, but if set, at least the following options must be set: content_type: string - what content_type to specify, default is 'text/pla...
"Publish a message to an AMQP exchange.\n\n\t\tParameters\n\t\t----------\n\t\tmessage: string\n\t\t\tMessage to publish.\n\t\tproperties: dict\n\t\t\tProperties to set on message. This parameter is optional, but if set, at least the following options must be set:\n\t\t\t\tcontent_type: string - what content_type to sp...
138
false
LordGaav/python-chaos
publish
33,189
LDU_FT/MoseleyBioinformaticsLab/ctfile/_to_ctfile
LDU_FT
[ "<BEGIN>\n## `tokenizer`", "A lexical analyzer for the `CTfile` formatted files.", " :param str text: `CTfile` formatted text.\n :return: Tuples of data.\n :rtype: py:class:`~collections.namedtuple`\n<END>", "<BEGIN>\n## `_molfile`", "Process ``Molfile``.", " :param stream: Queue containing li...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _to_ctfile API. 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 _to_ctfile API. 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...
Convert :class:`~ctfile.ctfile.CTfile` into `CTfile` formatted string. :return: `CTfile` formatted string. :rtype: :py:class:`str`.
"Convert :class:`~ctfile.ctfile.CTfile` into `CTfile` formatted string.\n\n :return: `CTfile` formatted string.\n :rtype: :py:class:`str`."
93
false
MoseleyBioinformaticsLab/ctfile
_to_ctfile
33,190
LDU_FT/vinci1it2000/schedula/_check_targets
LDU_FT
[ "<BEGIN>\n## `register`", "Creates a :class:`Blueprint.cls` and calls each deferred operation.", " :param obj:\n The initialized object with which to call all deferred operations.\n :type obj: object", " :param memo:\n A dictionary to cache registered Blueprints.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_targets API. 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 _check_targets API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Returns a function to terminate the ArciDispatch algorithm when all targets have been visited. :return: A function to terminate the ArciDispatch algorithm. :rtype: (str) -> bool
"Returns a function to terminate the ArciDispatch algorithm when all\n targets have been visited.\n\n :return:\n A function to terminate the ArciDispatch algorithm.\n :rtype: (str) -> bool"
765
false
vinci1it2000/schedula
_check_targets
33,191
LDU_FT/jantman/versionfinder/_find_pip_info
LDU_FT
[ "<BEGIN>\n## `find_package_version`", "Find the installed version of the specified package, and as much\n information about it as possible (source URL, git ref or tag, etc.)", " This attempts, to the best of our ability, to find out if the package\n was installed from git, and if so, provid...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _find_pip_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 ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _find_pip_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 ex...
Try to find information about the installed package from pip. This should be wrapped in a try/except. :returns: information from pip about ``self.package_name``. :rtype: dict
"Try to find information about the installed package from pip.\n This should be wrapped in a try/except.\n\n :returns: information from pip about ``self.package_name``.\n :rtype: dict"
51
false
jantman/versionfinder
_find_pip_info
33,192
LDU_FT/kashifrazzaqui/vyked/attach_http_service
LDU_FT
[ "<BEGIN>\n## `configure`", "A convenience method for providing registry and pubsub(redis) endpoints", " :param name: Used for process name\n :param registry_host: IP Address for vyked-registry; default = 0.0.0.0\n :param registry_port: Port for vyked-registry; default = 4500\n :param...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the attach_http_service API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the attach_http_service API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Attaches a service for hosting :param http_service: A HTTPService instance
"Attaches a service for hosting\n :param http_service: A HTTPService instance"
14
false
kashifrazzaqui/vyked
attach_http_service
33,193
LDU_FT/facebook/watchman/get_subscription
LDU_FT
[ "<BEGIN>\n## `_int_size`", "Return the smallest size int that can store the value\n<END>", "<BEGIN>\n## `loads`", "Deserialize a BSER-encoded blob.", " @param buf: The buffer to deserialize.\n @type buf: bytes", " @param mutable: Whether to return mutable results.\n @type mutable: bool", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_subscription API. 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_subscription API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Retrieve the data associated with a named subscription Returns None if there is no data associated with `name` If root is not None, then only return the subscription data that matches both root and name. When used in this way, remove processing impacts both the unscoped and scoped sto...
"Retrieve the data associated with a named subscription\n\n Returns None if there is no data associated with `name`\n\n If root is not None, then only return the subscription\n data that matches both root and name. When used in this way,\n remove processing impacts both the unscoped and sco...
93
false
facebook/watchman
get_subscription
33,194
LDU_FT/twosigma/beakerx/install_node_modules
LDU_FT
[ "<BEGIN>\n## `create_cmdclass`", "Create a command class with the given optional wrappers.\n Parameters\n ----------\n develop_wrapper: list(str), optional\n The cmdclass names to run before running other commands\n distribute_wrappers: list(str), optional\n The cmdclass names to run bef...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the install_node_modules 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 install_node_modules API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Return a Command for managing an node_modules installation. Note: The command is skipped if the `--skip-yarn` flag is used. Parameters ---------- path: str, optional The base path of the node package. Defaults to the repo root. build_dir: str, optional The target build director...
"Return a Command for managing an node_modules installation.\n Note: The command is skipped if the `--skip-yarn` flag is used.\n \n Parameters\n ----------\n path: str, optional\n The base path of the node package. Defaults to the repo root.\n build_dir: str, optional\n The target build...
20
false
twosigma/beakerx
install_node_modules
33,195
LDU_FT/jjgomera/iapws/_Melting_Pressure
LDU_FT
[ "<BEGIN>\n## `_Tb`", "Procedure to calculate the boiling temperature of seawater", " Parameters\n ----------\n P : float\n Pressure, [MPa]\n S : float\n Salinity, [kg/kg]", " Returns\n -------\n Tb : float\n Boiling temperature, [K]", " References\n ----------...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _Melting_Pressure API. 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 _Melting_Pressure API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Melting Pressure correlation Parameters ---------- T : float Temperature, [K] ice: string Type of ice: Ih, III, V, VI, VII. Below 273.15 is a mandatory input, the ice Ih is the default value. Above 273.15, the ice type is unnecesary. Returns ------- P : floa...
"Melting Pressure correlation\n\n Parameters\n ----------\n T : float\n Temperature, [K]\n ice: string\n Type of ice: Ih, III, V, VI, VII.\n Below 273.15 is a mandatory input, the ice Ih is the default value.\n Above 273.15, the ice type is unnecesary.\n\n Returns\n -------...
574
false
jjgomera/iapws
_Melting_Pressure
33,196
LDU_FT/andrea-cuttone/geoplotlib/geojson
LDU_FT
[ "<BEGIN>\n## `__voronoi_finite_polygons_2d`", "Reconstruct infinite voronoi regions in a 2D diagram to finite\n regions.", " Parameters\n ----------\n vor : Voronoi\n Input diagram\n radius : float, optional\n Distance to 'points at infinity'.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the geojson API. 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 geojson API. 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...
Draw features described in geojson format (http://geojson.org/) :param filename: filename of the geojson file :param color: color for the shapes. If callable, it will be invoked for each feature, passing the properties element :param linewidth: line width :param fill: if fill=True the feature polygon i...
"Draw features described in geojson format (http://geojson.org/)\n\n :param filename: filename of the geojson file\n :param color: color for the shapes. If callable, it will be invoked for each feature, passing the properties element\n :param linewidth: line width\n :param fill: if fill=True the feature pol...
82
false
andrea-cuttone/geoplotlib
geojson
33,197
LDU_FT/pinax/pinax-likes/likes_count
LDU_FT
[ "<BEGIN>\n## `who_likes`", "Usage:\n {% who_likes obj as var %}\n<END>", "<BEGIN>\n## `likes`", "Usage:\n {% likes user as var %}\n Or\n {% likes user [model1, model2] as var %}\n<END>", "<BEGIN>\n## `likes_count`", "Usage:", " {% likes_count obj %}\n or\n {% lik...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the likes_count API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the likes_count API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Usage: {% likes_count obj %} or {% likes_count obj as var %} or {{ obj|likes_count }}
"Usage:\n\n {% likes_count obj %}\n or\n {% likes_count obj as var %}\n or\n {{ obj|likes_count }}"
12
false
pinax/pinax-likes
likes_count
33,198
LDU_FT/amzn/ion-python/_symbol_identifier_or_unquoted_symbol_handler
LDU_FT
[ "<BEGIN>\n## `local_symbol_table`", "Constructs a local symbol table.", " Args:\n imports (Optional[SymbolTable]): Shared symbol tables to import.\n symbols (Optional[Iterable[Unicode]]): Initial local symbols to add.", " Returns:\n SymbolTable: A mutable local symbol table with the...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _symbol_identifier_or_unquoted_symbol_handler API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> in...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _symbol_identifier_or_unquoted_symbol_handler API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> in...
Handles symbol tokens that begin with a dollar sign. These may end up being system symbols ($ion_*), symbol identifiers ('$' DIGITS+), or regular unquoted symbols.
"Handles symbol tokens that begin with a dollar sign. These may end up being system symbols ($ion_*), symbol\n identifiers ('$' DIGITS+), or regular unquoted symbols."
384
false
amzn/ion-python
_symbol_identifier_or_unquoted_symbol_handler
33,199
LDU_FT/CityOfZion/neo-python-rpc/get_best_blockhash
LDU_FT
[ "<BEGIN>\n## `get_account`", "Look up an account on the blockchain. Sample output:", " Args:\n address: (str) address to lookup ( in format 'AXjaFSP23Jkbe6Pk9pPGT6NBDs1HVdqaXK')\n id: (int, optional) id to use for response tracking\n endpoint: (RPCEndpoint, optional) end...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_best_blockhash API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_best_blockhash 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...
Get the hash of the highest block Args: id: (int, optional) id to use for response tracking endpoint: (RPCEndpoint, optional) endpoint to specify to use Returns: json object of the result or the error encountered in the RPC call
"Get the hash of the highest block\n Args:\n id: (int, optional) id to use for response tracking\n endpoint: (RPCEndpoint, optional) endpoint to specify to use\n Returns:\n json object of the result or the error encountered in the RPC call"
76
false
CityOfZion/neo-python-rpc
get_best_blockhash
33,200
LDU_FT/greenelab/PathCORE-T/_significant_pathways_dataframe
LDU_FT
[ "<BEGIN>\n## `_load_significant_pathways_file`", "Read in the significant pathways file as a\n pandas.DataFrame.\n<END>", "<BEGIN>\n## `_pathway_feature_permutation`", "Permute the pathways across features for one side in the\n network. Used in `permute_pathways_across_features`", " Parameters\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _significant_pathways_dataframe 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 _significant_pathways_dataframe API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co...
Create the significant pathways pandas.DataFrame. Given the p-values corresponding to each pathway in a feature, apply the FDR correction for multiple testing and remove those that do not have a q-value of less than `alpha`.
"Create the significant pathways pandas.DataFrame.\n Given the p-values corresponding to each pathway in a feature,\n apply the FDR correction for multiple testing and remove those that\n do not have a q-value of less than `alpha`."
82
false
greenelab/PathCORE-T
_significant_pathways_dataframe
33,201
LDU_FT/yunojuno-archive/django-inbound-email/receive_inbound_email
LDU_FT
[ "<BEGIN>\n## `_decode_POST_value`", "Helper to decode a request field into unicode based on charsets encoding.", " Args:\n request: the HttpRequest object.\n field_name: the field expected in the request.POST", " Kwargs:\n default: if passed in then field is optional and default is ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the receive_inbound_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. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the receive_inbound_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. ...
Receives inbound email from SendGrid. This view receives the email from SendGrid, parses the contents, logs the message and the fires the inbound_email signal.
"Receives inbound email from SendGrid.\n\n This view receives the email from SendGrid, parses the contents, logs\n the message and the fires the inbound_email signal."
29
false
yunojuno-archive/django-inbound-email
receive_inbound_email
33,202
LDU_FT/cwacek/python-jsonschema-objects/create
LDU_FT
[ "<BEGIN>\n## `validate_items`", "Validates the items in the backing array, including\n performing type validation.", " Sets the _typed property and clears the dirty flag as a side effect", " Returns:\n The typed array\n<END>", "<BEGIN>\n## `create`", "Create an array valida...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Create an array validator based on the passed in constraints. If item_constraint is a tuple, it is assumed that tuple validation is being performed. If it is a class or dictionary, list validation will be performed. Classes are assumed to be subclasses of ProtocolBase, while dictionarie...
"Create an array validator based on the passed in constraints.\n\n If item_constraint is a tuple, it is assumed that tuple validation\n is being performed. If it is a class or dictionary, list validation\n will be performed. Classes are assumed to be subclasses of ProtocolBase,\n while dicti...
41
false
cwacek/python-jsonschema-objects
create
33,203
LDU_FT/althonos/pronto/obo
LDU_FT
[ "<BEGIN>\n## `_extract_resources`", "Extract the children of an element as a key/value mapping.\n<END>", "<BEGIN>\n## `_iter_rawterms`", "Iterate through the raw terms (Classes) in the ontology.\n<END>", "<BEGIN>\n## `_extract_obo_synonyms`", "Extract the synonyms defined in the rawterm.\n<END>", "<BEGI...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the obo API. 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 obo API. 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...
str: the synonym type serialized in obo format.
"str: the synonym type serialized in obo format."
120
false
althonos/pronto
obo
33,204
LDU_FT/cons3rt/pycons3rt/set_scenario_network_info
LDU_FT
[ "<BEGIN>\n## `getdict`", "Returns a standard python Dict with computed values\n from the DynDict\n :param source: (DynDict) input\n :return: (dict) Containing computed values\n<END>", "<BEGIN>\n## `get_ec2_client`", "Gets an EC2 client", " :return: boto3.client object\n :raises: AWSAPIError\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_scenario_network_info 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 set_scenario_network_info API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Populates a list of network info for each scenario host from deployment properties :return: None
"Populates a list of network info for each scenario host from\n deployment properties\n\n :return: None"
386
false
cons3rt/pycons3rt
set_scenario_network_info
33,205
LDU_FT/EUDAT-B2SAFE/B2HANDLE/__add_URL_to_10320LOC
LDU_FT
[ "<BEGIN>\n## `add_missing_optional_args_with_value_none`", "Adds key-value pairs to the passed dictionary, so that\n afterwards, the dictionary can be used without needing\n to check for KeyErrors.", " If the keys passed as a second argument are not present,\n they are added with None as...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __add_URL_to_10320LOC 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_URL_to_10320LOC 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 a url to the handle record's "10320/LOC" entry. If no 10320/LOC entry exists, a new one is created (using the default "chooseby" attribute, if configured). If the URL is already present, it is not added again, but the attributes (e.g. weight) are updated/added. ...
"Add a url to the handle record's \"10320/LOC\" entry.\n If no 10320/LOC entry exists, a new one is created (using the\n default \"chooseby\" attribute, if configured).\n If the URL is already present, it is not added again, but\n the attributes (e.g. weight) are updated/adde...
168
false
EUDAT-B2SAFE/B2HANDLE
__add_URL_to_10320LOC
33,206
LDU_FT/valohai/valohai-yaml/build_command
LDU_FT
[ "<BEGIN>\n## `validate`", "Validate (and possibly typecast) the given parameter value value.", " :param value: Parameter value\n :return: Typecast parameter value\n :raises ValidationErrors: if there were validation errors\n<END>", "<BEGIN>\n## `format_cli`", "Build a single parameter a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_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 ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_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 ext...
Build command line(s) using the given parameter map. Even if the passed a single `command`, this function will return a list of shell commands. It is the caller's responsibility to concatenate them, likely using the semicolon or double ampersands. :param command: The command to interpolate params int...
"Build command line(s) using the given parameter map.\n\n Even if the passed a single `command`, this function will return a list\n of shell commands. It is the caller's responsibility to concatenate them,\n likely using the semicolon or double ampersands.\n\n :param command: The command to interpolate par...
42
false
valohai/valohai-yaml
build_command
33,207
LDU_FT/rossant/ipymd/save
LDU_FT
[ "<BEGIN>\n## `_get_html_contents`", "Process a HTML block and detects whether it is a code block,\n a math block, or a regular HTML block.\n<END>", "<BEGIN>\n## `format_manager`", "Return the instance singleton, creating if necessary\n<END>", "<BEGIN>\n## `register_entrypoints`", "Look through the `set...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save API. 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 save API. 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...
Save contents into a file. The format name can be specified explicitly or inferred from the file extension.
"Save contents into a file. The format name can be specified\n explicitly or inferred from the file extension."
64
false
rossant/ipymd
save
33,208
LDU_FT/SUNCAT-Center/CatHub/get_under_bridge
LDU_FT
[ "<BEGIN>\n## `molecules2symbols`", "Take a list of molecules and return just a list of atomic\n symbols, possibly adding hydrogen\n<END>", "<BEGIN>\n## `construct_reference_system`", "Take a list of symbols and construct gas phase\n references system, when possible avoiding O2.\n Candidates can be re...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_under_bridge API. 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_under_bridge API. 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 element closest to the adsorbate in the subsurface layer
"Return element closest to the adsorbate in the subsurface layer"
178
false
SUNCAT-Center/CatHub
get_under_bridge
33,209
LDU_FT/sdispater/orator/increment
LDU_FT
[ "<BEGIN>\n## `construct`", "Create a new factory container.", " :param faker: A faker generator instance\n :type faker: faker.Generator", " :param path_to_factories: The path to factories\n :type path_to_factories: str", " :rtype: Factory\n<END>", "<BEGIN>\n## `define`",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the increment API. 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 increment API. 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...
Increment a column's value by a given amount :param column: The column to increment :type column: str :param amount: The amount by which to increment :type amount: int :param extras: Extra columns :type extras: dict :return: The number of rows affected ...
"Increment a column's value by a given amount\n\n :param column: The column to increment\n :type column: str\n\n :param amount: The amount by which to increment\n :type amount: int\n\n :param extras: Extra columns\n :type extras: dict\n\n :return: The number of rows affe...
1,212
true
sdispater/orator
increment
33,210
LDU_FT/PyconUK/ConferenceScheduler/element_from_neighbourhood
LDU_FT
[ "<BEGIN>\n## `hill_climber`", "Implement a basic hill climbing algorithm.", " Has two stopping conditions:", " 1. Maximum number of iterations;\n 2. A known lower bound, a none is passed then this is not used.", " If acceptance_criteria (a callable) is not None then this is used to obtain\n a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the element_from_neighbourhood 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 element_from_neighbourhood API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
Randomly move an event: - Either to an empty slot - Swapping with another event
"Randomly move an event:\n\n - Either to an empty slot\n - Swapping with another event"
127
false
PyconUK/ConferenceScheduler
element_from_neighbourhood
33,211
LDU_FT/IAMconsortium/pyam/metadata
LDU_FT
[ "<BEGIN>\n## `read_ix`", "Read timeseries data from an ixmp object", " Parameters\n ----------\n ix: ixmp.TimeSeries or ixmp.Scenario\n this option requires the ixmp package as a dependency\n kwargs: arguments passed to ixmp.TimeSeries.timeseries()\n<END>", "<BEGIN>\n## `requires_package`",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the metadata API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the metadata API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Metadata of scenarios in the connected data source Parameter --------- default : bool, optional, default True Return *only* the default version of each Scenario. Any (`model`, `scenario`) without a default version is omitted. If :obj:`False`, return all versi...
"Metadata of scenarios in the connected data source\n\n Parameter\n ---------\n default : bool, optional, default True\n Return *only* the default version of each Scenario.\n Any (`model`, `scenario`) without a default version is omitted.\n If :obj:`False`, return a...
256
false
IAMconsortium/pyam
metadata
33,212
LDU_FT/renzon/gaeforms/localize_field
LDU_FT
[ "<BEGIN>\n## `fill_model`", "Populates a model with normalized properties. If no model is provided (None) a new one will be created.\n :param model: model to be populade\n :return: populated model\n<END>", "<BEGIN>\n## `fill_with_model`", "Populates this form with localized properties from model...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the localize_field API. 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 localize_field API. 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...
Method that must transform the value from object to localized string
"Method that must transform the value from object to localized string"
10
false
renzon/gaeforms
localize_field
33,213
LDU_FT/ooici/elasticpy/index_delete
LDU_FT
[ "<BEGIN>\n## `ids`", "http://www.elasticsearch.org/guide/reference/query-dsl/ids-filter.html\nFilters documents that only have the provided ids. Note, this filter does not require the _id field to be indexed since it works using the _uid field.\n<END>", "<BEGIN>\n## `geo_bounding_box`", "http://www.elasticsea...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the index_delete API. 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 index_delete API. 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...
Delets the specified index > search = ElasticSearch() > search.index_delete('twitter') {"ok" : True, "acknowledged" : True }
"Delets the specified index\n > search = ElasticSearch()\n > search.index_delete('twitter')\n {\"ok\" : True, \"acknowledged\" : True }"
89
false
ooici/elasticpy
index_delete
33,214
LDU_FT/crodjer/paster/url
LDU_FT
[ "<BEGIN>\n## `list_syntax`", "Prints a list of available syntax for the current paste service\n<END>", "<BEGIN>\n## `process_commmon`", "Some data processing common for all services.\n No need to override this.\n<END>", "<BEGIN>\n## `get_response`", "Returns response according submitted the data an...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the url API. 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 url API. 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...
Executes the methods to send request, process the response and then publishes the url.
"Executes the methods to send request, process the response and then\n publishes the url."
12
false
crodjer/paster
url
33,215
LDU_FT/WZBSocialScienceCenter/tmtoolkit/metric_coherence_mimno_2011
LDU_FT
[ "<BEGIN>\n## `compute_models_parallel`", "Compute several Topic Models in parallel using the \"lda\" package. Use a single or multiple document term matrices\n `data` and optionally a list of varying parameters `varying_parameters`. Pass parameters in `constant_parameters`\n dict to each model calculation. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the metric_coherence_mimno_2011 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 metric_coherence_mimno_2011 API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
Calculate coherence metric according to Mimno et al. 2011 (a.k.a. "U_Mass" coherence metric). There are two modifications to the originally suggested measure: - uses a different epsilon by default (set `eps=1` for original) - uses a normalizing constant by default (set `normalize=False` for original) P...
"Calculate coherence metric according to Mimno et al. 2011 (a.k.a. \"U_Mass\" coherence metric). There are two\n modifications to the originally suggested measure:\n - uses a different epsilon by default (set `eps=1` for original)\n - uses a normalizing constant by default (set `normalize=False` for original)\...
135
false
WZBSocialScienceCenter/tmtoolkit
metric_coherence_mimno_2011
33,216
LDU_FT/zarr-developers/zarr/array_keys
LDU_FT
[ "<BEGIN>\n## `group`", "Create a group.", " Parameters\n ----------\n store : MutableMapping or string, optional\n Store or path to directory in file system.\n overwrite : bool, optional\n If True, delete any pre-existing data in `store` at `path` before\n creating the group.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the array_keys API. 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 array_keys API. 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...
Return an iterator over member names for arrays only. Examples -------- >>> import zarr >>> g1 = zarr.group() >>> g2 = g1.create_group('foo') >>> g3 = g1.create_group('bar') >>> d1 = g1.create_dataset('baz', shape=100, chunks=10) >>> d2 = g1.create_datase...
"Return an iterator over member names for arrays only.\n\n Examples\n --------\n >>> import zarr\n >>> g1 = zarr.group()\n >>> g2 = g1.create_group('foo')\n >>> g3 = g1.create_group('bar')\n >>> d1 = g1.create_dataset('baz', shape=100, chunks=10)\n >>> d2 = g1.cre...
436
false
zarr-developers/zarr
array_keys
33,217
LDU_FT/PyHDI/Pyverilog/p_localparamdecl_signed_width
LDU_FT
[ "<BEGIN>\n## `_create_opt_rule`", "Given a rule name, creates an optional ply.yacc rule\n for it. The name of the optional rule is\n <rulename>_opt\n<END>", "<BEGIN>\n## `p_pragma_assign`", "pragma : LPAREN TIMES ID EQUALS expression TIMES RPAREN\n<END>", "<BEGIN>\n## `p_moduledef`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the p_localparamdecl_signed_width 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 p_localparamdecl_signed_width API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc...
localparamdecl : LOCALPARAM SIGNED width param_substitution_list SEMICOLON
"localparamdecl : LOCALPARAM SIGNED width param_substitution_list SEMICOLON"
210
false
PyHDI/Pyverilog
p_localparamdecl_signed_width
33,218
LDU_FT/pymupdf/PyMuPDF/_addFormFont
LDU_FT
[ "<BEGIN>\n## `_Widget_fontdict`", "Turns the above font definitions into a dictionary. Assumes certain line breaks and spaces.\n<END>", "<BEGIN>\n## `getTextlength`", "Calculate length of a string for a given built-in font.", " Args:\n fontname: name of the font.\n fontsize: size of font in...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _addFormFont API. 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 _addFormFont API. 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...
_addFormFont(self, name, font) -> PyObject *
"_addFormFont(self, name, font) -> PyObject *"
282
false
pymupdf/PyMuPDF
_addFormFont
33,219
LDU_FT/nginxinc/crossplane/parse
LDU_FT
[ "<BEGIN>\n## `build_files`", "Uses a full nginx config payload (output of crossplane.parse) to build\n config files, then writes those files to disk.\n<END>", "<BEGIN>\n## `_lex_file_object`", "Generates token tuples from an nginx config file object", " Yields 3-tuples like (token, lineno, quoted)\n<E...
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...
Parses an nginx config file and returns a nested dict payload :param filename: string contianing the name of the config file to parse :param onerror: function that determines what's saved in "callback" :param catch_errors: bool; if False, parse stops after first error :param ignore: list or tuple of di...
"Parses an nginx config file and returns a nested dict payload\n\n :param filename: string contianing the name of the config file to parse\n :param onerror: function that determines what's saved in \"callback\"\n :param catch_errors: bool; if False, parse stops after first error\n :param ignore: list or tup...
20
false
nginxinc/crossplane
parse
33,220
LDU_FT/Aula13/poloniex/returnDepositsWithdrawals
LDU_FT
[ "<BEGIN>\n## `clear`", "Release the semaphore of all of its bounds, setting the internal\n counter back to its original bind limit. Notify an equivalent amount\n of threads that they can run.\n<END>", "<BEGIN>\n## `_api_wrapper`", "API function decorator that performs rate limiting and error che...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the returnDepositsWithdrawals 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 returnDepositsWithdrawals API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Returns your deposit and withdrawal history within a range, specified by the "start" and "end" POST parameters, both of which should be given as UNIX timestamps.
"Returns your deposit and withdrawal history within a range,\n specified by the \"start\" and \"end\" POST parameters, both of which\n should be given as UNIX timestamps."
37
false
Aula13/poloniex
returnDepositsWithdrawals
33,221
LDU_FT/LasLabs/python-helpscout/_parse_api_value_list
LDU_FT
[ "<BEGIN>\n## `create`", "Create an object on HelpScout.", " Args:\n session (requests.sessions.Session): Authenticated session.\n record (helpscout.BaseModel): The record to be created.\n endpoint_override (str, optional): Override the default\n endpoint us...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_api_value_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. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_api_value_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. ...
Return a list field compatible with the API.
"Return a list field compatible with the API."
178
false
LasLabs/python-helpscout
_parse_api_value_list
33,222
LDU_FT/miku/gluish/delistify
LDU_FT
[ "<BEGIN>\n## `write_tsv`", "Write argument list in `tup` out as a tab-separeated row to the stream.\n<END>", "<BEGIN>\n## `iter_tsv`", "If a tuple is given in cols, use the elements as names to construct\n a namedtuple.", " Columns can be marked as ignored by using ``X`` or ``0`` as column name.", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delistify API. 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 delistify API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
A basic slug version of a given parameter list.
"A basic slug version of a given parameter list."
34
false
miku/gluish
delistify
33,223
LDU_FT/ericmjl/nxviz/is_data_homogenous
LDU_FT
[ "<BEGIN>\n## `draw`", "Draws the Plot to screen.", " If there is a continuous datatype for the nodes, it will be reflected\n in self.sm being constructed (in `compute_node_colors`). It will then\n automatically add in a colorbar to the plot and scale the plot axes\n accordingly.\n<EN...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_data_homogenous 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 is_data_homogenous 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...
Checks that all of the data in the container are of the same Python data type. This function is called in every other function below, and as such need not necessarily be called. :param data_container: A generic container of data points. :type data_container: `iterable`
"Checks that all of the data in the container are of the same Python data\n type. This function is called in every other function below, and as such\n need not necessarily be called.\n\n :param data_container: A generic container of data points.\n :type data_container: `iterable`"
83
false
ericmjl/nxviz
is_data_homogenous
33,224
LDU_FT/KelSolaar/Umbra/uninitialize_ui
LDU_FT
[ "<BEGIN>\n## `restore_geometry_on_layout_change`", "Setter for **self.__restore_geometry_on_layout_change** attribute.", " :param value: Attribute value.\n :type value: bool\n<END>", "<BEGIN>\n## `get`", "Returns given layout value.", " :param layout: Layout name.\n :type layou...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the uninitialize_ui API. 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 uninitialize_ui API. 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...
Uninitializes the Component ui. :return: Method success. :rtype: bool
"Uninitializes the Component ui.\n\n :return: Method success.\n :rtype: bool"
1,432
true
KelSolaar/Umbra
uninitialize_ui
33,225
LDU_FT/planetlabs/es_fluent/build_filter
LDU_FT
[ "<BEGIN>\n## `and_filter`", "Adds a list of :class:`~es_fluent.filters.core.And` clauses, automatically\n generating :class:`~es_fluent.filters.core.And` filter if it does not\n exist.\n<END>", "<BEGIN>\n## `or_filter`", "Adds a list of :class:`~es_fluent.filters.core.Or` clauses, automatically\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_filter API. 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 build_filter API. 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...
Overloaded filter construction. If ``filter_or_string`` is a string we look up it's corresponding class in the filter registry and return it. Otherwise, assume ``filter_or_string`` is an instance of a filter. :return: :class:`~es_fluent.filters.Filter`
"Overloaded filter construction. If ``filter_or_string`` is a string\n we look up it's corresponding class in the filter registry and return it.\n Otherwise, assume ``filter_or_string`` is an instance of a filter.\n\n :return: :class:`~es_fluent.filters.Filter`"
36
false
planetlabs/es_fluent
build_filter
33,226
LDU_FT/divio/aldryn-apphooks-config/namespace_url
LDU_FT
[ "<BEGIN>\n## `namespace`", "Filter by namespace. Try to guess which field to use in lookup.\n Accept 'to' argument if you need to specify.\n<END>", "<BEGIN>\n## `_app_config_select`", "Return the select value for apphook configs", " :param request: request object\n :param obj: current o...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the namespace_url API. 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 namespace_url API. 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...
Returns an absolute URL matching named view with its parameters and the provided application instance namespace. If no namespace is passed as a kwarg (or it is "" or None), this templatetag will look into the request object for the app_config's namespace. If there is still no namespace found, this tag ...
"Returns an absolute URL matching named view with its parameters and the\n provided application instance namespace.\n\n If no namespace is passed as a kwarg (or it is \"\" or None), this templatetag\n will look into the request object for the app_config's namespace. If there\n is still no namespace found, t...
39
false
divio/aldryn-apphooks-config
namespace_url
33,227
LDU_FT/lambdamusic/Ontospy/load_uri
LDU_FT
[ "<BEGIN>\n## `main_cli`", "Ontospy allows to extract and visualise ontology information included in RDF data. Use one of the commands listed below to find out more, or visit http://lambdamusic.github.io/ontospy\n<END>", "<BEGIN>\n## `scan`", "SCAN: get ontology data from RDF source and print out a report.\n<E...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_uri API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_uri API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Load a single resource into the graph for this object. Approach: try loading into a temporary graph first, if that succeeds merge it into the main graph. This allows to deal with the JSONLD loading issues which can solved only by using a ConjunctiveGraph (https://github.com/RDFLib/rdflib/issues/436). Also it...
"Load a single resource into the graph for this object. \n\n Approach: try loading into a temporary graph first, if that succeeds merge it into the main graph. This allows to deal with the JSONLD loading issues which can solved only by using a ConjunctiveGraph (https://github.com/RDFLib/rdflib/issues/436). Also...
360
false
lambdamusic/Ontospy
load_uri
33,228
LDU_FT/what-studio/profiling/remote_profile
LDU_FT
[ "<BEGIN>\n## `by_own_time_per_call`", "Sorting by exclusive elapsed time per call in descending order.\n<END>", "<BEGIN>\n## `result`", "Gets the frozen statistics to serialize by Pickle.\n<END>", "<BEGIN>\n## `dump`", "Saves the profiling result to a file", " :param dump_filename: path to a file...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remote_profile API. 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 remote_profile API. 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...
Launch a server to profile continuously. The default endpoint is 127.0.0.1:8912.
"Launch a server to profile continuously. The default endpoint is\n 127.0.0.1:8912."
83
false
what-studio/profiling
remote_profile
33,229
LDU_FT/zhexiao/ezhost/install_config_kibana
LDU_FT
[ "<BEGIN>\n## `install_config_kafka`", "install and config kafka\n :return:\n<END>", "<BEGIN>\n## `install_config_elastic`", "install and config elasticsearch\n :return:\n<END>", "<BEGIN>\n## `install_config_logstash`", "install and config logstash\n :return:\n<END>", "<BEGIN>\n## `i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the install_config_kibana 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 install_config_kibana API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
install and config kibana :return:
"install and config kibana\n :return:"
22
false
zhexiao/ezhost
install_config_kibana
33,230
LDU_FT/scrapinghub/exporters/pack_buffer
LDU_FT
[ "<BEGIN>\n## `formatted_prefix`", "Gets a dict with format info, and formats a prefix template with that info. For example:\n if our prefix template is:\n 'some_file_{groups[0]}_{file_number}'", " And we have this method called with:", " formatted_prefix(groups=[US], file_number=0)...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pack_buffer API. 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 pack_buffer API. 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...
Prepare current buffer file for group of given key to be written (by gathering statistics).
"Prepare current buffer file for group of given key to be written\n (by gathering statistics)."
90
false
scrapinghub/exporters
pack_buffer
33,231
LDU_FT/QualiSystems/vCenterShell/create_resource_model_instance
LDU_FT
[ "<BEGIN>\n## `get_inventory`", "Will locate vm in vcenter and fill its uuid\n :type context: cloudshell.shell.core.context.ResourceCommandContext\n<END>", "<BEGIN>\n## `get_snapshots`", "Restores a virtual machine to a snapshot\n :param vim.ServiceInstance si: py_vmomi service instance\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_resource_model_instance API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_resource_model_instance API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con...
Create an instance of class named *ResourceModel from models folder according to ResourceModelName of a resource :param resource_instance: Resource with ResourceModelName property :return: instance of ResourceModel class
"Create an instance of class named *ResourceModel\n from models folder according to ResourceModelName of a resource\n :param resource_instance: Resource with ResourceModelName property\n :return: instance of ResourceModel class"
231
false
QualiSystems/vCenterShell
create_resource_model_instance
33,232
LDU_FT/contains-io/rcli/main
LDU_FT
[ "<BEGIN>\n## `setup_keyword`", "Add autodetected commands as entry points.", " Args:\n dist: The distutils Distribution object for the project being\n installed.\n _: The keyword used in the setup function. Unused.\n value: The value set to the keyword in the setup function. I...
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...
Parse the command line options and launch the requested command. If the command is 'help' then print the help message for the subcommand; if no subcommand is given, print the standard help message.
"Parse the command line options and launch the requested command.\n\n If the command is 'help' then print the help message for the subcommand; if\n no subcommand is given, print the standard help message."
147
false
contains-io/rcli
main
33,233
LDU_FT/neo4j-drivers/neobolt/update_routing_table
LDU_FT
[ "<BEGIN>\n## `watch`", "Quick wrapper for using the Watcher.", " :param logger_name: name of logger to watch\n :param level: minimum log level to show (default INFO)\n :param out: where to send output (default stdout)\n :return: Watcher instance\n<END>", "<BEGIN>\n## `get_user_agent`", "Obtain t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_routing_table 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 update_routing_table API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Update the routing table from the first router able to provide valid routing information.
"Update the routing table from the first router able to provide\n valid routing information."
86
false
neo4j-drivers/neobolt
update_routing_table
33,234
LDU_FT/kdeldycke/maildir-deduplicate/delete_oldest
LDU_FT
[ "<BEGIN>\n## `check_differences`", "In-depth check of mail differences.", " Compare all mails of the duplicate set with each other, both in size\n and content. Raise an error if we're not within the limits imposed by\n the threshold setting.\n<END>", "<BEGIN>\n## `diff`", "Return differ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_oldest API. 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 delete_oldest API. 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...
Delete all the oldest duplicates. Keeps all mail of the duplicate set but those sharing the oldest timestamp.
"Delete all the oldest duplicates.\n\n Keeps all mail of the duplicate set but those sharing the oldest\n timestamp."
68
false
kdeldycke/maildir-deduplicate
delete_oldest
33,235
LDU_FT/T-002/pycast/initSeasonFactors
LDU_FT
[ "<BEGIN>\n## `local_error`", "Calculates the error between the two given values.", " :param list originalValue: List containing the values of the original data.\n :param list calculatedValue: List containing the values of the calculated TimeSeries that\n corresponds to originalVal...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the initSeasonFactors API. 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 initSeasonFactors API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Computes the initial season smoothing factors. :return: Returns a list of season vectors of length "seasonLength". :rtype: list
"Computes the initial season smoothing factors.\n\n :return: Returns a list of season vectors of length \"seasonLength\".\n :rtype: list"
338
false
T-002/pycast
initSeasonFactors
33,236
LDU_FT/ryanolson/couchdb-schematics/reload
LDU_FT
[ "<BEGIN>\n## `load`", "Load a specific document from the given database.", " :param database: the `Database` object to retrieve the document from\n :param doc_id: the document ID\n :return: the `Document` instance, or `None` if no document with the\n given ID was found\n<END...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reload API. 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 reload API. 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 function reloads/rehydrates the Document Model. This is especially useful for embedded documents that are stored in a dehydrated state. :param database: the `Database` object source for reloading the document :return: an updated instance of `Document` / self.
"This function reloads/rehydrates the Document Model. This\n is especially useful for embedded documents that are stored\n in a dehydrated state.\n\n :param database: the `Database` object source for reloading the document\n :return: an updated instance of `Document` / self."
18
false
ryanolson/couchdb-schematics
reload
33,237
LDU_FT/aichaos/rivescript-python/set_uservar
LDU_FT
[ "<BEGIN>\n## `format_message`", "Format a user's message for safe processing.", " This runs substitutions on the message and strips out any remaining\n symbols (depending on UTF-8 mode).", " :param str msg: The user's message.\n :param bool botreply: Whether this formatting is bein...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_uservar API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_uservar API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Set a variable for a user. This is like the ``<set>`` tag in RiveScript code. :param str user: The user ID to set a variable for. :param str name: The name of the variable to set. :param str value: The value to set there.
"Set a variable for a user.\n\n This is like the ``<set>`` tag in RiveScript code.\n\n :param str user: The user ID to set a variable for.\n :param str name: The name of the variable to set.\n :param str value: The value to set there."
218
false
aichaos/rivescript-python
set_uservar
33,238
LDU_FT/ldo/dbussy/session_bus_async
LDU_FT
[ "<BEGIN>\n## `data_key`", "returns a unique value that allows data to be used as a dict/set key.\n<END>", "<BEGIN>\n## `get_version`", "returns the libdbus library version as a tuple of integers (major, minor, micro).\n<END>", "<BEGIN>\n## `matches_rule`", "does Message message match against the specified...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the session_bus_async API. 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 session_bus_async API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
returns a Connection object for the current D-Bus session bus.
"returns a Connection object for the current D-Bus session bus."
74
false
ldo/dbussy
session_bus_async
33,239
LDU_FT/JMSwag/dsdev-utils/get_package_hashes
LDU_FT
[ "<BEGIN>\n## `lazy_import`", "Decorator for declaring a lazy import.", " This decorator turns a function into an object that will act as a lazy\n importer. Whenever the object's attributes are accessed, the function\n is called and its return value used in place of the object. So you\n can declare...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_package_hashes API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_package_hashes 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...
Provides hash of given filename. Args: filename (str): Name of file to hash Returns: (str): sha256 hash
"Provides hash of given filename.\n\n Args:\n\n filename (str): Name of file to hash\n\n Returns:\n\n (str): sha256 hash"
36
false
JMSwag/dsdev-utils
get_package_hashes
33,240
LDU_FT/cidles/pressagio/remove_ngram
LDU_FT
[ "<BEGIN>\n## `create_ngram_table`", "Creates a table for n-gram of a give cardinality. The table name is\n constructed from this parameter, for example for cardinality `2` there\n will be a table `_2_gram` created.", " Parameters\n ----------\n cardinality : int\n T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_ngram API. 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 remove_ngram API. 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...
Removes a given ngram from the databae. The ngram has to be in the database, otherwise this method will stop with an error. Parameters ---------- ngram : iterable of str A list, set or tuple of strings.
"Removes a given ngram from the databae. The ngram has to be in the\n database, otherwise this method will stop with an error.\n\n Parameters\n ----------\n ngram : iterable of str\n A list, set or tuple of strings."
43
false
cidles/pressagio
remove_ngram
33,241
LDU_FT/Parsely/schemato/_validate_duplication
LDU_FT
[ "<BEGIN>\n## `validate`", "Iterate over all triples in the graph and validate each one\n appropriately\n<END>", "<BEGIN>\n## `_check_triple`", "compare triple to ontology, return error or None\n<END>", "<BEGIN>\n## `_validate_class`", "return error if class `cl` is not found in the ontology\n<E...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _validate_duplication 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_duplication API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
returns error if we've already seen the member `pred` on `subj`
"returns error if we've already seen the member `pred` on `subj`"
32
false
Parsely/schemato
_validate_duplication
33,242
LDU_FT/ergoithz/browsepy/clear
LDU_FT
[ "<BEGIN>\n## `defaultsnamedtuple`", "Generate namedtuple with default values.", " :param name: name\n :param fields: iterable with field names\n :param defaults: iterable or mapping with field defaults\n :returns: defaultdict with given fields and given defaults\n :rtype: collections.defaultdict\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clear API. 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 clear API. 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...
Clear plugin manager state. Registered mimetype functions will be disposed after calling this method.
"Clear plugin manager state.\n\n Registered mimetype functions will be disposed after calling this\n method."
207
false
ergoithz/browsepy
clear
33,243
LDU_FT/btr1975/ipaddresstools/ip
LDU_FT
[ "<BEGIN>\n## `ucast_ip_mask`", "Function to check if a address is unicast and that the CIDR mask is good\n Args:\n ip_addr_and_mask: Unicast IP address and mask in the following format 192.168.1.1/24\n return_tuple: Set to True it returns a IP and mask in a tuple, set to False returns True or Fal...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ip API. 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 ip API. 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...
Function to check if a address is good Args: ip_addr: IP address in the following format 192.168.1.1 return_tuple: Set to True it returns a IP, set to False returns True or False Returns: see return_tuple for return options
"Function to check if a address is good\n Args:\n ip_addr: IP address in the following format 192.168.1.1\n return_tuple: Set to True it returns a IP, set to False returns True or False\n\n Returns: see return_tuple for return options"
46
false
btr1975/ipaddresstools
ip
33,244
LDU_FT/aconrad/pycobertura/files
LDU_FT
[ "<BEGIN>\n## `line_rate`", "Return the global line rate of the coverage report. If the\n `filename` file is given, return the line rate of the file.\n<END>", "<BEGIN>\n## `branch_rate`", "Return the global branch rate of the coverage report. If the\n `filename` file is given, return the branch r...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the files API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the files API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Return the list of available files in the coverage report.
"Return the list of available files in the coverage report."
53
false
aconrad/pycobertura
files
33,245
LDU_FT/frasertweedale/ledgertools/ledger
LDU_FT
[ "<BEGIN>\n## `apply`", "Manufacture decorator that filters return value with given function.", " ``filter``:\n Callable that takes a single parameter.\n<END>", "<BEGIN>\n## `format_outpat`", "Format an outpat for the given transaction.", " Format the given output filename pattern. The pattern ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ledger API. 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 ledger API. 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 ...
Convert to a Ledger transaction (no trailing blank line)
"Convert to a Ledger transaction (no trailing blank line)"
82
false
frasertweedale/ledgertools
ledger
33,246
LDU_FT/MartinThoma/hwrt/_get_system
LDU_FT
[ "<BEGIN>\n## `classify_segmented_recording`", "Use this function if you are sure you have a single symbol.", " Parameters\n ----------\n recording : string\n The recording in JSON format", " Returns\n -------\n list of dictionaries\n Each dictionary contains the keys 'symbol' a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_system API. 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 _get_system API. 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...
Return the preprocessing description, the feature description and the model description.
"Return the preprocessing description, the feature description and the\n model description."
558
false
MartinThoma/hwrt
_get_system
33,247
LDU_FT/anayjoshi/platypus/add_instruction
LDU_FT
[ "<BEGIN>\n## `get_cfg`", "Traverses the AST and returns the corresponding CFG", " :param ast_func: The AST representation of function\n :type ast_func: ast.Function", " :returns: The CFG representation of the function\n :rtype: cfg.Function\n<END>", "<BEGIN>\n## `get_ir`", "Converts the given ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_instruction API. 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 add_instruction API. 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...
Adds the argument instruction in the list of instructions of this basic block. Also updates the variable lists (used_variables, defined_variables)
"Adds the argument instruction in the list of instructions of this basic block.\n\n Also updates the variable lists (used_variables, defined_variables)"
26
false
anayjoshi/platypus
add_instruction
33,248
LDU_FT/neithere/django-navigation/_get_trail
LDU_FT
[ "<BEGIN>\n## `breadcrumb`", "Usage::", " from navigation.decorators import breadcrumb", " @breadcrumb('greeting')\n def some_view(request):\n return 'Hello world!'", " @breadcrumb(lambda request: u'greeting for %s' % request.user.username)\n def some_view(reques...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_trail API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_trail API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Returns trail of breadcrumbs (vertical cut, excluding base level)
"Returns trail of breadcrumbs (vertical cut, excluding base level)"
31
false
neithere/django-navigation
_get_trail
33,249
LDU_FT/HazyResearch/pdftotree/do_intersect
LDU_FT
[ "<BEGIN>\n## `_retain_centroids`", "Only keep one number for each cluster within thres of each other\n<END>", "<BEGIN>\n## `_split_vlines_hlines`", "Separates lines into horizontal and vertical ones\n<END>", "<BEGIN>\n## `_mark_grid_bounds`", "Assume all lines define a complete grid over the region_bbox.\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_intersect API. 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 do_intersect API. 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...
Helper function that returns True if two bounding boxes overlap.
"Helper function that returns True if two bounding boxes overlap."
113
false
HazyResearch/pdftotree
do_intersect
33,250
LDU_FT/nameko/nameko/on_consume_ready
LDU_FT
[ "<BEGIN>\n## `run_services`", "Serves a number of services for a contextual block.\n The caller can specify a number of service classes then serve them either\n stopping (default) or killing them on exiting the contextual block.", " Example::", " with run_services(config, Foobar, Spam) as runn...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the on_consume_ready API. 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 on_consume_ready API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Kombu callback when consumers are ready to accept messages. Called after any (re)connection to the broker.
"Kombu callback when consumers are ready to accept messages.\n\n Called after any (re)connection to the broker."
155
false
nameko/nameko
on_consume_ready
33,251
LDU_FT/dcaune/perseus-lib-python-common/s2n
LDU_FT
[ "<BEGIN>\n## `convert_image_to_rgb_mode`", "Convert the specified image instance to RGB mode.", " @param image: a Python Library Image (PIL) instance to convert its\n pixel format to RGB, discarding the alpha channel.", " @param fill_color: color to be used to fill transparent pixels when\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the s2n API. 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 s2n API. 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...
Convert slice to integer, based on sign and endian flags. Usually this offset is assumed to be relative to the beginning of the start of the EXIF information. For some cameras that use relative tags, this offset may be relative to some other starting point.
"Convert slice to integer, based on sign and endian flags.\n\n Usually this offset is assumed to be relative to the beginning of the\n start of the EXIF information.\n For some cameras that use relative tags, this offset may be relative\n to some other starting point."
498
false
dcaune/perseus-lib-python-common
s2n
33,252
LDU_FT/developmentseed/landsat-util/clip
LDU_FT
[ "<BEGIN>\n## `_read_cmap`", "reads the colormap from a text file given in settings.py.\n See colormap_cubehelix.txt. File must contain 256 RGB values\n<END>", "<BEGIN>\n## `data_collector`", "Buffers n bytes of data.", " :param iterable:\n Could be a list, generator or string\n :type ite...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clip API. 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 clip API. 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...
Clip images based on bounds provided Implementation is borrowed from https://github.com/brendan-ward/rasterio/blob/e3687ce0ccf8ad92844c16d913a6482d5142cf48/rasterio/rio/convert.py
"Clip images based on bounds provided\n Implementation is borrowed from\n https://github.com/brendan-ward/rasterio/blob/e3687ce0ccf8ad92844c16d913a6482d5142cf48/rasterio/rio/convert.py"
152
false
developmentseed/landsat-util
clip
33,253
LDU_FT/gvanderheide/discreteMarkovChain/printPi
LDU_FT
[ "<BEGIN>\n## `uniqueStates`", "Returns unique states and sums up the corresponding rates.\n States should be a 2d numpy array with on each row a state, and rates a 1d numpy array with length equal to the number of rows in states. ", " This may be helpful in the transition function for summing up the ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the printPi API. 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 printPi API. 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...
Prints all states state and their steady state probabilities. Not recommended for large state spaces.
"Prints all states state and their steady state probabilities.\n Not recommended for large state spaces."
68
false
gvanderheide/discreteMarkovChain
printPi
33,254
LDU_FT/datacats/datacats/require_data
LDU_FT
[ "<BEGIN>\n## `create`", "Create a new environment", "Usage:\n datacats create [-bin] [--interactive] [-s NAME] [--address=IP] [--syslog]\n [--ckan=CKAN_VERSION] [--no-datapusher] [--site-url SITE_URL]\n [--no-init-db] ENVIRONMENT_DIR [PORT]", "Options:\n --address=IP ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the require_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the require_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
raise a DatacatsError if the datadir or volumes are missing or damaged
"raise a DatacatsError if the datadir or volumes are missing or damaged"
256
false
datacats/datacats
require_data
33,255
LDU_FT/cons3rt/pycons3rt/set_deployment_id
LDU_FT
[ "<BEGIN>\n## `getdict`", "Returns a standard python Dict with computed values\n from the DynDict\n :param source: (DynDict) input\n :return: (dict) Containing computed values\n<END>", "<BEGIN>\n## `get_ec2_client`", "Gets an EC2 client", " :return: boto3.client object\n :raises: AWSAPIError\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_deployment_id API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_deployment_id API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Sets the deployment ID from deployment properties :return: None
"Sets the deployment ID from deployment properties\n\n :return: None"
386
false
cons3rt/pycons3rt
set_deployment_id
33,256
LDU_FT/Trax-air/swagger-parser/_validate_body_parameters
LDU_FT
[ "<BEGIN>\n## `_validate_post_body`", "returns a tuple (boolean, msg)\n to indicate whether the validation passed\n if False then msg contains the reason\n if True then msg is empty\n<END>", "<BEGIN>\n## `build_definitions_example`", "Parse all definitions in the swagger specification.\n<E...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _validate_body_parameters 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 _validate_body_parameters API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Check the body parameter for the action specification. Args: body: body parameter to check. action_spec: specification of the action. Returns: True if the body is valid. A string containing an error msg in case the body did not validate, othe...
"Check the body parameter for the action specification.\n\n Args:\n body: body parameter to check.\n action_spec: specification of the action.\n\n Returns:\n True if the body is valid.\n A string containing an error msg in case the body did not validate,\n ...
100
false
Trax-air/swagger-parser
_validate_body_parameters
33,257
LDU_FT/bear/parsedatetime/_evalQUnits
LDU_FT
[ "<BEGIN>\n## `_parse_date_rfc822`", "Parse an RFC822, RFC1123, RFC2822, or asctime-style date\n<END>", "<BEGIN>\n## `_initSymbols`", "Initialize symbols and single character constants.\n<END>", "<BEGIN>\n## `_convertUnitAsWords`", "Converts text units into their number value.", " @type unitText:...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _evalQUnits API. 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 _evalQUnits API. 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...
Evaluate text passed by L{_partialParseQUnits()}
"Evaluate text passed by L{_partialParseQUnits()}"
131
false
bear/parsedatetime
_evalQUnits
33,258
LDU_FT/jonhadfield/creds/insert
LDU_FT
[ "<BEGIN>\n## `create_plan`", "Determine what changes are required.", " args:\n existing_users (Users): List of discovered users\n proposed_users (Users): List of proposed users\n purge_undefined (bool): Remove discovered users that have not been defined in proposed users list\n pr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the insert API. 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 insert API. 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 ...
Insert an instance of User into the collection.
"Insert an instance of User into the collection."
71
false
jonhadfield/creds
insert
33,259
LDU_FT/shaunduncan/helga-facts/add_fact
LDU_FT
[ "<BEGIN>\n## `term_regex`", "Returns a case-insensitive regex for searching terms\n<END>", "<BEGIN>\n## `show_fact`", "Shows a fact stored for a given term, using a case-insensitive search.\n If a fact has an author, it will be shown. If it has a timestamp, that will\n also be shown.\n<END>", "<BEGIN>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_fact API. 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 add_fact API. 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...
Records a new fact with a given term. Optionally can set an author
"Records a new fact with a given term. Optionally can set an author"
21
false
shaunduncan/helga-facts
add_fact
33,260
LDU_FT/tweepy/tweepy/destroy_status
LDU_FT
[ "<BEGIN>\n## `get_authorization_url`", "Get the authorization URL to redirect the user\n<END>", "<BEGIN>\n## `get_access_token`", "After user has authorized the request token, get access token\n with user supplied verifier.\n<END>", "<BEGIN>\n## `get_xauth_access_token`", "Get an access token from ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the destroy_status API. 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 destroy_status API. 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...
:reference: https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/post-statuses-destroy-id :allowed_param:'id'
":reference: https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/post-statuses-destroy-id\n :allowed_param:'id'"
54
false
tweepy/tweepy
destroy_status
33,261
LDU_FT/sdispater/eloquent/save
LDU_FT
[ "<BEGIN>\n## `get_last`", "Get the last migration batch.", " :rtype: list\n<END>", "<BEGIN>\n## `compile_insert`", "Compile an insert SQL statement", " :param query: A QueryBuilder instance\n :type query: QueryBuilder", " :param values: The values to insert\n :type val...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save API. 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 save API. 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...
Save a new model and attach it to the parent model. :type model: eloquent.Model :type joining: dict :type touch: bool :rtype: eloquent.Model
"Save a new model and attach it to the parent model.\n\n :type model: eloquent.Model\n :type joining: dict\n :type touch: bool\n\n :rtype: eloquent.Model"
498
false
sdispater/eloquent
save
33,262
LDU_FT/datascopeanalytics/traces/duration_to_number
LDU_FT
[ "<BEGIN>\n## `duration_to_number`", "If duration is already a numeric type, then just return\n duration. If duration is a timedelta, return a duration in\n seconds.", " TODO: allow for multiple types of units.\n<END>", "<BEGIN>\n## `convert_args_to_list`", "Convert all iterable pairs of inputs into...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the duration_to_number 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 duration_to_number 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...
If duration is already a numeric type, then just return duration. If duration is a timedelta, return a duration in seconds. TODO: allow for multiple types of units.
"If duration is already a numeric type, then just return\n duration. If duration is a timedelta, return a duration in\n seconds.\n\n TODO: allow for multiple types of units."
73
false
datascopeanalytics/traces
duration_to_number
33,263
LDU_FT/TissueMAPS/TmClient/create_experiment
LDU_FT
[ "<BEGIN>\n## `map_logging_verbosity`", "Parameters\n ----------\n verbosity: int\n logging verbosity level (0-4)", " Returns\n -------\n A logging level as exported by `logging` module.\n By default returns logging.NOTSET", " Raises\n ------\n TypeError\n when `verbosi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_experiment API. 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_experiment API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Creates the experiment. Parameters ---------- workflow_type: str workflow type microscope_type: str microscope type plate_format: int well-plate format, i.e. total number of wells per plate plate_acquisition_mode: str mode ...
"Creates the experiment.\n\n Parameters\n ----------\n workflow_type: str\n workflow type\n microscope_type: str\n microscope type\n plate_format: int\n well-plate format, i.e. total number of wells per plate\n plate_acquisition_mode: str\n ...
203
false
TissueMAPS/TmClient
create_experiment
33,264
LDU_FT/singularityhub/singularity-python/RSA
LDU_FT
[ "<BEGIN>\n## `get_template`", "get_template will return a template in the template folder,\n with some substitutions (eg, {'{{ graph | safe }}':\"fill this in!\"}\n<END>", "<BEGIN>\n## `container_similarity_vector`", "container similarity_vector is similar to compare_packages, but intended\n to compare ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the RSA API. 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 RSA API. 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...
RSA analysis will compare the similarity of two matrices
"RSA analysis will compare the similarity of two matrices"
135
false
singularityhub/singularity-python
RSA
33,265
LDU_FT/cga-harvard/Hypermap-Registry/_get_repo_filter
LDU_FT
[ "<BEGIN>\n## `update_schema`", "set the mapping in solr.\n :param catalog: core\n :return:\n<END>", "<BEGIN>\n## `create_layer_from_metadata_xml`", "Create a layer / keyword list from a metadata record if it does not already exist.\n<END>", "<BEGIN>\n## `create_service_from_endpoint`", "Crea...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_repo_filter API. 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_repo_filter API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Apply repository wide side filter / mask query
"Apply repository wide side filter / mask query"
132
false
cga-harvard/Hypermap-Registry
_get_repo_filter
33,266
LDU_FT/Galarzaa90/tibia.py/from_content
LDU_FT
[ "<BEGIN>\n## `ranks`", ":class:`list` of :class:`str`: Ranks in their hierarchical order.\n<END>", "<BEGIN>\n## `from_content`", "Creates an instance of the class from the HTML content of the guild's page.", " Parameters\n -----------\n content: :class:`str`\n The HTML conten...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_content API. 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 from_content API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Creates an instance of the class from the html content of a highscores page. Notes ----- Tibia.com only shows up to 25 entries per page, so in order to obtain the full highscores, all 12 pages must be parsed and merged into one. Parameters ---------- content: :c...
"Creates an instance of the class from the html content of a highscores page.\n\n Notes\n -----\n Tibia.com only shows up to 25 entries per page, so in order to obtain the full highscores, all 12 pages must\n be parsed and merged into one.\n\n Parameters\n ----------\n c...
254
false
Galarzaa90/tibia.py
from_content
33,267
LDU_FT/CityOfZion/neo-python-rpc/send_many
LDU_FT
[ "<BEGIN>\n## `get_account`", "Look up an account on the blockchain. Sample output:", " Args:\n address: (str) address to lookup ( in format 'AXjaFSP23Jkbe6Pk9pPGT6NBDs1HVdqaXK')\n id: (int, optional) id to use for response tracking\n endpoint: (RPCEndpoint, optional) end...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_many API. 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 send_many API. 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...
Args: outputs_array: (dict) array, the data structure of each element in the array is as follows: {"asset": <asset>,"value": <value>,"address": <address>} asset: (str) asset identifier (for NEO: 'c56f33fc6ecfcd0c225c4ab356fee59390af8560be0e930faebe74a6daff7c9b', for GAS: '602...
"Args:\n outputs_array: (dict) array, the data structure of each element in the array is as follows:\n {\"asset\": <asset>,\"value\": <value>,\"address\": <address>}\n asset: (str) asset identifier (for NEO: 'c56f33fc6ecfcd0c225c4ab356fee59390af8560be0e930faebe74a6daff7c9b', for...
76
false
CityOfZion/neo-python-rpc
send_many
33,268
LDU_FT/tapilab/brandelion/cosine_merge
LDU_FT
[ "<BEGIN>\n## `parse_json`", "Yield screen_name, text tuples from a json file.\n<END>", "<BEGIN>\n## `extract_tweets`", "Yield screen_name, string tuples, where the string is the\n concatenation of all tweets of this user.\n<END>", "<BEGIN>\n## `preprocess`", ">>> preprocess('#hi there http://www.foo.co...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cosine_merge API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cosine_merge API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Return the proportion of a brand's followers who also follower an exemplar. We merge all exemplar followers into one big pseudo-account.
"Return the proportion of a brand's followers who also follower an\n exemplar. We merge all exemplar followers into one big pseudo-account."
47
false
tapilab/brandelion
cosine_merge
33,269
LDU_FT/cebel/pyuniprot/tissues_in_references
LDU_FT
[ "<BEGIN>\n## `get_args`", "Check allowed argument names and return is as dictionary\n<END>", "<BEGIN>\n## `query_disease`", "Returns list of diseases by query parameters\n ---", " tags:", " - Query functions", " parameters:", " - name: identifier\n in: query\n type: st...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tissues_in_references 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 tissues_in_references API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Distinct tissues (``tissue`` in :class:`.models.TissueInReference`) :return: all distinct tissues in references :rtype: list[str]
"Distinct tissues (``tissue`` in :class:`.models.TissueInReference`)\n\n :return: all distinct tissues in references\n :rtype: list[str]"
416
false
cebel/pyuniprot
tissues_in_references
33,270
LDU_FT/RiotGames/cloud-inquisitor/process_action
LDU_FT
[ "<BEGIN>\n## `options`", "Returns metadata information required for User Creation\n<END>", "<BEGIN>\n## `run`", "Update the cache of all DNS entries and perform checks", " Args:\n *args: Optional list of arguments\n **kwargs: Optional list of keyword arguments", " Retur...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_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 ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_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 ex...
Process an audit action for a resource, if possible Args: resource (:obj:`Resource`): A resource object to perform the action on action (`str`): Type of action to perform (`kill` or `stop`) action_issuer (`str`): The issuer of the action Returns: `ActionStatus`
"Process an audit action for a resource, if possible\n\n Args:\n resource (:obj:`Resource`): A resource object to perform the action on\n action (`str`): Type of action to perform (`kill` or `stop`)\n action_issuer (`str`): The issuer of the action\n Returns:\n `ActionStatus`"
693
false
RiotGames/cloud-inquisitor
process_action
33,271
LDU_FT/Pipoline/rocket-python/get_private_room_info
LDU_FT
[ "<BEGIN>\n## `get_private_rooms`", "Get a listing of all private rooms with their names and IDs\n<END>", "<BEGIN>\n## `get_private_room_history`", "Get various history of specific private group in this case private", " :param room_id:\n :param kwargs:\n :return:\n<END>", "<BEGIN>\n## ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_private_room_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. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_private_room_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. ...
Get various information about a specific private group :param room_id: :param kwargs: :return:
"Get various information about a specific private group\n\n :param room_id:\n :param kwargs:\n :return:"
32
false
Pipoline/rocket-python
get_private_room_info
33,272