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/NyashniyVladya/RusPhonetic/get_prev_letter
LDU_FT
[ "<BEGIN>\n## `set_prev_sonorus`", "Выставляет параметры звонкости/глухости, для предыдущих согласных.\n<END>", "<BEGIN>\n## `set_prev_hard`", "Выставляет параметры твёрдости/мягкости, для предыдущих согласных.\n<END>", "<BEGIN>\n## `get_prev_letter`", "Возвращает предыдущий объект буквы, если она не являе...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_prev_letter API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_prev_letter API. 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...
Возвращает предыдущий объект буквы, если она не является знаком. Если знак, то рекурсивно спускается, до ближайшей.
"Возвращает предыдущий объект буквы, если она не является знаком.\n Если знак, то рекурсивно спускается, до ближайшей."
14
false
NyashniyVladya/RusPhonetic
get_prev_letter
28,573
LDU_FT/heikomuller/sco-client/create
LDU_FT
[ "<BEGIN>\n## `download_file`", "Download attached file as temporary file.", " Parameters\n ----------\n url : string\n SCO-API download Url\n suffix : string, optional\n If suffix is specified, the name of the downloaded file will end with\n that suffix, otherwise there will be ...
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 a new model run using the given SCO-API create model run Url. Parameters ---------- url : string Url to POST model run create model run request model_id : string Unique model identifier name : string User-defined name for model run ...
"Create a new model run using the given SCO-API create model run Url.\n\n Parameters\n ----------\n url : string\n Url to POST model run create model run request\n model_id : string\n Unique model identifier\n name : string\n User-defined name for mode...
164
false
heikomuller/sco-client
create
28,574
LDU_FT/hannes-brt/hebel/cublasZhpr2
LDU_FT
[ "<BEGIN>\n## `parameters`", "A property that returns all of the model's parameters.\n<END>", "<BEGIN>\n## `parameters`", "Used to set all of the model's parameters to new values.", " **Parameters:**", " value : array_like\n New values for the model parameters. Must be of length\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cublasZhpr2 API. 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 cublasZhpr2 API. 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...
Rank-2 operation on Hermitian-packed matrix.
"Rank-2 operation on Hermitian-packed matrix."
372
false
hannes-brt/hebel
cublasZhpr2
28,575
LDU_FT/jrief/django-angular/get_field_errors
LDU_FT
[ "<BEGIN>\n## `THUMBNAIL_OPTIONS`", "Set the size as a 2-tuple for thumbnailed images after uploading them.\n<END>", "<BEGIN>\n## `get_context`", "Some widgets require a modified rendering context, if they contain angular directives.\n<END>", "<BEGIN>\n## `errors`", "Returns a TupleErrorList for this field...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_field_errors API. 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_field_errors API. 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 server side errors. Shall be overridden by derived forms to add their extra errors for AngularJS.
"Return server side errors. Shall be overridden by derived forms to add their\n extra errors for AngularJS."
63
false
jrief/django-angular
get_field_errors
28,576
LDU_FT/tensorflow/hub/_print_download_progress_msg
LDU_FT
[ "<BEGIN>\n## `export`", "Exports a ModuleSpec with weights taken from a checkpoint.", " This is an helper to export modules directly from a ModuleSpec\n without having to create a session and set the variables to the\n intended values.", " Example usage:", " ```python\n spec = hub.create_m...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _print_download_progress_msg API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _print_download_progress_msg API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl...
Prints a message about download progress either to the console or TF log. Args: msg: Message to print. flush: Indicates whether to flush the output (only used in interactive mode).
"Prints a message about download progress either to the console or TF log.\n\n Args:\n msg: Message to print.\n flush: Indicates whether to flush the output (only used in interactive\n mode)."
488
false
tensorflow/hub
_print_download_progress_msg
28,577
LDU_FT/priestc/moneywagon/check_error
LDU_FT
[ "<BEGIN>\n## `supported_currencies`", "Returns a list of all currencies that are supported by the passed in project.\n and support level. Support level can be: \"block\", \"transaction\", \"address\"\n or \"full\".\n<END>", "<BEGIN>\n## `not_supported_currencies`", "Returns a list of all currenc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_error API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_error API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
If the service is returning an error, this function should raise an exception. such as SkipThisService
"If the service is returning an error, this function should raise an exception.\n such as SkipThisService"
135
false
priestc/moneywagon
check_error
28,578
LDU_FT/vxgmichel/aiostream/chain
LDU_FT
[ "<BEGIN>\n## `base_combine`", "Base operator for managing an asynchronous sequence of sequences.", " The sequences are awaited concurrently, although it's possible to limit\n the amount of running sequences using the `task_limit` argument.", " The ``switch`` argument enables the switch mecanism, whic...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the chain API. 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 chain API. 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...
Chain asynchronous sequences together, in the order they are given. Note: the sequences are not iterated until it is required, so if the operation is interrupted, the remaining sequences will be left untouched.
"Chain asynchronous sequences together, in the order they are given.\n\n Note: the sequences are not iterated until it is required,\n so if the operation is interrupted, the remaining sequences\n will be left untouched."
154
false
vxgmichel/aiostream
chain
28,579
LDU_FT/nsavch/python-xonotic-db/remove_all_cts_records_by
LDU_FT
[ "<BEGIN>\n## `parse_line`", "Parse a line from database\n :param line: line to parse\n<END>", "<BEGIN>\n## `save`", "Write database to a file. If a file with the specified name exists it's backed up\n :param file_path: file path\n<END>", "<BEGIN>\n## `filter`", "Filter database key by patter...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_all_cts_records_by 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 remove_all_cts_records_by API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Remove all CTS records from the specified player :param crypto_idfp: :return:
"Remove all CTS records from the specified player\n :param crypto_idfp:\n :return:"
20
false
nsavch/python-xonotic-db
remove_all_cts_records_by
28,580
LDU_FT/ethereum/py-evm/from_genesis_header
LDU_FT
[ "<BEGIN>\n## `new_transaction`", "Create and return a transaction sending amount from <from_> to <to>.", " The transaction will be signed with the given private key.\n<END>", "<BEGIN>\n## `idfn`", "Function for pytest to produce uniform names for fixtures.\n<END>", "<BEGIN>\n## `get_fixtures_file_hash`...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_genesis_header API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_genesis_header API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Initializes the chain from the genesis header.
"Initializes the chain from the genesis header."
422
false
ethereum/py-evm
from_genesis_header
28,581
LDU_FT/hvac/hvac/transit_generate_data_key
LDU_FT
[ "<BEGIN>\n## `read_init_status`", "Read the initialization status of Vault.", " Supported methods:\n GET: /sys/init. Produces: 200 application/json", " :return: The JSON response of the request.\n :rtype: dict\n<END>", "<BEGIN>\n## `initialize`", "Initialize a new Vault.", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transit_generate_data_key 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 transit_generate_data_key API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
POST /<mount_point>/datakey/<type>/<name> :param name: :type name: :param key_type: :type key_type: :param context: :type context: :param nonce: :type nonce: :param bits: :type bits: :param mount_point: :type mount_point: ...
"POST /<mount_point>/datakey/<type>/<name>\n\n :param name:\n :type name:\n :param key_type:\n :type key_type:\n :param context:\n :type context:\n :param nonce:\n :type nonce:\n :param bits:\n :type bits:\n :param mount_point:\n :type ...
856
false
hvac/hvac
transit_generate_data_key
28,582
LDU_FT/satellogic/telluric/_reproject
LDU_FT
[ "<BEGIN>\n## `join`", "This method takes a list of rasters and returns a raster that is constructed of all of them\n<END>", "<BEGIN>\n## `merge_all`", "Merge a list of rasters, cropping by a region of interest.\n There are cases that the roi is not precise enough for this cases one can use,\n the ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _reproject API. 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 _reproject API. 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 re-projected raster to new raster. :param new_width: new raster width in pixels :param new_height: new raster height in pixels :param dest_affine: new raster affine :param dtype: new raster dtype, default current dtype :param dst_crs: new raster crs, default current crs ...
"Return re-projected raster to new raster.\n\n :param new_width: new raster width in pixels\n :param new_height: new raster height in pixels\n :param dest_affine: new raster affine\n :param dtype: new raster dtype, default current dtype\n :param dst_crs: new raster crs, default curren...
261
false
satellogic/telluric
_reproject
28,583
LDU_FT/williamjameshandley/fgivenx/samples_from_getdist_chains
LDU_FT
[ "<BEGIN>\n## `plot`", "r\"\"\"\n Plot iso-probability mass function, converted to sigmas.", " Parameters\n ----------\n x, y, z : numpy arrays\n Same as arguments to :func:`matplotlib.pyplot.contour`", " ax: axes object, optional\n :class:`matplotlib.axes._subplots.AxesSubplot` to...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the samples_from_getdist_chains 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 samples_from_getdist_chains API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
Extract samples and weights from getdist chains. Parameters ---------- params: list(str) Names of parameters to be supplied to second argument of f(x|theta). file_root: str, optional Root name for getdist chains files. This variable automatically defines: - chains_file ...
"Extract samples and weights from getdist chains.\n\n Parameters\n ----------\n params: list(str)\n Names of parameters to be supplied to second argument of f(x|theta).\n\n file_root: str, optional\n Root name for getdist chains files. This variable automatically\n defines:\n - c...
191
false
williamjameshandley/fgivenx
samples_from_getdist_chains
28,584
LDU_FT/twidi/django-extended-choices/_convert_choices
LDU_FT
[ "<BEGIN>\n## `create_choice`", "Create an instance of a ``Choices`` object.", " Parameters\n ----------\n klass : type\n The class to use to recreate the object.\n choices : list(tuple)\n A list of choices as expected by the ``__init__`` method of ``klass``.\n subsets : list(tuple)\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _convert_choices API. 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 _convert_choices API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Auto create display values then call super method
"Auto create display values then call super method"
59
false
twidi/django-extended-choices
_convert_choices
28,585
LDU_FT/idlesign/steampak/global_unlock_percent
LDU_FT
[ "<BEGIN>\n## `get_filter_cardborder`", "Returns game cards URL filter for a given cardborder\n type (TAG_CARDBORDER_NORMAL / TAG_CARDBORDER_FOIL).", " To be used in URL_GAMECARDS.", " :param str|unicode cardborder_type:\n :rtype: str|unicode\n<END>", "<BEGIN>\n## `install_dir`", "Returns appli...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the global_unlock_percent 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 global_unlock_percent API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Global achievement unlock percent. :rtype: float
"Global achievement unlock percent.\n\n :rtype: float"
72
false
idlesign/steampak
global_unlock_percent
28,586
LDU_FT/getsentry/sentry-python/get_host
LDU_FT
[ "<BEGIN>\n## `init`", "Initializes the SDK and optionally integrations.", " This takes the same arguments as the client constructor.\n<END>", "<BEGIN>\n## `current`", "Returns the current instance of the hub.\n<END>", "<BEGIN>\n## `get_integration`", "Returns the integration for this hub by name or c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_host API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_host API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Return the host for the given WSGI environment. Yanked from Werkzeug.
"Return the host for the given WSGI environment. Yanked from Werkzeug."
57
false
getsentry/sentry-python
get_host
28,587
LDU_FT/KvasirSecurity/kvasirapi-python/add
LDU_FT
[ "<BEGIN>\n## `load`", "Load a YAML configuration file.", " :param configuration: Configuration filename or YAML string\n<END>", "<BEGIN>\n## `instances`", "Returns a dict of all instances defined using a regex", " :param test_type: Regular expression to match for self.instance['test_type'] v...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add API. 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 add API. 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...
Add an SNMP community string to a host :param host: t_hosts.id or t_hosts.f_ipaddr :param f_community: Community string to add :param f_access: READ or WRITE :param f_version: v1, v2c or v3 :return: (True/False, t_snmp.id/Error string)
"Add an SNMP community string to a host\n\n :param host: t_hosts.id or t_hosts.f_ipaddr\n :param f_community: Community string to add\n :param f_access: READ or WRITE\n :param f_version: v1, v2c or v3\n :return: (True/False, t_snmp.id/Error string)"
66
false
KvasirSecurity/kvasirapi-python
add
28,588
LDU_FT/pydsigner/pygu/convert_rect
LDU_FT
[ "<BEGIN>\n## `draw`", "Draw all widgets and sub-containers to @surf.\n<END>", "<BEGIN>\n## `kill`", "Remove the class from its container, contained items and sub-widgets. \n Runs automatically when the class is garbage collected.\n<END>", "<BEGIN>\n## `add`", "Place @widgets under the blitting hand...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_rect API. 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 convert_rect API. 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...
Converts the relative position of @rect into an absolute position.To be used for event considerations, blitting is handled directly by the Container().
"Converts the relative position of @rect into an absolute position.To be \n used for event considerations, blitting is handled directly by the \n Container()."
68
false
pydsigner/pygu
convert_rect
28,589
LDU_FT/ihiji/version_utils/_pop_arch
LDU_FT
[ "<BEGIN>\n## `compare_packages`", "Compare two RPM strings to determine which is newer", " Parses version information out of RPM package strings of the form\n returned by the ``rpm -q`` command and compares their versions to\n determine which is newer. Provided strings *do not* require an\n architec...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _pop_arch API. 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 _pop_arch API. 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...
Pop the architecture from a version string and return it Returns any portion of a string following the final period. In rpm version strings, this corresponds to the package architecture. :param list char_list: an rpm version string in character list form :return: the parsed architecture as a string ...
"Pop the architecture from a version string and return it\n\n Returns any portion of a string following the final period. In rpm\n version strings, this corresponds to the package architecture.\n\n :param list char_list: an rpm version string in character list form\n :return: the parsed architecture as a st...
56
false
ihiji/version_utils
_pop_arch
28,590
LDU_FT/duointeractive/sea-cucumber/handle
LDU_FT
[ "<BEGIN>\n## `get_boto_ses_connection`", "Shortcut for instantiating and returning a boto SESConnection object.", " :rtype: boto.ses.SESConnection\n :returns: A boto SESConnection object, from which email sending is done.\n<END>", "<BEGIN>\n## `dkim_sign`", ":returns: A signed email message if dkim pa...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle API. 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 handle API. 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 ...
Parses/validates, and breaks off into actions.
"Parses/validates, and breaks off into actions."
26
false
duointeractive/sea-cucumber
handle
28,591
LDU_FT/CS207-Final-Project-Group-10/cs207-FinalProject/_parse_seed_dict
LDU_FT
[ "<BEGIN>\n## `configuration_ES`", "Get the positions and velocities of the earth and sun from date t0 to t1.\n Returned as a tuple q, v\n q: Nx3 array of positions (x, y, z) in the J2000.0 coordinate frame.\n<END>", "<BEGIN>\n## `plot_ES`", "Plot the earth-sun orbits.\n q is a Tx6 array. T indexes t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_seed_dict API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_seed_dict API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Create an extended list of variable names including any pre-bound ones Throws an error if a variable is unbound Returns inferred dict of variable: val pairs
"Create an extended list of variable names including any pre-bound ones\n Throws an error if a variable is unbound\n Returns inferred dict of variable: val pairs"
92
false
CS207-Final-Project-Group-10/cs207-FinalProject
_parse_seed_dict
28,592
LDU_FT/uuazed/numerapi/get_dataset_url
LDU_FT
[ "<BEGIN>\n## `_unzip_file`", "unzips file located at src_path into destination_path\n<END>", "<BEGIN>\n## `get_dataset_url`", "Fetch url of the current dataset.", " Args:\n tournament (int, optional): ID of the tournament, defaults to 1", " Returns:\n str: url of the cu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_dataset_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 e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_dataset_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 e...
Fetch url of the current dataset. Args: tournament (int, optional): ID of the tournament, defaults to 1 Returns: str: url of the current dataset Example: >>> NumerAPI().get_dataset_url() https://numerai-datasets.s3.amazonaws.com/t1/104/numerai_d...
"Fetch url of the current dataset.\n\n Args:\n tournament (int, optional): ID of the tournament, defaults to 1\n\n Returns:\n str: url of the current dataset\n\n Example:\n >>> NumerAPI().get_dataset_url()\n https://numerai-datasets.s3.amazonaws.com/t1/10...
163
false
uuazed/numerapi
get_dataset_url
28,593
LDU_FT/slok/prometheus-python/replace
LDU_FT
[ "<BEGIN>\n## `negotiate`", "Process headers dict to return the format class\n (not the instance)\n<END>", "<BEGIN>\n## `add`", "Add works like replace, but only previously pushed metrics with the\n same name (and the same job and instance) will be replaced.\n (It uses HTTP met...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the replace API. 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 replace API. 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...
Push triggers a metric collection and pushes all collected metrics to the Pushgateway specified by addr Note that all previously pushed metrics with the same job and instance will be replaced with the metrics pushed by this call. (It uses HTTP method 'PUT' to push to the ...
"Push triggers a metric collection and pushes all collected metrics\n to the Pushgateway specified by addr\n Note that all previously pushed metrics with the same job and\n instance will be replaced with the metrics pushed by this call.\n (It uses HTTP method 'PUT' to push to...
20
false
slok/prometheus-python
replace
28,594
LDU_FT/ejhigson/nestcheck/check_ns_run
LDU_FT
[ "<BEGIN>\n## `save_load_result`", "Saves and/or loads func output (must be picklable).\n<END>", "<BEGIN>\n## `pickle_save`", "Saves object with pickle.", " Parameters\n ----------\n data: anything picklable\n Object to save.\n name: str\n Path to save to (includes dir, excludes ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_ns_run API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_ns_run API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Checks a nestcheck format nested sampling run dictionary has the expected properties (see the data_processing module docstring for more details). Parameters ---------- run: dict nested sampling run to check. dup_assert: bool, optional See check_ns_run_logls docstring. dup_wa...
"Checks a nestcheck format nested sampling run dictionary has the\n expected properties (see the data_processing module docstring for more\n details).\n\n Parameters\n ----------\n run: dict\n nested sampling run to check.\n dup_assert: bool, optional\n See check_ns_run_logls docstring.\...
394
false
ejhigson/nestcheck
check_ns_run
28,595
LDU_FT/python-wink/python-wink/update_state
LDU_FT
[ "<BEGIN>\n## `set_mode`", ":param mode: a str, one of [home, away, night]\n :return: nothing\n<END>", "<BEGIN>\n## `set_privacy`", ":param state: True or False\n :return: nothing\n<END>", "<BEGIN>\n## `_update_state_from_response`", ":param response_json: the json obj returned from query\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_state API. 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 update_state API. 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...
Update state with latest info from Wink API.
"Update state with latest info from Wink API."
133
false
python-wink/python-wink
update_state
28,596
LDU_FT/ishepard/pydriller/added
LDU_FT
[ "<BEGIN>\n## `get_head`", "Get the head commit.", " :return: Commit of the head commit\n<END>", "<BEGIN>\n## `get_list_commits`", "Return a generator of commits of all the commits in the repo.", " :return: Generator[Commit], the generator of all the commits in the\n repo\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the added API. 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 added API. 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 total number of added lines in the file. :return: int lines_added
"Return the total number of added lines in the file.\n\n :return: int lines_added"
62
false
ishepard/pydriller
added
28,597
LDU_FT/sosy-lab/benchexec/_setup_root_filesystem
LDU_FT
[ "<BEGIN>\n## `_program_files_from_executable`", "Get a list of program files by expanding a list of path patterns\n and interpreting it as relative to the executable.\n This method can be used as helper for implementing the method program_files().\n Contrary to the default implementation of p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _setup_root_filesystem 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 _setup_root_filesystem API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Setup the filesystem layout in the given root directory. Create a copy of the existing proc- and dev-mountpoints in the specified root directory. Afterwards we chroot into it. @param root_dir: The path of the root directory that is used to execute the process.
"Setup the filesystem layout in the given root directory.\n Create a copy of the existing proc- and dev-mountpoints in the specified root\n directory. Afterwards we chroot into it.\n\n @param root_dir: The path of the root directory that is used to execute the process."
406
false
sosy-lab/benchexec
_setup_root_filesystem
28,598
LDU_FT/rasbt/biopandas/generate_api_docs
LDU_FT
[ "<BEGIN>\n## `docstring_to_markdown`", "Convert a Python object's docstring to markdown", " Parameters\n ----------\n docstring : str\n The docstring body.", " Returns\n ----------\n clean_lst : list\n The markdown formatted docstring as lines (str) in a Python list.\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_api_docs API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_api_docs API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Generate a module level API documentation of a python package. Description ----------- Generates markdown API files for each module in a Python package whereas the structure is as follows: `package/package.subpackage/package.subpackage.module.md` Parameters ----------- package : Python...
"Generate a module level API documentation of a python package.\n\n Description\n -----------\n Generates markdown API files for each module in a Python package whereas\n the structure is as follows:\n `package/package.subpackage/package.subpackage.module.md`\n\n Parameters\n -----------\n packa...
110
false
rasbt/biopandas
generate_api_docs
28,599
LDU_FT/openstates/billy/downloads
LDU_FT
[ "<BEGIN>\n## `decimal_format`", "Format a decimal.Decimal like to 2 decimal places.\n<END>", "<BEGIN>\n## `notification_preference`", "Display two radio buttons for turning notifications on or off.\n The default value is is have alerts_on = True.\n<END>", "<BEGIN>\n## `committee_object`", "If the commi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the downloads API. 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 downloads API. 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...
Context: - all_metadata Templates: - billy/web/public/downloads.html
"Context:\n - all_metadata\n\n Templates:\n - billy/web/public/downloads.html"
168
false
openstates/billy
downloads
28,600
LDU_FT/10gen/mongo-orchestration/member_update
LDU_FT
[ "<BEGIN>\n## `_host`", "Get the Host from the most recent HTTP request.\n<END>", "<BEGIN>\n## `wait_for`", "waits while process starts.\n Args:\n port_num - port number\n timeout - specify how long, in seconds, a command can take before times out.\n return True if process started, r...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the member_update API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the member_update API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
update member's values with reconfig replica Args: member_id - member index params - updates member params return True if operation success otherwise False
"update member's values with reconfig replica\n Args:\n member_id - member index\n params - updates member params\n\n return True if operation success otherwise False"
153
false
10gen/mongo-orchestration
member_update
28,601
LDU_FT/idank/bashlex/p_pipeline_command
LDU_FT
[ "<BEGIN>\n## `_createtoken`", "create a token with position information\n<END>", "<BEGIN>\n## `p_inputunit`", "inputunit : simple_list simple_list_terminator\n | NEWLINE\n | error NEWLINE\n | EOF\n<END>", "<BEGIN>\n## `p_word_list`", "word_list : WORD\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the p_pipeline_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. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the p_pipeline_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. Th...
pipeline_command : pipeline | BANG pipeline_command | timespec pipeline_command | timespec list_terminator | BANG list_terminator
"pipeline_command : pipeline\n | BANG pipeline_command\n | timespec pipeline_command\n | timespec list_terminator\n | BANG list_terminator"
59
false
idank/bashlex
p_pipeline_command
28,602
LDU_FT/pkgw/pwkit/read_fits_bintable
LDU_FT
[ "<BEGIN>\n## `sample_gamma`", "This is mostly about recording the conversion between Numpy/Scipy\n conventions and Wikipedia conventions. Some equations:", " mean = alpha / beta\n variance = alpha / beta**2\n mode = (alpha - 1) / beta [if alpha > 1; otherwise undefined]\n skewness = 2 / sqrt(alph...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_fits_bintable 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 read_fits_bintable 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...
Open as a FITS file, read in a binary table, and return it as a :class:`pandas.DataFrame`, converted with :func:`pkwit.numutil.fits_recarray_to_data_frame`. The *hdu* argument specifies which HDU to read, with its default 1 indicating the first FITS extension. The *drop_nonscalar_ok* arg...
"Open as a FITS file, read in a binary table, and return it as a\n :class:`pandas.DataFrame`, converted with\n :func:`pkwit.numutil.fits_recarray_to_data_frame`. The *hdu* argument\n specifies which HDU to read, with its default 1 indicating the first\n FITS extension. The *drop_nonscalar_ok...
1,269
true
pkgw/pwkit
read_fits_bintable
28,603
LDU_FT/cslarsen/lyn/emit_function
LDU_FT
[ "<BEGIN>\n## `release`", "Destroys the state, along with its functions.\n<END>", "<BEGIN>\n## `clear`", "Clears state so it can be used for generating entirely new\n instructions.\n<END>", "<BEGIN>\n## `emit_function`", "Compiles code and returns a Python-callable function.\n<END>", "<BEGIN>\n## ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the emit_function API. 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 emit_function API. 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...
Compiles code and returns a Python-callable function.
"Compiles code and returns a Python-callable function."
10
false
cslarsen/lyn
emit_function
28,604
LDU_FT/Shapeways/coyote_framework/escape_dictionary
LDU_FT
[ "<BEGIN>\n## `get_login_form_component`", "Initializes and returns the login form component", " @rtype: LoginForm\n @return: Initialized component\n<END>", "<BEGIN>\n## `objectify`", "Converts a dictionary into a named tuple (shallow)\n<END>", "<BEGIN>\n## `create_directory`", "Creates a d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the escape_dictionary API. 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 escape_dictionary API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Escape dictionary values with keys as column names and values column values @type dictionary: dict @param dictionary: Key-values
"Escape dictionary values with keys as column names and values column values\n\n @type dictionary: dict\n @param dictionary: Key-values"
370
false
Shapeways/coyote_framework
escape_dictionary
28,605
LDU_FT/corydodt/Crosscap/openAPIDoc
LDU_FT
[ "<BEGIN>\n## `enter`", "Delegate a rule to another class which instantiates a Klein app", " This also memoizes the resource instance on the handler function itself\n<END>", "<BEGIN>\n## `openAPIDoc`", "Update a function's docstring to include the OpenAPI Yaml generated by running the openAPIGraph object\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the openAPIDoc API. 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 openAPIDoc API. 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...
Update a function's docstring to include the OpenAPI Yaml generated by running the openAPIGraph object
"Update a function's docstring to include the OpenAPI Yaml generated by running the openAPIGraph object"
26
false
corydodt/Crosscap
openAPIDoc
28,606
LDU_FT/inspirehep/inspire-crawler/get_job_logs_from_workflow
LDU_FT
[ "<BEGIN>\n## `create`", "Create a new entry for a scheduled crawler job.\n<END>", "<BEGIN>\n## `submit_results`", "Receive the submission of the results of a crawl job.", " Then it spawns the appropiate workflow according to whichever workflow\n the crawl job specifies.", " :param job_id: Id of t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_job_logs_from_workflow API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_job_logs_from_workflow API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
Retrieve the crawl logs from the workflow id.
"Retrieve the crawl logs from the workflow id."
19
false
inspirehep/inspire-crawler
get_job_logs_from_workflow
28,607
LDU_FT/catherinedevlin/ddl-generator/walk_and_clean
LDU_FT
[ "<BEGIN>\n## `precision_and_scale`", "From a float, decide what precision and scale are needed to represent it.", " >>> precision_and_scale(54.2)\n (3, 1)\n >>> precision_and_scale(9)\n (1, 0)", " Thanks to Mark Ransom,\n http://stackoverflow.com/questions/3018758/determine-precision-and-sca...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the walk_and_clean API. 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 walk_and_clean API. 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...
Recursively walks list of dicts (which may themselves embed lists and dicts), transforming namedtuples to OrderedDicts and using ``clean_key_name(k)`` to make keys into SQL-safe column names >>> data = [{'a': 1}, [{'B': 2}, {'B': 3}], {'F': {'G': 4}}] >>> pprint(walk_and_clean(data)) [OrderedDi...
"Recursively walks list of dicts (which may themselves embed lists and dicts),\n transforming namedtuples to OrderedDicts and\n using ``clean_key_name(k)`` to make keys into SQL-safe column names\n\n >>> data = [{'a': 1}, [{'B': 2}, {'B': 3}], {'F': {'G': 4}}]\n >>> pprint(walk_and_clean(data))\n [Or...
63
false
catherinedevlin/ddl-generator
walk_and_clean
28,608
LDU_FT/the01/python-flotils/load_yaml_file
LDU_FT
[ "<BEGIN>\n## `load_json`", "Load data from json string", " :param json_data: Stringified json object\n :type json_data: str | unicode\n :param decoder: Use custom json decoder\n :type decoder: T <= DateTimeDecoder\n :return: Json data\n :rtype: None | int | float | str | list | dict\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_yaml_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_yaml_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Load data from yaml file :param file: Readable object or path to file :type file: FileIO | str | unicode :return: Yaml data :rtype: None | int | float | str | unicode | list | dict
"Load data from yaml file\n\n :param file: Readable object or path to file\n :type file: FileIO | str | unicode\n :return: Yaml data\n :rtype: None | int | float | str | unicode | list | dict"
60
false
the01/python-flotils
load_yaml_file
28,609
LDU_FT/EliotBerriot/django-dynamic-preferences/manager
LDU_FT
[ "<BEGIN>\n## `by_name`", "Return a dictionary with preferences identifiers and values, but without the section name in the identifier\n<END>", "<BEGIN>\n## `get_cache_key`", "Return the cache key corresponding to a given preference\n<END>", "<BEGIN>\n## `from_cache`", "Return a preference raw_value from c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the manager API. 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 manager API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Return a preference manager that can be used to retrieve preference values
"Return a preference manager that can be used to retrieve preference values"
64
false
EliotBerriot/django-dynamic-preferences
manager
28,610
LDU_FT/EventRegistry/event-registry-python/initWithArticleUriList
LDU_FT
[ "<BEGIN>\n## `compute`", "compute the list of most similar events for the given text\n<END>", "<BEGIN>\n## `getUpdates`", "Get the latest new or updated events from Event Registry\n NOTE: call this method exactly once per minute - calling it more frequently will return the same results multiple times,\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the initWithArticleUriList 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 initWithArticleUriList API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
instead of making a query, provide a list of article URIs manually, and then produce the desired results on top of them
"instead of making a query, provide a list of article URIs manually, and then produce the desired results on top of them"
89
false
EventRegistry/event-registry-python
initWithArticleUriList
28,611
LDU_FT/ariebovenberg/snug/with_headers
LDU_FT
[ "<BEGIN>\n## `check_response`", "raise a descriptive exception on a \"bad request\" response\n<END>", "<BEGIN>\n## `_urllib_send`", "Send a request with an :mod:`urllib` opener\n<END>", "<BEGIN>\n## `handle_errors`", "raise a descriptive exception on a \"bad request\" response\n<END>", "<BEGIN>\n## `exe...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the with_headers API. 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 with_headers API. 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...
Create a new request with added headers Parameters ---------- headers: Mapping the headers to add
"Create a new request with added headers\n\n Parameters\n ----------\n headers: Mapping\n the headers to add"
37
false
ariebovenberg/snug
with_headers
28,612
LDU_FT/jfilter/text-classification-keras/_append
LDU_FT
[ "<BEGIN>\n## `check_output_input`", "Run command with arguments and return its output as a byte string.", " If the exit code was non-zero it raises a CalledProcessError. The\n CalledProcessError object will have the return code in the returncode\n attribute and output in the output attribute.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _append API. 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 _append API. 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...
Adds `value` to `lst` list indexed by `indices`. Will create sub lists as required.
"Adds `value` to `lst` list indexed by `indices`. Will create sub lists as required."
104
false
jfilter/text-classification-keras
_append
28,613
LDU_FT/scrapinghub/exporters/set_last_position
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 set_last_position API. 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_last_position API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Called from the manager, it is in charge of updating the last position of data commited by the writer, in order to have resume support
"Called from the manager, it is in charge of updating the last position of data commited\n by the writer, in order to have resume support"
90
false
scrapinghub/exporters
set_last_position
28,614
LDU_FT/matrix-org/matrix-python-sdk/modify_user_power_levels
LDU_FT
[ "<BEGIN>\n## `set_user_profile`", "Set user profile within a room.", " This sets displayname and avatar_url for the logged in user only in a\n specific room. It does not change the user's global user profile.\n<END>", "<BEGIN>\n## `send_html`", "Send an html formatted message.", " Arg...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the modify_user_power_levels API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the modify_user_power_levels API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Modify the power level for a subset of users Args: users(dict): Power levels to assign to specific users, in the form {"@name0:host0": 10, "@name1:host1": 100, "@name3:host3", None} A level of None causes the user to revert to the default level as spe...
"Modify the power level for a subset of users\n\n Args:\n users(dict): Power levels to assign to specific users, in the form\n {\"@name0:host0\": 10, \"@name1:host1\": 100, \"@name3:host3\", None}\n A level of None causes the user to revert to the default level\n ...
304
false
matrix-org/matrix-python-sdk
modify_user_power_levels
28,615
LDU_FT/StanfordVL/robosuite/run
LDU_FT
[ "<BEGIN>\n## `clear_objects`", "Clears objects with name @obj out of the task space. This is useful\n for supporting task modes with single types of objects, as in\n @self.single_object_mode without changing the model definition.\n<END>", "<BEGIN>\n## `staged_rewards`", "Returns staged rewards b...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Listener method that keeps pulling new messages.
"Listener method that keeps pulling new messages."
354
false
StanfordVL/robosuite
run
28,616
LDU_FT/nkmathew/yasi-sexp-indenter/split_preserve
LDU_FT
[ "<BEGIN>\n## `parse_options`", "Reads command-line arguments", " >>> parse_options('--indent-comments')\n<END>", "<BEGIN>\n## `read_file`", "read_file(fname : str) -> str", " >>> read_file(r'C:\\\\mine\\\\test.lisp')\n r'(print \"No, no, there\\'s \\\\r\\\\nlife in him!. \")\\\\r\\\\n\\\\r\\\\n'"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the split_preserve API. 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 split_preserve API. 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...
split_preserve(string : str, sep : str) -> [str] >>> split_preserve(''' "My dear Holmes, " said I, "this is too much. You would certainly have been burned, had you lived a few centuries ago. ''', '\\n') ['\\n', ' "My dear Holmes, " said I, "this is too much. You would certainly...
"split_preserve(string : str, sep : str) -> [str]\n\n >>> split_preserve('''\n \"My dear Holmes, \" said I, \"this is too much. You would certainly\n have been burned, had you lived a few centuries ago.\n ''', '\\\\n')\n ['\\\\n',\n ' \"My dear Holmes, \" said I, \"this is too much. Y...
73
false
nkmathew/yasi-sexp-indenter
split_preserve
28,617
LDU_FT/mobinrg/rpi_spark_drives/moveTo
LDU_FT
[ "<BEGIN>\n## `setKeyButton`", "!\n \\~english\n Set key button event\n @param btnId: Key button pin number in BCM\n @param keyCallback: A interrupt <b>callback_function</b> or <b>None</b>. <br>\n If set to <b>None</b> means keybutton work in query mode<br>\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the moveTo API. 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 moveTo API. 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 ...
! \~english Move vertex of rectangles to new point (x,y) @param newX: Coordinated X value @param newY: Coordinated Y value \~chinese 移动矩形到新坐标点 (x,y) @param newX: 坐标 X @param newY: 坐标 Y
"!\n \\~english \n Move vertex of rectangles to new point (x,y)\n @param newX: Coordinated X value\n @param newY: Coordinated Y value\n \\~chinese\n 移动矩形到新坐标点 (x,y)\n @param newX: 坐标 X\n @param newY: 坐标 Y"
135
false
mobinrg/rpi_spark_drives
moveTo
28,618
LDU_FT/allenai/allennlp/average
LDU_FT
[ "<BEGIN>\n## `forward`", "Parameters\n ----------\n inputs : ``PackedSequence``, required.\n A batch first ``PackedSequence`` to run the stacked LSTM over.\n initial_state : Tuple[torch.Tensor, torch.Tensor], optional, (default = None)\n A tuple (state, memory) represent...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the average API. 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 average API. 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...
Takes a list of rows and a column and returns the mean of the values under that column in those rows.
"Takes a list of rows and a column and returns the mean of the values under that column in\n those rows."
1,296
true
allenai/allennlp
average
28,619
LDU_FT/OCR-D/core/set_text
LDU_FT
[ "<BEGIN>\n## `xmllint_format`", "Pretty-print XML like ``xmllint`` does.", " Arguments:\n xml (string): Serialized XML\n<END>", "<BEGIN>\n## `download_to_directory`", "Download a file to the workspace.", " Early Shortcut: If url is a file://-URL and that file is already in the directory, ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_text API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_text API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Set the most confident text results, either those with @index = 1, the first text results or add new one.
"Set the most confident text results, either those with @index = 1, the first text results or add new one."
176
false
OCR-D/core
set_text
28,620
LDU_FT/getsentry/rb/get_fanout_client
LDU_FT
[ "<BEGIN>\n## `add_host`", "Adds a new host to the cluster. This is only really useful for\n unittests as normally hosts are added through the constructor and\n changes after the cluster has been used for the first time are\n unlikely to make sense.\n<END>", "<BEGIN>\n## `remove_host`", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_fanout_client API. 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_fanout_client API. 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 thread unsafe fanout client. Returns an instance of :class:`FanoutClient`.
"Returns a thread unsafe fanout client.\n\n Returns an instance of :class:`FanoutClient`."
87
false
getsentry/rb
get_fanout_client
28,621
LDU_FT/lightning-viz/lightning-python/check_colormap
LDU_FT
[ "<BEGIN>\n## `enable_ipython`", "Enable plotting in the iPython notebook.", " Once enabled, all lightning plots will be automatically produced\n within the iPython notebook. They will also be available on\n your lightning server within the current session.\n<END>", "<BEGIN>\n## `disable_i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_colormap API. 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_colormap API. 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...
Check if cmap is one of the colorbrewer maps
"Check if cmap is one of the colorbrewer maps"
55
false
lightning-viz/lightning-python
check_colormap
28,622
LDU_FT/Unity-Technologies/ml-agents/remove_duplicates_from_list
LDU_FT
[ "<BEGIN>\n## `get_action`", "Decides actions given observations information, and takes them in environment.\n :param brain_info: A dictionary of brain names and BrainInfo from environment.\n :return: an ActionInfo containing action, memories, values and an object\n to be passed to add experie...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_duplicates_from_list 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 remove_duplicates_from_list API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
Preserves the order of elements in the list
"Preserves the order of elements in the list"
171
false
Unity-Technologies/ml-agents
remove_duplicates_from_list
28,623
LDU_FT/nschloe/matplotlib2tikz/mpl_linestyle2pgfplots_linestyle
LDU_FT
[ "<BEGIN>\n## `_get_ticks`", "Gets a {'x','y'}, a number of ticks and ticks labels, and returns the\n necessary axis options for the given configuration.\n<END>", "<BEGIN>\n## `_is_colorbar_heuristic`", "Find out if the object is in fact a color bar.\n<END>", "<BEGIN>\n## `_mpl_cmap2pgf_cmap`", "Convert...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mpl_linestyle2pgfplots_linestyle API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mpl_linestyle2pgfplots_linestyle API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c...
Translates a line style of matplotlib to the corresponding style in PGFPlots.
"Translates a line style of matplotlib to the corresponding style\n in PGFPlots."
81
false
nschloe/matplotlib2tikz
mpl_linestyle2pgfplots_linestyle
28,624
LDU_FT/UniversalDevicesInc/polyglot-v2-python-interface/_connect
LDU_FT
[ "<BEGIN>\n## `init_interface`", "Grab the ~/.polyglot/.env file for variables\n If you are running Polyglot v2 on this same machine\n then it should already exist. If not create it.\n<END>", "<BEGIN>\n## `_connect`", "The callback for when the client receives a CONNACK response from the server.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _connect API. 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 _connect API. 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...
The callback for when the client receives a CONNACK response from the server. Subscribing in on_connect() means that if we lose the connection and reconnect then subscriptions will be renewed. :param mqttc: The client instance for this callback :param userdata: The private userdata for ...
"The callback for when the client receives a CONNACK response from the server.\n Subscribing in on_connect() means that if we lose the connection and\n reconnect then subscriptions will be renewed.\n\n :param mqttc: The client instance for this callback\n :param userdata: The private userdat...
42
false
UniversalDevicesInc/polyglot-v2-python-interface
_connect
28,625
LDU_FT/faucamp/python-gsmmodem/_parseCusdResponse
LDU_FT
[ "<BEGIN>\n## `status`", "Status of this SMS. Can be ENROUTE, DELIVERED or FAILED", " The actual status report object may be accessed via the 'report' attribute\n if status is 'DELIVERED' or 'FAILED'\n<END>", "<BEGIN>\n## `connect`", "Opens the port and initializes the modem and SIM card", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parseCusdResponse 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 _parseCusdResponse 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...
Parses one or more +CUSD notification lines (for USSD) :return: USSD response object :rtype: gsmmodem.modem.Ussd
"Parses one or more +CUSD notification lines (for USSD)\n :return: USSD response object\n :rtype: gsmmodem.modem.Ussd"
214
false
faucamp/python-gsmmodem
_parseCusdResponse
28,626
LDU_FT/mieubrisse/wunderpy2/create_subtask
LDU_FT
[ "<BEGIN>\n## `get_endpoint_obj`", "Tiny helper function that gets used all over the place to join the object ID to the endpoint and run a GET request, returning the result\n<END>", "<BEGIN>\n## `update_endpoint_obj`", "Helper method to ease the repetitiveness of updating an... SO VERY DRY ", " (That's a ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_subtask API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_subtask API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Creates a subtask with the given title under the task with the given ID
"Creates a subtask with the given title under the task with the given ID"
94
false
mieubrisse/wunderpy2
create_subtask
28,627
LDU_FT/ocaballeror/LyricFetch/get_lyrics
LDU_FT
[ "<BEGIN>\n## `load_from_file`", "Load a list of filenames from an external text file.\n<END>", "<BEGIN>\n## `parse_argv`", "Parse command line arguments. Settings will be stored in the global\n variables declared above.\n<END>", "<BEGIN>\n## `exclude_sources`", "Returns a narrower list of sources.", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_lyrics API. 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_lyrics API. 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...
Searches for lyrics of a single song and returns a Result object with the various stats collected in the process. The optional parameter 'sources' specifies an alternative list of sources. If not present, the main list will be used.
"Searches for lyrics of a single song and returns a Result object with the\n various stats collected in the process.\n\n The optional parameter 'sources' specifies an alternative list of sources.\n If not present, the main list will be used."
69
false
ocaballeror/LyricFetch
get_lyrics
28,628
LDU_FT/swistakm/graceful/on_get
LDU_FT
[ "<BEGIN>\n## `authentication_required`", "Ensure that user is authenticated otherwise return ``401 Unauthorized``.", " If request fails to authenticate this authorization hook will also\n include list of ``WWW-Athenticate`` challenges.", " Args:\n req (falcon.Request): the request object.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the on_get API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the on_get API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Respond on GET requests using ``self.list()`` handler.
"Respond on GET requests using ``self.list()`` handler."
209
false
swistakm/graceful
on_get
28,629
LDU_FT/ulule/django-linguist/_get_linguist_condition
LDU_FT
[ "<BEGIN>\n## `_filter_or_exclude`", "Overrides default behavior to handle linguist fields.\n<END>", "<BEGIN>\n## `_get_concrete_fields_with_model`", "For compatibility with Django<=1.10. Replace old\n `_meta.get_concrete_fields_with_model`.\n https://docs.djangoproject.com/en/1.10/ref/models/met...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_linguist_condition 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_linguist_condition API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
Parses Q tree and returns linguist lookups or model lookups if reverse is True.
"Parses Q tree and returns linguist lookups or model lookups\n if reverse is True."
62
false
ulule/django-linguist
_get_linguist_condition
28,630
LDU_FT/netmarkjp/pybacklog/user_stars
LDU_FT
[ "<BEGIN>\n## `do`", "- Method: method\n - URL: url.format(**url_params)\n - Parameter: query_params & apiKey=api_key\n - Request Body(data): request_params\n<END>", "<BEGIN>\n## `project_activities`", "client = BacklogClient(\"your_space_name\", \"your_api_key\")\n client.project_a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the user_stars API. 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 user_stars API. 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...
client = BacklogClient("your_space_name", "your_api_key") client.user_stars(5) client.user_stars(5, {"count": 100, "order": "asc"})
"client = BacklogClient(\"your_space_name\", \"your_api_key\")\n client.user_stars(5)\n client.user_stars(5, {\"count\": 100, \"order\": \"asc\"})"
25
false
netmarkjp/pybacklog
user_stars
28,631
LDU_FT/xolox/python-vcs-repo-mgr/get_commit_command
LDU_FT
[ "<BEGIN>\n## `get_install_requires`", "Add conditional dependencies (when creating source distributions).\n<END>", "<BEGIN>\n## `main`", "The command line interface of the ``vcs-tool`` program.\n<END>", "<BEGIN>\n## `contains_repository`", "Check whether the given directory contains a local repository.\n<...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_commit_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. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_commit_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. Th...
Get the command to commit changes to tracked files in the working tree.
"Get the command to commit changes to tracked files in the working tree."
261
false
xolox/python-vcs-repo-mgr
get_commit_command
28,632
LDU_FT/twisted/epsilon/sanitizeStructTime
LDU_FT
[ "<BEGIN>\n## `main`", "Create a private key and a certificate and write them to a file.\n<END>", "<BEGIN>\n## `setTimeout`", "Change the timeout period", " @type period: C{int} or C{NoneType}\n @param period: The period, in seconds, to change the timeout to, or\n C{None} to disable the ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sanitizeStructTime 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 sanitizeStructTime API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
Convert struct_time tuples with possibly invalid values to valid ones by substituting the closest valid value.
"Convert struct_time tuples with possibly invalid values to valid\n ones by substituting the closest valid value."
217
false
twisted/epsilon
sanitizeStructTime
28,633
LDU_FT/AltSchool/dynamic-rest/get_serializer
LDU_FT
[ "<BEGIN>\n## `merge_link_object`", "Add a 'links' attribute to the data that maps field names to URLs.", " NOTE: This is the format that Ember Data supports, but alternative\n implementations are possible to support other formats.\n<END>", "<BEGIN>\n## `register_post_processor`", "Register a pos...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_serializer API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_serializer API. 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...
Get an instance of the child serializer.
"Get an instance of the child serializer."
213
false
AltSchool/dynamic-rest
get_serializer
28,634
LDU_FT/getpelican/pelican-plugins/content_written
LDU_FT
[ "<BEGIN>\n## `get_gif`", "Returns dict with gif informations from the API.\n<END>", "<BEGIN>\n## `main`", "Doing the regex parsing and running the create_html function.\n<END>", "<BEGIN>\n## `filetime_from_git`", "Update modification and creation times from git\n<END>", "<BEGIN>\n## `update_hash_from_st...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the content_written API. 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 content_written API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
create a url and call make posts (which has less information)
"create a url and call make posts (which has less information)"
247
false
getpelican/pelican-plugins
content_written
28,635
LDU_FT/jtmoulia/switchboard-python/_get_cmds_id
LDU_FT
[ "<BEGIN>\n## `main`", "Create, connect, and block on the Lamson worker.\n<END>", "<BEGIN>\n## `received_new`", "As new messages arrive, deliver them to the lamson relay.\n<END>", "<BEGIN>\n## `_isPromise`", "A utility function to determine if the specified\n object is a promise using \"duck typing\".\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_cmds_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 extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_cmds_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 extr...
Returns an identifier for a group of partially tagged commands. If there are no tagged commands, returns None.
"Returns an identifier for a group of partially tagged commands.\n If there are no tagged commands, returns None."
35
false
jtmoulia/switchboard-python
_get_cmds_id
28,636
LDU_FT/edelbluth/blackred/get_watchlist_ttl
LDU_FT
[ "<BEGIN>\n## `create_salt`", "Create a new salt", " :param int length: How many bytes should the salt be long?\n :return: The salt\n :rtype: bytes\n<END>", "<BEGIN>\n## `__get_connection`", "Get a Redis connection", " :return: Redis connection instance\n :rtype: redis.Redis\n<END>",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_watchlist_ttl API. 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_watchlist_ttl API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Get the amount of time a specific item will remain on the watchlist. :param str item: The item to get the TTL for on the watchlist :return: Time in seconds. Returns None for a non-existing element :rtype: int
"Get the amount of time a specific item will remain on the watchlist.\n\n :param str item: The item to get the TTL for on the watchlist\n :return: Time in seconds. Returns None for a non-existing element\n :rtype: int"
24
false
edelbluth/blackred
get_watchlist_ttl
28,637
LDU_FT/cmbruns/pyopenvr/driverDebugRequest
LDU_FT
[ "<BEGIN>\n## `key_press`", "Close the application when the player presses ESCAPE\n<END>", "<BEGIN>\n## `scale`", "Uniform scale, if only sx argument is specified\n<END>", "<BEGIN>\n## `bInit`", "Purpose: Allocates and populates the GL resources for a render model\n<END>", "<BEGIN>\n## `cleanup`", "Pur...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the driverDebugRequest 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 driverDebugRequest 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...
Sends a request to the driver for the specified device and returns the response. The maximum response size is 32k, but this method can be called with a smaller buffer. If the response exceeds the size of the buffer, it is truncated. The size of the response including its terminating null is returned.
"Sends a request to the driver for the specified device and returns the response. The maximum response size is 32k,\n but this method can be called with a smaller buffer. If the response exceeds the size of the buffer, it is truncated. \n The size of the response including its terminating null is returned...
475
false
cmbruns/pyopenvr
driverDebugRequest
28,638
LDU_FT/rouk1/django-image-renderer/delete_all_renditions
LDU_FT
[ "<BEGIN>\n## `get_rendition_url`", "get a rendition url", " if the rendition does nto exist it will be created in the storage\n if dimensions do not fit master's aspect ratio\n then image will be cropped with a centered anchor", " if one dimensions is omitted (0)\n the other one will be generat...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_all_renditions 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 delete_all_renditions API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
delete all renditions and rendition dict
"delete all renditions and rendition dict"
21
false
rouk1/django-image-renderer
delete_all_renditions
28,639
LDU_FT/dfm/george/get_parameter_vector
LDU_FT
[ "<BEGIN>\n## `computed`", "Has the processes been computed since the last update of the kernel?\n<END>", "<BEGIN>\n## `parse_samples`", "Parse a list of samples to make sure that it has the correct\n dimensions.", " :param t: ``(nsamples,)`` or ``(nsamples, ndim)``\n The list of sam...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_parameter_vector 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_parameter_vector 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 an array of the parameter values in the correct order Args: include_frozen (Optional[bool]): Should the frozen parameters be included in the returned value? (default: ``False``)
"Get an array of the parameter values in the correct order\n\n Args:\n include_frozen (Optional[bool]): Should the frozen parameters be\n included in the returned value? (default: ``False``)"
111
false
dfm/george
get_parameter_vector
28,640
LDU_FT/wcember/pypub/create_chapter_from_url
LDU_FT
[ "<BEGIN>\n## `add_chapter`", "Add a Chapter to your epub.", " Args:\n c (Chapter): A Chapter object representing your chapter.", " Raises:\n TypeError: Raised if a Chapter object isn't supplied to this\n method.\n<END>", "<BEGIN>\n## `create_epub`", "Crea...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_chapter_from_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...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_chapter_from_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...
Creates a Chapter object from a url. Pulls the webpage from the given url, sanitizes it using the clean_function method, and saves it as the content of the created chapter. Basic webpage loaded before any javascript executed. Args: url (string): The url to pull the content o...
"Creates a Chapter object from a url. Pulls the webpage from the\n given url, sanitizes it using the clean_function method, and saves\n it as the content of the created chapter. Basic webpage loaded\n before any javascript executed.\n\n Args:\n url (string): The url to pull the co...
49
false
wcember/pypub
create_chapter_from_url
28,641
LDU_FT/qacafe/cdrouter.py/delete
LDU_FT
[ "<BEGIN>\n## `list`", "Get a list of configs.", " :param filter: (optional) Filters to apply as a string list.\n :param type: (optional) `union` or `inter` as string.\n :param sort: (optional) Sort fields to apply as string list.\n :param limit: (optional) Limit returned list length....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted ...
Delete a device's attachment. :param id: Device ID as an int. :param attid: Attachment ID as an int.
"Delete a device's attachment.\n\n :param id: Device ID as an int.\n :param attid: Attachment ID as an int."
282
false
qacafe/cdrouter.py
delete
28,642
LDU_FT/push-things/django-th/datas
LDU_FT
[ "<BEGIN>\n## `available_services`", "get the available services to be activated", " read the models dir to find the services installed\n to be added to the system by the administrator\n<END>", "<BEGIN>\n## `handle`", "get all the triggers that need to be handled\n<END>", "<BEGIN>\n## `read_d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the datas API. 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 datas API. 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...
read the data from a given URL or path to a local file
"read the data from a given URL or path to a local file"
277
false
push-things/django-th
datas
28,643
LDU_FT/totalgood/nlpia/load_imdb_df
LDU_FT
[ "<BEGIN>\n## `main`", "Train an LSTM encoder-decoder squence-to-sequence model on Anki flashcards for international translation", " >>> model = main('spa', n=400, epochs=3, batch_size=128, num_neurons=32)\n Train on 360 samples, validate on 40 samples\n Epoch 1/3\n ...\n >>> len(model.get_weights...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_imdb_df API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_imdb_df API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Walk directory tree starting at `path` to compile a DataFrame of movie review text labeled with their 1-10 star ratings Returns: DataFrame: columns=['url', 'rating', 'text'], index=MultiIndex(['train_test', 'pos_neg_unsup', 'id']) TODO: Make this more robust/general by allowing the subdirectories ...
"Walk directory tree starting at `path` to compile a DataFrame of movie review text labeled with their 1-10 star ratings\n\n Returns:\n DataFrame: columns=['url', 'rating', 'text'], index=MultiIndex(['train_test', 'pos_neg_unsup', 'id'])\n\n TODO:\n Make this more robust/general by allowing the subdirec...
471
false
totalgood/nlpia
load_imdb_df
28,644
LDU_FT/xtream1101/web-wrapper/_create_session
LDU_FT
[ "<BEGIN>\n## `get_image_dimension`", "Return a tuple that contains (width, height)\n Pass in a url to an image and find out its size without loading the whole file\n If the image wxh could not be found, the tuple will contain `None` values\n<END>", "<BEGIN>\n## `screenshot`", "This can be used n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _create_session API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _create_session API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Creates a fresh session with no/default headers and proxies
"Creates a fresh session with no/default headers and proxies"
39
false
xtream1101/web-wrapper
_create_session
28,645
LDU_FT/MoseleyBioinformaticsLab/nmrstarlib/_build_file
LDU_FT
[ "<BEGIN>\n## `csview`", "View chemical shift values organized by amino acid residue.", " :param view: Open in default image viewer or save file in current working directory quietly.\n :type view: :py:obj:`True` or :py:obj:`False`\n :return: None\n :rtype: :py:obj:`None`\n<END>", "<...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _build_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _build_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Build :class:`~nmrstarlib.nmrstarlib.CIFFile` object. :param cif_str: NMR-STAR-formatted string. :type cif_str: :py:class:`str` or :py:class:`bytes` :return: instance of :class:`~nmrstarlib.nmrstarlib.CIFFile`. :rtype: :class:`~nmrstarlib.nmrstarlib.CIFFile`
"Build :class:`~nmrstarlib.nmrstarlib.CIFFile` object.\n\n :param cif_str: NMR-STAR-formatted string.\n :type cif_str: :py:class:`str` or :py:class:`bytes`\n :return: instance of :class:`~nmrstarlib.nmrstarlib.CIFFile`.\n :rtype: :class:`~nmrstarlib.nmrstarlib.CIFFile`"
117
false
MoseleyBioinformaticsLab/nmrstarlib
_build_file
28,646
LDU_FT/mozilla/build-mar/calculate_signatures
LDU_FT
[ "<BEGIN>\n## `add_signature_block`", "Add a signature block to marfile, a MarReader object.", " Productversion and channel are preserved, but any existing signatures are overwritten.", " Args:\n src_fileobj (file object): The input MAR file to add a signature to\n dest_fileobj (file object...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calculate_signatures 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 calculate_signatures API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Calculate the signatures for this MAR file. Returns: A list of signature tuples: [(algorithm_id, signature_data), ...]
"Calculate the signatures for this MAR file.\n\n Returns:\n A list of signature tuples: [(algorithm_id, signature_data), ...]"
146
false
mozilla/build-mar
calculate_signatures
28,647
LDU_FT/invinst/ResponseBot/load_config_from_cli_arguments
LDU_FT
[ "<BEGIN>\n## `load_config_file`", "Parse configuration file and get config values.\n<END>", "<BEGIN>\n## `load_config_from_cli_arguments`", "Get config values of passed in CLI options.", " :param dict kwargs: CLI options\n<END>", "<BEGIN>\n## `validate_configs`", "Check that required config are s...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_config_from_cli_arguments 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 load_config_from_cli_arguments API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con...
Get config values of passed in CLI options. :param dict kwargs: CLI options
"Get config values of passed in CLI options.\n\n :param dict kwargs: CLI options"
99
false
invinst/ResponseBot
load_config_from_cli_arguments
28,648
LDU_FT/rsalmei/clearly/task
LDU_FT
[ "<BEGIN>\n## `server`", "Starts the Clearly Server.", " BROKER: The broker being used by celery, like \"amqp://localhost\".\n<END>", "<BEGIN>\n## `start_server`", "Starts a Clearly Server programmatically.\n<END>", "<BEGIN>\n## `_event_to_pb`", "Supports converting internal TaskData and WorkerDat...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the task API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the task API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Finds one specific task. Args: task_uuid (str): the task id
"Finds one specific task.\n\n Args:\n task_uuid (str): the task id"
63
false
rsalmei/clearly
task
28,649
LDU_FT/pypa/setuptools/indentedBlock
LDU_FT
[ "<BEGIN>\n## `indentedBlock`", "Helper method for defining space-delimited indentation blocks, such as\r\n those used to define block statements in Python source code.\r", " Parameters:\r\n - blockStatementExpr - expression defining syntax of statement that\r\n is repeated within the indent...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the indentedBlock API. 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 indentedBlock API. 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...
Helper method for defining space-delimited indentation blocks, such as those used to define block statements in Python source code. Parameters: - blockStatementExpr - expression defining syntax of statement that is repeated within the indented block - indentStack - list created by c...
"Helper method for defining space-delimited indentation blocks, such as\r\n those used to define block statements in Python source code.\r\n\r\n Parameters:\r\n - blockStatementExpr - expression defining syntax of statement that\r\n is repeated within the indented block\r\n - indentStack - list...
565
false
pypa/setuptools
indentedBlock
28,650
LDU_FT/optimizely/python-sdk/send_notifications
LDU_FT
[ "<BEGIN>\n## `is_datafile_valid`", "Given a datafile determine if it is valid or not.", " Args:\n datafile: JSON string representing the project.", " Returns:\n Boolean depending upon whether datafile is valid or not.\n<END>", "<BEGIN>\n## `is_user_profile_valid`", "Determine if provided user prof...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_notifications 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 send_notifications 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...
Fires off the notification for the specific event. Uses var args to pass in a arbitrary list of parameter according to which notification type was fired. Args: notification_type: Type of notification to fire (String from .helpers.enums.NotificationTypes) args: variable list of arguments to the...
"Fires off the notification for the specific event. Uses var args to pass in a\n arbitrary list of parameter according to which notification type was fired.\n\n Args:\n notification_type: Type of notification to fire (String from .helpers.enums.NotificationTypes)\n args: variable list of arguments ...
302
false
optimizely/python-sdk
send_notifications
28,651
LDU_FT/sarugaku/mork/uninstall
LDU_FT
[ "<BEGIN>\n## `from_project_path`", "Utility for finding a virtualenv location based on a project path\n<END>", "<BEGIN>\n## `get_sys_path`", "Get the :data:`sys.path` data for a given python executable.", " :param str python_path: Path to a specific python executable.\n :return: The system pat...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the uninstall API. 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 uninstall API. 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 context manager which allows uninstallation of packages from the virtualenv :param str pkgname: The name of a package to uninstall >>> venv = VirtualEnv("/path/to/venv/root") >>> with venv.uninstall("pytz", auto_confirm=True, verbose=False) as uninstaller: cleaned = uninstall...
"A context manager which allows uninstallation of packages from the virtualenv\n\n :param str pkgname: The name of a package to uninstall\n\n >>> venv = VirtualEnv(\"/path/to/venv/root\")\n >>> with venv.uninstall(\"pytz\", auto_confirm=True, verbose=False) as uninstaller:\n cleaned ...
29
false
sarugaku/mork
uninstall
28,652
LDU_FT/pzs741/TEDT/get_sn
LDU_FT
[ "<BEGIN>\n## `get_url`", "获取url地址并根据网页编码格式自动解析", " Keyword arguments:\n url -- 用户传入地址,头部必须含有http://\n Return:\n 网页源代码(为了下一步预处理方便,所有英文字母转换为小写)\n 网页编解码\n<END>", "<BEGIN>\n## `html_clean`", "获取网页源代码并进行预处理", " Keyword arguments:\n html_code -- 网页源代码,字符...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_sn API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_sn API. 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 ...
获取文本行的句子数量 Keyword arguments: unit -- 文本行 Return: sn -- 句数
"获取文本行的句子数量\n\n Keyword arguments:\n unit -- 文本行\n Return:\n sn -- 句数"
91
false
pzs741/TEDT
get_sn
28,653
LDU_FT/KieranWynn/pyquaternion/exp
LDU_FT
[ "<BEGIN>\n## `_validate_number_sequence`", "Validate a sequence to be of a certain length and ensure it's a numpy array of floats.", " Raises:\n ValueError: Invalid length or non-numeric value\n<END>", "<BEGIN>\n## `_from_matrix`", "Initialise from matrix representation", " Create...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the exp API. 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 exp API. 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...
Quaternion Exponential. Find the exponential of a quaternion amount. Params: q: the input quaternion/argument as a Quaternion object. Returns: A quaternion amount representing the exp(q). See [Source](https://math.stackexchange.com/questions/1030737/exponential-funct...
"Quaternion Exponential.\n\n Find the exponential of a quaternion amount.\n\n Params:\n q: the input quaternion/argument as a Quaternion object.\n\n Returns:\n A quaternion amount representing the exp(q). See [Source](https://math.stackexchange.com/questions/1030737/exponent...
129
false
KieranWynn/pyquaternion
exp
28,654
LDU_FT/google/pyringe/_JsonDecodeDict
LDU_FT
[ "<BEGIN>\n## `StartExecServer`", "Opens a socket in /tmp, execs data from it and writes results back.\n<END>", "<BEGIN>\n## `ThreadsWithRunningExecServers`", "Returns a list of tids of inferior threads with open exec servers.\n<END>", "<BEGIN>\n## `Backtrace`", "Get a backtrace of the current position.\n<...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _JsonDecodeDict API. 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 _JsonDecodeDict API. 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...
Json object decode hook that automatically converts unicode objects.
"Json object decode hook that automatically converts unicode objects."
142
false
google/pyringe
_JsonDecodeDict
28,655
LDU_FT/olucurious/PyFCM/single_device_data_message
LDU_FT
[ "<BEGIN>\n## `registration_id_chunks`", "Splits registration ids in several lists of max 1000 registration ids per list", " Args:\n registration_ids (list): FCM device registration ID", " Yields:\n generator: list including lists with registration ids\n<END>", "<BEGIN>\n#...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the single_device_data_message 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 single_device_data_message API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
Send push message to a single device Args: registration_id (list, optional): FCM device registration ID condition (str, optiona): Topic condition to deliver messages to collapse_key (str, optional): Identifier for a group of messages that can be collapsed so ...
"Send push message to a single device\n\n Args:\n registration_id (list, optional): FCM device registration ID\n condition (str, optiona): Topic condition to deliver messages to\n collapse_key (str, optional): Identifier for a group of messages\n that can be collap...
71
false
olucurious/PyFCM
single_device_data_message
28,656
LDU_FT/django-fluent/django-fluent-dashboard/sort_cms_models
LDU_FT
[ "<BEGIN>\n## `init_with_context`", "Find the current URL based on the context.\n It uses :func:`get_edited_object` to find the model,\n and calls ``get_absolute_url()`` to get the frontend URL.\n<END>", "<BEGIN>\n## `get_edited_object`", "Return the object which is currently being edited.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sort_cms_models API. 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 sort_cms_models API. 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...
Sort a set of CMS-related models in a custom (predefined) order.
"Sort a set of CMS-related models in a custom (predefined) order."
28
false
django-fluent/django-fluent-dashboard
sort_cms_models
28,657
LDU_FT/delfick/gitmit/is_filtered
LDU_FT
[ "<BEGIN>\n## `relpath_for`", "Find the relative path from here from the parent_dir\n<END>", "<BEGIN>\n## `find`", "Find all the files we want to find commit times for, and any extra files\n under symlinks.", " Then find the commit times for those files and return a dictionary of\n {rela...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_filtered API. 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 is_filtered API. 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...
Say whether this relpath is filtered out
"Say whether this relpath is filtered out"
57
false
delfick/gitmit
is_filtered
28,658
LDU_FT/jmgilman/Neolib/writeNumber
LDU_FT
[ "<BEGIN>\n## `installed`", "Returns whether or not Google Chrome is installed", " Determines the application data path for Google Chrome\n and checks if the path exists. If so, returns True, otherwise\n it will return False.", " Returns\n bool - True if Chrome is installe...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the writeNumber API. 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 writeNumber API. 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...
Writes a float to the stream. @type n: C{float}
"Writes a float to the stream.\n\n @type n: C{float}"
629
false
jmgilman/Neolib
writeNumber
28,659
LDU_FT/aitjcize/cppman/groff2man
LDU_FT
[ "<BEGIN>\n## `_find_links`", "The link follow by the span.t-mark-rev will contained c++xx information.\n Consider the below case\n <a href=\"LinkA\">LinkA</a>\n <a href=\"LinkB\">LinkB</a>\n <span class=\"t-mark-rev\">(C++11)</span>\n We're reversing the body so it is easi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the groff2man API. 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 groff2man API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Read groff-formatted text and output man pages.
"Read groff-formatted text and output man pages."
18
false
aitjcize/cppman
groff2man
28,660
LDU_FT/KnuVerse/knuverse-sdk-python/settings_module_reset
LDU_FT
[ "<BEGIN>\n## `_auth`", "Makes sure the request has a valid authorization jwt before calling the wrapped function.\n It does this by checking the timestamp of the last jwt and if > 10 minutes have elapsed,\n it refreshes it's existing jwt from the server.\n Args:\n f: Function to wr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the settings_module_reset 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 settings_module_reset API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Resets the module settings back to default. Uses DELETE to /settings/modules interface.
"Resets the module settings back to default. Uses DELETE to /settings/modules interface."
138
false
KnuVerse/knuverse-sdk-python
settings_module_reset
28,661
LDU_FT/ltworf/typedload/uniontypes
LDU_FT
[ "<BEGIN>\n## `uniontypes`", "Returns the types of a Union.", " Raises ValueError if the argument is not a Union\n and AttributeError when running on an unsupported\n Python version.\n<END>", "<BEGIN>\n## `index`", "Returns the index in the handlers list\n that matches the given value.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the uniontypes API. 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 uniontypes API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Returns the types of a Union. Raises ValueError if the argument is not a Union and AttributeError when running on an unsupported Python version.
"Returns the types of a Union.\n\n Raises ValueError if the argument is not a Union\n and AttributeError when running on an unsupported\n Python version."
55
false
ltworf/typedload
uniontypes
28,662
LDU_FT/panzarino/mlbgame/overview
LDU_FT
[ "<BEGIN>\n## `setobjattr`", "Sets an object attribute with the correct data type.\n<END>", "<BEGIN>\n## `get_scoreboard`", "Return the game file for a certain day matching certain criteria.\n<END>", "<BEGIN>\n## `get_box_score`", "Return the box score file of a game with matching id.\n<END>", "<BEGIN>\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the overview API. 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 overview API. 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...
Gets the overview information for the game with matching id.
"Gets the overview information for the game with matching id."
66
false
panzarino/mlbgame
overview
28,663
LDU_FT/datadotworld/data.world-py/sql_post
LDU_FT
[ "<BEGIN>\n## `download_dataset`", "Download dataset\n This endpoint will return a .zip containing all files within the dataset as originally uploaded. If you are interested retrieving clean data extracted from those files by data.world, check out `GET:/sql` and `GET:/sparql`.\n This method makes a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sql_post API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sql_post API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
SQL query This endpoint executes SQL queries against a dataset. SQL results are available in a variety of formats. By default, `application/json` will be returned. Set the `Accept` header to one of the following values in accordance with your preference: * `text/csv` * `application/json` * `application/json-l...
"SQL query\n This endpoint executes SQL queries against a dataset. SQL results are available in a variety of formats. By default, `application/json` will be returned. Set the `Accept` header to one of the following values in accordance with your preference: * `text/csv` * `application/json` * `application/json...
398
false
datadotworld/data.world-py
sql_post
28,664
LDU_FT/sods/ods/movie_body_count
LDU_FT
[ "<BEGIN>\n## `display_url`", "Displaying URL in an IPython notebook to allow the user to click and check on information. With thanks to Fernando Perez for putting together the implementation!\n :param target: the url to display.\n :type target: string.\n<END>", "<BEGIN>\n## `iframe_url`", "Produce an if...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the movie_body_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 ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the movie_body_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 ...
Data set of movies and body count for movies scraped from www.MovieBodyCounts.com created by Simon Garnier and Randy Olson for exploring differences between Python and R.
"Data set of movies and body count for movies scraped from www.MovieBodyCounts.com created by Simon Garnier and Randy Olson for exploring differences between Python and R."
67
false
sods/ods
movie_body_count
28,665
LDU_FT/ome/omego/dereference_url
LDU_FT
[ "<BEGIN>\n## `entry_point`", "External entry point which calls main() and\n if Stop is raised, calls sys.exit()\n<END>", "<BEGIN>\n## `open_url`", "Open a URL using an opener that will simulate a browser user-agent\n url: The URL\n httpuser, httppassword: HTTP authentication credentials (either both ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dereference_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 e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dereference_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 e...
Makes a HEAD request to find the final destination of a URL after following any redirects
"Makes a HEAD request to find the final destination of a URL after\n following any redirects"
72
false
ome/omego
dereference_url
28,666
LDU_FT/sashahart/vex/get_vexrc
LDU_FT
[ "<BEGIN>\n## `make_arg_parser`", "Return a standard ArgumentParser object.\n<END>", "<BEGIN>\n## `get_options`", "Called to parse the given list as command-line arguments.", " :returns:\n an options object as returned by argparse.\n<END>", "<BEGIN>\n## `get_vexrc`", "Get a representation of th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_vexrc API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_vexrc API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Get a representation of the contents of the config file. :returns: a Vexrc instance.
"Get a representation of the contents of the config file.\n\n :returns:\n a Vexrc instance."
38
false
sashahart/vex
get_vexrc
28,667
LDU_FT/FPGAwars/apio/format_vars
LDU_FT
[ "<BEGIN>\n## `format_vars`", "Format the given vars in the form: 'flag=value\n<END>", "<BEGIN>\n## `list_packages`", "Return a list with all the installed/notinstalled packages\n<END>", "<BEGIN>\n## `list_boards`", "Return a list with all the supported boards\n<END>", "<BEGIN>\n## `list_fpgas`", "Retu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format_vars API. 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 format_vars API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Format the given vars in the form: 'flag=value
"Format the given vars in the form: 'flag=value"
14
false
FPGAwars/apio
format_vars
28,668
LDU_FT/rhattersley/pyepsg/get
LDU_FT
[ "<BEGIN>\n## `get`", "Return an object that corresponds to the given EPSG code.", " Currently supported object types are:\n - :class:`GeodeticCRS`\n - :class:`ProjectedCRS`\n - :class:`CartesianCS`\n - :class:`UOM`", " For example::", " >>> print(get(27700))\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Return an object that corresponds to the given EPSG code. Currently supported object types are: - :class:`GeodeticCRS` - :class:`ProjectedCRS` - :class:`CartesianCS` - :class:`UOM` For example:: >>> print(get(27700)) <ProjectedCRS: 27700, OSGB 1936 / British Na...
"Return an object that corresponds to the given EPSG code.\n\n Currently supported object types are:\n - :class:`GeodeticCRS`\n - :class:`ProjectedCRS`\n - :class:`CartesianCS`\n - :class:`UOM`\n\n For example::\n\n >>> print(get(27700))\n <ProjectedCRS: 27700, OSGB 1936 ...
23
false
rhattersley/pyepsg
get
28,669
LDU_FT/langloisjp/tornado-logging-app/require_content_type
LDU_FT
[ "<BEGIN>\n## `run`", "Run on given port. Parse standard options and start the http server.\n<END>", "<BEGIN>\n## `log_request`", "Override base method to log requests to JSON UDP collector and emit\n a metric.\n<END>", "<BEGIN>\n## `write_error`", "Log halt_reason in service log and output error pa...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the require_content_type API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the require_content_type API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Raises a 400 if request content type is not as specified.
"Raises a 400 if request content type is not as specified."
12
false
langloisjp/tornado-logging-app
require_content_type
28,670
LDU_FT/ayust/kitnirc/save_config
LDU_FT
[ "<BEGIN>\n## `on_line`", "Default handling for incoming lines.", " This handler will automatically manage the following IRC messages:", " PING:\n Responds with a PONG.\n PRIVMSG:\n Dispatches the PRIVMSG event.\n NOTICE:\n Dispatches the NOTICE event.\n MOTDSTART:\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_config API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_config API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Save configuration to the specified path, or self.config_path
"Save configuration to the specified path, or self.config_path"
151
false
ayust/kitnirc
save_config
28,671
LDU_FT/erikvw/django-collect-offline-files/save
LDU_FT
[ "<BEGIN>\n## `confirm`", "Flags the batch as confirmed by updating\n confirmation_datetime on the history model for this batch.\n<END>", "<BEGIN>\n## `reload`", "Reloads /path/to/filenames into the queue\n that match the regexes.\n<END>", "<BEGIN>\n## `send`", "Sends the file to the remote h...
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...
Saves all model instances in the batch as model.
"Saves all model instances in the batch as model."
36
false
erikvw/django-collect-offline-files
save
28,672