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/caseyjlaw/sdmreader/parse
LDU_FT
[ "<BEGIN>\n## `read_bdf`", "Reads given range of integrations from sdm of given scan.\r\n Uses BDFData object to read.\r\n readints=0 will read all of bdf (skipping nskip).\r\n Option to write pkl to store bdf info for faster parse next time.\n<END>", "<BEGIN>\n## `calc_uvw`", "Calculates and returns ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
wrapper for original parse function. will read pkl with bdf info, if available.
"wrapper for original parse function. will read pkl with bdf info, if available."
14
false
caseyjlaw/sdmreader
parse
9,273
LDU_FT/maxfischer2781/include/module2uri
LDU_FT
[ "<BEGIN>\n## `disable`", "Disable an include type", " :param identifier: module or name of the include type\n :param children_only: disable the include type only for child processes, not the current process", " The ``identifier`` can be specified in multiple ways to disable an include typ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the module2uri API. 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 module2uri API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Convert an encoded module name to an unencoded source uri
"Convert an encoded module name to an unencoded source uri"
40
false
maxfischer2781/include
module2uri
9,274
LDU_FT/trolldbois/ctypeslib/_VAR_DECL_type
LDU_FT
[ "<BEGIN>\n## `init_fundamental_types`", "Registers all fundamental typekind handlers\n<END>", "<BEGIN>\n## `_handle_fundamental_types`", "Handles POD types nodes.\n see init_fundamental_types for the registration.\n<END>", "<BEGIN>\n## `_array_handler`", "Handles all array types.\n Resolves ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _VAR_DECL_type API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _VAR_DECL_type API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Generates a typedesc object from a Variable declaration.
"Generates a typedesc object from a Variable declaration."
88
false
trolldbois/ctypeslib
_VAR_DECL_type
9,275
LDU_FT/thumbor/thumbor/get_image
LDU_FT
[ "<BEGIN>\n## `instance`", "Cache threadpool since context is\n recreated for each request\n<END>", "<BEGIN>\n## `main`", "Runs thumbor server with the specified arguments.\n<END>", "<BEGIN>\n## `mime`", "Retrieves mime metadata if available\n :return:\n<END>", "<BEGIN>\n## `client`", "Ca...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_image API. 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_image API. 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...
This function is called after the PRE_LOAD filters have been applied. It applies the AFTER_LOAD filters on the result, then crops the image.
"This function is called after the PRE_LOAD filters have been applied.\n It applies the AFTER_LOAD filters on the result, then crops the image."
61
false
thumbor/thumbor
get_image
9,276
LDU_FT/facebook/pyre-check/to_string
LDU_FT
[ "<BEGIN>\n## `log_time`", "Log the time it takes to run a function. It's sort of like timeit, but\n prettier.\n<END>", "<BEGIN>\n## `daemonize`", "We double-fork here to detach the daemon process from the parent.\n If we were to just fork the child as a daemon, we'd have to worry about the\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_string API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_string API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
We currently ignore nested classes, i.e.: class X: class Y: [ALL OF THIS IS IGNORED]
"We currently ignore nested classes, i.e.:\n class X:\n class Y:\n [ALL OF THIS IS IGNORED]"
150
false
facebook/pyre-check
to_string
9,277
LDU_FT/astropy/photutils/_call_fitter
LDU_FT
[ "<BEGIN>\n## `_move_tuple_axes_first`", "Bottleneck can only take integer axis, not tuple, so this function\n takes all the axes to be operated on and combines them into the\n first dimension of the array so that we can then use axis=0\n<END>", "<BEGIN>\n## `_nanmean`", "Bottleneck nanmean function that...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _call_fitter API. 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 _call_fitter API. 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...
Not all fitters have to support a weight array. This function includes the weight in the fitter call only if really needed.
"Not all fitters have to support a weight array. This function\n includes the weight in the fitter call only if really needed."
1,397
true
astropy/photutils
_call_fitter
9,278
LDU_FT/pedrotgn/pyactor/create_host
LDU_FT
[ "<BEGIN>\n## `set_context`", "This function initializes the context of execution deciding which\n type of threads are being used: classic python threads or green\n threads, provided by Gevent.", " This should be called first of all in every execution, otherwise,\n the library would not work.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_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 extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_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 extra...
This is the main function to create a new Host to which you can spawn actors. It will be set by default at local address if no parameter *url* is given, which would result in remote incomunication between hosts. This function shuould be called once for execution or after callig :meth:`~.shutdown` to the...
"This is the main function to create a new Host to which you can\n spawn actors. It will be set by default at local address if no\n parameter *url* is given, which would result in remote\n incomunication between hosts. This function shuould be called once\n for execution or after callig :meth:`~.shutdown` t...
102
false
pedrotgn/pyactor
create_host
9,279
LDU_FT/jasonrbriggs/proton/parseelement
LDU_FT
[ "<BEGIN>\n## `get_template`", "Return a copy of the template with the specified name. If not found, or an error occurs\n during the load, return None.\n<END>", "<BEGIN>\n## `check_element`", "Given an element, check its attributes for references to the three proton attributes ('eid', 'aid' and 'rid').\n<EN...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parseelement API. 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 parseelement API. 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...
Convert the content of an element into more ElementTree structures. We do this because sometimes we want to set xml as the content of an element.
"Convert the content of an element into more ElementTree structures.\n We do this because sometimes we want to set xml as the content of an element."
22
false
jasonrbriggs/proton
parseelement
9,280
LDU_FT/campaignmonitor/createsend-python/match_hostname
LDU_FT
[ "<BEGIN>\n## `authorize_url`", "Get the authorization URL for your application, given the application's\n client_id, redirect_uri, scope, and optional state data.\n<END>", "<BEGIN>\n## `exchange_token`", "Exchange a provided OAuth code for an OAuth access token, 'expires in'\n value and refresh ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the match_hostname API. 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 match_hostname API. 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...
This is a backport of the match_hostname() function from Python 3.2, essential when using SSL. Verifies that *cert* (in decoded format as returned by SSLSocket.getpeercert()) matches the *hostname*. RFC 2818 rules are mostly followed, but IP addresses are not accepted for *hostname*. CertificateEr...
"This is a backport of the match_hostname() function from Python 3.2,\n essential when using SSL.\n Verifies that *cert* (in decoded format as returned by\n SSLSocket.getpeercert()) matches the *hostname*. RFC 2818 rules\n are mostly followed, but IP addresses are not accepted for *hostname*.\n\n Certif...
73
false
campaignmonitor/createsend-python
match_hostname
9,281
LDU_FT/jeffh/rpi_courses/find_course_by_crn
LDU_FT
[ "<BEGIN>\n## `safeInt`", "Throws an exception if the number starts with a 0 (may be significant).", " If the value cannot be converted to an int, it is returned as is.\n<END>", "<BEGIN>\n## `from_string`", "Creates a new CourseCatalog instance from an string containing xml.\n<END>", "<BEGIN>\n## `cross...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_course_by_crn 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 find_course_by_crn 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...
Searches all courses by CRNs. Not particularly efficient. Returns None if not found.
"Searches all courses by CRNs. Not particularly efficient.\n Returns None if not found."
59
false
jeffh/rpi_courses
find_course_by_crn
9,282
LDU_FT/Vital-Fernandez/dazer/linfit
LDU_FT
[ "<BEGIN>\n## `linfit`", "Least squares linear fit.", " Fit a straight line `f(x_true) = a + bx` to points `(x_true, y)`. Returns\n coefficients `a` and `b` that minimize the squared error.", " Parameters\n ----------\n x_true : array_like\n one dimensional array of `x_true` data with `n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the linfit API. 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 linfit API. 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 ...
Least squares linear fit. Fit a straight line `f(x_true) = a + bx` to points `(x_true, y)`. Returns coefficients `a` and `b` that minimize the squared error. Parameters ---------- x_true : array_like one dimensional array of `x_true` data with `n`>2 data points. y : array_li...
"Least squares linear fit.\n \n Fit a straight line `f(x_true) = a + bx` to points `(x_true, y)`. Returns\n coefficients `a` and `b` that minimize the squared error.\n \n Parameters\n ----------\n x_true : array_like\n one dimensional array of `x_true` data with `n`>2 data points.\n y ...
228
false
Vital-Fernandez/dazer
linfit
9,283
LDU_FT/kxgames/vecrec/get_interpolated
LDU_FT
[ "<BEGIN>\n## `random`", "Create a unit vector pointing in a random direction.\n<END>", "<BEGIN>\n## `from_rectangle`", "Create a vector randomly within the given rectangle.\n<END>", "<BEGIN>\n## `interpolate`", "Move this vector towards the given towards the target by the given \n extent. The exte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_interpolated API. 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_interpolated API. 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 a new vector that has been moved towards the given target by the given extent. The extent should be between 0 and 1.
"Return a new vector that has been moved towards the given target by \n the given extent. The extent should be between 0 and 1."
49
false
kxgames/vecrec
get_interpolated
9,284
LDU_FT/MacHu-GWU/windtalker-project/of_text
LDU_FT
[ "<BEGIN>\n## `newkeys`", "Create a new pair of public and private key pair to use.\n<END>", "<BEGIN>\n## `encrypt`", "Encrypt binary data.", " **中文文档**", " - 发送消息时只需要对方的pubkey\n - 如需使用签名, 则双方都需要持有对方的pubkey\n<END>", "<BEGIN>\n## `decrypt`", "Decrypt binary data.", " **中文文档...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the of_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 extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the of_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 extracted...
Use default hash method to return hash value of a piece of string default setting use 'utf-8' encoding.
"Use default hash method to return hash value of a piece of string\n default setting use 'utf-8' encoding."
47
false
MacHu-GWU/windtalker-project
of_text
9,285
LDU_FT/fastavro/fastavro/read_array
LDU_FT
[ "<BEGIN>\n## `_read_decimal`", "based on https://github.com/apache/avro/pull/82/\n<END>", "<BEGIN>\n## `read_long`", "int and long values are written using variable-length, zig-zag\n coding.\n<END>", "<BEGIN>\n## `read_bytes`", "Bytes are encoded as a long followed by that many bytes of data.\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_array API. 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 read_array API. 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...
Arrays are encoded as a series of blocks. Each block consists of a long count value, followed by that many array items. A block with count zero indicates the end of the array. Each item is encoded per the array's item schema. If a block's count is negative, then the count is followed immediately by ...
"Arrays are encoded as a series of blocks.\n\n Each block consists of a long count value, followed by that many array\n items. A block with count zero indicates the end of the array. Each item\n is encoded per the array's item schema.\n\n If a block's count is negative, then the count is followed immediat...
136
false
fastavro/fastavro
read_array
9,286
LDU_FT/dellis23/ansible-toolkit/get_new_filename
LDU_FT
[ "<BEGIN>\n## `split_path`", "\"/tmp/test\"", " Becomes:", " (\"/\", \"tmp\", \"test\")\n<END>", "<BEGIN>\n## `get_files`", "Returns a recursive list of all non-hidden files in and below the current\n directory.\n<END>", "<BEGIN>\n## `backup`", "Replaces the contents of a file with its dec...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_new_filename API. 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_new_filename API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Returns the filename for the updated file in a diff part.
"Returns the filename for the updated file in a diff part."
23
false
dellis23/ansible-toolkit
get_new_filename
9,287
LDU_FT/awslabs/aws-sam-cli/_unzip_file
LDU_FT
[ "<BEGIN>\n## `invoke_common_options`", "Common CLI options shared by \"local invoke\" and \"local start-api\" commands", " :param f: Callback passed by Click\n<END>", "<BEGIN>\n## `get_or_default_template_file_name`", "Default value for the template file name option is more complex than what Click can ha...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _unzip_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 _unzip_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...
Helper method to unzip a file to a temporary directory :param string filepath: Absolute path to this file :return string: Path to the temporary directory where it was unzipped
"Helper method to unzip a file to a temporary directory\n\n :param string filepath: Absolute path to this file\n :return string: Path to the temporary directory where it was unzipped"
708
false
awslabs/aws-sam-cli
_unzip_file
9,288
LDU_FT/inveniosoftware/invenio-search/_get_user_agent
LDU_FT
[ "<BEGIN>\n## `index`", "Query Elasticsearch using Invenio query syntax.\n<END>", "<BEGIN>\n## `templates`", "Generate a dictionary with template names and file paths.\n<END>", "<BEGIN>\n## `register_mappings`", "Register mappings from a package under given alias.", " :param alias: The alias.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_user_agent API. 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_user_agent API. 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...
Retrieve the request's User-Agent, if available. Taken from Flask Login utils.py.
"Retrieve the request's User-Agent, if available.\n\n Taken from Flask Login utils.py."
52
false
inveniosoftware/invenio-search
_get_user_agent
9,289
LDU_FT/tgsmith61591/pmdarima/_aicc
LDU_FT
[ "<BEGIN>\n## `nsdiffs`", "Estimate the seasonal differencing term, ``D``.", " Perform a test of seasonality for different levels of ``D`` to\n estimate the number of seasonal differences required to make a given time\n series stationary. Will select the maximum value of ``D`` for which\n the time se...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _aicc API. 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 _aicc API. 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...
Compute the corrected Akaike Information Criterion
"Compute the corrected Akaike Information Criterion"
356
false
tgsmith61591/pmdarima
_aicc
9,290
LDU_FT/brinkframework/brink/require_request_model
LDU_FT
[ "<BEGIN>\n## `fields`", "Provides an iterable for all model fields.\n<END>", "<BEGIN>\n## `wrap`", "Wraps and consumes an arbitrary dictionary into the model.\n<END>", "<BEGIN>\n## `validate`", "Validates all field values for the model.\n<END>", "<BEGIN>\n## `save`", "Persists the model to the databas...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the require_request_model 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_request_model API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Makes a handler require that a request body that map towards the given model is provided. Unless the ``validate`` option is set to ``False`` the data will be validated against the model's fields. The model will be passed to the handler as the last positional argument. :: @require_request_model(Mod...
"Makes a handler require that a request body that map towards the given\n model is provided. Unless the ``validate`` option is set to ``False`` the\n data will be validated against the model's fields.\n\n The model will be passed to the handler as the last positional argument. ::\n\n @require_request_mo...
18
false
brinkframework/brink
require_request_model
9,291
LDU_FT/FactoryBoy/factory_boy/use_strategy
LDU_FT
[ "<BEGIN>\n## `set_random_state`", "Force-set the state of factory.fuzzy's random generator.\n<END>", "<BEGIN>\n## `reseed_random`", "Reseed factory.fuzzy's random generator.\n<END>", "<BEGIN>\n## `_lazy_load_get_model`", "Lazy loading of get_model.", " get_model loads django.conf.settings, which may ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the use_strategy API. 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 use_strategy API. 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...
Force the use of a different strategy. This is an alternative to setting default_strategy in the class definition.
"Force the use of a different strategy.\n\n This is an alternative to setting default_strategy in the class definition."
120
false
FactoryBoy/factory_boy
use_strategy
9,292
LDU_FT/matthew-brett/delocate/delocate_wheel
LDU_FT
[ "<BEGIN>\n## `back_tick`", "Run command `cmd`, return stdout, or stdout, stderr if `ret_err`", " Roughly equivalent to ``check_output`` in Python 2.7", " Parameters\n ----------\n cmd : sequence\n command to execute\n ret_err : bool, optional\n If True, return stderr in addition t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delocate_wheel API. 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 delocate_wheel API. 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...
Update wheel by copying required libraries to `lib_sdir` in wheel Create `lib_sdir` in wheel tree only if we are copying one or more libraries. If `out_wheel` is None (the default), overwrite the wheel `in_wheel` in-place. Parameters ---------- in_wheel : str Filename of wheel to ...
"Update wheel by copying required libraries to `lib_sdir` in wheel\n\n Create `lib_sdir` in wheel tree only if we are copying one or more\n libraries.\n\n If `out_wheel` is None (the default), overwrite the wheel `in_wheel`\n in-place.\n\n Parameters\n ----------\n in_wheel : str\n Filename ...
157
false
matthew-brett/delocate
delocate_wheel
9,293
LDU_FT/ewiger/mlab/is_valid_release_version
LDU_FT
[ "<BEGIN>\n## `saveVarsInMat`", "Hacky convinience function to dump a couple of python variables in a\n .mat file. See `awmstools.saveVars`.\n<END>", "<BEGIN>\n## `_make_proxy`", "Creates a proxy for a variable.", " XXX create and cache nested proxies also here.\n<END>", "<BEGIN>\n## `_do`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_valid_release_version 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 is_valid_release_version API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Checks that the given version code is valid.
"Checks that the given version code is valid."
247
false
ewiger/mlab
is_valid_release_version
9,294
LDU_FT/jdoda/sdl2hl/copy
LDU_FT
[ "<BEGIN>\n## `was_init`", "This function returns the subsystems which have previously been initialized.", " Returns:\n Set[InitFlag]: Flags indicating which subsystems have been initialized.\n<END>", "<BEGIN>\n## `load_bmp`", "Load a surface from a file.", " Args:\n path (str):...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the copy API. 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 copy API. 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...
Copy a portion of the source texture to the current rendering target, rotating it by angle around the given center. Args: texture (Texture): The source texture. source_rect (Rect): The source rectangle, or None for the entire texture. dest_rect (Rect): The destination rectan...
"Copy a portion of the source texture to the current rendering target, rotating it by angle around the given center.\n\n Args:\n texture (Texture): The source texture.\n source_rect (Rect): The source rectangle, or None for the entire texture.\n dest_rect (Rect): The destination ...
134
false
jdoda/sdl2hl
copy
9,295
LDU_FT/PredixDev/predixpy/create
LDU_FT
[ "<BEGIN>\n## `create`", "Create an instance of the US Weather Forecast Service with\n typical starting settings.\n<END>", "<BEGIN>\n## `add_to_manifest`", "Add useful details to the manifest about this service\n so that it can be used in an application.", " :param manifest: An predix.ad...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Create an instance of the Blob Store Service with the typical starting settings.
"Create an instance of the Blob Store Service with the typical\n starting settings."
501
false
PredixDev/predixpy
create
9,296
LDU_FT/slackapi/python-slackclient/_validate_xoxp_token
LDU_FT
[ "<BEGIN>\n## `run_on`", "A decorator to store and link a callback to an event.\n<END>", "<BEGIN>\n## `on`", "Stores and links the callback(s) to the event.", " Args:\n event (str): A string that specifies a Slack or websocket event.\n e.g. 'channel_joined' or 'open'\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _validate_xoxp_token API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _validate_xoxp_token API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Ensures that an xoxp token is used when the specified method is called. Raises: BotUserAccessError: If the API method is called with a Bot User OAuth Access Token.
"Ensures that an xoxp token is used when the specified method is called.\n\n Raises:\n BotUserAccessError: If the API method is called with a Bot User OAuth Access Token."
222
false
slackapi/python-slackclient
_validate_xoxp_token
9,297
LDU_FT/posativ/isso/count
LDU_FT
[ "<BEGIN>\n## `anonymize`", "Anonymize IPv4 and IPv6 :param remote_addr: to /24 (zero'd)\n and /48 (zero'd).\n<END>", "<BEGIN>\n## `thread`", "Extract <h1> title from web page. The title is *probably* the text node,\n which is the nearest H1 node in context to an element with the `isso-thread` id.\n<END>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the count API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the count API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Return comment count for one ore more urls..
"Return comment count for one ore more urls.."
61
false
posativ/isso
count
9,298
LDU_FT/datastore/datastore/directoryRemove
LDU_FT
[ "<BEGIN>\n## `list`", "Returns the `list` representation of this Key.", " Note that this method assumes the key is immutable.\n<END>", "<BEGIN>\n## `instance`", "Returns an instance Key, by appending a name to the namespace.\n<END>", "<BEGIN>\n## `parent`", "Returns the parent Key (all namespaces exc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the directoryRemove API. 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 directoryRemove API. 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...
Removes directory entry `key` from directory at `dir_key`. If either the directory `dir_key` or the directory entry `key` don't exist, this method is a no-op.
"Removes directory entry `key` from directory at `dir_key`.\n\n If either the directory `dir_key` or the directory entry `key` don't exist,\n this method is a no-op."
180
false
datastore/datastore
directoryRemove
9,299
LDU_FT/napalm-automation/napalm/_send_command_postprocess
LDU_FT
[ "<BEGIN>\n## `parse_intf_section`", "Parse a single entry from show interfaces output.", " Different cases:\n mgmt0 is up\n admin state is up", " Ethernet2/1 is up\n admin state is up, Dedicated Interface", " Vlan1 is down (Administratively down), line protocol is down, autostate enabled",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _send_command_postprocess 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 _send_command_postprocess API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Cleanup actions on send_command() for NAPALM getters. Remove "Load for five sec; one minute if in output" Remove "Time source is"
"Cleanup actions on send_command() for NAPALM getters.\n\n Remove \"Load for five sec; one minute if in output\"\n Remove \"Time source is\""
254
false
napalm-automation/napalm
_send_command_postprocess
9,300
LDU_FT/regardscitoyens/anpy/find_promulgation_date
LDU_FT
[ "<BEGIN>\n## `an_text_url`", "Port of the PHP function used by the National Assembly:", " public function urlOpaque($identifiant, $codeType = NULL)\n {\n $datas = array(\n 'PRJL' => array('repertoire' => 'projets', 'prefixe' => 'pl', 'suffixe' => ''),\n 'PION' => array('repert...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_promulgation_date API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_promulgation_date API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
>>> find_promulgation_date("Loi nº 2010-383 du 16 avril 2010 autorisant l'approbation de l'accord entre...") '2010-04-16'
">>> find_promulgation_date(\"Loi nº 2010-383 du 16 avril 2010 autorisant l'approbation de l'accord entre...\")\n '2010-04-16'"
15
false
regardscitoyens/anpy
find_promulgation_date
9,301
LDU_FT/JelleAalbers/multihist/get_bin_indices
LDU_FT
[ "<BEGIN>\n## `from_histogram`", "Make a Hist1D from a numpy bin_edges + histogram pair\n :param histogram: Initial histogram\n :param bin_edges: Bin edges of histogram. Must be one longer than length of histogram\n :param axis_names: Ignored. Sorry :-)\n :return:\n<END>", "<BEGIN>\n#...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_bin_indices API. 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_bin_indices API. 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...
Returns index tuple in histogram of bin which contains value
"Returns index tuple in histogram of bin which contains value"
57
false
JelleAalbers/multihist
get_bin_indices
9,302
LDU_FT/data-8/datascience/color
LDU_FT
[ "<BEGIN>\n## `_is_array_integer`", "Returns True if an array contains integers (integer type or near-int\n float values) and False otherwise.", " >>> _is_array_integer(np.arange(10))\n True\n >>> _is_array_integer(np.arange(7.0, 20.0, 1.0))\n True\n >>> _is_array_integer(np.arange(0, 1, 0.1))\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the color API. 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 color API. 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...
Color map features by binning values. values -- a sequence of values or a table of keys and values ids -- an ID for each value; if none are provided, indices are used key_on -- attribute of each feature to match to ids palette -- one of the following color brewer palettes: ...
"Color map features by binning values.\n\n values -- a sequence of values or a table of keys and values\n ids -- an ID for each value; if none are provided, indices are used\n key_on -- attribute of each feature to match to ids\n palette -- one of the following color brewer palettes:\n\n ...
401
false
data-8/datascience
color
9,303
LDU_FT/255BITS/hyperchamber/_ImageDimensions
LDU_FT
[ "<BEGIN>\n## `conv_cond_concat`", "Concatenate conditioning vector on feature map axis.\n<END>", "<BEGIN>\n## `avg_grads`", "Calculate the average gradient for each shared variable across all towers.", " Note that this function provides a synchronization point across all towers.", " Args:\n tower_gra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _ImageDimensions API. 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 _ImageDimensions API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Returns the dimensions of an image tensor. Args: images: 4-D Tensor of shape [batch, height, width, channels] dynamic_shape: Whether the input image has undertermined shape. If set to `True`, shape information will be retrieved at run time. Default to `False`. Returns: list of integers [bat...
"Returns the dimensions of an image tensor.\n Args:\n images: 4-D Tensor of shape [batch, height, width, channels]\n dynamic_shape: Whether the input image has undertermined shape. If set to\n `True`, shape information will be retrieved at run time. Default to\n `False`.\n\n Returns:\n list of inte...
61
false
255BITS/hyperchamber
_ImageDimensions
9,304
LDU_FT/lrq3000/pyFileFixity/_remove_duplicates
LDU_FT
[ "<BEGIN>\n## `discard`", "Remove the first occurrence of *val*.", " If *val* is not a member, does nothing.\n<END>", "<BEGIN>\n## `remove`", "Remove first occurrence of *val*.", " Raises ValueError if *val* is not present.\n<END>", "<BEGIN>\n## `_delete`", "Delete the item at the given (...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _remove_duplicates API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _remove_duplicates 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...
Remove duplicate objects. Inspired by http://www.peterbe.com/plog/uniqifiers-benchmark
"Remove duplicate objects.\n\n Inspired by http://www.peterbe.com/plog/uniqifiers-benchmark"
1,045
true
lrq3000/pyFileFixity
_remove_duplicates
9,305
LDU_FT/mbj4668/pyang/sort_canonical
LDU_FT
[ "<BEGIN>\n## `emit`", "Main control function.", " Set up the top-level parts of the stylesheet, then process\n recursively all nodes in all data trees, and finally emit the\n serialized stylesheet.\n<END>", "<BEGIN>\n## `process_module`", "Process data nodes, RPCs and notifications in a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sort_canonical API. 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 sort_canonical API. 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...
Sort all `stmts` in the canonical order defined by `keyword`. Return the sorted list. The `stmt` list is not modified. If `keyword` does not have a canonical order, the list is returned as is.
"Sort all `stmts` in the canonical order defined by `keyword`.\n Return the sorted list. The `stmt` list is not modified.\n If `keyword` does not have a canonical order, the list is returned\n as is."
291
false
mbj4668/pyang
sort_canonical
9,306
LDU_FT/conbus/fbmq/convert_shortcut_buttons
LDU_FT
[ "<BEGIN>\n## `convert_shortcut_buttons`", "support shortcut buttons [{'type':'web_url', 'title':'open web url', 'value':'https://~~'}]\n<END>", "<BEGIN>\n## `set_webhook_handler`", "Allows adding a webhook_handler as an alternative to the decorators\n<END>", "<BEGIN>\n## `convert_shortcut_quick_reply`", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_shortcut_buttons 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 convert_shortcut_buttons API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
support shortcut buttons [{'type':'web_url', 'title':'open web url', 'value':'https://~~'}]
"support shortcut buttons [{'type':'web_url', 'title':'open web url', 'value':'https://~~'}]"
10
false
conbus/fbmq
convert_shortcut_buttons
9,307
LDU_FT/wadda/gps3/unpack
LDU_FT
[ "<BEGIN>\n## `stream_data`", "Connect and command, point and shoot, flail and bail\n<END>", "<BEGIN>\n## `unpack_data`", "Iterates over socket response and unpacks values of object attributes.\n Sleeping here has the greatest response to cpu cycles short of blocking sockets\n<END>", "<BEGIN>\n## `add...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unpack API. 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 unpack API. 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 ...
Sets new socket data as DataStream attributes in those initialised dictionaries Arguments: gpsd_socket_response (json object): Provides: self attribute dictionaries, e.g., self.TPV['lat'], self.SKY['gdop'] Raises: AttributeError: 'str' object has no attribute 'keys' w...
"Sets new socket data as DataStream attributes in those initialised dictionaries\n Arguments:\n gpsd_socket_response (json object):\n Provides:\n self attribute dictionaries, e.g., self.TPV['lat'], self.SKY['gdop']\n Raises:\n AttributeError: 'str' object has no attribute '...
30
false
wadda/gps3
unpack
9,308
LDU_FT/glormph/msstitch/get_peptide_quant
LDU_FT
[ "<BEGIN>\n## `parse_input`", "Build peptide table has no input file (though it has a lookup),\n which is why we set it to outfile name so the infile fetching\n and outfile creating wont error.\n<END>", "<BEGIN>\n## `set_feature_generator`", "Generates proteins with quant from the lookup table\n<...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_peptide_quant API. 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_peptide_quant API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Parses lists of quantdata and returns maxvalue from them. Strips NA
"Parses lists of quantdata and returns maxvalue from them. Strips NA"
233
false
glormph/msstitch
get_peptide_quant
9,309
LDU_FT/ceph/ceph-deploy/start_mon_service
LDU_FT
[ "<BEGIN>\n## `ceph_is_installed`", "A helper callback to be executed after the connection is made to ensure\n that Ceph is installed.\n<END>", "<BEGIN>\n## `_get_version_output`", "Ignoring errors, call `ceph --version` and return only the version\n portion of the output. For example, output like::"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start_mon_service API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start_mon_service API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
start mon service depending on distro init
"start mon service depending on distro init"
236
false
ceph/ceph-deploy
start_mon_service
9,310
LDU_FT/GearPlug/payu-python/create_single_token
LDU_FT
[ "<BEGIN>\n## `create_single_token`", "Using this feature you can register a customer’s credit card data and get a token sequential number.", " Args:\n payer_id:\n name:\n identification_number:\n payment_method:\n number:\n expiration_date...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_single_token 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 create_single_token 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...
Using this feature you can register a customer’s credit card data and get a token sequential number. Args: payer_id: name: identification_number: payment_method: number: expiration_date: Returns:
"Using this feature you can register a customer’s credit card data and get a token sequential number.\n\n Args:\n payer_id:\n name:\n identification_number:\n payment_method:\n number:\n expiration_date:\n\n Returns:"
153
false
GearPlug/payu-python
create_single_token
9,311
LDU_FT/iamteem/redisco/is_valid
LDU_FT
[ "<BEGIN>\n## `_initialize_referenced`", "Adds a property to the target of a reference field that\n returns the list of associated objects.\n<END>", "<BEGIN>\n## `_initialize_lists`", "Stores the list fields descriptors of a model.\n<END>", "<BEGIN>\n## `_initialize_references`", "Stores the list of ref...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_valid API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_valid API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Returns True if all the fields are valid. It first validates the fields (required, unique, etc.) and then calls the validate method.
"Returns True if all the fields are valid.\n\n It first validates the fields (required, unique, etc.)\n and then calls the validate method."
70
false
iamteem/redisco
is_valid
9,312
LDU_FT/kervi/kervi-core/action
LDU_FT
[ "<BEGIN>\n## `set_channels`", "Sets the state of multiple channels in one operation.", " :param channels:\n A dictionary where keys are channels and values the value to set for each channel.", " :type channels: ``dict``\n<END>", "<BEGIN>\n## `action`", "Decorator that turns a func...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the action API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the action API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Decorator that turns a function or controller method into an kervi action. it is possible to call the action in other kervi processes or modules. @action def my_action(p) ... call it via Actions["my_action"](10) @action(action_id="action_1", name="This is my action...
"Decorator that turns a function or controller method into an kervi action.\n it is possible to call the action in other kervi processes or modules.\n\n @action\n def my_action(p)\n ...\n\n call it via Actions[\"my_action\"](10)\n\n @action(action_id=\"action_1\", name=\"Th...
101
false
kervi/kervi-core
action
9,313
LDU_FT/mccutchen/triangulizor/prep_image
LDU_FT
[ "<BEGIN>\n## `triangulize`", "Processes the given image by breaking it down into tiles of the given\n size and applying a triangular effect to each tile. Returns the processed\n image as a PIL Image object.", " The image can be given as anything suitable for passing to `Image.open`\n (ie, the path t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prep_image API. 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 prep_image API. 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...
Takes an image and a tile size and returns a possibly cropped version of the image that is evenly divisible in both dimensions by the tile size.
"Takes an image and a tile size and returns a possibly cropped version\n of the image that is evenly divisible in both dimensions by the tile size."
22
false
mccutchen/triangulizor
prep_image
9,314
LDU_FT/onicagroup/runway/echo_detected_environment
LDU_FT
[ "<BEGIN>\n## `fix_hyphen_commands`", "Update options to match their module names with underscores.\n<END>", "<BEGIN>\n## `calculate_hash_of_files`", "Return a hash of all of the given files at the given root.", " Adapted from stacker.hooks.aws_lambda; used according to its license:\n https://github.co...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the echo_detected_environment 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 echo_detected_environment API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Print a helper note about how the environment was determined.
"Print a helper note about how the environment was determined."
130
false
onicagroup/runway
echo_detected_environment
9,315
LDU_FT/tchellomello/raincloudy/_assign_faucets
LDU_FT
[ "<BEGIN>\n## `_assign_zones`", "Assign all RainCloudyFaucetZone managed by faucet.\n<END>", "<BEGIN>\n## `_set_watering_time`", "Private method to set watering_time per zone.\n<END>", "<BEGIN>\n## `_set_rain_delay`", "Generic method to set auto_watering program.\n<END>", "<BEGIN>\n## `_set_auto_watering...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _assign_faucets API. 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 _assign_faucets API. 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...
Assign RainCloudyFaucet objects to self.faucets.
"Assign RainCloudyFaucet objects to self.faucets."
37
false
tchellomello/raincloudy
_assign_faucets
9,316
LDU_FT/micahhausler/container-transform/transform
LDU_FT
[ "<BEGIN>\n## `_read_stream`", "We override the return signature of\n ``super(BaseTransformer, self)._read_stream()`` to return extra volume\n data. This is intentional.", " :param stream: A file like object\n :returns: Return the family name, containers, and volumes. If there are\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transform API. 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 transform API. 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...
container-transform is a small utility to transform various docker container formats to one another. Default input type is compose, default output type is ECS Default is to read from STDIN if no INPUT_FILE is provided All options may be set by environment variables with the prefix "CT_" followed ...
"container-transform is a small utility to transform various docker\n container formats to one another.\n\n Default input type is compose, default output type is ECS\n\n Default is to read from STDIN if no INPUT_FILE is provided\n\n All options may be set by environment variables with the prefix \"CT_\"\n ...
61
false
micahhausler/container-transform
transform
9,317
LDU_FT/planetarypy/pvl/dumps
LDU_FT
[ "<BEGIN>\n## `append`", "Adds a (name, value) pair, doesn't overwrite the value if it already\n exists.\n<END>", "<BEGIN>\n## `__insert_wrapper`", "Make sure the arguments given to the insert methods are correct\n<END>", "<BEGIN>\n## `_get_index_for_insert`", "Get the index of the key to insert bef...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dumps API. 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 dumps API. 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...
Serialize ``module`` as a pvl module formated byte string. :param module: a ```PVLModule``` or ```dict``` like object to serialize :param cls: the encoder class used to serialize the pvl module. You may use the default ``PVLEncoder`` class or provided encoder formats such as the ```IsisCubeLab...
"Serialize ``module`` as a pvl module formated byte string.\n\n :param module: a ```PVLModule``` or ```dict``` like object to serialize\n\n :param cls: the encoder class used to serialize the pvl module. You may use\n the default ``PVLEncoder`` class or provided encoder formats such as the\n ```Isis...
63
false
planetarypy/pvl
dumps
9,318
LDU_FT/benhoff/pluginmanager/set_blacklisted_directories
LDU_FT
[ "<BEGIN>\n## `collect_directories`", "Collects all the directories into a `set` object.", " If `self.recursive` is set to `True` this method will iterate through\n and return all of the directories and the subdirectories found from\n `directories` that are not blacklisted.", " if `...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_blacklisted_directories 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 set_blacklisted_directories API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
Sets the `directories` to be blacklisted. Blacklisted directories will not be returned or searched recursively when calling `collect_directories`. This will replace the previously stored set of blacklisted paths. `directories` may be a single instance or an iterable. Recommend ...
"Sets the `directories` to be blacklisted. Blacklisted directories will\n not be returned or searched recursively when calling\n `collect_directories`.\n\n This will replace the previously stored set of blacklisted\n paths.\n\n `directories` may be a single instance or an iterable. Re...
161
false
benhoff/pluginmanager
set_blacklisted_directories
9,319
LDU_FT/jstitch/MambuPy/setUsers
LDU_FT
[ "<BEGIN>\n## `convertDict2Attrs`", "The trick for iterable Mambu Objects comes here:", " You iterate over each element of the responded List from Mambu,\n and create a Mambu Activity object for each one, initializing\n them one at a time, and changing the attrs attribute (which just\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setUsers API. 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 setUsers API. 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...
Adds the active users for this branch to a 'users' field. Returns the number of requests done to Mambu. .. todo:: since pagination logic was added, is not always true that just 1 request was done. It may be more! But since request counter singleton holds true information about how many req...
"Adds the active users for this branch to a 'users' field.\n\n Returns the number of requests done to Mambu.\n\n.. todo:: since pagination logic was added, is not always true that\n just 1 request was done. It may be more! But since request\n counter singleton holds true information about how m...
357
false
jstitch/MambuPy
setUsers
9,320
LDU_FT/YuriyGuts/pygoose/plot_loss_history
LDU_FT
[ "<BEGIN>\n## `split_into_batches`", "Break the input data into smaller batches, optionally saving each one to disk.", " Args:\n input_list: An input object that has a list-like interface (indexing and slicing).\n batch_size: The maximum number of input items in each batch.\n batch_storag...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot_loss_history API. 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 plot_loss_history API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Plots the learning history for a Keras model, assuming the validation data was provided to the 'fit' function. Args: history: The return value from the 'fit' function. figsize: The size of the plot.
"Plots the learning history for a Keras model,\n assuming the validation data was provided to the 'fit' function.\n\n Args:\n history: The return value from the 'fit' function.\n figsize: The size of the plot."
72
false
YuriyGuts/pygoose
plot_loss_history
9,321
LDU_FT/tommyod/streprogen/_validate
LDU_FT
[ "<BEGIN>\n## `_set_scalers`", "Set the variables self._scalers as given by self.scalers,\n if self.scalers is None, then a default value is used.\n<END>", "<BEGIN>\n## `_validate`", "The purpose of this method is to verify that the user has set sensible\n values for the training program before r...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _validate API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _validate API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
The purpose of this method is to verify that the user has set sensible values for the training program before rendering. The user will still be able to render, but error messages will be printed. This method: * Validates that the average intensity is in the range [65, 85]. ...
"The purpose of this method is to verify that the user has set sensible\n values for the training program before rendering. The user will still\n be able to render, but error messages will be printed. This method:\n \n * Validates that the average intensity is in the range [65, 85].\...
129
false
tommyod/streprogen
_validate
9,322
LDU_FT/inveniosoftware/invenio-access/deny_role
LDU_FT
[ "<BEGIN>\n## `removed_or_inserted_action`", "Remove the action from cache when an item is inserted or deleted.\n<END>", "<BEGIN>\n## `changed_action`", "Remove the action from cache when an item is updated.\n<END>", "<BEGIN>\n## `create`", "Create new database row using the provided action need.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the deny_role API. 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 deny_role API. 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...
Deny a role identified by an email address.
"Deny a role identified by an email address."
64
false
inveniosoftware/invenio-access
deny_role
9,323
LDU_FT/openspending/os-package-registry/delete_model
LDU_FT
[ "<BEGIN>\n## `save_model`", "Save a model in the registry\n :param name: name for the model\n :param datapackage_url: origin URL for the datapackage which is the\n source for this model\n :param datapackage: datapackage object from which this model was\n derived\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_model API. 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 delete_model API. 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...
Delete a model from the registry :param name: name for the model
"Delete a model from the registry\n :param name: name for the model"
16
false
openspending/os-package-registry
delete_model
9,324
LDU_FT/vtkiorg/vtki/texture_map_to_plane
LDU_FT
[ "<BEGIN>\n## `extract_geometry`", "Combines the geomertry of all blocks into a single ``PolyData``\n object. Place this filter at the end of a pipeline before a polydata\n consumer such as a polydata mapper to extract geometry from all blocks\n and append them to one polydata object.\n<END>",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the texture_map_to_plane 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 texture_map_to_plane API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Texture map this dataset to a user defined plane. This is often used to define a plane to texture map an image to this dataset. The plane defines the spatial reference and extent of that image. Parameters ---------- origin : tuple(float) Length 3 iterable of floats d...
"Texture map this dataset to a user defined plane. This is often used\n to define a plane to texture map an image to this dataset. The plane\n defines the spatial reference and extent of that image.\n\n Parameters\n ----------\n origin : tuple(float)\n Length 3 iterable of ...
1,121
true
vtkiorg/vtki
texture_map_to_plane
9,325
LDU_FT/jart/fabulous/rgb_to_xterm
LDU_FT
[ "<BEGIN>\n## `lorem_gotham`", "Cheesy Gothic Poetry Generator", " Uses Python generators to yield eternal angst.", " When you need to generate random verbiage to test your code or\n typographic design, let's face it... Lorem Ipsum and \"the quick\n brown fox\" are old and boring!", " What you...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rgb_to_xterm API. 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 rgb_to_xterm API. 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...
Quantize RGB values to an xterm 256-color ID This works by envisioning the RGB values for all 256 xterm colors as 3D euclidean space and brute-force searching for the nearest neighbor. This is very slow. If you're very lucky, :func:`compile_speedup` will replace this function automatically with r...
"Quantize RGB values to an xterm 256-color ID\n\n This works by envisioning the RGB values for all 256 xterm colors\n as 3D euclidean space and brute-force searching for the nearest\n neighbor.\n\n This is very slow. If you're very lucky, :func:`compile_speedup`\n will replace this function automaticall...
148
false
jart/fabulous
rgb_to_xterm
9,326
LDU_FT/Geotab/mygeotab-python/from_credentials
LDU_FT
[ "<BEGIN>\n## `object_deserializer`", "Helper to deserialize a raw result dict into a proper dict.", " :param obj: The dict.\n<END>", "<BEGIN>\n## `login`", "Logs into a MyGeotab server and stores the returned credentials.", " :param session: The current Session object.\n :param user: The username...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_credentials API. 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 from_credentials API. 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 new API object from an existing Credentials object. :param credentials: The existing saved credentials. :type credentials: Credentials :return: A new API object populated with MyGeotab credentials. :rtype: API
"Returns a new API object from an existing Credentials object.\n\n :param credentials: The existing saved credentials.\n :type credentials: Credentials\n :return: A new API object populated with MyGeotab credentials.\n :rtype: API"
96
false
Geotab/mygeotab-python
from_credentials
9,327
LDU_FT/vtraag/louvain-igraph/weight_to_comm
LDU_FT
[ "<BEGIN>\n## `optimise_partition`", "Optimise the given partition.", " Parameters\n ----------\n partition\n The :class:`~VertexPartition.MutableVertexPartition` to optimise.", " Returns\n -------\n float\n Improvement in quality function.", " Examples\n --------", " >...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the weight_to_comm API. 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 weight_to_comm API. 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...
The total number of edges (or sum of weights) from node ``v`` to community ``comm``. See Also -------- :func:`~VertexPartition.MutableVertexPartition.weight_from_comm`
"The total number of edges (or sum of weights) from node ``v`` to\n community ``comm``.\n\n See Also\n --------\n :func:`~VertexPartition.MutableVertexPartition.weight_from_comm`"
102
false
vtraag/louvain-igraph
weight_to_comm
9,328
LDU_FT/wrobstory/vincent/align
LDU_FT
[ "<BEGIN>\n## `fill_opacity`", "ValueRef : int or float, opacity of the fill (0 to 1)\n<END>", "<BEGIN>\n## `stroke_width`", "ValueRef : int, width of the stroke in pixels\n<END>", "<BEGIN>\n## `stroke_opacity`", "ValueRef : number, opacity of the stroke (0 to 1)\n<END>", "<BEGIN>\n## `size`", "ValueRe...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the align API. 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 align API. 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...
ValueRef : string, horizontal alignment of mark Possible values are ``'left'``, ``'right'``, and ``'center'``. Only used if ``type`` is ``'image'`` or ``'text'``.
"ValueRef : string, horizontal alignment of mark\n\n Possible values are ``'left'``, ``'right'``, and ``'center'``. Only\n used if ``type`` is ``'image'`` or ``'text'``."
139
false
wrobstory/vincent
align
9,329
LDU_FT/CalebBell/fpi/Barati_high
LDU_FT
[ "<BEGIN>\n## `Rizk`", "r'''Calculates saltation velocity of the gas for pneumatic conveying,\n according to [1]_ as described in [2]_ and many others.", " .. math::\n \\mu=\\left(\\frac{1}{10^{1440d_p+1.96}}\\right)\\left(Fr_s\\right)^{1100d_p+2.5}", " Fr_s = \\frac{V_{salt}}{\\sqrt{gD}}",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Barati_high API. 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 Barati_high API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
r'''Calculates drag coefficient of a smooth sphere using the method in [1]_. .. math:: C_D = 8\times 10^{-6}\left[(Re/6530)^2 + \tanh(Re) - 8\ln(Re)/\ln(10)\right] - 0.4119\exp(-2.08\times10^{43}/[Re + Re^2]^4) -2.1344\exp(-\{[\ln(Re^2 + 10.7563)/\ln(10)]^2 + 9.9867\}/Re) +0.135...
"r'''Calculates drag coefficient of a smooth sphere using the method in\n [1]_.\n\n .. math::\n C_D = 8\\times 10^{-6}\\left[(Re/6530)^2 + \\tanh(Re) - 8\\ln(Re)/\\ln(10)\\right]\n - 0.4119\\exp(-2.08\\times10^{43}/[Re + Re^2]^4)\n -2.1344\\exp(-\\{[\\ln(Re^2 + 10.7563)/\\ln(10)]^2 + 9.9867\\...
121
false
CalebBell/fpi
Barati_high
9,330
LDU_FT/gpagliuca/pyfas/to_excel
LDU_FT
[ "<BEGIN>\n## `extract_geometry`", "It adds to self.geometries a specific geometry as (x, y)\n<END>", "<BEGIN>\n## `to_excel`", "Dump all the data to excel, fname and path can be passed as args\n<END>", "<BEGIN>\n## `PI_read`", "Read function for PI server. It has to be executed by python 32 bit.\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_excel API. 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 to_excel API. 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...
Dump all the data to excel, fname and path can be passed as args
"Dump all the data to excel, fname and path can be passed as args"
32
false
gpagliuca/pyfas
to_excel
9,331
LDU_FT/log2timeline/dfwinreg/Matches
LDU_FT
[ "<BEGIN>\n## `_CheckKeyPath`", "Checks the key path find specification.", " Args:\n registry_key (WinRegistryKey): Windows Registry key.\n search_depth (int): number of key path segments to compare.", " Returns:\n bool: True if the Windows Registry key matches the find specification,\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Matches API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Matches API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Determines if the Windows Registry key matches the find specification. Args: registry_key (WinRegistryKey): Windows Registry key. search_depth (int): number of key path segments to compare. Returns: tuple: contains: bool: True if the Windows Registry key matches the find specificati...
"Determines if the Windows Registry key matches the find specification.\n\n Args:\n registry_key (WinRegistryKey): Windows Registry key.\n search_depth (int): number of key path segments to compare.\n\n Returns:\n tuple: contains:\n\n bool: True if the Windows Registry key matches the find s...
199
false
log2timeline/dfwinreg
Matches
9,332
LDU_FT/codenerix/django-codenerix-invoicing/form_valid
LDU_FT
[ "<BEGIN>\n## `buy_product`", "determina si el customer ha comprado un producto\n<END>", "<BEGIN>\n## `find`", "Get a valid CashDiary for today from the given POS, it will return:\n - None: if no CashDiary is available today and older one was already closed\n - New CashDiary: if no CashDi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the form_valid API. 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 form_valid API. 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...
if product: is_pack = product.is_pack() else: is_pack = False
"if product:\n is_pack = product.is_pack()\n else:\n is_pack = False"
38
false
codenerix/django-codenerix-invoicing
form_valid
9,333
LDU_FT/log2timeline/plaso/_StartAnalysisProcesses
LDU_FT
[ "<BEGIN>\n## `_GetStatus`", "Retrieves status information.", " Returns:\n dict[str, object]: status attributes, indexed by name.\n<END>", "<BEGIN>\n## `_ProcessEvent`", "Processes an event.", " Args:\n mediator (AnalysisMediator): mediates interactions between\n analysis plugins a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _StartAnalysisProcesses 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 _StartAnalysisProcesses API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
Starts the analysis processes. Args: storage_writer (StorageWriter): storage writer. analysis_plugins (dict[str, AnalysisPlugin]): analysis plugins that should be run and their names.
"Starts the analysis processes.\n\n Args:\n storage_writer (StorageWriter): storage writer.\n analysis_plugins (dict[str, AnalysisPlugin]): analysis plugins that\n should be run and their names."
5,157
true
log2timeline/plaso
_StartAnalysisProcesses
9,334
LDU_FT/MinchinWeb/colourettu/from_list
LDU_FT
[ "<BEGIN>\n## `other_dependancies`", "Installs things that need to be in place before installing the main package\n<END>", "<BEGIN>\n## `update_version_number`", "Update version number", " Returns a semantic_version object\n<END>", "<BEGIN>\n## `add_release_to_changelog`", "Add release line at the top...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 conclusion. The extract...
Given an interable (usually a list or a tuple) containing :py:class:`Colour` s, this then becomes the Colours contained by the Palette. Args: list_of_colours(list, tuple, or other interable): a collection of :py:class:`Colour` s to be loaded into the palette. If thes...
"Given an interable (usually a list or a tuple) containing\n :py:class:`Colour` s,\n this then becomes the Colours contained by the Palette.\n\n Args:\n list_of_colours(list, tuple, or other interable): a collection of\n :py:class:`Colour` s to be loaded into the palette. ...
90
false
MinchinWeb/colourettu
from_list
9,335
LDU_FT/wdbm/datavision/propose_number_of_bins
LDU_FT
[ "<BEGIN>\n## `normalize_to_range`", "This function normalizes values of a list to a specified range and returns\n the original object if the values are not of the types integer or float.\n<END>", "<BEGIN>\n## `list_element_combinations_variadic`", "This function accepts a specification of lists of elements...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the propose_number_of_bins 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 propose_number_of_bins API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
This function returns a proposal for binning for a histogram of a specified list using an optional specified binning logic system. Freedman-Diaconis: bin width is proportional to the interquartile range of the data divided by the cube root of the size of the data Scott: ...
"This function returns a proposal for binning for a histogram of a specified\n list using an optional specified binning logic system.\n\n Freedman-Diaconis: bin width is proportional to the interquartile range of\n the data divided by the cube root of the size of the data\n\n Scott: ...
29
false
wdbm/datavision
propose_number_of_bins
9,336
LDU_FT/gesellkammer/sndfileio/sndinfo
LDU_FT
[ "<BEGIN>\n## `_applyMultichan`", "Apply func to each channel of audio data in samples\n<END>", "<BEGIN>\n## `_resample_samplerate`", "Uses https://github.com/tuxu/python-samplerate\n<END>", "<BEGIN>\n## `_nnresample_compute_filt`", "r\"\"\"\n Computes a filter to resample a signal from rate \"down\" to...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sndinfo API. 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 sndinfo API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Get info about a soundfile path (str): the path to a soundfile RETURNS --> an instance of SndInfo: samplerate, nframes, channels, encoding, fileformat
"Get info about a soundfile\n\n path (str): the path to a soundfile\n\n RETURNS --> an instance of SndInfo: samplerate, nframes, channels, encoding, fileformat"
87
false
gesellkammer/sndfileio
sndinfo
9,337
LDU_FT/tBaxter/tango-shared-core/markdown
LDU_FT
[ "<BEGIN>\n## `build_howto`", "Searches for \"how_to.md\" files in app directories.\n Creates user-friendly admin how-to section from apps that have them.\n<END>", "<BEGIN>\n## `social_links`", "Outputs social links. At minimum, this will be Facebook and Twitter.\n But if possible, it will also output vo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the markdown API. 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 markdown API. 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...
Runs Markdown over a given value, optionally using various extensions python-markdown supports. Derived from django.contrib.markdown, which was deprecated from django. ALWAYS CLEAN INPUT BEFORE TRUSTING IT. Syntax:: {{ value|markdown:"extension1_name,extension2_name..." }} To enable saf...
"Runs Markdown over a given value, optionally using various\n extensions python-markdown supports.\n\n Derived from django.contrib.markdown, which was deprecated from django.\n\n ALWAYS CLEAN INPUT BEFORE TRUSTING IT.\n\n Syntax::\n\n {{ value|markdown:\"extension1_name,extension2_name...\" }}\n\n ...
63
false
tBaxter/tango-shared-core
markdown
9,338
LDU_FT/jvamvas/rhymediscovery/main
LDU_FT
[ "<BEGIN>\n## `init_perfect_ttable`", "initialize (normalized) theta according to whether words rhyme\n<END>", "<BEGIN>\n## `get_wordlist`", "Get an iterable of all final words in all stanzas\n<END>", "<BEGIN>\n## `get_rhymelists`", "Returns ordered lists of the stanza's word indices as defined by given sc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Wrapper for find_schemes if called from command line
"Wrapper for find_schemes if called from command line"
28
false
jvamvas/rhymediscovery
main
9,339
LDU_FT/JukeboxPipeline/jukebox-core/find_plugins
LDU_FT
[ "<BEGIN>\n## `restrictable`", "Decorator for :class:`Reftrack` methods.\n A decorated method will check if its restriction with :meth:`Reftrack.is_restricted`\n and raises a :class:`RestrictionError` if it is restricted.", " :param m: The :class:`Reftrack` method to wrap\n :type m: :class:`Reftrack`...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_plugins API. 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 find_plugins API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Return a list with all plugins found in path :param path: the directory with plugins :type path: str :returns: list of JB_Plugin subclasses :rtype: list :raises: None
"Return a list with all plugins found in path\n\n :param path: the directory with plugins\n :type path: str\n :returns: list of JB_Plugin subclasses\n :rtype: list\n :raises: None"
1,529
true
JukeboxPipeline/jukebox-core
find_plugins
9,340
LDU_FT/elkiwy/paynter/drawLine
LDU_FT
[ "<BEGIN>\n## `drawLine`", "Draws a line on the current :py:class:`Layer` with the current :py:class:`Brush`.\n\t\tCoordinates are relative to the original layer size WITHOUT downsampling applied.", "\t\t:param x1: Starting X coordinate.\n\t\t:param y1: Starting Y coordinate.\n\t\t:param x2: End X coordinate.\n\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the drawLine API. 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 drawLine API. 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...
Draws a line on the current :py:class:`Layer` with the current :py:class:`Brush`. Coordinates are relative to the original layer size WITHOUT downsampling applied. :param x1: Starting X coordinate. :param y1: Starting Y coordinate. :param x2: End X coordinate. :param y2: End Y coordinate. :rtype: Nothing.
"Draws a line on the current :py:class:`Layer` with the current :py:class:`Brush`.\n\t\tCoordinates are relative to the original layer size WITHOUT downsampling applied.\n\n\t\t:param x1: Starting X coordinate.\n\t\t:param y1: Starting Y coordinate.\n\t\t:param x2: End X coordinate.\n\t\t:param y2: End Y coordinate.\n\...
57
false
elkiwy/paynter
drawLine
9,341
LDU_FT/azraq27/gini/matches
LDU_FT
[ "<BEGIN>\n## `matches_from_list`", "Returns the members of ``options`` that best matches ``item``. Will prioritize\n exact matches, then filename-style matching, then fuzzy matching. Returns a tuple of item,\n index, match type, and fuzziness (if applicable)", " :item: string to match\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the matches API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the matches API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Returns whether this :class:`Concept` matches ``string``
"Returns whether this :class:`Concept` matches ``string``"
23
false
azraq27/gini
matches
9,342
LDU_FT/python-fedex-devs/python-fedex/__check_response_for_fedex_error
LDU_FT
[ "<BEGIN>\n## `transfer_config_dict`", "This is a utility function used in the certification modules to transfer\n the data dicts above to SOAP objects. This avoids repetition and allows\n us to store all of our variable configuration here rather than in\n each certification script.\n<END>", "<BEGIN>\n#...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __check_response_for_fedex_error 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 __check_response_for_fedex_error API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c...
This checks the response for general Fedex errors that aren't related to any one WSDL.
"This checks the response for general Fedex errors that aren't related\n to any one WSDL."
92
false
python-fedex-devs/python-fedex
__check_response_for_fedex_error
9,343
LDU_FT/eandersson/amqpstorm/_start_new_timer
LDU_FT
[ "<BEGIN>\n## `open`", "Open Socket and establish a connection.", " :raises AMQPConnectionError: Raises if the connection\n encountered an error.\n :return:\n<END>", "<BEGIN>\n## `write_to_socket`", "Write data to the socket.", " :param str frame_dat...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _start_new_timer API. 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 _start_new_timer API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Create a timer that will be used to periodically check the connection for heartbeats. :return:
"Create a timer that will be used to periodically check the\n connection for heartbeats.\n\n :return:"
612
false
eandersson/amqpstorm
_start_new_timer
9,344
LDU_FT/thombashi/thutils/parseLsPermissionText
LDU_FT
[ "<BEGIN>\n## `load`", ":param str json_file_path: Path to the JSON file to be read.\n :param voluptuous.Schema schema: JSON schema.\n :return: Dictionary storing the parse results of JSON.\n :rtype: dictionary", " :raises ImportError:\n :raises InvalidFilePathError:\n :...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parseLsPermissionText 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 parseLsPermissionText API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
parse "ls -l" style permission text: e.g. -rw-r--r--
"parse \"ls -l\" style permission text: e.g. -rw-r--r--"
19
false
thombashi/thutils
parseLsPermissionText
9,345
LDU_FT/ajyoon/blur/remove_node_by_value
LDU_FT
[ "<BEGIN>\n## `with_random_weights`", "Initialize from a list of options with random weights.", " The weights assigned to each object are uniformally random\n integers between ``1`` and ``len(options)``", " Args:\n options (list): The list of options of any type this object\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_node_by_value API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_node_by_value API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Delete all nodes in ``self.node_list`` with the value ``value``. Args: value (Any): The value to find and delete owners of. Returns: None Example: >>> from blur.markov.node import Node >>> node_1 = Node('One') >>> graph = Graph([node_1]) ...
"Delete all nodes in ``self.node_list`` with the value ``value``.\n\n Args:\n value (Any): The value to find and delete owners of.\n\n Returns: None\n\n Example:\n >>> from blur.markov.node import Node\n >>> node_1 = Node('One')\n >>> graph = Graph([node_...
235
false
ajyoon/blur
remove_node_by_value
9,346
LDU_FT/svenkreiss/pysparkling/transformWith
LDU_FT
[ "<BEGIN>\n## `get_fs`", "Find the file system implementation for this path.\n<END>", "<BEGIN>\n## `awaitTermination`", "Wait for context to stop.", " :param float timeout: in seconds\n<END>", "<BEGIN>\n## `binaryRecordsStream`", "Monitor a directory and process all binary files.", " File...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transformWith API. 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 transformWith API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Return a new DStream where each RDD is transformed by ``f``. :param f: transformation function :rtype: DStream The transformation function can have arguments ``(time, rdd_a, rdd_b)`` or ``(rdd_a, rdd_b)``.
"Return a new DStream where each RDD is transformed by ``f``.\n\n :param f: transformation function\n :rtype: DStream\n\n The transformation function can have arguments ``(time, rdd_a, rdd_b)``\n or ``(rdd_a, rdd_b)``."
109
false
svenkreiss/pysparkling
transformWith
9,347
LDU_FT/bionikspoon/pureyaml/p_scalar__folded
LDU_FT
[ "<BEGIN>\n## `_gt_from_lt`", "Return a > b. Computed by @total_ordering from (not a < b) and (a != b).\n<END>", "<BEGIN>\n## `_le_from_lt`", "Return a <= b. Computed by @total_ordering from (a < b) or (a == b).\n<END>", "<BEGIN>\n## `_ge_from_lt`", "Return a >= b. Computed by @total_ordering from (not ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the p_scalar__folded API. 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 p_scalar__folded API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
scalar : B_FOLD_START scalar_group B_FOLD_END
"scalar : B_FOLD_START scalar_group B_FOLD_END"
70
false
bionikspoon/pureyaml
p_scalar__folded
9,348
LDU_FT/rgs1/zk_shell/hosts_to_endpoints
LDU_FT
[ "<BEGIN>\n## `extract_acl`", "parse an individual ACL (i.e.: world:anyone:cdrwa)\n<END>", "<BEGIN>\n## `check_path_exists_foreach`", "check that paths exist (unless we are in a transaction)\n<END>", "<BEGIN>\n## `check_path_absent`", "check path doesn't exist (unless we are in a txn or it's sequential)", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hosts_to_endpoints 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 hosts_to_endpoints 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...
return a list of (host, port) tuples from a given host[:port],... str
"return a list of (host, port) tuples from a given host[:port],... str"
379
false
rgs1/zk_shell
hosts_to_endpoints
9,349
LDU_FT/SpikeInterface/spiketoolkit/compute_agreement_score
LDU_FT
[ "<BEGIN>\n## `compute_agreement_score`", "Agreement score is used as a criteria to match unit1 and unit2.\n<END>", "<BEGIN>\n## `do_matching`", "This compute the matching between 2 sorters.", " Parameters\n ----------\n sorting1: SortingExtractor instance", " sorting2: SortingExtractor instanc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compute_agreement_score 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 compute_agreement_score API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
Agreement score is used as a criteria to match unit1 and unit2.
"Agreement score is used as a criteria to match unit1 and unit2."
83
false
SpikeInterface/spiketoolkit
compute_agreement_score
9,350
LDU_FT/guma44/GEOparse/download_SRA
LDU_FT
[ "<BEGIN>\n## `download`", "Download SRA files.", " Returns:\n :obj:`list` of :obj:`str`: List of downloaded files.\n<END>", "<BEGIN>\n## `add_log_file`", "Add log file.", " Args:\n path (:obj:`str`): Path to the log file.\n<END>", "<BEGIN>\n## `_sra_download_worker`", "A wo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download_SRA API. 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 download_SRA API. 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...
Download SRA files for each GSM in series. .. warning:: Do not use parallel option (nproc > 1) in the interactive shell. For more details see `this issue <https://stackoverflow.com/questions/23641475/multiprocessing-working-in-python-but-not-in-ipython/23641560#23641560>`_ ...
"Download SRA files for each GSM in series.\n\n .. warning::\n\n Do not use parallel option (nproc > 1) in the interactive shell.\n For more details see `this issue <https://stackoverflow.com/questions/23641475/multiprocessing-working-in-python-but-not-in-ipython/23641560#23641560>`_\n ...
142
false
guma44/GEOparse
download_SRA
9,351
LDU_FT/markuskiller/textblob-de/find_prepositions
LDU_FT
[ "<BEGIN>\n## `definite_article`", "Returns the definite article (der/die/das/die) for a given word.\n<END>", "<BEGIN>\n## `indefinite_article`", "Returns the indefinite article (ein) for a given word.\n<END>", "<BEGIN>\n## `article`", "Returns the indefinite (ein) or definite (der/die/das/die) article for...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_prepositions API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_prepositions API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
The input is a list of [token, tag, chunk]-items. The output is a list of [token, tag, chunk, preposition]-items. PP-chunks followed by NP-chunks make up a PNP-chunk.
"The input is a list of [token, tag, chunk]-items.\n The output is a list of [token, tag, chunk, preposition]-items.\n PP-chunks followed by NP-chunks make up a PNP-chunk."
407
false
markuskiller/textblob-de
find_prepositions
9,352
LDU_FT/totalgood/twip/limitted_dump
LDU_FT
[ "<BEGIN>\n## `lsi`", "Train an LSI model on a \"corpus\" of documnets, like tweets", " Arguments:\n tokenize (callable): Function that returns a sequence of tokens (str) when passed a document (str)\n ram (float): Portion of RAM to limit the document generator from consuming before StopIter...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the limitted_dump API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the limitted_dump API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Dump a limitted number of json.dump-able objects to the indicated file rate (int): Number of queries per 15 minute twitter window
"Dump a limitted number of json.dump-able objects to the indicated file\n\n rate (int): Number of queries per 15 minute twitter window"
144
false
totalgood/twip
limitted_dump
9,353
LDU_FT/NLeSC/noodles/arrays_to_hdf5
LDU_FT
[ "<BEGIN>\n## `coroutine`", "A sink should be send `None` first, so that the coroutine arrives\n at the `yield` position. This wrapper takes care that this is done\n automatically when the coroutine is started.\n<END>", "<BEGIN>\n## `maybe`", "Calls `f` in a try/except block, returning a `Fail` object if...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the arrays_to_hdf5 API. 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 arrays_to_hdf5 API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Returns registry for serialising arrays to a HDF5 reference.
"Returns registry for serialising arrays to a HDF5 reference."
293
false
NLeSC/noodles
arrays_to_hdf5
9,354
LDU_FT/has2k1/plydata/_get_base_dataframe
LDU_FT
[ "<BEGIN>\n## `set_option`", "Set plydata option", " Parameters\n ----------\n name : str\n Name of the option\n value : object\n New value of the option", " Returns\n -------\n old : object\n Old value of the option", " See also\n --------\n :class:`options...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_base_dataframe API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_base_dataframe 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...
Remove all columns other than those grouped on
"Remove all columns other than those grouped on"
119
false
has2k1/plydata
_get_base_dataframe
9,355
LDU_FT/intelsdi-x/snap-plugin-lib-py/process
LDU_FT
[ "<BEGIN>\n## `publish`", "Publishes metrics to a file in JSON format.", " This method is called by the Snap deamon during the collection phase\n of the execution of a Snap workflow.", " In this example we are writing the metrics to a file in json format.\n We obtain the path to the...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Processes metrics. This method is called by the Snap deamon during the process phase of the execution of a Snap workflow. Examples of processing metrics include applying filtering, max, min, average functions as well as adding additional context to the metrics to name just a few. ...
"Processes metrics.\n\n This method is called by the Snap deamon during the process phase\n of the execution of a Snap workflow. Examples of processing metrics\n include applying filtering, max, min, average functions as well as\n adding additional context to the metrics to name just a few....
69
false
intelsdi-x/snap-plugin-lib-py
process
9,356
LDU_FT/alexras/pylsdj/decompress
LDU_FT
[ "<BEGIN>\n## `import_from_file`", "Import this instrument's settings from the given file. Will\n automatically add the instrument's synth and table to the song's\n synths and tables if needed.", " Note that this may invalidate existing instrument accessor objects.", " :param index:...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decompress API. 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 decompress API. 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...
Decompress data that has been compressed by the filepack algorithm. :param compressed_data: an array of compressed data bytes to decompress :rtype: an array of decompressed bytes
"Decompress data that has been compressed by the filepack algorithm.\n\n :param compressed_data: an array of compressed data bytes to decompress\n\n :rtype: an array of decompressed bytes"
63
false
alexras/pylsdj
decompress
9,357
LDU_FT/ipfs/py-ipfs-api/session
LDU_FT
[ "<BEGIN>\n## `parse`", "Returns a Python object decoded from the bytes of this encoding.", " Raises\n ------\n ~ipfsapi.exceptions.DecodingError", " Parameters\n ----------\n raw : bytes\n Data to be parsed", " Returns\n -------\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted...
A context manager for this client's session. This function closes the current session when this client goes out of scope.
"A context manager for this client's session.\n\n This function closes the current session when this client goes out of\n scope."
499
false
ipfs/py-ipfs-api
session
9,358
LDU_FT/archman/beamline/getAllConfig
LDU_FT
[ "<BEGIN>\n## `plotLattice`", "function plot beamline defined by ``beamlinepatchlist``, which is a set of patches for all elements", " :param beamlinepatchlist: generated by function ``makeBeamline()``\n :param fignum: figure number, 1 by default\n :param fig_size: figure size, 20 inch by default\n :...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getAllConfig API. 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 getAllConfig API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
return all element configurations as json string file. could be further processed by beamline.Lattice class :param fmt: 'json' (default) or 'dict'
"return all element configurations as json string file.\n could be further processed by beamline.Lattice class\n\n :param fmt: 'json' (default) or 'dict'"
318
false
archman/beamline
getAllConfig
9,359
LDU_FT/uyar/pygenstub/generate_stub
LDU_FT
[ "<BEGIN>\n## `get_fields`", "Get the field names and their values from a node.", " :sig: (Document, str) -> Dict[str, str]\n :param node: Node to get the fields from.\n :param fields_tag: Tag of child node that contains the fields.\n :return: Names and values of fields.\n<END>", "<BEGIN>\n## `extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_stub API. 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 generate_stub API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Generate the stub code for this source. :sig: () -> str :return: Generated stub code.
"Generate the stub code for this source.\n\n :sig: () -> str\n :return: Generated stub code."
50
false
uyar/pygenstub
generate_stub
9,360
LDU_FT/payplug/payplug-python/_request
LDU_FT
[ "<BEGIN>\n## `map_http_status_to_exception`", "Bind a HTTP status to an HttpError.", " :param http_code: The HTTP code\n :type http_code: int", " :return The HttpError that fits to the http_code or HttpError.\n :rtype Any subclass of HttpError or HttpError\n<END>", "<BEGIN>\n## `...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _request API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _request API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Perform an HTTP request. See https://docs.python.org/3/library/json.html#json-to-py-table for the http response object. :param http_verb: the HTTP verb (GET, POST, PUT, …) :type http_verb: string :param url: the path to the resource queried :type url: string :param data...
"Perform an HTTP request.\n\n See https://docs.python.org/3/library/json.html#json-to-py-table for the http response object.\n\n :param http_verb: the HTTP verb (GET, POST, PUT, …)\n :type http_verb: string\n :param url: the path to the resource queried\n :type url: string\n :p...
108
false
payplug/payplug-python
_request
9,361
LDU_FT/PaulHancock/Aegean/find_start_point
LDU_FT
[ "<BEGIN>\n## `classify_catalog`", "Look at a list of sources and split them according to their class.", " Parameters\n ----------\n catalog : iterable\n A list or iterable object of {SimpleSource, IslandSource, OutputSource} objects, possibly mixed.\n Any other objects will be silently ig...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_start_point API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_start_point API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Find the first location in our array that is not empty
"Find the first location in our array that is not empty"
771
false
PaulHancock/Aegean
find_start_point
9,362
LDU_FT/rosshamish/catanlog/log_player_trades_with_other_player
LDU_FT
[ "<BEGIN>\n## `logpath`", "Return the logfile path and filename as a string.", " The file with name self.logpath() is written to on flush().", " The filename contains the log's timestamp and the names of players in the game.\n The logpath changes when reset() or _set_players() are called, ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the log_player_trades_with_other_player API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates it...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the log_player_trades_with_other_player API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates it...
:param player: catan.game.Player :param to_other: list of tuples, [(int, game.board.Terrain), (int, game.board.Terrain)] :param other: catan.board.Player :param to_player: list of tuples, [(int, game.board.Terrain), (int, game.board.Terrain)]
":param player: catan.game.Player\n :param to_other: list of tuples, [(int, game.board.Terrain), (int, game.board.Terrain)]\n :param other: catan.board.Player\n :param to_player: list of tuples, [(int, game.board.Terrain), (int, game.board.Terrain)]"
47
false
rosshamish/catanlog
log_player_trades_with_other_player
9,363
LDU_FT/vedvyas/doxytag2zealdb/find
LDU_FT
[ "<BEGIN>\n## `set_property`", "Set a new (or updating existing) key value pair.", " Args:\n key: A string containing the key namespace\n value: A str, int, or bool value", " Raises:\n NotImplementedError: an unsupported value-type was provided\n<END>", "<BEGIN>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find API. 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 find API. 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...
Yield tags matching the tag criterion from a soup. There is no need to override this if you are satisfied with finding tags that match match_criterion. Args: soup: A BeautifulSoup to search through. Yields: BeautifulSoup Tags that match the criterion.
"Yield tags matching the tag criterion from a soup.\n\n There is no need to override this if you are satisfied with finding\n tags that match match_criterion.\n\n Args:\n soup: A BeautifulSoup to search through.\n\n Yields:\n BeautifulSoup Tags that match the criterion....
50
false
vedvyas/doxytag2zealdb
find
9,364
LDU_FT/NicolasLM/atoma/parse_atom_bytes
LDU_FT
[ "<BEGIN>\n## `parse_atom_file`", "Parse an Atom feed from a local XML file.\n<END>", "<BEGIN>\n## `parse_atom_bytes`", "Parse an Atom feed from a byte-string containing XML data.\n<END>", "<BEGIN>\n## `_get_link`", "Attempt to retrieve item link.", " Use the GUID as a fallback if it is a permalink.\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_atom_bytes API. 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_atom_bytes API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Parse an Atom feed from a byte-string containing XML data.
"Parse an Atom feed from a byte-string containing XML data."
25
false
NicolasLM/atoma
parse_atom_bytes
9,365
LDU_FT/dls-controls/pymalcolm/notify_changes
LDU_FT
[ "<BEGIN>\n## `camel_to_title`", "Takes a camelCaseFieldName and returns an Title Case Field Name", " Args:\n name (str): E.g. camelCaseFieldName", " Returns:\n str: Title Case converted name. E.g. Camel Case Field Name\n<END>", "<BEGIN>\n## `snake_to_camel`", "Takes a snake_field_name ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the notify_changes API. 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 notify_changes API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Set our data and notify anyone listening Args: changes (list): [[path, optional data]] where path is the path to what has changed, and data is the unserialized object that has changed Returns: list: [(callback, Response)] that need to be called
"Set our data and notify anyone listening\n\n Args:\n changes (list): [[path, optional data]] where path is the path to\n what has changed, and data is the unserialized object that has\n changed\n\n Returns:\n list: [(callback, Response)] that need to be...
332
false
dls-controls/pymalcolm
notify_changes
9,366
LDU_FT/tgalal/python-axolotl/decryptMsg
LDU_FT
[ "<BEGIN>\n## `getSignature`", ":type signatureKey: ECPrivateKey\n :type serialized: bytearray\n<END>", "<BEGIN>\n## `process`", ":param sessionRecord:\n :param message:\n :type message: PreKeyWhisperMessage\n<END>", "<BEGIN>\n## `processV2`", ":type sessionRecord: SessionRecord\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decryptMsg API. 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 decryptMsg API. 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...
:type ciphertext: WhisperMessage :type textMsg: Bool set this to False if you are decrypting bytes instead of string
":type ciphertext: WhisperMessage\n :type textMsg: Bool set this to False if you are decrypting bytes\n instead of string"
46
false
tgalal/python-axolotl
decryptMsg
9,367
LDU_FT/vberlier/nbtlib/stringify_compound_key
LDU_FT
[ "<BEGIN>\n## `load`", "Load the nbt file at the specified location.\r", " By default, the function will figure out by itself if the file is\r\n gzipped before loading it. You can pass a boolean to the `gzipped`\r\n keyword only argument to specify explicitly whether the file is\r\n compressed or not...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stringify_compound_key API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stringify_compound_key API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Escape the compound key if it can't be represented unquoted.
"Escape the compound key if it can't be represented unquoted."
66
false
vberlier/nbtlib
stringify_compound_key
9,368
LDU_FT/edx/edx-val/to_internal_value
LDU_FT
[ "<BEGIN>\n## `generate_sjson_from_srt`", "Generate transcripts from sjson to SubRip (*.srt).", " Arguments:\n srt_subs(SubRip): \"SRT\" subs object", " Returns:\n Subs converted to \"SJSON\" format.\n<END>", "<BEGIN>\n## `generate_srt_from_sjson`", "Generate transcripts...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_internal_value API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_internal_value API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Convert data into CourseVideo instance and image filename tuple.
"Convert data into CourseVideo instance and image filename tuple."
197
false
edx/edx-val
to_internal_value
9,369
LDU_FT/chemlab/chemlab/running_coordination_number
LDU_FT
[ "<BEGIN>\n## `molecular_orbital`", "Return a molecular orbital given the nuclei coordinates, as well as\n molecular orbital coefficients and basis set specification as given by the cclib library.", " The molecular orbital is represented as a function that takes x, y, z coordinates (in a vectorized f...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the running_coordination_number 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 running_coordination_number API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
This is the cumulative radial distribution function, also called running coordination number
"This is the cumulative radial distribution \n function, also called running coordination number"
665
false
chemlab/chemlab
running_coordination_number
9,370
LDU_FT/crs4/hl7apy/check_encoding_chars
LDU_FT
[ "<BEGIN>\n## `check_encoding_chars`", "Validate the given encoding chars", " :type encoding_chars: ``dict``\n :param encoding_chars: the encoding chars (see :func:`hl7apy.set_default_encoding_chars`)\n :raises: :exc:`hl7apy.exceptions.InvalidEncodingChars` if the given encoding chars are not valid\n<EN...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_encoding_chars 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 check_encoding_chars API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Validate the given encoding chars :type encoding_chars: ``dict`` :param encoding_chars: the encoding chars (see :func:`hl7apy.set_default_encoding_chars`) :raises: :exc:`hl7apy.exceptions.InvalidEncodingChars` if the given encoding chars are not valid
"Validate the given encoding chars\n\n :type encoding_chars: ``dict``\n :param encoding_chars: the encoding chars (see :func:`hl7apy.set_default_encoding_chars`)\n :raises: :exc:`hl7apy.exceptions.InvalidEncodingChars` if the given encoding chars are not valid"
289
false
crs4/hl7apy
check_encoding_chars
9,371
LDU_FT/FNNDSC/pfurl/path_localLocationCheck
LDU_FT
[ "<BEGIN>\n## `zipdir`", "Zip up a directory.", " :param path:\n :param ziph:\n :param kwargs:\n :return:\n<END>", "<BEGIN>\n## `zip_process`", "Process zip operations.", " :param kwargs:\n :return:\n<END>", "<BEGIN>\n## `storage_resolveBasedOnKey`", "Call the remote service and ask f...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the path_localLocationCheck 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 path_localLocationCheck API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
Check if a path exists on the local filesystem :param self: :param kwargs: :return:
"Check if a path exists on the local filesystem\n\n :param self:\n :param kwargs:\n :return:"
29
false
FNNDSC/pfurl
path_localLocationCheck
9,372