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/napalm-automation/napalm/get_bgp_config
LDU_FT
[ "<BEGIN>\n## `parse_intf_section`", "Parse a single entry from show interfaces output.", " Different cases:\n mgmt0 is up\n admin state is up", " Ethernet2/1 is up\n admin state is up, Dedicated Interface", " Vlan1 is down (Administratively down), line protocol is down, autostate enabled",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_bgp_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 ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_bgp_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 ex...
Implementation of NAPALM method get_bgp_config.
"Implementation of NAPALM method get_bgp_config."
254
false
napalm-automation/napalm
get_bgp_config
37,773
LDU_FT/nir0s/serv/status
LDU_FT
[ "<BEGIN>\n## `generate`", "Create a service.", " `COMMAND` is the path to the executable to run\n<END>", "<BEGIN>\n## `_parse_service_env_vars`", "Return a dict based on `key=value` pair strings.\n<END>", "<BEGIN>\n## `_set_service_name_from_command`", "Set the name of a service according to the comm...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the status API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the status API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Return a list of the statuses of the `name` service, or if name is omitted, a list of the status of all services for this specific init system. There should be a standardization around the status fields. There currently isn't. `self.services` is set in `base.py`
"Return a list of the statuses of the `name` service, or\n if name is omitted, a list of the status of all services for this\n specific init system.\n\n There should be a standardization around the status fields.\n There currently isn't.\n\n `self.services` is set in `base.py`"
65
false
nir0s/serv
status
37,774
LDU_FT/heronotears/lazyxml/object2xml
LDU_FT
[ "<BEGIN>\n## `set_options`", "r\"\"\"Set Parser options.", " .. seealso::\n ``kw`` argument have the same meaning as in :func:`lazyxml.loads`\n<END>", "<BEGIN>\n## `xml2object`", "r\"\"\"Convert xml content to python object.", " :param content: xml content\n :rtype: dict", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the object2xml API. 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 object2xml API. 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...
r"""Convert python object to xml string. :param data: data for build xml. If don't provide the ``root`` option, type of ``data`` must be dict and ``len(data) == 1``. :rtype: str or unicode .. versionadded:: 1.2
"r\"\"\"Convert python object to xml string.\n\n :param data: data for build xml. If don't provide the ``root`` option, type of ``data`` must be dict and ``len(data) == 1``.\n :rtype: str or unicode\n\n .. versionadded:: 1.2"
60
false
heronotears/lazyxml
object2xml
37,775
LDU_FT/gautammishra/lyft-rides-python-sdk/import_oauth2_credentials
LDU_FT
[ "<BEGIN>\n## `_build_headers`", "Create headers for the request.\n Parameters\n method (str)\n HTTP method (e.g. 'POST').\n auth_session (Session)\n The Session object containing OAuth 2.0 credentials.\n Returns\n headers (dict)\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the import_oauth2_credentials API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the import_oauth2_credentials API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Import OAuth 2.0 session credentials from storage file. Parameters filename (str) Name of storage file. Returns credentials (dict) All your app credentials and information imported from the configuration file.
"Import OAuth 2.0 session credentials from storage file.\n Parameters\n filename (str)\n Name of storage file.\n Returns\n credentials (dict)\n All your app credentials and information\n imported from the configuration file."
52
false
gautammishra/lyft-rides-python-sdk
import_oauth2_credentials
37,776
LDU_FT/speechinformaticslab/vfclust/compute_between_collection_interval_duration
LDU_FT
[ "<BEGIN>\n## `parse_phones`", "Parse TextGrid phone intervals.", " This method parses the phone intervals in a TextGrid to extract each\n phone and each phone's start and end times in the audio recording. For\n each phone, it instantiates the class Phone(), with the phone and its\n s...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compute_between_collection_interval_duration 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 compute_between_collection_interval_duration API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> ind...
Calculates BETWEEN-collection intervals for the current collection and measure type and takes their mean. :param str prefix: Prefix for the key entry in self.measures. Negative intervals (for overlapping clusters) are counted as 0 seconds. Intervals are calculated as being the dif...
"Calculates BETWEEN-collection intervals for the current collection and measure type\n and takes their mean.\n\n :param str prefix: Prefix for the key entry in self.measures.\n\n Negative intervals (for overlapping clusters) are counted as 0 seconds. Intervals are\n calculated as being ...
119
false
speechinformaticslab/vfclust
compute_between_collection_interval_duration
37,777
LDU_FT/timdiels/pytil/_locate_bin
LDU_FT
[ "<BEGIN>\n## `load`", "Load configuration (from configuration files).", " Parameters\n ----------\n path : ~pathlib.Path or None\n Path to configuration file, which must exist; or path to directory\n containing a configuration file; or None.", " Returns\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _locate_bin API. 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 _locate_bin API. 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...
Find the bin where list n has ended up: Follow bin references until we find a bin that has not moved.
"Find the bin where list n has ended up: Follow bin references until\n we find a bin that has not moved."
147
false
timdiels/pytil
_locate_bin
37,778
LDU_FT/LeastAuthority/txkube/_merge_configs
LDU_FT
[ "<BEGIN>\n## `pairwise`", "Generate consecutive pairs of elements from the given iterable.\n<END>", "<BEGIN>\n## `pick_cert_for_twisted`", "Pick the right client key/certificate to use for the given server and\n return it in the form Twisted wants.", " :param NetLocation netloc: The location of the se...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _merge_configs API. 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 _merge_configs API. 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...
Merge one or more ``KubeConfig`` objects. :param list[KubeConfig] configs: The configurations to merge. :return KubeConfig: A single configuration object with the merged configuration.
"Merge one or more ``KubeConfig`` objects.\n\n :param list[KubeConfig] configs: The configurations to merge.\n\n :return KubeConfig: A single configuration object with the merged\n configuration."
132
false
LeastAuthority/txkube
_merge_configs
37,779
LDU_FT/vslutov/turingmarkov/add_rule
LDU_FT
[ "<BEGIN>\n## `_add_rule`", "Parse rule and add it to machine (for internal use).\n<END>", "<BEGIN>\n## `execute`", "Execute algorithm (if max_times = None, there can be forever loop).\n<END>", "<BEGIN>\n## `compile`", "Return python code for create and execute machine.\n<END>", "<BEGIN>\n## `add_rule`",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_rule API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_rule API. 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...
Supported rules: `a -> b` and `a => b` (terminal rule).
"Supported rules: `a -> b` and `a => b` (terminal rule)."
12
false
vslutov/turingmarkov
add_rule
37,780
LDU_FT/blockstack/virtualchain/btc_tx_sighash_segwit
LDU_FT
[ "<BEGIN>\n## `lpad`", "Left-pad a given string (msg) with a character (symbol) for a given number of bytes (length).\n Return the padded string\n<END>", "<BEGIN>\n## `changebase`", "Change a string's characters from one base to another.\n Return the re-encoded string\n<END>", "<BEGIN>\n## `num_to_var_...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the btc_tx_sighash_segwit 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 btc_tx_sighash_segwit API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Calculate the sighash for a segwit transaction, according to bip143
"Calculate the sighash for a segwit transaction, according to bip143"
491
false
blockstack/virtualchain
btc_tx_sighash_segwit
37,781
LDU_FT/podio/podio-py/get
LDU_FT
[ "<BEGIN>\n## `AuthorizingClient`", "Creates a Podio client using an auth object.\n<END>", "<BEGIN>\n## `encode_and_quote`", "If ``data`` is unicode, return urllib.quote_plus(data.encode(\"utf-8\"))\n otherwise return urllib.quote_plus(data)\n<END>", "<BEGIN>\n## `_strify`", "If s is a unicode string, e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Retrieve the definition of a given view, provided the app_id and the view_id :param app_id: the app id :param view_specifier: Can be one of the following: 1. The view ID 2. The view's name 3. "last" to look up the last view used
"Retrieve the definition of a given view, provided the app_id and the view_id\n\n :param app_id: the app id\n :param view_specifier:\n Can be one of the following:\n 1. The view ID\n 2. The view's name\n 3. \"last\" to look up the last view used"
82
false
podio/podio-py
get
37,782
LDU_FT/BlueBrain/NeuroM/add_child
LDU_FT
[ "<BEGIN>\n## `_get_type`", "get the type of the soma", " Args:\n points: Soma points\n soma_class(str): one of 'contour' or 'cylinder' to specify the type\n<END>", "<BEGIN>\n## `make_soma`", "Make a soma object from a set of points", " Infers the soma type (SomaSinglePoint, SomaSimpleC...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_child API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_child API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Add a child to the list of this tree's children This tree becomes the added tree's parent
"Add a child to the list of this tree's children\n\n This tree becomes the added tree's parent"
706
false
BlueBrain/NeuroM
add_child
37,783
LDU_FT/gc3-uzh-ch/elasticluster/update_ips
LDU_FT
[ "<BEGIN>\n## `to_vars_dict`", "Return local state which is relevant for the cluster setup process.\n<END>", "<BEGIN>\n## `_init_az_api`", "Initialise client objects for talking to Azure API.", " This is in a separate function so to be called by ``__init__``\n and ``__setstate__``.\n<END>", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_ips API. 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 update_ips API. 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...
Retrieves the public and private ip of the instance by using the cloud provider. In some cases the public ip assignment takes some time, but this method is non blocking. To check for a public ip, consider calling this method multiple times during a certain timeout.
"Retrieves the public and private ip of the instance by using the\n cloud provider. In some cases the public ip assignment takes some\n time, but this method is non blocking. To check for a public ip,\n consider calling this method multiple times during a certain timeout."
378
false
gc3-uzh-ch/elasticluster
update_ips
37,784
LDU_FT/skelsec/minikerberos/run
LDU_FT
[ "<BEGIN>\n## `to_tgt`", "Returns the native format of an AS_REP message and the sessionkey in EncryptionKey native format\n<END>", "<BEGIN>\n## `add_tgt`", "Creates credential object from the TGT and adds to the ccache file\n\t\tThe TGT is basically the native representation of the asn1 encoded AS_REP data th...
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...
Requests TGS tickets for all service users specified in the targets list targets: list : the SPN users to request the TGS tickets for allhash: bool : Return all enctype tickets, ot just 23
"Requests TGS tickets for all service users specified in the targets list\n\t\ttargets: list : the SPN users to request the TGS tickets for\n\t\tallhash: bool : Return all enctype tickets, ot just 23"
50
false
skelsec/minikerberos
run
37,785
LDU_FT/mithro/python-datetime-tz/detect_timezone
LDU_FT
[ "<BEGIN>\n## `_tzinfome`", "Gets a tzinfo object from a string.", " Args:\n tzinfo: A string (or string like) object, or a datetime.tzinfo object.", " Returns:\n An datetime.tzinfo object.", " Raises:\n UnknownTimeZoneError: If the timezone given can't be decoded.\n<END>", "<BEGIN>\n## `locali...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the detect_timezone API. 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 detect_timezone API. 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...
Try and detect the timezone that Python is currently running in. We have a bunch of different methods for trying to figure this out (listed in order they are attempted). * In windows, use win32timezone.TimeZoneInfo.local() * Try TZ environment variable. * Try and find /etc/timezone file (with timezone ...
"Try and detect the timezone that Python is currently running in.\n\n We have a bunch of different methods for trying to figure this out (listed in\n order they are attempted).\n * In windows, use win32timezone.TimeZoneInfo.local()\n * Try TZ environment variable.\n * Try and find /etc/timezone file (with ti...
89
false
mithro/python-datetime-tz
detect_timezone
37,786
LDU_FT/bykof/billomapy/_handle_failed_response
LDU_FT
[ "<BEGIN>\n## `_create_get_request`", "Creates a get request and return the response data\n<END>", "<BEGIN>\n## `_create_put_request`", "Creates a put request and return the response data\n<END>", "<BEGIN>\n## `_create_delete_request`", "Creates a post request and return the response data\n<END>", "<BEGI...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _handle_failed_response 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 _handle_failed_response API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
Handle the failed response and check for rate limit exceeded If rate limit exceeded it runs the rate_limit_exceeded function which you should overwrite :param response: requests.Response :type response: requests.Reponse :return: None :rtype: None
"Handle the failed response and check for rate limit exceeded\n If rate limit exceeded it runs the rate_limit_exceeded function which you should overwrite\n\n :param response: requests.Response\n :type response: requests.Reponse\n :return: None\n :rtype: None"
502
false
bykof/billomapy
_handle_failed_response
37,787
LDU_FT/rossant/ipymd/_get_html_contents
LDU_FT
[ "<BEGIN>\n## `_get_html_contents`", "Process a HTML block and detects whether it is a code block,\n a math block, or a regular HTML block.\n<END>", "<BEGIN>\n## `format_manager`", "Return the instance singleton, creating if necessary\n<END>", "<BEGIN>\n## `register_entrypoints`", "Look through the `set...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_html_contents 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_html_contents 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...
Process a HTML block and detects whether it is a code block, a math block, or a regular HTML block.
"Process a HTML block and detects whether it is a code block,\n a math block, or a regular HTML block."
64
false
rossant/ipymd
_get_html_contents
37,788
LDU_FT/cloudmesh-cmd3/cmd3/create_file
LDU_FT
[ "<BEGIN>\n## `do_clear`", "Usage:\n clear", " Clears the screen.\n<END>", "<BEGIN>\n## `do_banner`", "::", " Usage:\n banner [-c CHAR] [-n WIDTH] [-i INDENT] [-r COLOR] TEXT", " Arguments:\n TEXT The text message from which to creat...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Creates a new file if the file name does not exists :param filename: the name of the file
"Creates a new file if the file name does not exists\n :param filename: the name of the file"
184
false
cloudmesh-cmd3/cmd3
create_file
37,789
LDU_FT/blockstack-packages/blockstack-gpg/gpg_profile_put_key
LDU_FT
[ "<BEGIN>\n## `make_gpg_home`", "Make GPG keyring dir for a particular application.\n Return the path.\n<END>", "<BEGIN>\n## `get_gpg_home`", "Get the GPG keyring directory for a particular application.\n Return the path.\n<END>", "<BEGIN>\n## `make_gpg_tmphome`", "Make a temporary directory to hold ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gpg_profile_put_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. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gpg_profile_put_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. T...
Put a local GPG key into a blockchain ID's global account. If the URL is not given, the key will be replicated to the default PGP key server and to either immutable (if @immutable) or mutable data. Return {'status': True, 'key_url': key_url, 'key_id': key fingerprint, ...} on success Return {'error': ...} ...
"Put a local GPG key into a blockchain ID's global account.\n If the URL is not given, the key will be replicated to the default PGP key server and to either immutable (if @immutable) or mutable data.\n\n Return {'status': True, 'key_url': key_url, 'key_id': key fingerprint, ...} on success\n Return {'error': ...
54
false
blockstack-packages/blockstack-gpg
gpg_profile_put_key
37,790
LDU_FT/neo4j/neo4j-python-driver/value
LDU_FT
[ "<BEGIN>\n## `basic_auth`", "Generate a basic auth token for a given user and password.", " :param user: user name\n :param password: current password\n :param realm: specifies the authentication provider\n :return: auth token for use with :meth:`GraphDatabase.driver`\n<END>", "<BEGIN>\n## `custom...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the value API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the value API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Return the remainder of the result as a list of values. :param item: field to return for each remaining record :param default: default value, used if the index of key is unavailable :returns: list of individual values
"Return the remainder of the result as a list of values.\n\n :param item: field to return for each remaining record\n :param default: default value, used if the index of key is unavailable\n :returns: list of individual values"
133
false
neo4j/neo4j-python-driver
value
37,791
LDU_FT/siznax/wptools/_set_sitevisitors
LDU_FT
[ "<BEGIN>\n## `_add_members`", "Adds category members and subcategories to data\n<END>", "<BEGIN>\n## `_set_data`", "Set category member data from API response\n<END>", "<BEGIN>\n## `get_members`", "GET Mediawiki:API (action=query) category members\n https://www.mediawiki.org/wiki/API:Categorymember...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _set_sitevisitors API. 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_sitevisitors API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
capture API pageview/visitor data in data attribute
"capture API pageview/visitor data in data attribute"
179
false
siznax/wptools
_set_sitevisitors
37,792
LDU_FT/bachya/regenmaschine/_request
LDU_FT
[ "<BEGIN>\n## `upcoming`", "Return watering statistics for the next 6 days.\n<END>", "<BEGIN>\n## `_raise_for_remote_status`", "Raise an error from the remote API if necessary.\n<END>", "<BEGIN>\n## `login`", "Authenticate against a RainMachine device.\n<END>", "<BEGIN>\n## `_request`", "Make a request...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _request API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _request API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Make a request against the RainMachine device.
"Make a request against the RainMachine device."
22
false
bachya/regenmaschine
_request
37,793
LDU_FT/vallis/libstempo/get_coupled_ecc_eqns
LDU_FT
[ "<BEGIN>\n## `calczeta`", "Calculate the angular separation between position (phi1, theta1) and\n (phi2, theta2)\n<END>", "<BEGIN>\n## `dlmk`", "returns value of d^l_mk as defined in allen, ottewill 97.\n Called by Dlmk\n<END>", "<BEGIN>\n## `Dlmk`", "returns value of D^l_mk as defined in allen, ott...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_coupled_ecc_eqns 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_coupled_ecc_eqns API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Computes the coupled system of differential equations from Peters (1964) and Barack & Cutler (2004). This is a system of three variables: F: Orbital frequency [Hz] e: Orbital eccentricity gamma: Angle of precession of periastron [rad] phase0: Orbital phase [rad] :param y: Vector of...
"Computes the coupled system of differential\n equations from Peters (1964) and Barack &\n Cutler (2004). This is a system of three variables:\n \n F: Orbital frequency [Hz]\n e: Orbital eccentricity\n gamma: Angle of precession of periastron [rad]\n phase0: Orbital phase [rad]\n \n :param y:...
160
false
vallis/libstempo
get_coupled_ecc_eqns
37,794
LDU_FT/roll/interest-py/debug
LDU_FT
[ "<BEGIN>\n## `match`", "Return match or None for the request/constraints pair.", " Parameters\n ----------\n request: :class:`.http.Request`\n Request instance.\n root: str\n HTTP path root.\n path: str\n HTTP path.\n methods: list\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the debug API. 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 debug API. 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...
Log debug event. Compatible with logging.debug signature.
"Log debug event.\n\n Compatible with logging.debug signature."
38
false
roll/interest-py
debug
37,795
LDU_FT/inveniosoftware-attic/invenio-comments/perform_request_report
LDU_FT
[ "<BEGIN>\n## `perform_request_display_comments_or_remarks`", "Returns all the comments (reviews) of a specific internal record or external basket record.\n :param recID: record id where (internal record IDs > 0) or (external basket record IDs < -100)\n :param display_order: hh = highest helpful score...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the perform_request_report 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 perform_request_report API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Report a comment/review for inappropriate content. Will send an email to the administrator if number of reports is a multiple of CFG_WEBCOMMENT_NB_REPORTS_BEFORE_SEND_EMAIL_TO_ADMIN :param cmt_id: comment id :return: integer 1 if successful, integer 0 if not. -2 if comment does not exist
"Report a comment/review for inappropriate content.\n\n Will send an email to the administrator if number of reports is a multiple\n of CFG_WEBCOMMENT_NB_REPORTS_BEFORE_SEND_EMAIL_TO_ADMIN\n\n :param cmt_id: comment id\n :return: integer 1 if successful, integer 0 if not. -2 if comment does not exist"
123
false
inveniosoftware-attic/invenio-comments
perform_request_report
37,796
LDU_FT/RI-imaging/qpsphere/load_field
LDU_FT
[ "<BEGIN>\n## `interpolate_grid`", "Return the 2D field averaged radially w.r.t. the center\n<END>", "<BEGIN>\n## `rytov`", "Field behind a dielectric sphere in the Rytov approximation", " Parameters\n ----------\n radius: float\n Radius of the sphere [m]\n sphere_index: float\n Ref...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_field API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_field API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Extract electric field from simulation file "V_0Ereim.dat" Parameters ---------- wdir: str or pathlib.Path path to the working directory shape_grid: tuple of ints the shape of the simulation data grid Notes ----- These are the files present in the working directory bhf...
"Extract electric field from simulation file \"V_0Ereim.dat\"\n\n Parameters\n ----------\n wdir: str or pathlib.Path\n path to the working directory\n shape_grid: tuple of ints\n the shape of the simulation data grid\n\n Notes\n -----\n These are the files present in the working dire...
179
false
RI-imaging/qpsphere
load_field
37,797
LDU_FT/srsudar/eg/get_substituted_contents
LDU_FT
[ "<BEGIN>\n## `inform_if_paths_invalid`", "If egrc_path, examples_dir, or custom_dir is truthy and debug is True,\n informs the user that a path is not set.", " This should be used to verify input arguments from the command line.\n<END>", "<BEGIN>\n## `get_egrc_config`", "Return a Config namedtuple bas...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_substituted_contents 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 get_substituted_contents API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Perform a list of substitutions and return the result. contents: the starting string on which to beging substitutions substitutions: list of Substitution objects to call, in order, with the result of the previous substitution.
"Perform a list of substitutions and return the result.\n\n contents: the starting string on which to beging substitutions\n substitutions: list of Substitution objects to call, in order, with the\n result of the previous substitution."
77
false
srsudar/eg
get_substituted_contents
37,798
LDU_FT/cuducos/getgist/create
LDU_FT
[ "<BEGIN>\n## `run_getgist`", "Passes user inputs to GetGist() and calls get()\n<END>", "<BEGIN>\n## `run_getmy`", "Shortcut for run_getgist() reading username from env var\n<END>", "<BEGIN>\n## `run_putgist`", "Passes user inputs to GetGist() and calls put()\n<END>", "<BEGIN>\n## `get`", "Reads the re...
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 gist. :param gist: (dict) gist parsed by GitHubTools._parse() :param content: (str or bytes) to be written :param public: (bool) defines if the gist is public or private :return: (bool) indicatind the success or failure of the creation
"Create a new gist.\n :param gist: (dict) gist parsed by GitHubTools._parse()\n :param content: (str or bytes) to be written\n :param public: (bool) defines if the gist is public or private\n :return: (bool) indicatind the success or failure of the creation"
44
false
cuducos/getgist
create
37,799
LDU_FT/jasonlaska/spherecluster/_sample_orthonormal_to
LDU_FT
[ "<BEGIN>\n## `sample_vMF`", "Generate num_samples N-dimensional samples from von Mises Fisher\n distribution around center mu \\in R^N with concentration kappa.\n<END>", "<BEGIN>\n## `_sample_weight`", "Rejection sampling scheme for sampling distance from center on\n surface of the sphere.\n<END>", "<...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _sample_orthonormal_to 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 _sample_orthonormal_to API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Sample point on sphere orthogonal to mu.
"Sample point on sphere orthogonal to mu."
93
false
jasonlaska/spherecluster
_sample_orthonormal_to
37,800
LDU_FT/stephenmcd/hot-redis/op_right
LDU_FT
[ "<BEGIN>\n## `transaction`", "Swaps out the current client with a pipeline instance,\n so that each Redis method call inside the context will be\n pipelined. Once the context is exited, we execute the pipeline.\n<END>", "<BEGIN>\n## `_get_lua_path`", "Joins the given name with the relative path of the m...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the op_right API. 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 op_right API. 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 type instance method for the given operator, applied when the instance appears on the right side of the expression.
"Returns a type instance method for the given operator, applied\n when the instance appears on the right side of the expression."
18
false
stephenmcd/hot-redis
op_right
37,801
LDU_FT/pallets/werkzeug/get_default_redirect
LDU_FT
[ "<BEGIN>\n## `mimetype`", "The mimetype (content type without charset etc.)\n<END>", "<BEGIN>\n## `mimetype_params`", "The mimetype parameters as dict. For example if the\n content type is ``text/html; charset=utf-8`` the params would be\n ``{'charset': 'utf-8'}``.", " .. versionadded::...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_default_redirect 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_default_redirect API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
A helper that returns the URL to redirect to if it finds one. This is used for default redirecting only. :internal:
"A helper that returns the URL to redirect to if it finds one.\n This is used for default redirecting only.\n\n :internal:"
541
false
pallets/werkzeug
get_default_redirect
37,802
LDU_FT/pedroburon/tbk/create_commerce
LDU_FT
[ "<BEGIN>\n## `token`", "Token given by Transbank for payment initialization url.", " Will raise PaymentError when an error ocurred.\n<END>", "<BEGIN>\n## `transaction_id`", "Transaction ID for Transbank, a secure random int between 0 and 999999999.\n<END>", "<BEGIN>\n## `event_payment`", "Record ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_commerce API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_commerce API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Creates commerce from environment variables ``TBK_COMMERCE_ID``, ``TBK_COMMERCE_KEY`` or for testing purposes ``TBK_COMMERCE_TESTING``.
"Creates commerce from environment variables ``TBK_COMMERCE_ID``, ``TBK_COMMERCE_KEY``\n or for testing purposes ``TBK_COMMERCE_TESTING``."
25
false
pedroburon/tbk
create_commerce
37,803
LDU_FT/muckamuck/stackility/start_upsert
LDU_FT
[ "<BEGIN>\n## `_init_boto3_clients`", "The utililty requires boto3 clients to CloudFormation.", " Args:\n None", " Returns:\n Good or Bad; True or False\n<END>", "<BEGIN>\n## `determine_drift`", "Determine the drift of the stack.", " Args:\n None", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start_upsert API. 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 start_upsert API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Helper function to facilitate upsert. Args: ini_date - the dictionary of info to run upsert Exit: 0 - good 1 - bad
"Helper function to facilitate upsert.\n\n Args:\n ini_date - the dictionary of info to run upsert\n\n Exit:\n 0 - good\n 1 - bad"
89
false
muckamuck/stackility
start_upsert
37,804
LDU_FT/openvax/isovar/left_overlaps
LDU_FT
[ "<BEGIN>\n## `initial_variant_sequences_from_reads`", "Get all unique sequences from reads spanning a variant locus. This will\n include partial sequences due to reads starting in the middle of the\n sequence around around a variant.\n<END>", "<BEGIN>\n## `trim_variant_sequences`", "Trim VariantSequence...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the left_overlaps API. 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 left_overlaps API. 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...
Does this VariantSequence overlap another on the left side?
"Does this VariantSequence overlap another on the left side?"
333
false
openvax/isovar
left_overlaps
37,805
LDU_FT/moderngl/moderngl/sampler
LDU_FT
[ "<BEGIN>\n## `render`", "The render primitive (mode) must be the same as\n the input primitive of the GeometryShader.", " Args:\n mode (int): By default :py:data:`TRIANGLES` will be used.\n vertices (int): The number of vertices to transform.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sampler API. 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 sampler API. 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 :py:class:`Sampler` object. Keyword Arguments: repeat_x (bool): Repeat texture on x repeat_y (bool): Repeat texture on y repeat_z (bool): Repeat texture on z filter (tuple): The min and max filter anisotropy (float): N...
"Create a :py:class:`Sampler` object.\n\n Keyword Arguments:\n repeat_x (bool): Repeat texture on x\n repeat_y (bool): Repeat texture on y\n repeat_z (bool): Repeat texture on z\n filter (tuple): The min and max filter\n anisotropy (f...
263
false
moderngl/moderngl
sampler
37,806
LDU_FT/zero-os/0-core/spindown
LDU_FT
[ "<BEGIN>\n## `stdout`", "The job stdout\n :return: string or None\n<END>", "<BEGIN>\n## `stderr`", "The job stderr\n :return: string or None\n<END>", "<BEGIN>\n## `exists`", "Returns true if the job is still running or zero-os still knows about this job ID", " After a job is finishe...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the spindown API. 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 spindown API. 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...
Spindown a disk :param disk str: Full path to a disk like /dev/sda :param spindown int: spindown value should be in [1, 240]
"Spindown a disk\n :param disk str: Full path to a disk like /dev/sda\n :param spindown int: spindown value should be in [1, 240]"
236
false
zero-os/0-core
spindown
37,807
LDU_FT/Julian/jsonschema/types_msg
LDU_FT
[ "<BEGIN>\n## `load_schema`", "Load a schema from ./schemas/``name``.json and return it.\n<END>", "<BEGIN>\n## `find_additional_properties`", "Return the set of additional properties for the given ``instance``.", " Weeds out properties that should have been validated by ``properties`` and\n / or ``patt...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the types_msg API. 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 types_msg API. 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...
Create an error message for a failure to match the given types. If the ``instance`` is an object and contains a ``name`` property, it will be considered to be a description of that object and used as its type. Otherwise the message is simply the reprs of the given ``types``.
"Create an error message for a failure to match the given types.\n\n If the ``instance`` is an object and contains a ``name`` property, it will\n be considered to be a description of that object and used as its type.\n\n Otherwise the message is simply the reprs of the given ``types``."
181
false
Julian/jsonschema
types_msg
37,808
LDU_FT/StanfordVL/robosuite/_compute_orientation
LDU_FT
[ "<BEGIN>\n## `clear_objects`", "Clears objects with name @obj out of the task space. This is useful\n for supporting task modes with single types of objects, as in\n @self.single_object_mode without changing the model definition.\n<END>", "<BEGIN>\n## `staged_rewards`", "Returns staged rewards b...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _compute_orientation API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _compute_orientation API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Helper function to return the relative positions between the hole and the peg. In particular, the intersection of the line defined by the peg and the plane defined by the hole is computed; the parallel distance, perpendicular distance, and angle are returned.
"Helper function to return the relative positions between the hole and the peg.\n In particular, the intersection of the line defined by the peg and the plane\n defined by the hole is computed; the parallel distance, perpendicular distance,\n and angle are returned."
354
false
StanfordVL/robosuite
_compute_orientation
37,809
LDU_FT/ResidentMario/geoplot/aggplot
LDU_FT
[ "<BEGIN>\n## `load`", "A moderately mind-bendy meta-method which abstracts the internals of individual projections' load procedures.", " Parameters\n ----------\n proj : geoplot.crs object instance\n A disguised reference to ``self``.\n df : GeoDataFrame\n The G...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the aggplot API. 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 aggplot API. 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...
Self-aggregating quadtree plot. Parameters ---------- df : GeoDataFrame The data being plotted. projection : geoplot.crs object instance, optional A geographic projection. For more information refer to `the tutorial page on projections <https://nbviewer.jupyter.org/github/Reside...
"Self-aggregating quadtree plot.\n\n Parameters\n ----------\n df : GeoDataFrame\n The data being plotted.\n projection : geoplot.crs object instance, optional\n A geographic projection. For more information refer to `the tutorial page on projections\n <https://nbviewer.jupyter.org/gith...
404
false
ResidentMario/geoplot
aggplot
37,810
LDU_FT/mbi/django-rosetta/ref_lang_po_file
LDU_FT
[ "<BEGIN>\n## `timestamp_with_timezone`", "Return a timestamp with a timezone for the configured locale. If all else\n fails, consider localtime to be UTC.\n<END>", "<BEGIN>\n## `find_pos`", "scans a couple possible repositories of gettext catalogs for the given\n language code\n<END>", "<BEGIN>\n## `...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ref_lang_po_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 ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ref_lang_po_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 ...
Return a parsed .po file object for the "reference language", if one exists, otherwise None.
"Return a parsed .po file object for the \"reference language\", if one\n exists, otherwise None."
31
false
mbi/django-rosetta
ref_lang_po_file
37,811
LDU_FT/inspirehep/inspire-query-parser/visit_partial_match_value
LDU_FT
[ "<BEGIN>\n## `_restructure_if_volume_follows_journal`", "Remove volume node if it follows a journal logically in the tree hierarchy.", " Args:\n left (ast.ASTElement): The journal KeywordOp node.\n right (ast.ASTElement): The rest of the tree to be restructured.", " Return:\n (ast.A...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the visit_partial_match_value API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the visit_partial_match_value API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Generates a query which looks for a substring of the node's value in the given fieldname.
"Generates a query which looks for a substring of the node's value in the given fieldname."
142
false
inspirehep/inspire-query-parser
visit_partial_match_value
37,812
LDU_FT/openwisp/netdiff/parse
LDU_FT
[ "<BEGIN>\n## `parse`", "Converts a NetJSON 'NetworkGraph' object\n to a NetworkX Graph object,which is then returned.\n Additionally checks for protocol version, revision and metric.\n<END>", "<BEGIN>\n## `parse`", "Converts a OpenVPN JSON to a NetworkX Graph object\n which is then return...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Converts a NetJSON 'NetworkGraph' object to a NetworkX Graph object,which is then returned. Additionally checks for protocol version, revision and metric.
"Converts a NetJSON 'NetworkGraph' object\n to a NetworkX Graph object,which is then returned.\n Additionally checks for protocol version, revision and metric."
30
false
openwisp/netdiff
parse
37,813
LDU_FT/DataBiosphere/toil/parseMemory
LDU_FT
[ "<BEGIN>\n## `html_page_context`", "Event handler for the html-page-context signal.\n Modifies the context directly.\n - Replaces the 'toc' value created by the HTML builder with one\n that shows all document titles and the local table of contents.\n - Sets display_toc to True so the table of con...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parseMemory API. 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 parseMemory API. 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...
Returns EC2 'memory' string as a float. Format should always be '#' GiB (example: '244 GiB' or '1,952 GiB'). Amazon loves to put commas in their numbers, so we have to accommodate that. If the syntax ever changes, this will raise. :param memAttribute: EC2 JSON memory param string. :return: A float...
"Returns EC2 'memory' string as a float.\n\n Format should always be '#' GiB (example: '244 GiB' or '1,952 GiB').\n Amazon loves to put commas in their numbers, so we have to accommodate that.\n If the syntax ever changes, this will raise.\n\n :param memAttribute: EC2 JSON memory param string.\n :return:...
1,322
true
DataBiosphere/toil
parseMemory
37,814
LDU_FT/ninuxorg/nodeshot/get_serializer
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 get_serializer API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_serializer API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Return the serializer instance that should be used for validating and deserializing input, and for serializing output.
"Return the serializer instance that should be used for validating and\n deserializing input, and for serializing output."
261
false
ninuxorg/nodeshot
get_serializer
37,815
LDU_FT/Cog-Creators/Red-Lavalink/get_tracks
LDU_FT
[ "<BEGIN>\n## `wait_until_ready`", "Waits for the underlying node to become ready.", " If no_raise is set, returns false when a timeout occurs instead of propogating TimeoutError.\n A timeout of None means to wait indefinitely.\n<END>", "<BEGIN>\n## `connect`", "Connects to the voice channel as...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_tracks API. 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_tracks API. 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...
Gets tracks from lavalink. Parameters ---------- query : str Returns ------- Tuple[Track, ...]
"Gets tracks from lavalink.\n\n Parameters\n ----------\n query : str\n\n Returns\n -------\n Tuple[Track, ...]"
103
false
Cog-Creators/Red-Lavalink
get_tracks
37,816
LDU_FT/dingusdk/PythonIhcSdk/authenticate
LDU_FT
[ "<BEGIN>\n## `authenticate`", "Authenticate and enable the registered notifications\n<END>", "<BEGIN>\n## `get_runtime_value`", "Get runtime value with re-authenticate if needed\n<END>", "<BEGIN>\n## `set_runtime_value_bool`", "Set bool runtime value with re-authenticate if needed\n<END>", "<BEGIN>\n## ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the authenticate API. 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 authenticate API. 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...
Authenticate and enable the registered notifications
"Authenticate and enable the registered notifications"
28
false
dingusdk/PythonIhcSdk
authenticate
37,817
LDU_FT/trustar/trustar-python/_get_indicators_for_report_page_generator
LDU_FT
[ "<BEGIN>\n## `from_dict`", "Create an indicator object from a dictionary.", " :param indicator: The dictionary.\n :return: The indicator object.\n<END>", "<BEGIN>\n## `to_dict`", "Creates a dictionary representation of the indicator.", " :param remove_nones: Whether ``None`` values sh...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_indicators_for_report_page_generator API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indica...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_indicators_for_report_page_generator API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indica...
Creates a generator from the |get_indicators_for_report_page| method that returns each successive page. :param str report_id: The ID of the report to get indicators for. :param int start_page: The page to start on. :param int page_size: The size of each page. :return: The generator.
"Creates a generator from the |get_indicators_for_report_page| method that returns each successive page.\n\n :param str report_id: The ID of the report to get indicators for.\n :param int start_page: The page to start on.\n :param int page_size: The size of each page.\n :return: The generato...
243
false
trustar/trustar-python
_get_indicators_for_report_page_generator
37,818
LDU_FT/stormpath/stormpath-django/get_default_is_active
LDU_FT
[ "<BEGIN>\n## `clean_email`", "Check if email exists on Stormpath.", " The email address is unique across all Stormpath applications.\n The username is only unique within a Stormpath application.\n<END>", "<BEGIN>\n## `create_provider_directory`", "Helper function for creating a provider direct...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_default_is_active 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_default_is_active API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Stormpath user is active by default if e-mail verification is disabled.
"Stormpath user is active by default if e-mail verification is\n disabled."
25
false
stormpath/stormpath-django
get_default_is_active
37,819
LDU_FT/expfactory/expfactory/finish_user
LDU_FT
[ "<BEGIN>\n## `get_experiments`", "get_experiments will return loaded json for all valid experiments from an experiment folder\n :param base: full path to the base folder with experiments inside\n :param load: if True, returns a list of loaded config.json objects. If False (default) returns the paths to the ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the finish_user API. 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 finish_user API. 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...
finish user will remove a user's token, making the user entry not accesible if running in headless model
"finish user will remove a user's token, making the user entry not\n accesible if running in headless model"
128
false
expfactory/expfactory
finish_user
37,820
LDU_FT/wandb/client/load_extra_vi_page_navigation_bindings
LDU_FT
[ "<BEGIN>\n## `load_emacs_open_in_editor_bindings`", "Pressing C-X C-E will open the buffer in an external editor.\n<END>", "<BEGIN>\n## `load_extra_emacs_page_navigation_bindings`", "Key bindings, for scrolling up and down through pages.\n This are separate bindings, because GNU readline doesn't have them....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_extra_vi_page_navigation_bindings 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 load_extra_vi_page_navigation_bindings API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates...
Key bindings, for scrolling up and down through pages. This are separate bindings, because GNU readline doesn't have them.
"Key bindings, for scrolling up and down through pages.\n This are separate bindings, because GNU readline doesn't have them."
1,104
true
wandb/client
load_extra_vi_page_navigation_bindings
37,821
LDU_FT/datajoint/datajoint-python/in_transaction
LDU_FT
[ "<BEGIN>\n## `is_foreign_key`", ":param line: a line from the table definition\n :return: true if the line appears to be a foreign key definition\n<END>", "<BEGIN>\n## `compile_foreign_key`", ":param line: a line from a table definition\n :param context: namespace containing referenced objects\n :par...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the in_transaction API. 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 in_transaction API. 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 there is an open transaction.
":return: True if there is an open transaction."
198
false
datajoint/datajoint-python
in_transaction
37,822
LDU_FT/ramses-tech/nefertari/check_aggregations_privacy
LDU_FT
[ "<BEGIN>\n## `_import_public_names`", "Import public names from module into this module, like import *\n<END>", "<BEGIN>\n## `encrypt_password`", "Crypt :new_value: if it's not crypted yet.\n<END>", "<BEGIN>\n## `create_apikey_model`", "Generate ApiKey model class and connect it with :user_model:.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_aggregations_privacy API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_aggregations_privacy API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
Check per-field privacy rules in aggregations. Privacy is checked by making sure user has access to the fields used in aggregations.
"Check per-field privacy rules in aggregations.\n\n Privacy is checked by making sure user has access to the fields\n used in aggregations."
226
false
ramses-tech/nefertari
check_aggregations_privacy
37,823
LDU_FT/HdrHistogram/HdrHistogram_py/values_are_equivalent
LDU_FT
[ "<BEGIN>\n## `init_counts`", "Called after instantiating with a compressed payload\n Params:\n counts_len counts size to use based on decoded settings in the header\n<END>", "<BEGIN>\n## `_decompress`", "Decompress a compressed payload into this payload wrapper.\n Note that the decomp...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the values_are_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. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the values_are_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. ...
Check whether 2 values are equivalent (meaning they are in the same bucket/range) Returns: true if the 2 values are equivalent
"Check whether 2 values are equivalent (meaning they\n are in the same bucket/range)\n\n Returns:\n true if the 2 values are equivalent"
71
false
HdrHistogram/HdrHistogram_py
values_are_equivalent
37,824
LDU_FT/hmmlearn/hmmlearn/decode
LDU_FT
[ "<BEGIN>\n## `log_multivariate_normal_density`", "Compute the log probability under a multivariate Gaussian distribution.\n Parameters\n ----------\n X : array_like, shape (n_samples, n_features)\n List of n_features-dimensional data points. Each row corresponds to a\n single data point.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decode API. 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 decode API. 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 most likely state sequence corresponding to ``X``. Parameters ---------- X : array-like, shape (n_samples, n_features) Feature matrix of individual samples. lengths : array-like of integers, shape (n_sequences, ), optional Lengths of the individual sequence...
"Find most likely state sequence corresponding to ``X``.\n\n Parameters\n ----------\n X : array-like, shape (n_samples, n_features)\n Feature matrix of individual samples.\n\n lengths : array-like of integers, shape (n_sequences, ), optional\n Lengths of the individual...
108
false
hmmlearn/hmmlearn
decode
37,825
LDU_FT/ECESeniorDesign/lazy_record/order_by
LDU_FT
[ "<BEGIN>\n## `does_not_mutate`", "Prevents methods from mutating the receiver\n<END>", "<BEGIN>\n## `find_by`", "Find first record subject to restrictions in +kwargs+, raising\n RecordNotFound if no such record exists.\n<END>", "<BEGIN>\n## `first`", "Returns the first record in the query (sorting ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the order_by API. 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 order_by API. 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...
Analog to SQL "ORDER BY". +kwargs+ should only contain one item. examples) NO: repo.order_by() NO: repo.order_by(id="desc", name="asc") YES: repo.order_by(id="asc)
"Analog to SQL \"ORDER BY\". +kwargs+ should only contain one item.\n\n examples)\n\n NO: repo.order_by()\n NO: repo.order_by(id=\"desc\", name=\"asc\")\n\n YES: repo.order_by(id=\"asc)"
78
false
ECESeniorDesign/lazy_record
order_by
37,826
LDU_FT/soasme/rio/dispatch_webhook_request
LDU_FT
[ "<BEGIN>\n## `urlopen`", "A slightly safer version of ``urlib2.urlopen`` which prevents redirection\n and ensures the URL isn't attempting to hit a blacklisted IP range.\n<END>", "<BEGIN>\n## `extract_response`", "Extract requests response object.", " only extract those status_code in [200, 300).", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dispatch_webhook_request 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 dispatch_webhook_request API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Task dispatching to an URL. :param url: The URL location of the HTTP callback task. :param method: Method to use when dispatching the callback. Usually `GET` or `POST`. :param params: Keyword arguments to pass on to the HTTP callback. :param json: JSON as body to pass on to the POST HTTP callba...
"Task dispatching to an URL.\n\n :param url: The URL location of the HTTP callback task.\n :param method: Method to use when dispatching the callback. Usually\n `GET` or `POST`.\n :param params: Keyword arguments to pass on to the HTTP callback.\n :param json: JSON as body to pass on to the POST HTTP...
88
false
soasme/rio
dispatch_webhook_request
37,827
LDU_FT/jasonlaska/spherecluster/_log_H_asymptotic
LDU_FT
[ "<BEGIN>\n## `sample_vMF`", "Generate num_samples N-dimensional samples from von Mises Fisher\n distribution around center mu \\in R^N with concentration kappa.\n<END>", "<BEGIN>\n## `_sample_weight`", "Rejection sampling scheme for sampling distance from center on\n surface of the sphere.\n<END>", "<...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _log_H_asymptotic API. 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 _log_H_asymptotic API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Compute the Amos-type upper bound asymptotic approximation on H where log(H_\nu)(\kappa) = \int_0^\kappa R_\nu(t) dt. See "lH_asymptotic <-" in movMF.R and utility function implementation notes from https://cran.r-project.org/web/packages/movMF/index.html
"Compute the Amos-type upper bound asymptotic approximation on H where\n log(H_\\nu)(\\kappa) = \\int_0^\\kappa R_\\nu(t) dt.\n\n See \"lH_asymptotic <-\" in movMF.R and utility function implementation notes\n from https://cran.r-project.org/web/packages/movMF/index.html"
93
false
jasonlaska/spherecluster
_log_H_asymptotic
37,828
LDU_FT/basecrm/basecrm-python/list
LDU_FT
[ "<BEGIN>\n## `post`", "Send a POST request.", " :param str url: Sub URL for the request. You MUST not specify neither base url nor api version prefix.\n :param dict body: (optional) Dictionary of body attributes that will be wrapped with envelope and json encoded.\n :param dict **kwargs: (o...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Retrieve visits Returns Visits, according to the parameters provided :calls: ``get /visits`` :param dict params: (optional) Search options. :return: List of dictionaries that support attriubte-style access, which represent collection of Visits. :rtype: list
"Retrieve visits\n\n Returns Visits, according to the parameters provided\n\n :calls: ``get /visits``\n :param dict params: (optional) Search options.\n :return: List of dictionaries that support attriubte-style access, which represent collection of Visits.\n :rtype: list"
216
false
basecrm/basecrm-python
list
37,829
LDU_FT/tapilab/brandelion/vectorize
LDU_FT
[ "<BEGIN>\n## `parse_json`", "Yield screen_name, text tuples from a json file.\n<END>", "<BEGIN>\n## `extract_tweets`", "Yield screen_name, string tuples, where the string is the\n concatenation of all tweets of this user.\n<END>", "<BEGIN>\n## `preprocess`", ">>> preprocess('#hi there http://www.foo.co...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the vectorize API. 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 vectorize API. 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...
Return a matrix where each row corresponds to a Twitter account, and each column corresponds to the number of times a term is used by that account.
"Return a matrix where each row corresponds to a Twitter account, and\n each column corresponds to the number of times a term is used by that\n account."
47
false
tapilab/brandelion
vectorize
37,830
LDU_FT/p3trus/slave/scan_field
LDU_FT
[ "<BEGIN>\n## `_typelist`", "Helper function converting all items of x to instances.\n<END>", "<BEGIN>\n## `write`", "Generates and sends a command message unit.", " :param transport: An object implementing the `.Transport` interface.\n It is used by the protocol to send the message.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the scan_field API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the scan_field API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Performs a field scan. Measures until the target field is reached. :param measure: A callable called repeatedly until stability at the target field is reached. :param field: The target field in Oersted. .. note:: The conversion is 1 Oe = 0.1 mT. :param rate: T...
"Performs a field scan.\n\n Measures until the target field is reached.\n\n :param measure: A callable called repeatedly until stability at the\n target field is reached.\n :param field: The target field in Oersted.\n\n .. note:: The conversion is 1 Oe = 0.1 mT.\n\n :pa...
189
false
p3trus/slave
scan_field
37,831
LDU_FT/zrong/rookout/get_ftp
LDU_FT
[ "<BEGIN>\n## `copy_from_dict`", "从一个已经存在的 dict 中复制所有的值。", " :param adict: 被复制的 dict。\n :type adict: dict\n :param parent: 复制到哪个父对象。\n 若为 None 则复制到 self 。\n :type parent: rookout.PYConf\n<END>", "<BEGIN>\n## `dump`", "将自身内容打印成字符串", " :param bool hu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_ftp API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_ftp API. 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...
得到一个 已经打开的FTP 实例,和一个 ftp 路径。 :param dict ftp_conf: ftp配置文件,格式如下: >>> { >>> 'server':'127.0.0.1', >>> 'start_path':None, >>> 'user':'admin', >>> 'password':'123456', >>> } :returns: ftp, ftpserverstr :rtype: :class:`ftplib.FTP` , str
"得到一个 已经打开的FTP 实例,和一个 ftp 路径。\n\n :param dict ftp_conf: ftp配置文件,格式如下:\n \n >>> {\n >>> 'server':'127.0.0.1',\n >>> 'start_path':None,\n >>> 'user':'admin',\n >>> 'password':'123456',\n >>> }\n\n :returns: ftp, ftpserverstr\n :rtype: :class:`ftplib.FT...
77
false
zrong/rookout
get_ftp
37,832
LDU_FT/aetros/aetros-cli/add_embedding_word2vec
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 add_embedding_word2vec API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_embedding_word2vec API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Parse the word2vec file and extracts vectors as bytes and labels as TSV file. The format is simple: It's a UTF-8 encoded file, each word + vectors separated by new line. Vector is space separated. At the very first line might be dimensions, given as space separated value. Line 1: 2 4\n...
"Parse the word2vec file and extracts vectors as bytes and labels as TSV file.\n The format is simple: It's a UTF-8 encoded file, each word + vectors separated by new line.\n Vector is space separated.\n At the very first line might be dimensions, given as space separated value.\n\n\n Line 1...
183
false
aetros/aetros-cli
add_embedding_word2vec
37,833
LDU_FT/ttsteiger/cryptocompy/get_historical_data
LDU_FT
[ "<BEGIN>\n## `get_current_price`", "Get latest trading price or full trading information in display or raw \r\n\tformat for the specified FROM/TO currency pairs.\r", "\tArgs:\r\n\t\tfsyms: Single string or list of FROM symbols.\r\n\t\ttsyms: Single string or list of TO symbols.\r\n\t\te: Default returns average...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_historical_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_historical_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Get minute-by-minute historical price and volume information for the requested currency pair. Available data is limited to the last 7 days. Args: fsym: FROM symbol. tsym: TO symbol. freq: Frequency of the data. Can be set to 'minute', 'hour' or 'day'. info: Select price or volume information to retu...
"Get minute-by-minute historical price and volume information for \r\n\tthe requested currency pair. Available data is limited to the last 7 days.\r\n\t\r\n\tArgs:\r\n\t\tfsym: FROM symbol.\r\n\t\ttsym: TO symbol.\r\n\t\tfreq: Frequency of the data. Can be set to 'minute', 'hour' or 'day'.\r\n\t\tinfo: Select price or ...
76
false
ttsteiger/cryptocompy
get_historical_data
37,834
LDU_FT/axialmarket/fsq/done
LDU_FT
[ "<BEGIN>\n## `barf`", "Exit with a log message (usually a fatal error)\n<END>", "<BEGIN>\n## `done_item`", "Succeed or fail an item based on the return code of a program\n<END>", "<BEGIN>\n## `setenv`", "Set environment, based on item. Usually done in a baby fork\n<END>", "<BEGIN>\n## `shout`", "Log ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the done API. 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 done API. 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...
Construct a path to the done dir for a queue
"Construct a path to the done dir for a queue"
99
false
axialmarket/fsq
done
37,835
LDU_FT/PyAr/fades/_get_interpreter_info
LDU_FT
[ "<BEGIN>\n## `consolidate_dependencies`", "Parse files, get deps and merge them. Deps read later overwrite those read earlier.\n<END>", "<BEGIN>\n## `decide_child_program`", "Decide which the child program really is (if any).\n<END>", "<BEGIN>\n## `detect_inside_virtualenv`", "Tell if fades is running ins...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_interpreter_info API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_interpreter_info API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Return the interpreter's full path using pythonX.Y format.
"Return the interpreter's full path using pythonX.Y format."
85
false
PyAr/fades
_get_interpreter_info
37,836
LDU_FT/DataMedSci/beprof/change_domain
LDU_FT
[ "<BEGIN>\n## `x_at_y`", "Calculates inverse profile - for given y returns x such that f(x) = y\n If given y is not found in the self.y, then interpolation is used.\n By default returns first result looking from left,\n if reverse argument set to True,\n looks from right. If y is outsid...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the change_domain API. 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 change_domain API. 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...
Creating new Curve object in memory with domain passed as a parameter. New domain must include in the original domain. Copies values from original curve and uses interpolation to calculate values for new points in domain. Calculate y - values of example curve with changed domain: ...
"Creating new Curve object in memory with domain passed as a parameter.\n New domain must include in the original domain.\n Copies values from original curve and uses interpolation to calculate\n values for new points in domain.\n\n Calculate y - values of example curve with changed domain:\...
49
false
DataMedSci/beprof
change_domain
37,837
LDU_FT/webadmin87/midnight/param_value
LDU_FT
[ "<BEGIN>\n## `show_menu`", "Тег для подключения меню", " Пример использования::", " {% show_menu 'menu_slug' 2 class='menu-class' %}", " :param context: контекст шаблона\n :param slug: символьный код родительского пункта меню\n :param level: максимальный уровень вложенности\n :param kw...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the param_value API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the param_value API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Отображает значение параметра товара Пример использования:: {% param_value item.paramvalue_set.all "producer" %} :param param_values: список значений параметров :param slug: символьный код параметра :return:
"Отображает значение параметра товара\n\n Пример использования::\n\n {% param_value item.paramvalue_set.all \"producer\" %}\n\n :param param_values: список значений параметров\n :param slug: символьный код параметра\n :return:"
84
false
webadmin87/midnight
param_value
37,838
LDU_FT/python-wink/python-wink/set_away
LDU_FT
[ "<BEGIN>\n## `set_mode`", ":param mode: a str, one of [home, away, night]\n :return: nothing\n<END>", "<BEGIN>\n## `set_privacy`", ":param state: True or False\n :return: nothing\n<END>", "<BEGIN>\n## `_update_state_from_response`", ":param response_json: the json obj returned from query\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_away API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_away API. 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...
:param away: a boolean of true (away) or false ('home') :return nothing This function handles both ecobee and nest thermostats which use a different field for away/home status.
":param away: a boolean of true (away) or false ('home')\n :return nothing\n\n This function handles both ecobee and nest thermostats\n which use a different field for away/home status."
133
false
python-wink/python-wink
set_away
37,839
LDU_FT/tensorflow/skflow/_write_class_markdown_to_file
LDU_FT
[ "<BEGIN>\n## `collect_members`", "Collect all symbols from a list of modules.", " Args:\n module_to_name: Dictionary mapping modules to short names.", " Returns:\n Dictionary mapping name to (fullname, member) pairs.\n<END>", "<BEGIN>\n## `_get_anchor`", "Turn a full member name into an anchor.", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _write_class_markdown_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 conc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _write_class_markdown_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 conc...
Write the class doc to `f`. Args: f: File to write to. prefix: Prefix for names. cls: class object. name: name to use.
"Write the class doc to `f`.\n\n Args:\n f: File to write to.\n prefix: Prefix for names.\n cls: class object.\n name: name to use."
46
false
tensorflow/skflow
_write_class_markdown_to_file
37,840
LDU_FT/openeventdata/mordecai/query_geonames
LDU_FT
[ "<BEGIN>\n## `country_list_maker`", "Helper function to return dictionary of countries in {\"country\" : \"iso\"} form.\n<END>", "<BEGIN>\n## `make_skip_list`", "Return hand-defined list of place names to skip and not attempt to geolocate. If users would like to exclude\n country names, this would be the f...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the query_geonames API. 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 query_geonames API. 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...
Wrap search parameters into an elasticsearch query to the geonames index and return results. Parameters --------- conn: an elasticsearch Search conn, like the one returned by `setup_es()` placename: str the placename text extracted by NER system Returns ...
"Wrap search parameters into an elasticsearch query to the geonames index\n and return results.\n\n Parameters\n ---------\n conn: an elasticsearch Search conn, like the one returned by `setup_es()`\n\n placename: str\n the placename text extracted by NER system\n\n ...
110
false
openeventdata/mordecai
query_geonames
37,841
LDU_FT/davidwtbuxton/appengine.py/parse_args
LDU_FT
[ "<BEGIN>\n## `_extract_zip`", "Extract the ZipInfo object to a real file on the path targetpath.\n<END>", "<BEGIN>\n## `parse_args`", "Returns a tuple of (opts, args) for arguments.\n<END>", "<BEGIN>\n## `check_version`", "Returns the version string for the latest SDK.\n<END>", "<BEGIN>\n## `parse_sdk_n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_args API. 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 parse_args API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Returns a tuple of (opts, args) for arguments.
"Returns a tuple of (opts, args) for arguments."
13
false
davidwtbuxton/appengine.py
parse_args
37,842
LDU_FT/crs4/hl7apy/date_factory
LDU_FT
[ "<BEGIN>\n## `check_encoding_chars`", "Validate the given encoding chars", " :type encoding_chars: ``dict``\n :param encoding_chars: the encoding chars (see :func:`hl7apy.set_default_encoding_chars`)\n :raises: :exc:`hl7apy.exceptions.InvalidEncodingChars` if the given encoding chars are not valid\n<EN...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the date_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. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the date_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. The extr...
Creates a :class:`DT <hl7apy.base_datatypes.DT>` object The value in input must be a string parsable with :meth:`datetime.strptime`. The date format is chosen according to the length of the value as stated in this table: +-------+-----------+ |Length |Format | +=======+===========+ |4 ...
"Creates a :class:`DT <hl7apy.base_datatypes.DT>` object\n\n The value in input must be a string parsable with :meth:`datetime.strptime`.\n The date format is chosen according to the length of the value as stated in this table:\n\n +-------+-----------+\n |Length |Format |\n +=======+===========+\n ...
289
false
crs4/hl7apy
date_factory
37,843
LDU_FT/pneff/wsgiservice/_get_validation
LDU_FT
[ "<BEGIN>\n## `raise_201`", "Abort the current request with a 201 (Created) response code. Sets the\n Location header correctly. If the location does not start with a slash,\n the path of the current request is prepended.", " :param instance: Resource instance (used to access the response)\n :type in...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_validation API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_validation API. 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...
Return the correct validations dictionary for this parameter. First checks the method itself and then its class. If no validation is defined for this parameter, None is returned. :param method: A function to get the validation information from. :type method: Python function :par...
"Return the correct validations dictionary for this parameter.\n First checks the method itself and then its class. If no validation is\n defined for this parameter, None is returned.\n\n :param method: A function to get the validation information from.\n :type method: Python function\n ...
156
false
pneff/wsgiservice
_get_validation
37,844
LDU_FT/naphatkrit/click-extensions/private_dir_path
LDU_FT
[ "<BEGIN>\n## `private_dir_path`", "Returns the private directory path", " :param str app_name: the name of the app", " :rtype: str\n :returns: directory path\n<END>", "<BEGIN>\n## `ensure_private_dir_exists`", "Ensures that the private directory exists and is a directory.", " :param str app_...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the private_dir_path API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the private_dir_path API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Returns the private directory path :param str app_name: the name of the app :rtype: str :returns: directory path
"Returns the private directory path\n\n :param str app_name: the name of the app\n\n :rtype: str\n :returns: directory path"
25
false
naphatkrit/click-extensions
private_dir_path
37,845
LDU_FT/nccgroup/Scout2/format_listall_output
LDU_FT
[ "<BEGIN>\n## `get_keys`", "Copies the value of keys from source object to dest object", " :param src:\n :param dst:\n :param keys:\n :return:\n<END>", "<BEGIN>\n## `no_camel`", "Converts CamelCase to camel_case", " :param name:\n :return:\n<END>", "<BEGIN>\n## `is_throttled`", "Deter...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format_listall_output 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_listall_output API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Prepare listall output template :param format_file: :param format_item_dir: :param format: :param config: :param option_prefix: :param template: :param skip_options: :return:
"Prepare listall output template\n\n :param format_file:\n :param format_item_dir:\n :param format:\n :param config:\n :param option_prefix:\n :param template:\n :param skip_options:\n :return:"
166
false
nccgroup/Scout2
format_listall_output
37,846
LDU_FT/miquelo/resort/post
LDU_FT
[ "<BEGIN>\n## `insert`", "Build the project.", "\t\t:param resort.engine.execution.Context context:\n\t\t Current execution context.\n<END>", "<BEGIN>\n## `load`", "Load the profile with the given name.", "\t\t:param str prof_name:\n\t\t Profile name.\n\t\t:rtype:\n\t\t ProfileStub\n\t\t:return:\n\t\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the post API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the post API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Post operation. :param str res_path: Resource path. :param list data: Request parameters for data. :param list files: Request parameters for files. :param float timeout: Timeout in seconds. :rtype: tuple :return: Tuple with status code and response body.
"Post operation.\n\t\t\n\t\t:param str res_path:\n\t\t Resource path.\n\t\t:param list data:\n\t\t Request parameters for data.\n\t\t:param list files:\n\t\t Request parameters for files.\n\t\t:param float timeout:\n\t\t Timeout in seconds.\n\t\t:rtype:\n\t\t tuple\n\t\t:return:\n\t\t Tuple with status code...
125
false
miquelo/resort
post
37,847
LDU_FT/sanoma/django-arctic/get_all_fields
LDU_FT
[ "<BEGIN>\n## `get_all_fields`", "Returns a list of all field names on the instance.\n<END>", "<BEGIN>\n## `query_string_ordering`", "Add ordering param to the given query string\n :param context: template context\n :param value: examples would be '-id' or 'id'. A minus indicates that the\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_all_fields API. 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_all_fields API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Returns a list of all field names on the instance.
"Returns a list of all field names on the instance."
85
false
sanoma/django-arctic
get_all_fields
37,848
LDU_FT/edx/pa11ycrawler/main
LDU_FT
[ "<BEGIN>\n## `make_parser`", "Returns an argparse instance for this script.\n<END>", "<BEGIN>\n## `main`", "Validates script arguments and calls the render_html() function with them.\n<END>", "<BEGIN>\n## `wcag_refs`", "Given a `code` from pa11y, return a list of the WCAG references.\n These references...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Validates script arguments and calls the render_html() function with them.
"Validates script arguments and calls the render_html() function with them."
56
false
edx/pa11ycrawler
main
37,849
LDU_FT/datamachine/twx/add_contact
LDU_FT
[ "<BEGIN>\n## `_ige`", "Given a key, given an iv, and message\n do whatever operation asked in the operation field.\n Operation will be checked for: \"decrypt\" and \"encrypt\" strings.\n Returns the message encrypted/decrypted.\n message must be a multiple by 16 bytes (for division in 16 byte bloc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_contact API. 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 add_contact API. 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...
Add contact by phone number and name (last_name is optional). :param phone: Valid phone number for contact. :param first_name: First name to use. :param last_name: Last name to use. Optional. :param on_success: Callback to call when adding, will contain success status and the current con...
"Add contact by phone number and name (last_name is optional).\n :param phone: Valid phone number for contact.\n :param first_name: First name to use.\n :param last_name: Last name to use. Optional.\n :param on_success: Callback to call when adding, will contain success status and the curren...
94
false
datamachine/twx
add_contact
37,850
LDU_FT/PSU-OIT-ARC/django-local-settings/_traverse
LDU_FT
[ "<BEGIN>\n## `get_strategy_types`", "Get a list of all :class:`Strategy` subclasses.\n<END>", "<BEGIN>\n## `get_file_type_map`", "Map file types (extensions) to strategy types.\n<END>", "<BEGIN>\n## `guess_strategy_type`", "Guess strategy type to use for file by extension.", " Args:\n file_nam...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _traverse API. 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 _traverse API. 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...
Traverse to the item specified by ``name``. To create missing items on the way to the ``name``d item, pass ``create_missing=True``. This will insert an item for each missing segment in ``name``. The type and value of item that will be inserted for a missing segment depends on the *next*...
"Traverse to the item specified by ``name``.\n\n To create missing items on the way to the ``name``d item, pass\n ``create_missing=True``. This will insert an item for each\n missing segment in ``name``. The type and value of item that\n will be inserted for a missing segment depends on the ...
78
false
PSU-OIT-ARC/django-local-settings
_traverse
37,851
LDU_FT/peterjc/backports.lzma/read1
LDU_FT
[ "<BEGIN>\n## `open`", "Open an LZMA-compressed file in binary or text mode.", " filename can be either an actual file name (given as a str or bytes object),\n in which case the named file is opened, or it can be an existing file object\n to read from or write to.", " The mode argument can be \"r\"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read1 API. 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 read1 API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Read up to size uncompressed bytes, while trying to avoid making multiple reads from the underlying stream. Returns b"" if the file is at EOF.
"Read up to size uncompressed bytes, while trying to avoid\n making multiple reads from the underlying stream.\n\n Returns b\"\" if the file is at EOF."
36
false
peterjc/backports.lzma
read1
37,852
LDU_FT/uuazed/numerapi/get_transactions
LDU_FT
[ "<BEGIN>\n## `_unzip_file`", "unzips file located at src_path into destination_path\n<END>", "<BEGIN>\n## `get_dataset_url`", "Fetch url of the current dataset.", " Args:\n tournament (int, optional): ID of the tournament, defaults to 1", " Returns:\n str: url of the cu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_transactions API. 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_transactions API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Get all your deposits and withdrawals. Returns: dict: lists of your NMR and USD transactions The returned dict has the following structure: * nmrDeposits (`list`) contains items with fields: * from (`str`) * posted (`bool`) ...
"Get all your deposits and withdrawals.\n\n Returns:\n dict: lists of your NMR and USD transactions\n\n The returned dict has the following structure:\n\n * nmrDeposits (`list`) contains items with fields:\n * from (`str`)\n * posted (`bool`)\n...
163
false
uuazed/numerapi
get_transactions
37,853
LDU_FT/glut23/webvtt-py/save
LDU_FT
[ "<BEGIN>\n## `_parse_timeframe_line`", "Parse timeframe line and return start and end timestamps.\n<END>", "<BEGIN>\n## `from_srt`", "Reads captions from a file in SubRip format.\n<END>", "<BEGIN>\n## `from_sbv`", "Reads captions from a file in YouTube SBV format.\n<END>", "<BEGIN>\n## `save`", "Save ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Save the document. If no output is provided the file will be saved in the same location. Otherwise output can determine a target directory or file.
"Save the document.\n If no output is provided the file will be saved in the same location. Otherwise output\n can determine a target directory or file."
12
false
glut23/webvtt-py
save
37,854
LDU_FT/daviddrysdale/python-phonenumbers/_country_level_time_zones_for_number
LDU_FT
[ "<BEGIN>\n## `_get_metadata_for_region`", "The metadata needed by this class is the same for all regions\n sharing the same country calling code. Therefore, we return the\n metadata for \"main\" region for this country calling code.\n<END>", "<BEGIN>\n## `_maybe_create_new_template`", "Returns True if a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _country_level_time_zones_for_number 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 _country_level_time_zones_for_number API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates i...
Returns the list of time zones corresponding to the country calling code of a number. Arguments: numobj -- the phone number to look up Returns a list of the corresponding time zones or a single element list with the default unknown time zone if no other time zone was found or if the number was invalid
"Returns the list of time zones corresponding to the country calling code of a number.\n Arguments:\n numobj -- the phone number to look up\n Returns a list of the corresponding time zones or a single element list with the default\n unknown time zone if no other time zone was found or if the number was inva...
501
false
daviddrysdale/python-phonenumbers
_country_level_time_zones_for_number
37,855
LDU_FT/tensorpack/tensorpack/get_savename_from_varname
LDU_FT
[ "<BEGIN>\n## `CaffeLMDB`", "Read a Caffe LMDB file where each value contains a ``caffe.Datum`` protobuf.\n Produces datapoints of the format: [HWC image, label].", " Note that Caffe LMDB format is not efficient: it stores serialized raw\n arrays rather than JPEG images.", " Args:\n lmdb_pat...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_savename_from_varname API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_savename_from_varname API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Args: varname(str): a variable name in the graph varname_prefix(str): an optional prefix that may need to be removed in varname savename_prefix(str): an optional prefix to append to all savename Returns: str: the name used to save the variable
"Args:\n varname(str): a variable name in the graph\n varname_prefix(str): an optional prefix that may need to be removed in varname\n savename_prefix(str): an optional prefix to append to all savename\n Returns:\n str: the name used to save the variable"
1,105
true
tensorpack/tensorpack
get_savename_from_varname
37,856
LDU_FT/timster/peewee-validates/validate_one_of
LDU_FT
[ "<BEGIN>\n## `validate_not_empty`", "Validate that a field is not empty (blank string).", " :raises: ``ValidationError('empty')``\n<END>", "<BEGIN>\n## `validate_length`", "Validate the length of a field with either low, high, or equal.\n Should work with anything that supports len().", " :param ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_one_of API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_one_of API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Validate that a field is in one of the given values. :param values: Iterable of valid values. :raises: ``ValidationError('one_of')``
"Validate that a field is in one of the given values.\n\n :param values: Iterable of valid values.\n :raises: ``ValidationError('one_of')``"
82
false
timster/peewee-validates
validate_one_of
37,857
LDU_FT/Iotic-Labs/py-IoticAgent/search_reduced
LDU_FT
[ "<BEGIN>\n## `_notify_thing_lid_change`", "Used by Thing instances to indicate that a rename operation has happened\n<END>", "<BEGIN>\n## `register_catchall_feeddata`", "Registers a callback that is called for all feeddata your Thing receives", " `Example`", " #!python\n def f...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search_reduced API. 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 search_reduced API. 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...
Shorthand for [search()](#IoticAgent.IOT.Client.Client.search) with `reduced=True`
"Shorthand for [search()](#IoticAgent.IOT.Client.Client.search) with `reduced=True`"
643
false
Iotic-Labs/py-IoticAgent
search_reduced
37,858
LDU_FT/LogicalDash/LiSE/edge_val_dump
LDU_FT
[ "<BEGIN>\n## `on_touch_down`", "If hit, record my starting position, that I may return to it in\n ``on_touch_up`` after creating a real :class:`board.Spot` or\n :class:`board.Pawn` instance.\n<END>", "<BEGIN>\n## `on_touch_up`", "Return to ``pos_start``, but first, save my current ``pos`` into\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the edge_val_dump API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the edge_val_dump API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Yield the entire contents of the edge_val table.
"Yield the entire contents of the edge_val table."
660
false
LogicalDash/LiSE
edge_val_dump
37,859
LDU_FT/mgedmin/check-manifest/chmod_plus
LDU_FT
[ "<BEGIN>\n## `run`", "Run a command [cmd, arg1, arg2, ...].", " Returns the output (stdout + stderr).", " Raises CommandFailed in cases of error.\n<END>", "<BEGIN>\n## `cd`", "Change the current working directory, temporarily.", " Use as a context manager: with cd(d): ...\n<END>", "<BEGIN>\n#...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the chmod_plus API. 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 chmod_plus API. 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...
Change a file's mode by adding a few bits. Like chmod +<bits> <path> in a Unix shell.
"Change a file's mode by adding a few bits.\n\n Like chmod +<bits> <path> in a Unix shell."
85
false
mgedmin/check-manifest
chmod_plus
37,860
LDU_FT/benmoran56/esper/get_processor
LDU_FT
[ "<BEGIN>\n## `clear_database`", "Remove all Entities and Components from the World.\n<END>", "<BEGIN>\n## `add_processor`", "Add a Processor instance to the World.", " :param processor_instance: An instance of a Processor,\n subclassed from the Processor class\n :param priority: A highe...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_processor API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_processor API. 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...
Get a Processor instance, by type. This method returns a Processor instance by type. This could be useful in certain situations, such as wanting to call a method on a Processor, from within another Processor. :param processor_type: The type of the Processor you wish to retrieve. ...
"Get a Processor instance, by type.\n\n This method returns a Processor instance by type. This could be\n useful in certain situations, such as wanting to call a method on a\n Processor, from within another Processor.\n\n :param processor_type: The type of the Processor you wish to retrieve....
60
false
benmoran56/esper
get_processor
37,861
LDU_FT/rfarley3/Kibana/get_objects
LDU_FT
[ "<BEGIN>\n## `post_field_cache`", "Where field_cache is a list of fields' mappings\n<END>", "<BEGIN>\n## `check_mapping`", "Assert minimum set of fields in cache, does not validate contents\n<END>", "<BEGIN>\n## `get_index_mappings`", "Converts all index's doc_types to .kibana\n<END>", "<BEGIN>\n## `get...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_objects API. 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_objects API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Return all objects of type (assumes < MAX_HITS)
"Return all objects of type (assumes < MAX_HITS)"
27
false
rfarley3/Kibana
get_objects
37,862
LDU_FT/SillyFreak/ConcurrentUtils/start_component_in_thread
LDU_FT
[ "<BEGIN>\n## `component_coro_wrapper`", "\\\n This function wraps a component workload to conform to the required lifecycle.\n The following behavior is the passed coroutine function's responsibility:", " - it must send `Component.EVENT_START` to its owner after the task is initialized;\n - it must ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start_component_in_thread API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start_component_in_thread API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
\ Starts the passed `workload` with additional `commands` and `events` pipes. The workload will be executed on an event loop in a new thread; the thread is provided by `executor`. This function is not compatible with `ProcessPoolExecutor`, as references between the workload and component are necessary....
"\\\n Starts the passed `workload` with additional `commands` and `events` pipes.\n The workload will be executed on an event loop in a new thread; the thread is provided by `executor`.\n\n This function is not compatible with `ProcessPoolExecutor`,\n as references between the workload and component are nec...
46
false
SillyFreak/ConcurrentUtils
start_component_in_thread
37,863
LDU_FT/google/python-adb/InteractiveShellCommand
LDU_FT
[ "<BEGIN>\n## `_get_service_connection`", "Based on the service, get the AdbConnection for that service or create one if it doesnt exist", " :param service:\n :param service_command: Additional service parameters to append\n :param create: If False, dont create a connection if it does not ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the InteractiveShellCommand 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 InteractiveShellCommand API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
Retrieves stdout of the current InteractiveShell and sends a shell command if provided TODO: Should we turn this into a yield based function so we can stream all output? Args: conn: Instance of AdbConnection cmd: Optional. Command to run on the target. strip_cmd: Optional ...
"Retrieves stdout of the current InteractiveShell and sends a shell command if provided\n TODO: Should we turn this into a yield based function so we can stream all output?\n\n Args:\n conn: Instance of AdbConnection\n cmd: Optional. Command to run on the target.\n strip_cmd: Op...
174
false
google/python-adb
InteractiveShellCommand
37,864
LDU_FT/jespino/anillo/wrap_json_response
LDU_FT
[ "<BEGIN>\n## `url`", "Simple helper for build a url, and return anillo\n url spec hash map (dictionary)", " It can be used in this way:", " urls = [\n url(\"/<int:year>\", index, methods=[\"get\", \"post\"]),\n url(\"/<int:year>\", index, methods=[\"get\", \"post\"])\n ]", " Thi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wrap_json_response 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 wrap_json_response 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...
A middleware that encodes in json the response body in case of that the "Content-Type" header is "application/json". This middlware accepts and optional `encoder` parameter, that allow to the user specify its own json encoder class.
"A middleware that encodes in json the response body in case\n of that the \"Content-Type\" header is \"application/json\".\n\n This middlware accepts and optional `encoder` parameter, that\n allow to the user specify its own json encoder class."
54
false
jespino/anillo
wrap_json_response
37,865
LDU_FT/astropy/photutils/keep_labels
LDU_FT
[ "<BEGIN>\n## `_move_tuple_axes_first`", "Bottleneck can only take integer axis, not tuple, so this function\n takes all the axes to be operated on and combines them into the\n first dimension of the array so that we can then use axis=0\n<END>", "<BEGIN>\n## `_nanmean`", "Bottleneck nanmean function that...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the keep_labels API. 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 keep_labels API. 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...
Keep only the specified labels. Parameters ---------- labels : int, array-like (1D, int) The label number(s) to keep. relabel : bool, optional If `True`, then the segmentation image will be relabeled such that the labels are in consecutive order star...
"Keep only the specified labels.\n\n Parameters\n ----------\n labels : int, array-like (1D, int)\n The label number(s) to keep.\n\n relabel : bool, optional\n If `True`, then the segmentation image will be relabeled\n such that the labels are in consecutive ...
1,397
true
astropy/photutils
keep_labels
37,866
LDU_FT/thombashi/SimpleSQLite/create_table
LDU_FT
[ "<BEGIN>\n## `set_log_level`", "Set logging level of this module. Using\n `logbook <https://logbook.readthedocs.io/en/stable/>`__ module for logging.", " :param int log_level:\n One of the log level of\n `logbook <https://logbook.readthedocs.io/en/stable/api/base.html>`__.\n Disabled ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_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 extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_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 extr...
:param str table_name: Table name to create. :param list attr_descriptions: List of table description. :raises simplesqlite.NullDatabaseConnectionError: |raises_check_connection| :raises IOError: |raises_write_permission|
":param str table_name: Table name to create.\n :param list attr_descriptions: List of table description.\n :raises simplesqlite.NullDatabaseConnectionError:\n |raises_check_connection|\n :raises IOError: |raises_write_permission|"
185
false
thombashi/SimpleSQLite
create_table
37,867
LDU_FT/n1analytics/python-paillier/powmod
LDU_FT
[ "<BEGIN>\n## `generate_keypair`", "Generate a paillier private key.", " Output as JWK to given output file. Use \"-\" to output the private key to\n stdout. See the extract command to extract the public component of the\n private key.", " Note:\n The default ID text includes the current tim...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the powmod API. 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 powmod API. 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 ...
Uses GMP, if available, to do a^b mod c where a, b, c are integers. :return int: (a ** b) % c
"Uses GMP, if available, to do a^b mod c where a, b, c\n are integers.\n\n :return int: (a ** b) % c"
169
false
n1analytics/python-paillier
powmod
37,868
LDU_FT/TAPPGuild/bitjws/privkey_to_wif
LDU_FT
[ "<BEGIN>\n## `base64url_decode`", "Decode a base64 message based on JWT spec, Appendix B.\n \"Notes on implementing base64url encoding without padding\"\n<END>", "<BEGIN>\n## `_jws_payload`", "Produce a base64-encoded JWS payload.", " expire_at, if specified, must be a number that indicates\n a tim...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the privkey_to_wif API. 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 privkey_to_wif API. 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...
Convert privkey bytes to Wallet Import Format (WIF).
"Convert privkey bytes to Wallet Import Format (WIF)."
32
false
TAPPGuild/bitjws
privkey_to_wif
37,869
LDU_FT/Metatab/metatab/find_declare_doc
LDU_FT
[ "<BEGIN>\n## `split_term`", "Split a term in to parent and record term components\n :param term: combined term text\n :return: Tuple of parent and record term\n<END>", "<BEGIN>\n## `split_term_lower`", "Like split_term, but also lowercases both parent and record term\n :param term: combin...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_declare_doc API. 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_declare_doc API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Given a name, try to resolve the name to a path or URL to a declaration document. It will try: * The name as a filesystem path * The name as a file name in the directory d * The name + '.csv' as a name in the directory d * The name as a URL * The name as a key in th...
"Given a name, try to resolve the name to a path or URL to\n a declaration document. It will try:\n\n * The name as a filesystem path\n * The name as a file name in the directory d\n * The name + '.csv' as a name in the directory d\n * The name as a URL\n * The name as a k...
102
false
Metatab/metatab
find_declare_doc
37,870
LDU_FT/cariad/py-wpconfigr/_get_value_from_match
LDU_FT
[ "<BEGIN>\n## `_get_match`", "Gets a MatchObject for the given key.", " Args:\n key (str): Key of the property to look-up.", " Return:\n MatchObject: The discovered match.\n<END>", "<BEGIN>\n## `_get_non_string_match`", "Gets a MatchObject for the given key, assuming a n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_value_from_match 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_value_from_match API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Gets the value of the property in the given MatchObject. Args: key (str): Key of the property looked-up. match (MatchObject): The matched property. Return: The discovered value, as a string or boolean.
"Gets the value of the property in the given MatchObject.\n\n Args:\n key (str): Key of the property looked-up.\n match (MatchObject): The matched property.\n\n Return:\n The discovered value, as a string or boolean."
29
false
cariad/py-wpconfigr
_get_value_from_match
37,871
LDU_FT/nickstenning/honcho/_killall
LDU_FT
[ "<BEGIN>\n## `add_process`", "Add a process to this manager instance. The process will not be started\n until :func:`~honcho.manager.Manager.loop` is called.\n<END>", "<BEGIN>\n## `loop`", "Start all the added processes and multiplex their output onto the bound\n printer (which by default will p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _killall API. 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 _killall API. 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...
Kill all remaining processes, forcefully if requested.
"Kill all remaining processes, forcefully if requested."
15
false
nickstenning/honcho
_killall
37,872