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/Autodesk/cryptorito/encrypt_var
LDU_FT
[ "<BEGIN>\n## `polite_string`", "Returns a \"proper\" string that should work in both Py3/Py2\n<END>", "<BEGIN>\n## `not_a_string`", "It's probably not a string, in the sense\n that Python2/3 get confused about these things\n<END>", "<BEGIN>\n## `actually_flatten`", "Flatten iterables\n This is super...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the encrypt_var API. 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 encrypt_var API. 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...
Encrypt what comes in from stdin and return base64 encrypted against the specified keys, returning on stdout
"Encrypt what comes in from stdin and return base64\n encrypted against the specified keys, returning on stdout"
36
false
Autodesk/cryptorito
encrypt_var
18,973
LDU_FT/YosaiProject/yosai/notify_event
LDU_FT
[ "<BEGIN>\n## `on_successful_login`", "Reacts to the successful login attempt by first always\n forgetting any previously stored identity. Then if the authc_token\n is a ``RememberMe`` type of token, the associated identity\n will be remembered for later retrieval during a new user session.",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the notify_event API. 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 notify_event API. 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...
:type identifiers: SimpleIdentifierCollection
":type identifiers: SimpleIdentifierCollection"
335
false
YosaiProject/yosai
notify_event
18,974
LDU_FT/awslabs/aws-greengrass-group-setup/deploy
LDU_FT
[ "<BEGIN>\n## `create`", "Create a Greengrass group in the given region.", " :param group_type: the type of group to create. Must match a `key` in\n the `group_types` dict\n :param config_file: config file of the group to create\n :param group_name: the name of the group. If no na...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the deploy API. 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 deploy API. 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 ...
Deploy the configuration and Lambda functions of a Greengrass group to the Greengrass core contained in the group. :param config_file: config file of the group to deploy :param region: the region from which to deploy the group. :param profile_name: the name of the `awscli` profile to us...
"Deploy the configuration and Lambda functions of a Greengrass group to\n the Greengrass core contained in the group.\n\n :param config_file: config file of the group to deploy\n :param region: the region from which to deploy the group.\n :param profile_name: the name of the `awscli` profile...
31
false
awslabs/aws-greengrass-group-setup
deploy
18,975
LDU_FT/hthiery/python-fritzhome/get_device_element
LDU_FT
[ "<BEGIN>\n## `list_all`", "Command that prints all device information.\n<END>", "<BEGIN>\n## `device_statistics`", "Command that prints the device statistics.\n<END>", "<BEGIN>\n## `get_device_elements`", "Get the DOM elements for the device list.\n<END>", "<BEGIN>\n## `get_device_element`", "Get the ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_device_element API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_device_element API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
Get the DOM element for the specified device.
"Get the DOM element for the specified device."
11
false
hthiery/python-fritzhome
get_device_element
18,976
LDU_FT/log2timeline/dftimewolf/get_attribute_names
LDU_FT
[ "<BEGIN>\n## `setup`", "Sets up the _paths attribute.", " Args:\n paths: Comma-separated list of strings representing the paths to collect.\n<END>", "<BEGIN>\n## `process`", "Checks whether the paths exists and updates the state accordingly.\n<END>", "<BEGIN>\n## `_create_hunt`", "Create specifi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_attribute_names 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_attribute_names 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...
Retrieves the names of all attributes. Returns: list[str]: attribute names.
"Retrieves the names of all attributes.\n Returns:\n list[str]: attribute names."
228
false
log2timeline/dftimewolf
get_attribute_names
18,977
LDU_FT/Neurosim-lab/netpyne/_setCellClass
LDU_FT
[ "<BEGIN>\n## `add_scalebar`", "Add scalebars to axes\n Adds a set of scale bars to *ax*, matching the size to the ticks of the plot\n and optionally hiding the x and y axes\n - ax : the axis to attach ticks to\n - matchx,matchy : if True, set size of scale bars to spacing between ticks\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _setCellClass API. 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 _setCellClass API. 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...
Set cell class (CompartCell, PointCell, etc)
"Set cell class (CompartCell, PointCell, etc)"
234
false
Neurosim-lab/netpyne
_setCellClass
18,978
LDU_FT/bitshares/uptick/listaccounts
LDU_FT
[ "<BEGIN>\n## `orderbook`", "Show the orderbook of a particular market\n<END>", "<BEGIN>\n## `buy`", "Buy a specific asset at a certain rate against a base asset\n<END>", "<BEGIN>\n## `cancelall`", "Cancel all orders of an account in a market\n<END>", "<BEGIN>\n## `spread`", "Place multiple orders", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the listaccounts API. 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 listaccounts API. 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...
List accounts (for the connected network)
"List accounts (for the connected network)"
50
false
bitshares/uptick
listaccounts
18,979
LDU_FT/polysquare/polysquare-setuptools-lint/_stamped_deps
LDU_FT
[ "<BEGIN>\n## `_custom_argv`", "Overwrite argv[1:] with argv, restore on exit.\n<END>", "<BEGIN>\n## `_patched_pep257`", "Monkey-patch pep257 after imports to avoid info logging.\n<END>", "<BEGIN>\n## `_stamped_deps`", "Run func, assumed to have dependencies as its first argument.\n<END>", "<BEGIN>\n## `...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _stamped_deps API. 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 _stamped_deps API. 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...
Run func, assumed to have dependencies as its first argument.
"Run func, assumed to have dependencies as its first argument."
28
false
polysquare/polysquare-setuptools-lint
_stamped_deps
18,980
LDU_FT/ClimateImpactLab/DataFS/_normalize_tags
LDU_FT
[ "<BEGIN>\n## `_generate_manager`", "Generate a manager from a manager_config dictionary", " Parameters\n ----------", " manager_config : dict\n Configuration with keys class, args, and kwargs\n used to generate a new datafs.manager object", " Returns\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _normalize_tags API. 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 _normalize_tags API. 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...
Coerces tags to lowercase strings Parameters ---------- tags: list or tuple of strings
"Coerces tags to lowercase strings\n\n Parameters\n ----------\n tags: list or tuple of strings"
318
false
ClimateImpactLab/DataFS
_normalize_tags
18,981
LDU_FT/couchbase/couchbase-python-client/set_contains
LDU_FT
[ "<BEGIN>\n## `set_json_converters`", "Modify the default JSON conversion functions. This affects all\n :class:`~couchbase.bucket.Bucket` instances.", " These functions will called instead of the default ones (``json.dumps``\n and ``json.loads``) to encode and decode JSON (when :const:`FMT_JSON` is\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_contains API. 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 set_contains API. 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...
Determine if an item exists in a set :param key: The document ID of the set :param value: The value to check for :return: True if `value` exists in the set :raise: :cb_exc:`NotFoundError` if the document does not exist
"Determine if an item exists in a set\n :param key: The document ID of the set\n :param value: The value to check for\n :return: True if `value` exists in the set\n :raise: :cb_exc:`NotFoundError` if the document does not exist"
806
false
couchbase/couchbase-python-client
set_contains
18,982
LDU_FT/tyarkoni/pliers/fetch_dictionary
LDU_FT
[ "<BEGIN>\n## `load_stims`", "Load one or more stimuli directly from file, inferring/extracting\n metadata as needed.", " Args:\n source (str or list): The location to load the stim(s) from. Can be\n the path to a directory, to a single file, or a list of filenames.\n dtype (str): ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetch_dictionary API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetch_dictionary API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Retrieve a dictionary of text norms from the web or local storage. Args: name (str): The name of the dictionary. If no url is passed, this must match either one of the keys in the predefined dictionary file (see dictionaries.json), or the name assigned to a previous dictionary ...
"Retrieve a dictionary of text norms from the web or local storage.\n\n Args:\n name (str): The name of the dictionary. If no url is passed, this must\n match either one of the keys in the predefined dictionary file (see\n dictionaries.json), or the name assigned to a previous dictionary...
137
false
tyarkoni/pliers
fetch_dictionary
18,983
LDU_FT/marshmallow-code/marshmallow-jsonapi/_do_load
LDU_FT
[ "<BEGIN>\n## `check_relations`", "Recursive function which checks if a relation is valid.\n<END>", "<BEGIN>\n## `format_json_api_response`", "Post-dump hook that formats serialized data as a top-level JSON API object.", " See: http://jsonapi.org/format/#document-top-level\n<END>", "<BEGIN>\n## `on_...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _do_load API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _do_load API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Override `marshmallow.Schema._do_load` for custom JSON API handling. Specifically, we do this to format errors as JSON API Error objects, and to support loading of included data.
"Override `marshmallow.Schema._do_load` for custom JSON API handling.\n\n Specifically, we do this to format errors as JSON API Error objects,\n and to support loading of included data."
41
false
marshmallow-code/marshmallow-jsonapi
_do_load
18,984
LDU_FT/marshmallow-code/marshmallow-jsonapi/format_item
LDU_FT
[ "<BEGIN>\n## `check_relations`", "Recursive function which checks if a relation is valid.\n<END>", "<BEGIN>\n## `format_json_api_response`", "Post-dump hook that formats serialized data as a top-level JSON API object.", " See: http://jsonapi.org/format/#document-top-level\n<END>", "<BEGIN>\n## `on_...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format_item API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format_item API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Format a single datum as a Resource object. See: http://jsonapi.org/format/#document-resource-objects
"Format a single datum as a Resource object.\n\n See: http://jsonapi.org/format/#document-resource-objects"
41
false
marshmallow-code/marshmallow-jsonapi
format_item
18,985
LDU_FT/epio/mantrid/action_set
LDU_FT
[ "<BEGIN>\n## `host_errors`", "Validates the format of a host entry\n Returns an error string, or None if it is valid.\n<END>", "<BEGIN>\n## `set_all`", "Replaces the hosts list with the provided input\n<END>", "<BEGIN>\n## `action_set`", "Adds a hostname to the LB, or alters an existing one\n<END>"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the action_set API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the action_set API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Adds a hostname to the LB, or alters an existing one
"Adds a hostname to the LB, or alters an existing one"
10
false
epio/mantrid
action_set
18,986
LDU_FT/uber/rides-python-sdk/refresh_oauth_credential
LDU_FT
[ "<BEGIN>\n## `connect`", "Connect controller to handle token exchange and query Uber API.\n<END>", "<BEGIN>\n## `_adapt_response`", "Convert error responses to standardized ErrorDetails.\n<END>", "<BEGIN>\n## `_adapt_response`", "Convert various error responses to standardized ErrorDetails.\n<END>", "<B...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the refresh_oauth_credential 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 refresh_oauth_credential API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Refresh session's OAuth 2.0 credentials if they are stale.
"Refresh session's OAuth 2.0 credentials if they are stale."
194
false
uber/rides-python-sdk
refresh_oauth_credential
18,987
LDU_FT/schneiderfelipe/pyrrole/to_series
LDU_FT
[ "<BEGIN>\n## `_parse_chemical_equation`", "Parse the chemical equation mini-language.", " See the docstring of `ChemicalEquation` for more.", " Parameters\n ----------\n value : `str`\n A string in chemical equation mini-language.", " Returns\n -------\n mapping\n A mappin...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_series API. 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_series API. 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...
Produce a data record for `ChemicalEquation`. All possible linear differences for all numeric attributes are computed and stored in the returned `pandas.Series` object (see examples below). This allows for easy application and manipulation of `Hess's law <https://en.wikipedia.org/wiki/H...
"Produce a data record for `ChemicalEquation`.\n\n All possible linear differences for all numeric attributes are computed\n and stored in the returned `pandas.Series` object (see examples below).\n This allows for easy application and manipulation of\n `Hess's law <https://en.wikipedia.org/...
153
false
schneiderfelipe/pyrrole
to_series
18,988
LDU_FT/lepture/captcha/generate_image
LDU_FT
[ "<BEGIN>\n## `generate`", "Generate an Image Captcha of the given characters.", " :param chars: text to be generated.\n :param format: image file format\n<END>", "<BEGIN>\n## `write`", "Generate and write an image CAPTCHA data to the output.", " :param chars: text to be generated.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_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 ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_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 ex...
Generate the image of the given characters. :param chars: text to be generated.
"Generate the image of the given characters.\n\n :param chars: text to be generated."
26
false
lepture/captcha
generate_image
18,989
LDU_FT/allianceauth/allianceauth/check_groups_on_profile_update
LDU_FT
[ "<BEGIN>\n## `register`", "Decorator to register a function as a hook", " Register hook for ``hook_name``. Can be used as a decorator::\n @register('hook_name')\n def my_hook(...):\n pass", " or as a function call::\n def my_hook(...):\n pass\n register(...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_groups_on_profile_update API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_groups_on_profile_update API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con...
Trigger check when main character or state changes.
"Trigger check when main character or state changes."
57
false
allianceauth/allianceauth
check_groups_on_profile_update
18,990
LDU_FT/h2non/paco/whilst
LDU_FT
[ "<BEGIN>\n## `observe`", "Arguments:\n event (str): event to subscribe.\n fn (function|coroutinefunction): function to trigger.", " Raises:\n TypeError: if fn argument is not valid\n<END>", "<BEGIN>\n## `remove`", "Remove all the registered observers for the given eve...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the whilst API. 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 whilst API. 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 ...
Repeatedly call `coro` coroutine function while `coro_test` returns `True`. This function is the inverse of `paco.until()`. This function is a coroutine. Arguments: coro (coroutinefunction): coroutine function to execute. coro_test (coroutinefunction): coroutine function to test. ...
"Repeatedly call `coro` coroutine function while `coro_test` returns `True`.\n\n This function is the inverse of `paco.until()`.\n\n This function is a coroutine.\n\n Arguments:\n coro (coroutinefunction): coroutine function to execute.\n coro_test (coroutinefunction): coroutine function to test....
394
false
h2non/paco
whilst
18,991
LDU_FT/PaulHancock/Aegean/get_beamarea_deg2
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 get_beamarea_deg2 API. 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_beamarea_deg2 API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Calculate the area of the synthesized beam in square degrees. Parameters ---------- ra, dec : float The sky coordinates at which the calculation is made. Returns ------- area : float The beam area in square degrees.
"Calculate the area of the synthesized beam in square degrees.\n\n Parameters\n ----------\n ra, dec : float\n The sky coordinates at which the calculation is made.\n\n Returns\n -------\n area : float\n The beam area in square degrees."
771
false
PaulHancock/Aegean
get_beamarea_deg2
18,992
LDU_FT/planetarypy/pvl/parse_group
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 parse_group API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_group API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Block Name must match Block Name in paired End Group Statement if Block Name is present in End Group Statement. BeginGroupStmt ::= BeginGroupKeywd WSC AssignmentSymbol WSC BlockName StatementDelim
"Block Name must match Block Name in paired End Group Statement if\n Block Name is present in End Group Statement.\n\n BeginGroupStmt ::=\n BeginGroupKeywd WSC AssignmentSymbol WSC BlockName StatementDelim"
63
false
planetarypy/pvl
parse_group
18,993
LDU_FT/terrycain/aioboto3/get_decryption_aes_key
LDU_FT
[ "<BEGIN>\n## `download_file`", "Download an S3 object to a file.", " Usage::", " import boto3\n s3 = boto3.resource('s3')\n s3.meta.client.download_file('mybucket', 'hello.txt', '/tmp/hello.txt')", " Similar behavior as S3Transfer's download_file() method,\n except that paramet...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_decryption_aes_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 get_decryption_aes_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....
Get decryption key for a given S3 object :param key: Base64 decoded version of x-amz-key :param material_description: JSON decoded x-amz-matdesc :return: Raw AES key bytes
"Get decryption key for a given S3 object\n\n :param key: Base64 decoded version of x-amz-key\n :param material_description: JSON decoded x-amz-matdesc\n :return: Raw AES key bytes"
74
false
terrycain/aioboto3
get_decryption_aes_key
18,994
LDU_FT/Yelp/venv-update/run
LDU_FT
[ "<BEGIN>\n## `parseargs`", "handle --help, --version and our double-equal ==options\n<END>", "<BEGIN>\n## `timid_relpath`", "convert an argument to a relative path, carefully\n<END>", "<BEGIN>\n## `exec_`", "Wrapper to os.execv which shows the command and runs any atexit handlers (for coverage's sake).\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
update install options with caching values
"update install options with caching values"
36
false
Yelp/venv-update
run
18,995
LDU_FT/Kentzo/Power/get_battery_state
LDU_FT
[ "<BEGIN>\n## `add_observer`", "Adds weak ref to an observer.", " @param observer: Instance of class registered with PowerManagementObserver\n @raise TypeError: If observer is not registered with PowerManagementObserver abstract class\n<END>", "<BEGIN>\n## `startThread`", "Spawns new NSThread t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_battery_state API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_battery_state API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
TODO @return: Tuple (energy_full, energy_now, power_now)
"TODO\n @return: Tuple (energy_full, energy_now, power_now)"
44
false
Kentzo/Power
get_battery_state
18,996
LDU_FT/paperhive/ansible-ec2-inventory/get_elasticache_replication_groups_by_region
LDU_FT
[ "<BEGIN>\n## `is_cache_valid`", "Determines if the cache files have expired, or if it is still\n valid\n<END>", "<BEGIN>\n## `read_settings`", "Reads the settings from the ec2.ini file\n<END>", "<BEGIN>\n## `do_api_calls_update_cache`", "Do API calls to each region, and save data in cache files\n<E...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_elasticache_replication_groups_by_region API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> ind...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_elasticache_replication_groups_by_region API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> ind...
Makes an AWS API call to the list of ElastiCache replication groups in a particular region.
"Makes an AWS API call to the list of ElastiCache replication groups\n in a particular region."
46
false
paperhive/ansible-ec2-inventory
get_elasticache_replication_groups_by_region
18,997
LDU_FT/ArchiveTeam/wpull/read_file
LDU_FT
[ "<BEGIN>\n## `_update_exit_code_from_stats`", "Set the current exit code based on the Statistics.\n<END>", "<BEGIN>\n## `is_response`", "Return whether the document is likely to be a Sitemap.\n<END>", "<BEGIN>\n## `is_file`", "Return whether the file is likely a Sitemap.\n<END>", "<BEGIN>\n## `parse_url...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_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 extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_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 extract...
Read from connection to file. Args: file: A file object or a writer stream.
"Read from connection to file.\n\n Args:\n file: A file object or a writer stream."
896
false
ArchiveTeam/wpull
read_file
18,998
LDU_FT/jciskey/pygraph/new_node
LDU_FT
[ "<BEGIN>\n## `build_cycle_graph`", "Builds a cycle graph with the specified number of nodes.\n Ref: http://mathworld.wolfram.com/CycleGraph.html\n<END>", "<BEGIN>\n## `build_wheel_graph`", "Builds a wheel graph with the specified number of nodes.\n Ref: http://mathworld.wolfram.com/WheelGraph.html...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the new_node API. 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 new_node API. 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 a new, blank node to the graph. Returns the node id of the new node.
"Adds a new, blank node to the graph.\n Returns the node id of the new node."
189
false
jciskey/pygraph
new_node
18,999
LDU_FT/gitpython-developers/GitPython/create
LDU_FT
[ "<BEGIN>\n## `new_from_sha`", ":return: new object instance of a type appropriate to represent the given\n binary sha1\n :param sha1: 20 byte binary sha1\n<END>", "<BEGIN>\n## `stream_data`", "Writes our data directly to the given output stream\n :param ostream: File object compatible...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Create a new remote to the given repository :param repo: Repository instance that is to receive the new remote :param name: Desired name of the remote :param url: URL which corresponds to the remote's name :param kwargs: Additional arguments to be passed to the git-remote add command ...
"Create a new remote to the given repository\n :param repo: Repository instance that is to receive the new remote\n :param name: Desired name of the remote\n :param url: URL which corresponds to the remote's name\n :param kwargs: Additional arguments to be passed to the git-remote add comman...
741
false
gitpython-developers/GitPython
create
19,000
LDU_FT/codeinthehole/purl/_format_pair_no_equals
LDU_FT
[ "<BEGIN>\n## `to_utf8`", "Encode a string as a UTF8 bytestring. This function could be passed a\n bytestring or unicode string so must distinguish between the two.\n<END>", "<BEGIN>\n## `dict_to_unicode`", "Ensure all keys and values in a dict are unicode.", " The passed dict is assumed to have lists...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _format_pair_no_equals API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _format_pair_no_equals API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Format a key, value pair but don't include the equals sign when there is no value
"Format a key, value pair but don't include the equals sign\n when there is no value"
75
false
codeinthehole/purl
_format_pair_no_equals
19,001
LDU_FT/mattja/sdeint/_sigmainf
LDU_FT
[ "<BEGIN>\n## `broadcast_to`", "Broadcast an array to a new shape.", " Parameters\n ----------\n array : array_like\n The array to broadcast.\n shape : tuple\n The shape of the desired array.\n subok : bool, optional\n If True, then sub-classes will be passed-through, otherwis...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _sigmainf API. 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 _sigmainf API. 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...
Asymptotic covariance matrix \Sigma_\infty Wiktorsson2001 eqn (4.5)
"Asymptotic covariance matrix \\Sigma_\\infty Wiktorsson2001 eqn (4.5)"
118
false
mattja/sdeint
_sigmainf
19,002
LDU_FT/noxdafox/clipspy/undefine
LDU_FT
[ "<BEGIN>\n## `accessible`", "True if the Slot is directly accessible.\n<END>", "<BEGIN>\n## `types`", "A tuple containing the value types for this Slot.", " The Python equivalent of the CLIPS slot-types function.\n<END>", "<BEGIN>\n## `sources`", "A tuple containing the names of the Class sources...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the undefine API. 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 undefine API. 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...
Undefine the Class. Python equivalent of the CLIPS undefclass command. The object becomes unusable after this method has been called.
"Undefine the Class.\n\n Python equivalent of the CLIPS undefclass command.\n\n The object becomes unusable after this method has been called."
209
false
noxdafox/clipspy
undefine
19,003
LDU_FT/pyhys/minimalmodbus/set_setpoint
LDU_FT
[ "<BEGIN>\n## `_checkSetpointValue`", "Check that the given setpointvalue is valid.", " Args:\n * setpointvalue (numerical): The setpoint value to be checked. Must be positive.\n * maxvalue (numerical): Upper limit for setpoint value. Must be positive.", " Raises:\n TypeError, ValueE...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_setpoint API. 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 set_setpoint API. 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...
Set the setpoint. Args: setpointvalue (float): Setpoint [most often in degrees]
"Set the setpoint.\n \n Args:\n setpointvalue (float): Setpoint [most often in degrees]"
357
false
pyhys/minimalmodbus
set_setpoint
19,004
LDU_FT/RI-imaging/qpformat/files
LDU_FT
[ "<BEGIN>\n## `qpinfo`", "Print information of a quantitative phase imaging dataset\n<END>", "<BEGIN>\n## `_get_cropped_file_names`", "self.files with common path prefix/suffix removed\n<END>", "<BEGIN>\n## `_identifier_data`", "Return a unique identifier for the folder data\n<END>", "<BEGIN>\n## `_searc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the files API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the files API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
List of files (only supported file formats)
"List of files (only supported file formats)"
93
false
RI-imaging/qpformat
files
19,005
LDU_FT/MacHu-GWU/dataIO-project/is_venv
LDU_FT
[ "<BEGIN>\n## `is_json_file`", "Parse file extension.", " - *.json: uncompressed, utf-8 encode json file\n - *.gz: compressed, utf-8 encode json file\n<END>", "<BEGIN>\n## `load`", "Load Json from file. If file are not exists, returns ``default``.", " :param abspath: file path. use absolute path a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_venv API. 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 is_venv API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Check whether if this workspace is a virtualenv.
"Check whether if this workspace is a virtualenv."
115
false
MacHu-GWU/dataIO-project
is_venv
19,006
LDU_FT/aio-libs/aiohttp/json
LDU_FT
[ "<BEGIN>\n## `_cleanup_closed`", "Double confirmation for transport close.\n Some broken ssl servers may leave socket open without proper close.\n<END>", "<BEGIN>\n## `_available_connections`", "Return number of available connections taking into account\n the limit, limit_per_host and the connec...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the json API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the json API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Like read(), but assumes that body parts contains JSON data.
"Like read(), but assumes that body parts contains JSON data."
233
false
aio-libs/aiohttp
json
19,007
LDU_FT/pletzer/pnumpy/distArrayFactory
LDU_FT
[ "<BEGIN>\n## `getStringPartition`", "Get the string representation of the current partition\n @return string like \":-1,0:2\"\n<END>", "<BEGIN>\n## `getPrimeFactors`", "Get all the prime factor of given integer\n @param n integer\n @return list [1, ..., n]\n<END>", "<BEGIN>\n## `getNeighborProc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the distArrayFactory API. 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 distArrayFactory API. 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 distributed array class that derives from BaseClass @param BaseClass base class, e.g. numpy.ndarray or numpy.ma.masked_array @return dist array class
"Returns a distributed array class that derives from BaseClass\n @param BaseClass base class, e.g. numpy.ndarray or numpy.ma.masked_array\n @return dist array class"
54
false
pletzer/pnumpy
distArrayFactory
19,008
LDU_FT/observermedia/django-wordpress-rest/set_posts_param_modified_after
LDU_FT
[ "<BEGIN>\n## `load_post_webhook`", "Webhook to insert/update a WordPress.com post on the local Django site.\n Call this after making changes to the post in WP Admin.\n The post is processed asynchronously so that a response can be returned to WordPress.com immediately.", " :param request: Should contai...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_posts_param_modified_after API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_posts_param_modified_after API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con...
Set modified_after date to "continue where we left off" if appropriate :param params: the GET params dict, which may be updated to include the "modified_after" key :param post_type: post, page, attachment, or any custom post type set up in the WP API :param status: publish, private, draft, etc....
"Set modified_after date to \"continue where we left off\" if appropriate\n\n :param params: the GET params dict, which may be updated to include the \"modified_after\" key\n :param post_type: post, page, attachment, or any custom post type set up in the WP API\n :param status: publish, private, dr...
100
false
observermedia/django-wordpress-rest
set_posts_param_modified_after
19,009
LDU_FT/mitodl/edx-api-client/get_detail
LDU_FT
[ "<BEGIN>\n## `get_detail`", "Fetches course details.", " Args:\n course_id (str): An edx course id.", " Returns:\n CourseDetail\n<END>", "<BEGIN>\n## `get_user_info`", "Returns a UserInfo object for the logged in user.", " Returns:\n UserInfo: object...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_detail API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_detail API. 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...
Fetches course details. Args: course_id (str): An edx course id. Returns: CourseDetail
"Fetches course details.\n\n Args:\n course_id (str): An edx course id.\n\n Returns:\n CourseDetail"
55
false
mitodl/edx-api-client
get_detail
19,010
LDU_FT/nuagenetworks/bambou/send_request
LDU_FT
[ "<BEGIN>\n## `start`", "Starts listening to events.", " Args:\n timeout (int): number of seconds before timeout. Used for testing purpose only.\n root_object (bambou.NURESTRootObject): NURESTRootObject object that is listening. Used for testing purpose only.\n<END>", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_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 extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_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 extr...
Sends a request, calls the local callback, then the remote callback in case of async call Args: request: The request to send local_callback: local method that will be triggered in case of async call remote_callback: remote moethd that will be triggered in cas...
"Sends a request, calls the local callback, then the remote callback in case of async call\n\n Args:\n request: The request to send\n local_callback: local method that will be triggered in case of async call\n remote_callback: remote moethd that will be triggered ...
177
false
nuagenetworks/bambou
send_request
19,011
LDU_FT/onnx/onnxmltools/calculate_dictionary_vectorizer_output_shapes
LDU_FT
[ "<BEGIN>\n## `apply_cast`", ":param to: enum defined in ONNX TensorProto.DataType, for example, TensorProto.FLOAT and TensorProto.INT64.\n<END>", "<BEGIN>\n## `apply_gemm`", "Applies operator `gemm <https://github.com/onnx/onnx/blob/master/docs/Operators.md#gemm>`.\n<END>", "<BEGIN>\n## `apply_upsample`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calculate_dictionary_vectorizer_output_shapes API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> in...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calculate_dictionary_vectorizer_output_shapes API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> in...
Allowed input/output patterns are 1. Map ---> [1, C] C is the number of all allowed keys in the input dictionary.
"Allowed input/output patterns are\n 1. Map ---> [1, C]\n\n C is the number of all allowed keys in the input dictionary."
300
false
onnx/onnxmltools
calculate_dictionary_vectorizer_output_shapes
19,012
LDU_FT/HolmesNL/confidence/read_envvar_dir
LDU_FT
[ "<BEGIN>\n## `_merge`", "Merges values in place from *right* into *left*.", " :param left: mapping to merge into\n :param right: mapping to merge from\n :param path: `list` of keys processed before (used for error reporting\n only, should only need to be provided by recursive calls)\n :param ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_envvar_dir API. 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 read_envvar_dir API. 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...
Read values from a file located in a directory specified by a particular environment file. ``read_envvar_dir('HOME', 'example', 'yaml')`` would look for a file at ``/home/user/example.yaml``. When the environment variable isn't set or the file does not exist, `NotConfigured` will be returned. :para...
"Read values from a file located in a directory specified by a particular\n environment file. ``read_envvar_dir('HOME', 'example', 'yaml')`` would\n look for a file at ``/home/user/example.yaml``. When the environment\n variable isn't set or the file does not exist, `NotConfigured` will be\n returned.\n\n ...
49
false
HolmesNL/confidence
read_envvar_dir
19,013
LDU_FT/FNNDSC/pfmisc/pathFromHere_walk
LDU_FT
[ "<BEGIN>\n## `authorizeClientRequest`", "Checks the authorization permissions of the bearer token passed, and determines whether the sender is permitted to make the request housed in the payload.\n Usage:\n request = The header object from pfioh, or the whole request from pman. This is parsed fo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pathFromHere_walk API. 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 pathFromHere_walk API. 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 list of paths from "here" in the stree, using the internal cd() to walk the path space. :return: a list of paths from "here"
"Return a list of paths from \"here\" in the stree, using\n the internal cd() to walk the path space.\n\n :return: a list of paths from \"here\""
165
false
FNNDSC/pfmisc
pathFromHere_walk
19,014
LDU_FT/UDST/osmnet/osm_filter
LDU_FT
[ "<BEGIN>\n## `format_check`", "Check the format of a osmnet_config object.", " Parameters\n ----------\n settings : dict\n osmnet_config as a dictionary\n Returns\n -------\n Nothing\n<END>", "<BEGIN>\n## `to_dict`", "Return a dict representation of an osmnet osmnet_config instance....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the osm_filter API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the osm_filter API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Create a filter to query Overpass API for the specified OSM network type. Parameters ---------- network_type : string, {'walk', 'drive'} denoting the type of street network to extract Returns ------- osm_filter : string
"Create a filter to query Overpass API for the specified OSM network type.\n\n Parameters\n ----------\n network_type : string, {'walk', 'drive'} denoting the type of street\n network to extract\n\n Returns\n -------\n osm_filter : string"
69
false
UDST/osmnet
osm_filter
19,015
LDU_FT/portantier/habu/cmd_tcpflags
LDU_FT
[ "<BEGIN>\n## `cmd_arp_poison`", "Send ARP 'is-at' packets to each victim, poisoning their\n ARP tables for send the traffic to your system.", " Note: If you want a full working Man In The Middle attack, you need\n to enable the packet forwarding on your operating system to act like a\n router. You c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cmd_tcpflags API. 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 cmd_tcpflags API. 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...
Send TCP packets with different flags and tell what responses receives. It can be used to analyze how the different TCP/IP stack implementations and configurations responds to packet with various flag combinations. Example: \b # habu.tcpflags www.portantier.com S -> SA FS -> SA FA ->...
"Send TCP packets with different flags and tell what responses receives.\n\n It can be used to analyze how the different TCP/IP stack implementations\n and configurations responds to packet with various flag combinations.\n\n Example:\n\n \\b\n # habu.tcpflags www.portantier.com\n S -> SA\n FS -> ...
304
false
portantier/habu
cmd_tcpflags
19,016
LDU_FT/b3j0f/aop/get_advices
LDU_FT
[ "<BEGIN>\n## `find_ctx`", "Find a Pointcut ctx which is a class/instance related to input\n function/method.", " :param elt: elt from where find a ctx.\n :return: elt ctx. None if no ctx available or if elt is a None method.\n<END>", "<BEGIN>\n## `base_ctx`", "Get base ctx.", " :param ctx: ini...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_advices API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_advices API. 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...
Get element advices. :param target: target from where get advices. :param ctx: ctx from where get target. :param bool local: If ctx is not None or target is a method, if True (False by default) get only target advices without resolving super target advices in a super ctx. :return: list ...
"Get element advices.\n\n :param target: target from where get advices.\n :param ctx: ctx from where get target.\n :param bool local: If ctx is not None or target is a method, if True\n (False by default) get only target advices without resolving super\n target advices in a super ctx.\n :retur...
79
false
b3j0f/aop
get_advices
19,017
LDU_FT/jonathf/chaospy/quad_genz_keister_24
LDU_FT
[ "<BEGIN>\n## `call`", "Evaluate a polynomial along specified axes.", " Args:\n poly (Poly):\n Input polynomial.\n args (numpy.ndarray):\n Argument to be evaluated. Masked values keeps the variable intact.", " Returns:\n (Poly, numpy.ndarray):\n If ma...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the quad_genz_keister_24 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 quad_genz_keister_24 API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Hermite Genz-Keister 24 rule. Args: order (int): The quadrature order. Must be in the interval (0, 8). Returns: (:py:data:typing.Tuple[numpy.ndarray, numpy.ndarray]): Abscissas and weights Examples: >>> abscissas, weights = quad_genz_keister_24(1) >...
"Hermite Genz-Keister 24 rule.\n\n Args:\n order (int):\n The quadrature order. Must be in the interval (0, 8).\n\n Returns:\n (:py:data:typing.Tuple[numpy.ndarray, numpy.ndarray]):\n Abscissas and weights\n\n Examples:\n >>> abscissas, weights = quad_genz_keister_24(...
713
false
jonathf/chaospy
quad_genz_keister_24
19,018
LDU_FT/ClearcodeHQ/matchbox/add
LDU_FT
[ "<BEGIN>\n## `add_mismatch`", "Add a mismatching entity to the index.", " We do this by simply adding the mismatch to the index.", " :param collections.Hashable entity: an object to be mismatching the values of `traits_indexed_by`\n :param list traits: a list of hashable traits to index t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Add entity to index. :param object entity: single object to add to box's index
"Add entity to index.\n\n :param object entity: single object to add to box's index"
18
false
ClearcodeHQ/matchbox
add
19,019
LDU_FT/SHTOOLS/SHTOOLS/to_file
LDU_FT
[ "<BEGIN>\n## `example`", "Plot random phase and Gaussian random variable spectra.\n<END>", "<BEGIN>\n## `plot_rad`", "Plot the radial component of the gravity field.", " Usage\n -----\n x.plot_rad([tick_interval, xlabel, ylabel, ax, colorbar,\n cb_orientation, cb_labe...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_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 extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_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 extracted...
Save gridded data to a file. Usage ----- x.to_file(filename, [binary, **kwargs]) Parameters ---------- filename : str Name of output file. For text files (default), the file will be saved automatically in gzip compressed format if the filename en...
"Save gridded data to a file.\n\n Usage\n -----\n x.to_file(filename, [binary, **kwargs])\n\n Parameters\n ----------\n filename : str\n Name of output file. For text files (default), the file will be\n saved automatically in gzip compressed format if the ...
779
false
SHTOOLS/SHTOOLS
to_file
19,020
LDU_FT/ltworf/typedload/_frozensetload
LDU_FT
[ "<BEGIN>\n## `uniontypes`", "Returns the types of a Union.", " Raises ValueError if the argument is not a Union\n and AttributeError when running on an unsupported\n Python version.\n<END>", "<BEGIN>\n## `index`", "Returns the index in the handlers list\n that matches the given value.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _frozensetload API. 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 _frozensetload API. 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 loads into something like FrozenSet[int]
"This loads into something like FrozenSet[int]"
55
false
ltworf/typedload
_frozensetload
19,021
LDU_FT/zxylvlp/PingPHP/p_InUseTraitDefList
LDU_FT
[ "<BEGIN>\n## `t_DOCCOMMENT`", "r'((\\'\\'\\'((?!\\'\\'\\')[\\s\\S])*\\'\\'\\')|(\\'{6,8})|(\"\"\"((?!\"\"\")[\\s\\S])*\"\"\")|(\"{6,8}))[ \\t]*\\n\n<END>", "<BEGIN>\n## `t_NATIVEPHP`", "r'<\\?php((?!<\\?php)[\\s\\S])*\\?>[ \\t]*(?=\\n)\n<END>", "<BEGIN>\n## `t_INDENTIFIER`", "r'(\\$?[_a-zA-Z][_a-zA-Z0-9]*...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the p_InUseTraitDefList 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 p_InUseTraitDefList 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...
InUseTraitDefList : InUseTraitDef | InUseTraitDefList InUseTraitDef
"InUseTraitDefList : InUseTraitDef\n | InUseTraitDefList InUseTraitDef"
74
false
zxylvlp/PingPHP
p_InUseTraitDefList
19,022
LDU_FT/noahbenson/pimms/numpy_type
LDU_FT
[ "<BEGIN>\n## `to_argv_schema`", "to_argv_schema(instructions) yields a valid tuple of CommandLineParser instructions for the\n given instructions tuple; by itself, this will only return the instructions as they are, but\n optional arguments (below) will override the values in the instructions if provide...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the numpy_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 extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the numpy_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 extrac...
numpy_type(type) yields a tuple of valid numpy types that can represent the type specified in the given type argument. The type argument may be a numpy type such as numpy.signedinteger, in which case a tuple containing only it is returned. Alternately, it may be a string that labels a numpy type or a ...
"numpy_type(type) yields a tuple of valid numpy types that can represent the type specified in\n the given type argument. The type argument may be a numpy type such as numpy.signedinteger, in\n which case a tuple containing only it is returned. Alternately, it may be a string that labels\n a numpy type o...
241
false
noahbenson/pimms
numpy_type
19,023
LDU_FT/ggaughan/pipe2py/asyncPipeUniq
LDU_FT
[ "<BEGIN>\n## `repr_args`", "formats a list of function arguments prettily but as working code", " (kwargs are tuples (argname, argvalue)\n<END>", "<BEGIN>\n## `repr_arg`", "formats a function argument prettily but as working code", " unicode encodable as ascii is formatted as str\n<END>", "<BEGIN>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the asyncPipeUniq API. 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 asyncPipeUniq API. 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...
An operator that asynchronously filters out non unique items according to the specified field. Not loopable. Parameters ---------- context : pipe2py.Context object _INPUT : twisted Deferred iterable of items conf : {'field': {'type': 'text', 'value': <field to be unique>}} returns ----...
"An operator that asynchronously filters out non unique items according\n to the specified field. Not loopable.\n\n Parameters\n ----------\n context : pipe2py.Context object\n _INPUT : twisted Deferred iterable of items\n conf : {'field': {'type': 'text', 'value': <field to be unique>}}\n\n return...
257
false
ggaughan/pipe2py
asyncPipeUniq
19,024
LDU_FT/hyperledger-archives/indy-client/addNode
LDU_FT
[ "<BEGIN>\n## `_getRole`", ":param matchedVars:\n :return: NULL or the role's integer value\n<END>", "<BEGIN>\n## `addAttribute`", "Used to create a new attribute on Sovrin\n :param attrib: attribute to add\n :return: number of pending txns\n<END>", "<BEGIN>\n## `addNode`", "Used to ad...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the addNode API. 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 addNode API. 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...
Used to add a new node on Sovrin :param node: Node :return: number of pending txns
"Used to add a new node on Sovrin\n :param node: Node\n :return: number of pending txns"
16
false
hyperledger-archives/indy-client
addNode
19,025
LDU_FT/python/core-workflow/_parse_next_filename
LDU_FT
[ "<BEGIN>\n## `f`", "Basic support for 3.6's f-strings, in 3.5!", " Formats \"s\" using appropriate globals and locals\n dictionaries. This f-string:\n f\"hello a is {a}\"\n simply becomes\n f(\"hello a is {a}\")\n In other words, just throw parentheses around the\n string, and you'...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_next_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. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_next_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. ...
Parses a "next" filename into its equivalent blurb metadata. Returns a dict.
"Parses a \"next\" filename into its equivalent blurb metadata.\nReturns a dict."
71
false
python/core-workflow
_parse_next_filename
19,026
LDU_FT/equinor/segyio/from_array
LDU_FT
[ "<BEGIN>\n## `create`", "Create a new segy file.", " Create a new segy file with the geometry and properties given by `spec`.\n This enables creating SEGY files from your data. The created file supports\n all segyio modes, but has an emphasis on writing. The spec must be\n complete, otherwise an exc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_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 from_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...
Create a new SEGY file from an n-dimentional array. Create a structured SEGY file with defaulted headers from a 2-, 3- or 4-dimensional array. ilines, xlines, offsets and samples are inferred from the size of the array. Please refer to the documentation for functions from_array2D, from_array3D and from_...
"Create a new SEGY file from an n-dimentional array. Create a structured\n SEGY file with defaulted headers from a 2-, 3- or 4-dimensional array.\n ilines, xlines, offsets and samples are inferred from the size of the\n array. Please refer to the documentation for functions from_array2D,\n from_array3D and ...
250
false
equinor/segyio
from_array
19,027
LDU_FT/glyph/automat/addTransition
LDU_FT
[ "<BEGIN>\n## `isOriginalLocation`", "Attempt to discover if this appearance of a PythonAttribute\n representing a class refers to the module where that class was\n defined.\n<END>", "<BEGIN>\n## `findMachinesViaWrapper`", "Recursively yield L{MethodicalMachine}s and their FQPNs within a\n L{PythonMod...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the addTransition API. 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 addTransition API. 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...
Add the given transition to the outputSymbol. Raise ValueError if there is already a transition with the same inState and inputSymbol.
"Add the given transition to the outputSymbol. Raise ValueError if\n there is already a transition with the same inState and inputSymbol."
60
false
glyph/automat
addTransition
19,028
LDU_FT/aleontiev/dj/load_module
LDU_FT
[ "<BEGIN>\n## `parse_application_name`", "Parse a setup.py file for the name.", " Returns:\n name, or None\n<END>", "<BEGIN>\n## `build`", "Builds the app in the app's environment.", " Only builds if the build is out-of-date and is non-empty.\n Builds in 3 stages: requiremen...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_module API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_module API. 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...
Loads a module from anywhere in the system. Does not depend on or modify sys.path.
"Loads a module from anywhere in the system.\n\n Does not depend on or modify sys.path."
44
false
aleontiev/dj
load_module
19,029
LDU_FT/spacetelescope/stsci.tools/setup_global_logging
LDU_FT
[ "<BEGIN>\n## `stsci`", "For STScI GEIS files, need to do extra steps.\n<END>", "<BEGIN>\n## `stsci2`", "For STScI GEIS files, need to do extra steps.\n<END>", "<BEGIN>\n## `readgeis`", "Input GEIS files \"input\" will be read and a HDUList object will\n be returned.", " The user can use the ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setup_global_logging API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setup_global_logging API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Initializes capture of stdout/stderr, Python warnings, and exceptions; redirecting them to the loggers for the modules from which they originated.
"Initializes capture of stdout/stderr, Python warnings, and exceptions;\n redirecting them to the loggers for the modules from which they originated."
917
false
spacetelescope/stsci.tools
setup_global_logging
19,030
LDU_FT/ptcryan/hydrawiser/list_running_zones
LDU_FT
[ "<BEGIN>\n## `update_controller_info`", "Pulls controller information.", " :returns: True if successfull, otherwise False.\n :rtype: boolean\n<END>", "<BEGIN>\n## `controller`", "Check if multiple controllers are connected.", " :returns: Return the controller_id of the active controll...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_running_zones 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 list_running_zones 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...
Returns the currently active relay. :returns: Returns the running relay number or None if no relays are active. :rtype: string
"Returns the currently active relay.\n\n :returns: Returns the running relay number or None if no relays are\n active.\n :rtype: string"
30
false
ptcryan/hydrawiser
list_running_zones
19,031
LDU_FT/RedHatInsights/insights-core/image_by_name
LDU_FT
[ "<BEGIN>\n## `get_shared_data`", "Returns the actual list of component data based on how data is\n stored in component, either from the `data` attribute or from the\n `data['content']` attribute.", " Returns:\n list: List of component data.\n<END>", "<BEGIN>\n## `merge_lvm_data`", "Returns a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the image_by_name API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the image_by_name API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Returns a list of image data for images which match img_name. Will optionally take a list of images from a docker.Client.images query to avoid multiple docker queries.
"Returns a list of image data for images which match img_name. Will\n optionally take a list of images from a docker.Client.images\n query to avoid multiple docker queries."
912
false
RedHatInsights/insights-core
image_by_name
19,032
LDU_FT/pyviz/geoviews/add_crs
LDU_FT
[ "<BEGIN>\n## `coord_to_dimension`", "Converts an iris coordinate to a HoloViews dimension.\n<END>", "<BEGIN>\n## `sort_coords`", "Sorts a list of DimCoords trying to ensure that\n dates and pressure levels appear first and the\n longitude and latitude appear last in the correct\n order.\n<END>", "<...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_crs API. 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 add_crs API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Converts any elements in the input to their equivalent geotypes if given a coordinate reference system.
"Converts any elements in the input to their equivalent geotypes\n if given a coordinate reference system."
106
false
pyviz/geoviews
add_crs
19,033
LDU_FT/aetros/aetros-cli/connect
LDU_FT
[ "<BEGIN>\n## `Popen`", "Executes a command using subprocess.Popen and redirects output to AETROS and stdout.\n Parses stdout as well for stdout API calls.", " Use read_line argument to read stdout of command's stdout line by line.\n Use returned process stdin to communicate with the command.", " :...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
In the write-thread we detect that no connection is living anymore and try always again. Up to the 3 connection try, we report to user. We keep trying but in silence. Also, when more than 10 connection tries are detected, we delay extra 15 seconds.
"In the write-thread we detect that no connection is living anymore and try always again.\n Up to the 3 connection try, we report to user. We keep trying but in silence.\n Also, when more than 10 connection tries are detected, we delay extra 15 seconds."
183
false
aetros/aetros-cli
connect
19,034
LDU_FT/pettarin/ipapy/has_descriptor
LDU_FT
[ "<BEGIN>\n## `can_map_ipa_string`", "Return ``True`` if the mapper can map all the IPA characters\n in the given IPA string.", " :param IPAString ipa_string: the IPAString to be parsed\n :rtype: bool\n<END>", "<BEGIN>\n## `map_ipa_string`", "Convert the given IPAString to a string\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the has_descriptor API. 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 has_descriptor API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Return ``True`` if the character has the given descriptor. :param IPADescriptor descriptor: the descriptor to be checked against :rtype: bool
"Return ``True`` if the character has the given descriptor.\n\n :param IPADescriptor descriptor: the descriptor to be checked against\n :rtype: bool"
205
false
pettarin/ipapy
has_descriptor
19,035
LDU_FT/kensho-technologies/graphql-compiler/sanity_check_ir_blocks_from_frontend
LDU_FT
[ "<BEGIN>\n## `lower_ir`", "Lower the IR into an IR form that can be represented in Gremlin queries.", " Args:\n ir_blocks: list of IR blocks to lower into Gremlin-compatible form\n query_metadata_table: QueryMetadataTable object containing all metadata collected during\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sanity_check_ir_blocks_from_frontend API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sanity_check_ir_blocks_from_frontend API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates i...
Assert that IR blocks originating from the frontend do not have nonsensical structure. Args: ir_blocks: list of BasicBlocks representing the IR to sanity-check Raises: AssertionError, if the IR has unexpected structure. If the IR produced by the front-end cannot be successfully and cor...
"Assert that IR blocks originating from the frontend do not have nonsensical structure.\n\n Args:\n ir_blocks: list of BasicBlocks representing the IR to sanity-check\n\n Raises:\n AssertionError, if the IR has unexpected structure. If the IR produced by the front-end\n cannot be successfully...
786
false
kensho-technologies/graphql-compiler
sanity_check_ir_blocks_from_frontend
19,036
LDU_FT/Mindwerks/worldengine/from_array
LDU_FT
[ "<BEGIN>\n## `anti_alias`", "Execute the anti_alias operation steps times on the given map\n<END>", "<BEGIN>\n## `count_neighbours`", "Count how many neighbours of a coordinate are set to one.\n This uses the same principles as anti_alias, compare comments there.\n<END>", "<BEGIN>\n## `_calculate`", "S...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_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 from_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...
Creates an image by using a provided array. The array may be ready to be written or still need fine-tuning via set_pixel(). The array should not have more than 3 dimensions or the output might be unexpected.
"Creates an image by using a provided array. The array may be ready to\r\n be written or still need fine-tuning via set_pixel().\r\n The array should not have more than 3 dimensions or the output might be\r\n unexpected."
63
false
Mindwerks/worldengine
from_array
19,037
LDU_FT/cloudify-cosmo/wagon/validate
LDU_FT
[ "<BEGIN>\n## `install_package`", "Install a Python package.", " Can specify a specific version.\n Can specify a prerelease.\n Can specify a venv to install in.\n Can specify a list of paths or urls to requirement txt files.\n Can specify a local wheels_path to use for offline installation.\n C...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Validate a Wagon archive. Return True if succeeds, False otherwise. It also prints a list of all validation errors. This will test that some of the metadata is solid, that the required wheels are present within the archives and that the package is installable. Note that if the metadata file is cor...
"Validate a Wagon archive. Return True if succeeds, False otherwise.\n It also prints a list of all validation errors.\n\n This will test that some of the metadata is solid, that\n the required wheels are present within the archives and that\n the package is installable.\n\n Note that if the metadata fil...
51
false
cloudify-cosmo/wagon
validate
19,038
LDU_FT/openstack/networking-arista/_get_router_ip
LDU_FT
[ "<BEGIN>\n## `synchronize`", "Synchronizes Router DB from Neturon DB with EOS.", " Walks through the Neturon Db and ensures that all the routers\n created in Netuton DB match with EOS. After creating appropriate\n routers, it ensures to add interfaces as well.\n Uses idempotent prope...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_router_ip API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_router_ip API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
For a given IP subnet and IP version type, generate IP for router. This method takes the network address (cidr) and selects an IP address that should be assigned to virtual router running on multiple switches. It uses upper addresses in a subnet address as IP for the router. Each instac...
"For a given IP subnet and IP version type, generate IP for router.\n\n This method takes the network address (cidr) and selects an\n IP address that should be assigned to virtual router running\n on multiple switches. It uses upper addresses in a subnet address\n as IP for the router. Each ...
213
false
openstack/networking-arista
_get_router_ip
19,039
LDU_FT/jsommers/switchyard/recvfrom
LDU_FT
[ "<BEGIN>\n## `router_main`", "Main method for router; we stay in a loop in this method, receiving\n packets until the end of time.\n<END>", "<BEGIN>\n## `from_bytes`", "Takes a byte string as a parameter and returns a list of\n IPOption objects.\n<END>", "<BEGIN>\n## `to_bytes`", "Takes a li...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the recvfrom API. 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 recvfrom API. 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...
Receive data on the socket. The buffersize and flags arguments are currently ignored. Returns the data and an address tuple (IP address and port) of the remote host.
"Receive data on the socket. The buffersize and flags\n arguments are currently ignored. Returns the data and\n an address tuple (IP address and port) of the remote host."
192
false
jsommers/switchyard
recvfrom
19,040
LDU_FT/ninuxorg/nodeshot/_validate_backend
LDU_FT
[ "<BEGIN>\n## `get_formset`", "Load Synchronizer schema to display specific fields in admin\n<END>", "<BEGIN>\n## `public_broadcaster`", "Thread which runs in parallel and constantly checks for new messages\n in the public pipe and broadcasts them publicly to all connected clients.\n<END>", "<BEGIN>\n## `...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _validate_backend API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _validate_backend API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
ensure backend string representation is correct
"ensure backend string representation is correct"
261
false
ninuxorg/nodeshot
_validate_backend
19,041
LDU_FT/NeuroML/pyNeuroML/run_individual
LDU_FT
[ "<BEGIN>\n## `run_individual`", "Run an individual simulation.", " The candidate data has been flattened into the sim_var dict. The\n sim_var dict contains parameter:value key value pairs, which are\n applied to the model before it is simulated.\n<END>", "<BEGIN>\n## `run`", "Run simulation for eac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run_individual API. 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 run_individual API. 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...
Run an individual simulation. The candidate data has been flattened into the sim_var dict. The sim_var dict contains parameter:value key value pairs, which are applied to the model before it is simulated.
"Run an individual simulation.\n\n The candidate data has been flattened into the sim_var dict. The\n sim_var dict contains parameter:value key value pairs, which are\n applied to the model before it is simulated."
12
false
NeuroML/pyNeuroML
run_individual
19,042
LDU_FT/cloudnull/cloudlib/_find_config
LDU_FT
[ "<BEGIN>\n## `getLogger`", "Return a logger from a given name.", " If the name does not have a log handler, this will create one for it based\n on the module name which will log everything to a log file in a location\n the executing user will have access to.", " :param name: ``str``\n :return: ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _find_config API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _find_config API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
This method will check if the configuration file "exist" If it does NOT then the method will bail calling an IOError. :param config_file: ``str`` :return: ``str``
"This method will check if the configuration file \"exist\"\n\n If it does NOT then the method will bail calling an IOError.\n\n :param config_file: ``str``\n :return: ``str``"
136
false
cloudnull/cloudlib
_find_config
19,043
LDU_FT/mikicz/arca/build_image
LDU_FT
[ "<BEGIN>\n## `get_or_create_environment`", "Returns the path to the current Python executable.\n<END>", "<BEGIN>\n## `validate_configuration`", "Validates the provided settings.", " * Checks ``inherit_image`` format.\n * Checks ``use_registry_name`` format.\n * Checks that ``apt_depende...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_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 extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_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 extra...
Builds an image for specific requirements and dependencies, based on the settings. :param image_name: How the image should be named :param image_tag: And what tag it should have. :param repo_path: Path to the cloned repository. :param requirements_option: How requirements are set in the...
"Builds an image for specific requirements and dependencies, based on the settings.\n\n :param image_name: How the image should be named\n :param image_tag: And what tag it should have.\n :param repo_path: Path to the cloned repository.\n :param requirements_option: How requirements are set ...
196
false
mikicz/arca
build_image
19,044
LDU_FT/happyleavesaoc/python-limitlessled/_transition
LDU_FT
[ "<BEGIN>\n## `command_set_factory`", "Create command set for controlling a specific led group.\n :param bridge: The bridge the leds are connected to.\n :param group_number: The group number.\n :param led_type: The type of the leds.\n :return: The created command set.\n<END>", "<BEGIN>\n## `rate`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _transition API. 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 _transition API. 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...
Transition. :param duration: Time to transition. :param hue: Transition to this hue. :param brightness: Transition to this brightness.
"Transition.\n\n :param duration: Time to transition.\n :param hue: Transition to this hue.\n :param brightness: Transition to this brightness."
164
false
happyleavesaoc/python-limitlessled
_transition
19,045
LDU_FT/ArtoLabs/SimpleSteem/transfer_funds
LDU_FT
[ "<BEGIN>\n## `setup`", "Runs only the first time SimpleSteem() \n is instantiated. Prompts user for the values\n that are then written to config.py\n<END>", "<BEGIN>\n## `make`", "takes the arguments and writes them as \n variable / value pairs to config.py\n<END>", "<BEGIN>\n## `goodno...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transfer_funds API. 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 transfer_funds API. 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...
Transfer SBD or STEEM to the given account
"Transfer SBD or STEEM to the given account"
74
false
ArtoLabs/SimpleSteem
transfer_funds
19,046
LDU_FT/THLO/map/createList
LDU_FT
[ "<BEGIN>\n## `getDirectoryDictionary`", "This is an internal method to compute a dictionary containing\n all the directories that potentially contain (more) input.\n The dictionary 'table' indicates which of its contents are part of the input:", " table[directory] == 'ALL' means that its en...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the createList API. 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 createList API. 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...
This is an internal method to create the list of input files (or directories) contained in the provided directory or directories.
"This is an internal method to create the list of input files (or directories)\n contained in the provided directory or directories."
26
false
THLO/map
createList
19,047
LDU_FT/AndrewAnnex/SpiceyPy/gfoclt
LDU_FT
[ "<BEGIN>\n## `_distribution_info`", "Creates the distribution name and the expected extension for the\n CSPICE package and returns it.", " :return (distribution, extension) tuple where distribution is the best\n guess from the strings available within the platform_urls list\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gfoclt API. 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 gfoclt API. 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 ...
Determine time intervals when an observer sees one target occulted by, or in transit across, another. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/gfoclt_c.html :param occtyp: Type of occultation. :type occtyp: str :param front: Name of body occulting the other. :type front: str ...
"Determine time intervals when an observer sees one target\n occulted by, or in transit across, another.\n\n http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/gfoclt_c.html\n\n :param occtyp: Type of occultation.\n :type occtyp: str\n :param front: Name of body occulting the other.\n :type front...
2,164
true
AndrewAnnex/SpiceyPy
gfoclt
19,048
LDU_FT/rapidpro/expressions/word_slice
LDU_FT
[ "<BEGIN>\n## `_read_requirements`", "Returns a list of package requirements read from the file.\n<END>", "<BEGIN>\n## `field`", "Reference a field in string separated by a delimiter\n<END>", "<BEGIN>\n## `epoch`", "Converts the given date to the number of seconds since January 1st, 1970 UTC\n<END>", "<B...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the word_slice API. 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 word_slice API. 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...
Extracts a substring spanning from start up to but not-including stop
"Extracts a substring spanning from start up to but not-including stop"
124
false
rapidpro/expressions
word_slice
19,049
LDU_FT/ARMmbed/autoversion/main_from_cli
LDU_FT
[ "<BEGIN>\n## `get_current_semver`", "Given a dictionary of all version data available, determine the current version\n<END>", "<BEGIN>\n## `make_new_semver`", "Defines how to increment semver based on which significant figure is triggered\n<END>", "<BEGIN>\n## `main`", "Tags the current repository", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main_from_cli API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main_from_cli API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Main workflow. Load config from cli and file Detect "bump triggers" - things that cause a version increment Find the current version Create a new version Write out new version and any other requested variables
"Main workflow.\n\n Load config from cli and file\n Detect \"bump triggers\" - things that cause a version increment\n Find the current version\n Create a new version\n Write out new version and any other requested variables"
37
false
ARMmbed/autoversion
main_from_cli
19,050
LDU_FT/nickoala/telepot/per_event_source_id
LDU_FT
[ "<BEGIN>\n## `answer`", "Create a task that calls ``compute fn`` (along with additional arguments\n ``*compute_args`` and ``**compute_kwargs``), then applies the returned value to\n :meth:`.Bot.answerInlineQuery` to answer the inline query.\n If a preceding task is already working for a user,...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the per_event_source_id API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the per_event_source_id API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
:return: a seeder function that returns an event's source id only if that event's source space equals to ``event_space``.
":return:\n a seeder function that returns an event's source id only if that event's\n source space equals to ``event_space``."
312
false
nickoala/telepot
per_event_source_id
19,051
LDU_FT/rfverbruggen/rachiopy/off
LDU_FT
[ "<BEGIN>\n## `seasonalAdjustment`", "Seasonal adjustment for a schedule rule (watering time).", " This adjustment amount will be applied to the overall run time of the\n selected schedule while overriding any current adjustments.\n<END>", "<BEGIN>\n## `get`", "Retrieve the information for a sc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the off API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the off API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Turn OFF all features of the device. schedules, weather intelligence, water budget, etc.
"Turn OFF all features of the device.\n\n schedules, weather intelligence, water budget, etc."
24
false
rfverbruggen/rachiopy
off
19,052
LDU_FT/Vagrants/blackbird/is_group
LDU_FT
[ "<BEGIN>\n## `helper_import`", "Return class or module object.\n if the argument is only a module name and return a module object.\n if the argument is a module and class name, and return a class object.\n<END>", "<BEGIN>\n## `global_import`", "This function search sys.path[1:], return specified module....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_group API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_group API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Check whether groupname or gid as argument exists. if this function recieved groupname, convert gid and exec validation.
"Check whether groupname or gid as argument exists.\n if this function recieved groupname, convert gid and exec validation."
106
false
Vagrants/blackbird
is_group
19,053
LDU_FT/jkitzes/macroeco/_save_results
LDU_FT
[ "<BEGIN>\n## `get_theme_dir`", "Returns path to directory containing this package's theme.", " This is designed to be used when setting the ``html_theme_path``\n option within Sphinx's ``conf.py`` file.\n<END>", "<BEGIN>\n## `_geom_solve_p_from_mu`", "For the geom_uptrunc, given mu and b, return p.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _save_results API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _save_results API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Save results of analysis as tables and figures Parameters ---------- options : dict Option names and values for analysis module : str Module that contained function used to generate core_results core_results : dataframe, array, value, list of tuples Results of main analysis ...
"Save results of analysis as tables and figures\n\n Parameters\n ----------\n options : dict\n Option names and values for analysis\n module : str\n Module that contained function used to generate core_results\n core_results : dataframe, array, value, list of tuples\n Results of main...
337
false
jkitzes/macroeco
_save_results
19,054
LDU_FT/kytos/python-openflow/pack
LDU_FT
[ "<BEGIN>\n## `in_port`", "Retrieve the 'in_port' that generated the PacketIn.", " This method will look for the OXM_TLV with type OFPXMT_OFB_IN_PORT on\n the `oxm_match_fields` field from `match` field and return its value,\n if the OXM exists.", " Returns:\n The integer...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pack API. 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 pack API. 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...
Pack a StatsReply using the object's attributes. This method will pack the attribute body and multipart_type before pack the StatsReply object, then will return this struct as a binary data. Returns: stats_reply_packed (bytes): Binary data with StatsReply packed.
"Pack a StatsReply using the object's attributes.\n\n This method will pack the attribute body and multipart_type before pack\n the StatsReply object, then will return this struct as a binary data.\n\n Returns:\n stats_reply_packed (bytes): Binary data with StatsReply packed."
348
false
kytos/python-openflow
pack
19,055
LDU_FT/PureStorage-OpenConnect/rest-client/_check_rest_version
LDU_FT
[ "<BEGIN>\n## `_check_rest_version`", "Validate a REST API version is supported by the library and target array.\n<END>", "<BEGIN>\n## `_choose_rest_version`", "Return the newest REST API version supported by target array.\n<END>", "<BEGIN>\n## `_list_available_rest_versions`", "Return a list of the REST A...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_rest_version 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 _check_rest_version 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...
Validate a REST API version is supported by the library and target array.
"Validate a REST API version is supported by the library and target array."
166
false
PureStorage-OpenConnect/rest-client
_check_rest_version
19,056
LDU_FT/asweigart/pyautogui/_specialKeyEvent
LDU_FT
[ "<BEGIN>\n## `_specialKeyEvent`", "Helper method for special keys.", " Source: http://stackoverflow.com/questions/11045814/emulate-media-key-press-on-mac\n<END>", "<BEGIN>\n## `_keyDown`", "Performs a keyboard key press without the release. This will put that\n key in a held down state.", " NOTE:...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _specialKeyEvent API. 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 _specialKeyEvent API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Helper method for special keys. Source: http://stackoverflow.com/questions/11045814/emulate-media-key-press-on-mac
"Helper method for special keys.\n\n Source: http://stackoverflow.com/questions/11045814/emulate-media-key-press-on-mac"
162
false
asweigart/pyautogui
_specialKeyEvent
19,057
LDU_FT/pettarin/ipapy/is_equivalent
LDU_FT
[ "<BEGIN>\n## `can_map_ipa_string`", "Return ``True`` if the mapper can map all the IPA characters\n in the given IPA string.", " :param IPAString ipa_string: the IPAString to be parsed\n :rtype: bool\n<END>", "<BEGIN>\n## `map_ipa_string`", "Convert the given IPAString to a string\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_equivalent API. 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 is_equivalent API. 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 ``True`` if the IPA character is equivalent to the ``other`` object. The ``other`` object can be: 1. a Unicode string, containing the representation of the IPA character, 2. a Unicode string, containing a space-separated list of descriptors, 3. a list of Unicode strings, contain...
"Return ``True`` if the IPA character is equivalent to the ``other`` object.\n\n The ``other`` object can be:\n\n 1. a Unicode string, containing the representation of the IPA character,\n 2. a Unicode string, containing a space-separated list of descriptors,\n 3. a list of Unicode strings, ...
205
false
pettarin/ipapy
is_equivalent
19,058
LDU_FT/goldsmith/Wikipedia/set_rate_limiting
LDU_FT
[ "<BEGIN>\n## `set_lang`", "Change the language of the API being requested.\n Set `prefix` to one of the two letter prefixes found on the `list of all Wikipedias <http://meta.wikimedia.org/wiki/List_of_Wikipedias>`_.", " After setting the language, the cache for ``search``, ``suggest``, and ``summary`` will be...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_rate_limiting API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_rate_limiting API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Enable or disable rate limiting on requests to the Mediawiki servers. If rate limiting is not enabled, under some circumstances (depending on load on Wikipedia, the number of requests you and other `wikipedia` users are making, and other factors), Wikipedia may return an HTTP timeout error. Enabling rate limit...
"Enable or disable rate limiting on requests to the Mediawiki servers.\n If rate limiting is not enabled, under some circumstances (depending on\n load on Wikipedia, the number of requests you and other `wikipedia` users\n are making, and other factors), Wikipedia may return an HTTP timeout error.\n\n Enabling rate...
62
false
goldsmith/Wikipedia
set_rate_limiting
19,059
LDU_FT/davidrpugh/pyCollocation/derivatives_factory
LDU_FT
[ "<BEGIN>\n## `_basis_spline_factory`", "Return a B-Spline given some coefficients.\n<END>", "<BEGIN>\n## `derivatives_factory`", "Given some coefficients, return a the derivative of a B-spline.\n<END>", "<BEGIN>\n## `functions_factory`", "Given some coefficients, return a B-spline.\n<END>", "<BEGIN>\n##...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the derivatives_factory 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 derivatives_factory 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...
Given some coefficients, return a the derivative of a B-spline.
"Given some coefficients, return a the derivative of a B-spline."
44
false
davidrpugh/pyCollocation
derivatives_factory
19,060
LDU_FT/ajk8/hatchery/_get_uploaded_versions_warehouse
LDU_FT
[ "<BEGIN>\n## `value_of_named_argument_in_function`", "Parse an arbitrary block of python code to get the value of a named argument\n from inside a function call\n<END>", "<BEGIN>\n## `regex_in_file`", "Search for a regex in a file", " If return_match is True, return the found object instead of a b...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_uploaded_versions_warehouse 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 _get_uploaded_versions_warehouse API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c...
Query the pypi index at index_url using warehouse api to find all of the "releases"
"Query the pypi index at index_url using warehouse api to find all of the \"releases\""
49
false
ajk8/hatchery
_get_uploaded_versions_warehouse
19,061
LDU_FT/CTPUG/wafer/find_clashes
LDU_FT
[ "<BEGIN>\n## `build_object`", "Override django-bakery to skip profiles that raise 404\n<END>", "<BEGIN>\n## `generate_schedule`", "Helper function which creates an ordered list of schedule days\n<END>", "<BEGIN>\n## `get_context_data`", "Allow adding a 'render_description' parameter\n<END>", "<BEGIN>\n#...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_clashes API. 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_clashes API. 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...
Find schedule items which clash (common slot and venue)
"Find schedule items which clash (common slot and venue)"
72
false
CTPUG/wafer
find_clashes
19,062
LDU_FT/datastax/python-driver/sync_table
LDU_FT
[ "<BEGIN>\n## `check_applied`", "Raises LWTException if it looks like a failed LWT request. A LWTException\n won't be raised in the special case in which there are several failed LWT\n in a :class:`~cqlengine.query.BatchQuery`.\n<END>", "<BEGIN>\n## `add_callback`", "Add a function and arguments to be p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sync_table API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sync_table API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Inspects the model and creates / updates the corresponding table and columns. If `keyspaces` is specified, the table will be synched for all specified keyspaces. Note that the `Model.__keyspace__` is ignored in that case. If `connections` is specified, the table will be synched for all specified connectio...
"Inspects the model and creates / updates the corresponding table and columns.\n\n If `keyspaces` is specified, the table will be synched for all specified keyspaces.\n Note that the `Model.__keyspace__` is ignored in that case.\n\n If `connections` is specified, the table will be synched for all specified con...
603
false
datastax/python-driver
sync_table
19,063
LDU_FT/Azure/azure-event-hubs-python/create_lease_store_if_not_exists_async
LDU_FT
[ "<BEGIN>\n## `parse_sas_token`", "Parse a SAS token into its components.", " :param sas_token: The SAS token.\n :type sas_token: str\n :rtype: dict[str, str]\n<END>", "<BEGIN>\n## `offset`", "The offset of the event data object.", " :rtype: ~azure.eventhub.common.Offset\n<END>", "<BEGIN>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_lease_store_if_not_exists_async API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_lease_store_if_not_exists_async API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates...
Create the lease store if it does not exist, do nothing if it does exist. :return: `True` if the lease store already exists or was created successfully, `False` if not. :rtype: bool
"Create the lease store if it does not exist, do nothing if it does exist.\n\n :return: `True` if the lease store already exists or was created successfully, `False` if not.\n :rtype: bool"
260
false
Azure/azure-event-hubs-python
create_lease_store_if_not_exists_async
19,064
LDU_FT/ska-sa/kittens/iterator
LDU_FT
[ "<BEGIN>\n## `load_icons`", "load all icons found in path, subdirs '<package>/icons/<appname>'.\n Package is optional.\n<END>", "<BEGIN>\n## `assign`", "Reassign pixmap or xpm string array to wrapper\n<END>", "<BEGIN>\n## `_load`", "load all icons found in path, subdirs 'icons/appname\n<END>", "<BEGI...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iterator API. 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 iterator API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Returns a child item iterator. iterator([flags]) returns an iterator for the tree widget itself iterator(item,[flags]) returns an iterator for a tree widget item
"Returns a child item iterator.\n iterator([flags]) returns an iterator for the tree widget itself\n iterator(item,[flags]) returns an iterator for a tree widget item"
16
false
ska-sa/kittens
iterator
19,065
LDU_FT/mrkrd/matlab_wrapper/find_matlab_root
LDU_FT
[ "<BEGIN>\n## `find_matlab_root`", "Look for matlab binary and return root directory of MATLAB\n installation.\n<END>", "<BEGIN>\n## `load_engine_and_libs`", "Load and return `libeng` and `libmx`. Start and return MATLAB\n engine.", " Returns\n -------\n engine\n libeng\n libmx\n<END>",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_matlab_root API. 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_matlab_root API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Look for matlab binary and return root directory of MATLAB installation.
"Look for matlab binary and return root directory of MATLAB\n installation."
16
false
mrkrd/matlab_wrapper
find_matlab_root
19,066
LDU_FT/robhowley/nhlscrapi/ColMap
LDU_FT
[ "<BEGIN>\n## `totals`", "Computes and returns dictionary containing home/away by player, shots and face-off totals", " :returns: dict of the form ``{ 'home/away': { 'all_keys': w_numeric_data } }``\n<END>", "<BEGIN>\n## `filter_players`", "Return the subset home and away players that satisfy the prov...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ColMap API. 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 ColMap API. 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 a dictionary mapping the type of information in the RTSS play row to the appropriate column number. The column locations pre/post 2008 are different. :param season: int for the season number :returns: mapping of RTSS column to info type :rtype: dict, keys are ``'play_num...
"Returns a dictionary mapping the type of information in the RTSS play row to the\n appropriate column number. The column locations pre/post 2008 are different.\n \n :param season: int for the season number\n :returns: mapping of RTSS column to info type\n :rtype: dict, keys are ``'pl...
126
false
robhowley/nhlscrapi
ColMap
19,067
LDU_FT/xolox/python-qpass/create_fuzzy_pattern
LDU_FT
[ "<BEGIN>\n## `get_requirements`", "Get requirements from pip requirement files.\n<END>", "<BEGIN>\n## `create_fuzzy_pattern`", "Convert a string into a fuzzy regular expression pattern.", " :param pattern: The input pattern (a string).\n :returns: A compiled regular expression object.", " This fu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_fuzzy_pattern API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_fuzzy_pattern API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Convert a string into a fuzzy regular expression pattern. :param pattern: The input pattern (a string). :returns: A compiled regular expression object. This function works by adding ``.*`` between each of the characters in the input pattern and compiling the resulting expression into a case insens...
"Convert a string into a fuzzy regular expression pattern.\n\n :param pattern: The input pattern (a string).\n :returns: A compiled regular expression object.\n\n This function works by adding ``.*`` between each of the characters in the\n input pattern and compiling the resulting expression into a case\n ...
48
false
xolox/python-qpass
create_fuzzy_pattern
19,068
LDU_FT/rocky/python-filecache/pyc2py
LDU_FT
[ "<BEGIN>\n## `pyc2py`", "Find corresponding .py name given a .pyc or .pyo\n<END>", "<BEGIN>\n## `clear_file_cache`", "Clear the file cache. If no filename is given clear it entirely.\n if a filename is given, clear just that filename.\n<END>", "<BEGIN>\n## `clear_file_format_cache`", "Remove syntax-for...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pyc2py API. 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 pyc2py API. 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 ...
Find corresponding .py name given a .pyc or .pyo
"Find corresponding .py name given a .pyc or .pyo"
32
false
rocky/python-filecache
pyc2py
19,069
LDU_FT/pypyr/pypyr-cli/run_step
LDU_FT
[ "<BEGIN>\n## `run_step`", "Wipe the entire context.", " Args:\n Context is a dictionary or dictionary-like.\n Does not require any specific keys in context.\n<END>", "<BEGIN>\n## `get_parsed_context`", "Parse input context string and returns context as dictionary.\n<END>", "<BEGIN>\n## `r...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run_step API. 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 run_step API. 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...
Parse input yaml file and substitute {tokens} from context. Loads yaml into memory to do parsing, so be aware of big files. Args: context: pypyr.context.Context. Mandatory. - fileFormatYaml - in. mandatory. str, path-like, or an iterable (list/tuple) of ...
"Parse input yaml file and substitute {tokens} from context.\n\n Loads yaml into memory to do parsing, so be aware of big files.\n\n Args:\n context: pypyr.context.Context. Mandatory.\n - fileFormatYaml\n - in. mandatory.\n str, path-like, or an iterable (list/tuple) of\n ...
527
false
pypyr/pypyr-cli
run_step
19,070
LDU_FT/emencia/emencia-django-forum/get_paginated_position
LDU_FT
[ "<BEGIN>\n## `get_first_post`", "Retourne le premier post en date, celui créé lors de la création du fil\n<END>", "<BEGIN>\n## `save`", "Fill 'created' and 'modified' attributes on first create\n<END>", "<BEGIN>\n## `get_paginated_urlargs`", "Return url arguments to retrieve the Post in a paginated list\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_paginated_position API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_paginated_position API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Return the Post position in the paginated list
"Return the Post position in the paginated list"
23
false
emencia/emencia-django-forum
get_paginated_position
19,071
LDU_FT/edeposit/edeposit.amqp.antivirus/scan_file
LDU_FT
[ "<BEGIN>\n## `_parse_result`", "Parse ``clamscan`` output into same dictionary structured used by\n ``pyclamd``.", " Input example::\n /home/bystrousak/Plocha/prace/test/eicar.com: Eicar-Test-Signature FOUND", " Output dict::\n {\n \"/home/bystrousak/Plocha/prace/test/eicar.c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the scan_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 extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the scan_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 extract...
Scan `path` for viruses using ``clamd`` or ``clamscan`` (depends on :attr:`settings.USE_CLAMD`. Args: path (str): Relative or absolute path of file/directory you need to scan. Returns: dict: ``{filename: ("FOUND", "virus type")}`` or blank dict. Raises: Val...
"Scan `path` for viruses using ``clamd`` or ``clamscan`` (depends on\n :attr:`settings.USE_CLAMD`.\n\n Args:\n path (str): Relative or absolute path of file/directory you need to\n scan.\n\n Returns:\n dict: ``{filename: (\"FOUND\", \"virus type\")}`` or blank dict.\n\n Rais...
41
false
edeposit/edeposit.amqp.antivirus
scan_file
19,072