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/wrwrwr/scikit-gof/ks_unif_pelz_good
LDU_FT
[ "<BEGIN>\n## `ad_unif_inf`", "Approximates the limiting distribution to about 5 decimal digits.\n<END>", "<BEGIN>\n## `ad_unif_fix`", "Corrects the limiting distribution for a finite sample size.\n<END>", "<BEGIN>\n## `vectorize`", "Allows using `@vectorize` as well as `@vectorize()`.\n<END>", "<BEGIN>\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ks_unif_pelz_good API. 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 ks_unif_pelz_good API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Approximates the statistic distribution by a transformed Li-Chien formula. This ought to be a bit more accurate than using the Kolmogorov limit, but should only be used with large squared sample count times statistic. See: doi:10.18637/jss.v039.i11 and http://www.jstor.org/stable/2985019.
"Approximates the statistic distribution by a transformed Li-Chien formula.\n\n This ought to be a bit more accurate than using the Kolmogorov limit, but\n should only be used with large squared sample count times statistic.\n See: doi:10.18637/jss.v039.i11 and http://www.jstor.org/stable/2985019."
33
false
wrwrwr/scikit-gof
ks_unif_pelz_good
7,073
LDU_FT/RIPE-NCC/ripe-atlas-cousteau/build_next_url
LDU_FT
[ "<BEGIN>\n## `update_get_params`", "Update HTTP GET params with the given fields that user wants to fetch.\n<END>", "<BEGIN>\n## `_fetch_meta_data`", "Makes an API call to fetch meta data for the given probe and stores the raw data.\n<END>", "<BEGIN>\n## `_populate_data`", "Assing some probe's raw meta da...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_next_url API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_next_url API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Builds next url in a format compatible with cousteau. Path + query
"Builds next url in a format compatible with cousteau. Path + query"
62
false
RIPE-NCC/ripe-atlas-cousteau
build_next_url
7,074
LDU_FT/KnowledgeLinks/rdfframework/_make_url
LDU_FT
[ "<BEGIN>\n## `get_obj_frm_str`", "Returns a python object from a python object string", " args:\n obj_str: python object path expamle\n \"rdfframework.connections.ConnManager[{param1}]\"", " kwargs:\n * kwargs used to format the 'obj_str'\n<END>", "<BEGIN>\n## `pyfile_...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _make_url API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _make_url API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Creates the REST Url based on the supplied namespace args: namespace: string of the namespace kwargs: check_status_call: True/False, whether the function is called from check_status. Used to avoid recurrsion error
"Creates the REST Url based on the supplied namespace\n\n args:\n namespace: string of the namespace\n kwargs:\n check_status_call: True/False, whether the function is called from\n check_status. Used to avoid recurrsion error"
627
false
KnowledgeLinks/rdfframework
_make_url
7,075
LDU_FT/rameshg87/pyremotevbox/_Dispatch
LDU_FT
[ "<BEGIN>\n## `_check_typecode_list`", "Check a list of typecodes for compliance with Struct\n requirements.\n<END>", "<BEGIN>\n## `_get_type_or_substitute`", "return typecode or substitute type for wildcard or\n derived type. For serialization only.\n<END>", "<BEGIN>\n## `setDerivedTypeContents`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _Dispatch API. 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 _Dispatch API. 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...
Send ParsedSoap instance to ServiceContainer, which dispatches to appropriate service via post, and method via action. Response is a self-describing pyobj, which is passed to a SoapWriter. Call SendResponse or SendFault to send the reply back, appropriately. server -- ServiceContainer instance
"Send ParsedSoap instance to ServiceContainer, which dispatches to\n appropriate service via post, and method via action. Response is a\n self-describing pyobj, which is passed to a SoapWriter.\n\n Call SendResponse or SendFault to send the reply back, appropriately.\n server -- ServiceContainer instan...
529
false
rameshg87/pyremotevbox
_Dispatch
7,076
LDU_FT/ldomic/lintools/count_by_type
LDU_FT
[ "<BEGIN>\n## `draw_hydrogen_bonds`", "For each bond that has been determined to be important, a line gets drawn.\n<END>", "<BEGIN>\n## `draw_salt_bridges`", "For each bond that has been determined to be important, a line gets drawn.\n<END>", "<BEGIN>\n## `change_lines_in_svg`", "Used to change lines in an...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the count_by_type API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the count_by_type API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Count how many times each individual pi-pi interaction occured throughout the simulation. Returns numpy array.
"Count how many times each individual pi-pi interaction occured throughout the simulation.\n Returns numpy array."
117
false
ldomic/lintools
count_by_type
7,077
LDU_FT/stefankoegl/kdtree/axis_dist
LDU_FT
[ "<BEGIN>\n## `require_axis`", "Check if the object of the function has axis and sel_axis members\n<END>", "<BEGIN>\n## `create`", "Creates a kd-tree from a list of points", " All points in the list must be of the same dimensionality.", " If no point_list is given, an empty tree is created. The numbe...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the axis_dist API. 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 axis_dist API. 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...
Squared distance at the given axis between the current Node and the given point
"Squared distance at the given axis between\n the current Node and the given point"
72
false
stefankoegl/kdtree
axis_dist
7,078
LDU_FT/cs01/gdbgui/read_and_forward_gdb_output
LDU_FT
[ "<BEGIN>\n## `get_marked_up_list`", "an updated version of pygments.formatter.format_unencoded\n<END>", "<BEGIN>\n## `get_ssl_context`", "Get ssl context from private key and certificate paths.\n The return value is used when calling Flask.\n i.e. app.run(ssl_context=get_ssl_context(,,,))\n<END>", "<B...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_and_forward_gdb_output API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_and_forward_gdb_output API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
A task that runs on a different thread, and emits websocket messages of gdb responses
"A task that runs on a different thread, and emits websocket messages\n of gdb responses"
22
false
cs01/gdbgui
read_and_forward_gdb_output
7,079
LDU_FT/Pipoline/rocket-python/upload_file
LDU_FT
[ "<BEGIN>\n## `get_private_rooms`", "Get a listing of all private rooms with their names and IDs\n<END>", "<BEGIN>\n## `get_private_room_history`", "Get various history of specific private group in this case private", " :param room_id:\n :param kwargs:\n :return:\n<END>", "<BEGIN>\n## ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the upload_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 upload_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...
Upload file to room :param room_id: :param description: :param file: :param kwargs: :return:
"Upload file to room\n :param room_id:\n :param description:\n :param file:\n :param kwargs:\n :return:"
32
false
Pipoline/rocket-python
upload_file
7,080
LDU_FT/pschmitt/shortmomi/get_object_by_name
LDU_FT
[ "<BEGIN>\n## `get_object_by_name`", "Get the vsphere object associated with a given text name\n Source: https://github.com/rreubenur/vmware-pyvmomi-examples/blob/master/create_template.py\n<END>", "<BEGIN>\n## `get_all`", "Get all items of a certain type\n Example: get_all(content, vim.Datastore) return...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_object_by_name API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_object_by_name API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
Get the vsphere object associated with a given text name Source: https://github.com/rreubenur/vmware-pyvmomi-examples/blob/master/create_template.py
"Get the vsphere object associated with a given text name\n Source: https://github.com/rreubenur/vmware-pyvmomi-examples/blob/master/create_template.py"
10
false
pschmitt/shortmomi
get_object_by_name
7,081
LDU_FT/danpaquin/coinbasepro-python/place_limit_order
LDU_FT
[ "<BEGIN>\n## `get_account_history`", "List account activity. Account activity either increases or\n decreases your account balance.", " Entry type indicates the reason for the account change.\n * transfer:\tFunds moved to/from Coinbase to cbpro\n * match:\tFunds moved as a result of ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the place_limit_order API. 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 place_limit_order API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Place a limit order. Args: product_id (str): Product to order (eg. 'BTC-USD') side (str): Order side ('buy' or 'sell) price (Decimal): Price per cryptocurrency size (Decimal): Amount of cryptocurrency to buy or sell client_oid (Optional[str]): User-sp...
"Place a limit order.\n\n Args:\n product_id (str): Product to order (eg. 'BTC-USD')\n side (str): Order side ('buy' or 'sell)\n price (Decimal): Price per cryptocurrency\n size (Decimal): Amount of cryptocurrency to buy or sell\n client_oid (Optional[str]):...
127
false
danpaquin/coinbasepro-python
place_limit_order
7,082
LDU_FT/indranilsinharoy/pyzos/managed_wrapper_class_factory
LDU_FT
[ "<BEGIN>\n## `get_callable_method_dict`", "Returns a dictionary of callable methods of object `obj`.", " @param obj: ZOS API Python COM object\n @return: a dictionary of callable methods", " Notes: \n the function only returns the callable attributes that are listed by dir() \n function. Proper...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the managed_wrapper_class_factory 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 managed_wrapper_class_factory API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc...
Creates and returns a wrapper class of a ZOS object, exposing the ZOS objects methods and propertis, and patching custom specialized attributes @param zos_obj: ZOS API Python COM object
"Creates and returns a wrapper class of a ZOS object, exposing the ZOS objects \n methods and propertis, and patching custom specialized attributes\n\n @param zos_obj: ZOS API Python COM object"
48
false
indranilsinharoy/pyzos
managed_wrapper_class_factory
7,083
LDU_FT/Alveo/pyalveo/from_json
LDU_FT
[ "<BEGIN>\n## `get_all`", "Retrieve the metadata for all items in this list from the server,\n as Item objects", " :rtype: List\n :returns: a List of the corresponding Item objects\n :type force_download: Boolean\n :param force_download: True to download from the server\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_json API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_json API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Returns a pyalveo.Client given a json string built from the client.to_json() method.
"Returns a pyalveo.Client given a json string built from the client.to_json() method."
268
false
Alveo/pyalveo
from_json
7,084
LDU_FT/argaen/aiocache/set_config
LDU_FT
[ "<BEGIN>\n## `loads`", "Deserialize value using ``msgpack.loads``.", " :param value: bytes\n :returns: obj\n<END>", "<BEGIN>\n## `parse_uri_path`", "Given a uri path, return the Redis specific configuration\n options in that path string according to iana definition\n http://www.i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_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 extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_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 extrac...
Set (override) the default config for cache aliases from a dict-like structure. The structure is the following:: { 'default': { 'cache': "aiocache.SimpleMemoryCache", 'serializer': { 'class': "aiocache.serializers.Strin...
"Set (override) the default config for cache aliases from a dict-like structure.\n The structure is the following::\n\n {\n 'default': {\n 'cache': \"aiocache.SimpleMemoryCache\",\n 'serializer': {\n 'class': \"aiocache.serial...
77
false
argaen/aiocache
set_config
7,085
LDU_FT/booktype/python-ooxml/_get_parent
LDU_FT
[ "<BEGIN>\n## `parse_drawing`", "Parse drawing element.", " We don't do much with drawing element. We can find embeded image but we don't do more than that.\n<END>", "<BEGIN>\n## `parse_paragraph`", "Parse paragraph element.", " Some other elements could be found inside of paragraph element (math, li...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_parent API. 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_parent API. 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 root element for a list. :Args: root (Element): lxml element of current location :Returns: lxml element representing list
"Returns root element for a list.\n\n :Args:\n root (Element): lxml element of current location\n\n :Returns:\n lxml element representing list"
117
false
booktype/python-ooxml
_get_parent
7,086
LDU_FT/peopledoc/django-agnocomplete/extra_create_kwargs
LDU_FT
[ "<BEGIN>\n## `set_agnocomplete`", "Handling the assignation of the agnocomplete object inside the field.\n A developer may want to use a class or an instance of an\n :class:`AgnocompleteBase` class to configure her field.", " Ex::", " from agnocomplete import Fields", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extra_create_kwargs 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 extra_create_kwargs 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...
Inject the domain of the current user in the new model instances.
"Inject the domain of the current user in the new model instances."
66
false
peopledoc/django-agnocomplete
extra_create_kwargs
7,087
LDU_FT/althonos/fs.sshfs/_exec_command
LDU_FT
[ "<BEGIN>\n## `_get_ssh_config`", "Extract the configuration located at ``config_path``.", " Returns:\n paramiko.SSHConfig: the configuration instance.\n<END>", "<BEGIN>\n## `openbin`", "Open a binary file-like object.", " Arguments:\n path (str): A path on the filesyste...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _exec_command API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _exec_command API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Run a command on the remote SSH server. Returns: bytes: the output of the command, if it didn't fail None: if the error pipe of the command was not empty
"Run a command on the remote SSH server.\n\n Returns:\n bytes: the output of the command, if it didn't fail\n None: if the error pipe of the command was not empty"
26
false
althonos/fs.sshfs
_exec_command
7,088
LDU_FT/LordDarkula/chess_py/find_piece
LDU_FT
[ "<BEGIN>\n## `_get_piece`", "Returns Piece subclass given index of piece.", " :type: index: int\n :type: loc Location", " :raise: KeyError\n<END>", "<BEGIN>\n## `incomplete_alg`", "Converts a string written in short algebraic form into an incomplete move.\n These incomplete moves do not have t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_piece API. 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 find_piece API. 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...
Finds Location of the first piece that matches piece. If none is found, Exception is raised. :type: piece: Piece :rtype: Location
"Finds Location of the first piece that matches piece.\n If none is found, Exception is raised.\n\n :type: piece: Piece\n :rtype: Location"
173
false
LordDarkula/chess_py
find_piece
7,089
LDU_FT/redodo/formats/composer
LDU_FT
[ "<BEGIN>\n## `register`", "Registers a parser and composer of a format.", " You can use this method to overwrite existing formats.", " :param type: The unique name of the format\n :param parser: The method to parse data as the format\n :param composer: The method to compose data as the format\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the composer API. 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 composer API. 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...
Registers the decorated method as the composer of a format. :param type: The unique name of the format :param meta: The extra information associated with the format
"Registers the decorated method as the composer of a format.\n\n :param type: The unique name of the format\n :param meta: The extra information associated with the format"
59
false
redodo/formats
composer
7,090
LDU_FT/DocNow/twarc/list_members
LDU_FT
[ "<BEGIN>\n## `rate_limit`", "A decorator to handle rate limiting from the Twitter API. If\n a rate limit error is encountered we will sleep until we can\n issue the API call again.\n<END>", "<BEGIN>\n## `catch_conn_reset`", "A decorator to handle connection reset errors even ones from pyOpenSSL\n unt...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_members API. 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 list_members API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Returns the members of a list. List id or (slug and (owner_screen_name or owner_id)) are required
"Returns the members of a list.\n\n List id or (slug and (owner_screen_name or owner_id)) are required"
58
false
DocNow/twarc
list_members
7,091
LDU_FT/dbarsam/python-vsgen/StartupFileRelative
LDU_FT
[ "<BEGIN>\n## `_import`", "Internal method to import instance variables data from a dictionary", " :param dict datadict: The dictionary containing variables values.\n<END>", "<BEGIN>\n## `from_section`", "Creates a :class:`~vsgen.project.VSGProject` from a :class:`~configparser.ConfigParser` section."...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the StartupFileRelative 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 StartupFileRelative 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...
Returns the :attr:`StartupFile` relative to :attr:`ProjectHome` directory.
"Returns the :attr:`StartupFile` relative to :attr:`ProjectHome` directory."
101
false
dbarsam/python-vsgen
StartupFileRelative
7,092
LDU_FT/shichao-an/115wangpan/download
LDU_FT
[ "<BEGIN>\n## `send`", "Send a formatted API request", " :param request: a formatted request object\n :type request: :class:`.Request`\n :param bool expect_json: if True, raise :class:`.InvalidAPIAccess` if\n response is not in JSON format\n :param bool ignore_content: whet...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download API. 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 download API. 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...
Download a file :param obj: :class:`.File` object :param str path: local path :param bool show_progress: whether to show download progress :param bool resume: whether to resume on unfinished downloads identified by filename :param bool auto_retry: whether to retry au...
"Download a file\n\n :param obj: :class:`.File` object\n :param str path: local path\n :param bool show_progress: whether to show download progress\n :param bool resume: whether to resume on unfinished downloads\n identified by filename\n :param bool auto_retry: whether to ...
100
false
shichao-an/115wangpan
download
7,093
LDU_FT/pytroll/posttroll/_getsender
LDU_FT
[ "<BEGIN>\n## `restart_listener`", "Restart listener after configuration update.\n<END>", "<BEGIN>\n## `create_subscriber`", "Create a subscriber instance using specified addresses and\n message types.\n<END>", "<BEGIN>\n## `heartbeat`", "Send a heartbeat ... but only if *min_interval* seconds has p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _getsender API. 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 _getsender API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Return local sender. Don't use the getpass module, it looks at various environment variables and is unreliable.
"Return local sender.\n Don't use the getpass module, it looks at various environment variables\n and is unreliable."
46
false
pytroll/posttroll
_getsender
7,094
LDU_FT/spulec/moto/dhcp_configuration_from_querystring
LDU_FT
[ "<BEGIN>\n## `get_parameters_by_path`", "Implement the get-parameters-by-path-API in the backend.\n<END>", "<BEGIN>\n## `_match_filters`", "Return True if the given parameter matches all the filters\n<END>", "<BEGIN>\n## `list_commands`", "https://docs.aws.amazon.com/systems-manager/latest/APIReference/AP...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dhcp_configuration_from_querystring API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates it...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dhcp_configuration_from_querystring API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates it...
turn: {u'AWSAccessKeyId': [u'the_key'], u'Action': [u'CreateDhcpOptions'], u'DhcpConfiguration.1.Key': [u'domain-name'], u'DhcpConfiguration.1.Value.1': [u'example.com'], u'DhcpConfiguration.2.Key': [u'domain-name-servers'], u'DhcpConfiguration.2.Value.1': [u'10.0.0....
"turn:\n {u'AWSAccessKeyId': [u'the_key'],\n u'Action': [u'CreateDhcpOptions'],\n u'DhcpConfiguration.1.Key': [u'domain-name'],\n u'DhcpConfiguration.1.Value.1': [u'example.com'],\n u'DhcpConfiguration.2.Key': [u'domain-name-servers'],\n u'DhcpConfiguration.2.Value.1': [u'...
217
false
spulec/moto
dhcp_configuration_from_querystring
7,095
LDU_FT/trevorstephens/gplearn/execute
LDU_FT
[ "<BEGIN>\n## `_parallel_evolve`", "Private function used to build a batch of programs within a job.\n<END>", "<BEGIN>\n## `_verbose_reporter`", "A report of the progress of the evolution process.", " Parameters\n ----------\n run_details : dict\n Information about the evoluti...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the execute API. 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 execute API. 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...
Execute the program according to X. Parameters ---------- X : {array-like}, shape = [n_samples, n_features] Training vectors, where n_samples is the number of samples and n_features is the number of features. Returns ------- y_hats : array-like, ...
"Execute the program according to X.\n\n Parameters\n ----------\n X : {array-like}, shape = [n_samples, n_features]\n Training vectors, where n_samples is the number of samples and\n n_features is the number of features.\n\n Returns\n -------\n y_hats : a...
103
false
trevorstephens/gplearn
execute
7,096
LDU_FT/jupyter-widgets/ipywidgets/_cells
LDU_FT
[ "<BEGIN>\n## `_cells`", "Yield all cells in an nbformat-insensitive manner\n<END>", "<BEGIN>\n## `strip_output`", "strip the outputs from a notebook object\n<END>", "<BEGIN>\n## `show_inline_matplotlib_plots`", "Show matplotlib plots immediately if using the inline backend.", " With ipywidgets 6.0, m...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _cells API. 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 _cells API. 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 ...
Yield all cells in an nbformat-insensitive manner
"Yield all cells in an nbformat-insensitive manner"
159
false
jupyter-widgets/ipywidgets
_cells
7,097
LDU_FT/PyMySQL/PyMySQL/close
LDU_FT
[ "<BEGIN>\n## `close`", "Closing a cursor just exhausts all remaining data.\n<END>", "<BEGIN>\n## `mogrify`", "Returns the exact string that is sent to the database by calling the\n execute() method.", " This method follows the extension to the DB API 2.0 followed by Psycopg.\n<END>", "<BEGIN...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the close API. 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 close API. 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...
Closing a cursor just exhausts all remaining data.
"Closing a cursor just exhausts all remaining data."
88
false
PyMySQL/PyMySQL
close
7,098
LDU_FT/theosysbio/means/_set_mixed_moments_to_zero
LDU_FT
[ "<BEGIN>\n## `simulate_system`", "Perform Gillespie SSA simulations and returns trajectories for of each species.\n Each trajectory is interpolated at the given time points.\n By default, the average amounts of species for all simulations is returned.", " :param parameters: list of the init...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _set_mixed_moments_to_zero 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 _set_mixed_moments_to_zero API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
r""" In univariate case, set the cross-terms to 0. :param closed_central_moments: matrix of closed central moment :param n_counter: a list of :class:`~means.core.descriptors.Moment`\s representing central moments :type n_counter: list[:class:`~means.core.descriptors.Moment`] :re...
"r\"\"\"\n In univariate case, set the cross-terms to 0.\n\n :param closed_central_moments: matrix of closed central moment\n :param n_counter: a list of :class:`~means.core.descriptors.Moment`\\s representing central moments\n :type n_counter: list[:class:`~means.core.descriptors.Moment`]\n...
244
false
theosysbio/means
_set_mixed_moments_to_zero
7,099
LDU_FT/reiinakano/xcessiv/_process_using_meta_feature_generator
LDU_FT
[ "<BEGIN>\n## `return_func_to_optimize`", "Creates the function to be optimized by Bayes Optimization.", " The function automatically handles the case of already existing base learners, and if\n no base learner for the hyperparameters exists yet, creates one and updates it in the\n usual way.", " A...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _process_using_meta_feature_generator 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 _process_using_meta_feature_generator API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates ...
Process using secondary learner meta-feature generator Since secondary learner meta-feature generator can be anything e.g. predict, predict_proba, this internal method gives the ability to use any string. Just make sure secondary learner has the method. Args: X (array-like)...
"Process using secondary learner meta-feature generator\n\n Since secondary learner meta-feature generator can be anything e.g. predict, predict_proba,\n this internal method gives the ability to use any string. Just make sure secondary learner\n has the method.\n\n Args:\n X (arr...
150
false
reiinakano/xcessiv
_process_using_meta_feature_generator
7,100
LDU_FT/sveetch/djangocodemirror/codemirror_settings_update
LDU_FT
[ "<BEGIN>\n## `codemirror_settings_update`", "Return a new dictionnary of configs updated with given parameters.", " You may use ``on`` and ``names`` arguments to select config or filter out\n some configs from returned dict.", " Arguments:\n configs (dict): Dictionnary of configurations to upd...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the codemirror_settings_update 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 codemirror_settings_update API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
Return a new dictionnary of configs updated with given parameters. You may use ``on`` and ``names`` arguments to select config or filter out some configs from returned dict. Arguments: configs (dict): Dictionnary of configurations to update. parameters (dict): Dictionnary of parameters to ...
"Return a new dictionnary of configs updated with given parameters.\n\n You may use ``on`` and ``names`` arguments to select config or filter out\n some configs from returned dict.\n\n Arguments:\n configs (dict): Dictionnary of configurations to update.\n parameters (dict): Dictionnary of parame...
125
false
sveetch/djangocodemirror
codemirror_settings_update
7,101
LDU_FT/neighbordog/deviantart/get_user
LDU_FT
[ "<BEGIN>\n## `auth`", "Authenticates user and retrieves (and refreshes) access token", " :param code: code provided after redirect (authorization_code only)\n :param refresh_token: the refresh_token to update access_token without authorization\n<END>", "<BEGIN>\n## `auth_uri`", "The authorzati...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_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 extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_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 extracte...
Get user profile information :param username: username to lookup profile of :param ext_collections: Include collection folder info :param ext_galleries: Include gallery folder info
"Get user profile information\n\n :param username: username to lookup profile of\n :param ext_collections: Include collection folder info\n :param ext_galleries: Include gallery folder info"
132
false
neighbordog/deviantart
get_user
7,102
LDU_FT/seomoz/qless-py/kill
LDU_FT
[ "<BEGIN>\n## `clone`", "Clone the redis client to be slowlog-compatible\n<END>", "<BEGIN>\n## `stop`", "Set everything back to normal and collect our data\n<END>", "<BEGIN>\n## `class_string`", "Return a string representative of the class\n<END>", "<BEGIN>\n## `put`", "Either create a new job in the p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the kill API. 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 kill API. 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...
Stop the greenlet processing the provided jid
"Stop the greenlet processing the provided jid"
66
false
seomoz/qless-py
kill
7,103
LDU_FT/exosite-labs/pyonep/get_all_devices_in_portal
LDU_FT
[ "<BEGIN>\n## `request`", "Wraps HTTPConnection.request. On exception it calls exception_fn\n with the exception object. If exception_fn is None, it re-raises the\n exception. If notimeout is True, create a new connection (regardless of\n self.reuseconnection setting) that uses the global defa...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_all_devices_in_portal 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_all_devices_in_portal API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
This loops through the get_multiple_devices method 10 rids at a time.
"This loops through the get_multiple_devices method 10 rids at a time."
199
false
exosite-labs/pyonep
get_all_devices_in_portal
7,104
LDU_FT/razorpay/razorpay-python/fetch
LDU_FT
[ "<BEGIN>\n## `fetch`", "Fetch Card for given Id", " Args:\n card_id : Id for which card object has to be retrieved", " Returns:\n Card dict for given card Id\n<END>", "<BEGIN>\n## `all`", "Fetch all Virtual Account entities", " Returns:\n Dictionary ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetch API. 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 fetch API. 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...
Refund object for given paymnet Id Args: refund_id : Refund Id for which refund has to be retrieved Returns: Refund dict for given refund Id
"Refund object for given paymnet Id\n\n Args:\n refund_id : Refund Id for which refund has to be retrieved\n\n Returns:\n Refund dict for given refund Id"
159
false
razorpay/razorpay-python
fetch
7,105
LDU_FT/BD2KGenomics/protect/run_mutect_with_merge
LDU_FT
[ "<BEGIN>\n## `generate_unique_key`", "This module will take a master key and a url, and then make a new key specific to the url, based\n off the master.\n :param str master_key: Path to the master key used for encryption.\n :param str url: Full URL to the potential file location in S3.\n :returns new_...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run_mutect_with_merge API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run_mutect_with_merge API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
A wrapper for the the entire MuTect sub-graph. :param dict tumor_bam: Dict of bam and bai for tumor DNA-Seq :param dict normal_bam: Dict of bam and bai for normal DNA-Seq :param dict univ_options: Dict of universal options used by almost all tools :param dict mutect_options: Options specific to MuTect ...
"A wrapper for the the entire MuTect sub-graph.\n\n :param dict tumor_bam: Dict of bam and bai for tumor DNA-Seq\n :param dict normal_bam: Dict of bam and bai for normal DNA-Seq\n :param dict univ_options: Dict of universal options used by almost all tools\n :param dict mutect_options: Options specific to M...
510
false
BD2KGenomics/protect
run_mutect_with_merge
7,106
LDU_FT/PmagPy/PmagPy/on_enter_fit_name
LDU_FT
[ "<BEGIN>\n## `GetValue`", "Find the matching value from pandas DataFrame,\n return it.\n<END>", "<BEGIN>\n## `SetColumnValues`", "Custom method to efficiently set all values\n in a column.", " Parameters\n ----------\n col : str or int\n name or index position o...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the on_enter_fit_name API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the on_enter_fit_name API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Allows the entering of new fit names in the fit combobox Parameters ---------- event : the wx.ComboBoxEvent that triggers this function Alters ------ current_fit.name
"Allows the entering of new fit names in the fit combobox\n\n Parameters\n ----------\n event : the wx.ComboBoxEvent that triggers this function\n\n Alters\n ------\n current_fit.name"
3,302
true
PmagPy/PmagPy
on_enter_fit_name
7,107
LDU_FT/jupyterhub/chartpress/image_needs_building
LDU_FT
[ "<BEGIN>\n## `git_remote`", "Return the URL for remote git repository.", " Depending on the system setup it returns ssh or https remote.\n<END>", "<BEGIN>\n## `render_build_args`", "Get docker build args dict, rendering any templated args.", " Args:\n options (dict):\n The dictionary for a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the image_needs_building 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 image_needs_building 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 whether an image needs building Checks if the image exists (ignores commit range), either locally or on the registry. Args: image (str): the `repository:tag` image to be build. Returns: True: if image needs to be built False: if not (image already exists)
"Return whether an image needs building\n\n Checks if the image exists (ignores commit range),\n either locally or on the registry.\n\n Args:\n\n image (str): the `repository:tag` image to be build.\n\n Returns:\n\n True: if image needs to be built\n False: if not (image already exists)"
31
false
jupyterhub/chartpress
image_needs_building
7,108
LDU_FT/PBR/MQ2/convert_inputfiles
LDU_FT
[ "<BEGIN>\n## `add_qtl_to_marker`", "Add the number of QTLs found for a given marker.", " :arg marker, the marker we are looking for the QTL's.\n :arg qtls, the list of all QTLs found.\n<END>", "<BEGIN>\n## `add_qtl_to_map`", "This function adds to a genetic map for each marker the number\n of signi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_inputfiles 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 convert_inputfiles API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
Convert the input files present in the given folder or inputfile. This method creates the matrix representation of the QTLs results providing for each marker position the LOD value found for each trait as well as a representation of the genetic map used in the experiment. ...
"Convert the input files present in the given folder or\n inputfile.\n This method creates the matrix representation of the QTLs\n results providing for each marker position the LOD value found\n for each trait as well as a representation of the genetic map\n used in the experiment.\n...
98
false
PBR/MQ2
convert_inputfiles
7,109
LDU_FT/juju-solutions/jujuresources/_handle_bugged_tarfile
LDU_FT
[ "<BEGIN>\n## `config_get`", "Helper to access a Juju config option when charmhelpers is not available.", " :param str option_name: Name of the config option to get the value of\n<END>", "<BEGIN>\n## `fetch`", "Attempt to fetch all resources for a charm.", " :param list which: A name, or a list of on...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _handle_bugged_tarfile 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_bugged_tarfile 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 tar file that tarfile library mistakenly reports as invalid. Happens with tar files created on FAT systems. See: http://stackoverflow.com/questions/25552162/tarfile-readerror-file-could-not-be-opened-successfully
"Handle tar file that tarfile library mistakenly reports as invalid.\n Happens with tar files created on FAT systems. See:\n http://stackoverflow.com/questions/25552162/tarfile-readerror-file-could-not-be-opened-successfully"
34
false
juju-solutions/jujuresources
_handle_bugged_tarfile
7,110
LDU_FT/DolphDev/pynationstates/telegram
LDU_FT
[ "<BEGIN>\n## `_get_shard`", "Dynamically Builds methods to query shard with proper with arg and kwargs support\n<END>", "<BEGIN>\n## `request`", "Request the API", " This method is wrapped by similar functions\n<END>", "<BEGIN>\n## `command`", "Method Interface to the command API for Nationsta...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the telegram API. 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 telegram API. 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...
Create Telegram Templates which can be used to send telegrams :param client_key: Client Key Nationstates Gave you :param tgid: TGID from api template :param key: Key from api Template
"Create Telegram Templates which can be used to send telegrams\n :param client_key: Client Key Nationstates Gave you\n :param tgid: TGID from api template\n :param key: Key from api Template"
17
false
DolphDev/pynationstates
telegram
7,111
LDU_FT/benmack/eo-box/get_dataset
LDU_FT
[ "<BEGIN>\n## `buildvrt`", "Build a VRT", " See also: https://www.gdal.org/gdalbuildvrt.html", " You can find the possible BuildVRTOptions (**kwargs**) here:\n https://github.com/nextgis/pygdal/blob/78a793057d2162c292af4f6b240e19da5d5e52e2/2.1.0/osgeo/gdal.py#L1051", " Arguments:\n input_f...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_dataset API. 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_dataset API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Get a specific sampledata to play around. So far the following sampledata exist: * 's2l1c': One Sentinel-2 Level 1C scene with a reference dataset. * 'lsts': A time series of 105 Landsat scenes each with the bands b3 (red), b4 (nir), b5 (swir1) and fmask. Keyword Arguments: dataset {str} -- T...
"Get a specific sampledata to play around.\n\n So far the following sampledata exist:\n\n * 's2l1c': One Sentinel-2 Level 1C scene with a reference dataset.\n * 'lsts': A time series of 105 Landsat scenes each with the bands b3 (red), b4 (nir), b5 (swir1) and fmask.\n\n Keyword Arguments:\n dataset {...
98
false
benmack/eo-box
get_dataset
7,112
LDU_FT/ming060/robotframework-uiautomatorlibrary/scroll_to_end_horizontally
LDU_FT
[ "<BEGIN>\n## `set_serial`", "Specify given *android_serial* device to perform test.", " You do not have to specify the device when there is only one device connects to the computer.", " When you need to use multiple devices, do not use this keyword to switch between devices in test execution.", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the scroll_to_end_horizontally 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 scroll_to_end_horizontally API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
Scroll the object which has *selectors* attributes to *end* horizontally. See `Scroll Forward Vertically` for more details.
"Scroll the object which has *selectors* attributes to *end* horizontally.\n\n See `Scroll Forward Vertically` for more details."
115
false
ming060/robotframework-uiautomatorlibrary
scroll_to_end_horizontally
7,113
LDU_FT/StorjOld/pyp2p/calculate_clock_skew
LDU_FT
[ "<BEGIN>\n## `set_keep_alive`", "This function instructs the TCP socket to send a heart beat every n\n seconds to detect dead connections. It's the TCP equivalent of the\n IRC ping-pong protocol and allows for better cleanup / detection\n of dead TCP connections.", " It activates aft...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calculate_clock_skew API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calculate_clock_skew API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Computer average and standard deviation using all the data points.
"Computer average and standard deviation\n using all the data points."
88
false
StorjOld/pyp2p
calculate_clock_skew
7,114
LDU_FT/pylast/pylast/get_top_artists
LDU_FT
[ "<BEGIN>\n## `cleanup_nodes`", "Remove text nodes containing only whitespace\n<END>", "<BEGIN>\n## `_collect_nodes`", "Returns a sequence of dom.Node objects about as close to limit as possible\n<END>", "<BEGIN>\n## `_extract_all`", "Extracts all the values from the xml string. returning a list.\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_top_artists API. 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_top_artists API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Returns the top artists played by a user. * period: The period of time. Possible values: o PERIOD_OVERALL o PERIOD_7DAYS o PERIOD_1MONTH o PERIOD_3MONTHS o PERIOD_6MONTHS o PERIOD_12MONTHS
"Returns the top artists played by a user.\n * period: The period of time. Possible values:\n o PERIOD_OVERALL\n o PERIOD_7DAYS\n o PERIOD_1MONTH\n o PERIOD_3MONTHS\n o PERIOD_6MONTHS\n o PERIOD_12MONTHS"
146
false
pylast/pylast
get_top_artists
7,115
LDU_FT/ikegami-yukino/madoka-python/get
LDU_FT
[ "<BEGIN>\n## `create`", "Create new sketch\n Params:\n <int> width\n <str> path\n <int> flags\n <int> seed\n<END>", "<BEGIN>\n## `get`", "Add key-value\n Params:\n <str> key\n <int> key_length\n Return:\n <int> k...
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...
Add key-value Params: <str> key <int> key_length Return: <int> key_value
"Add key-value\n Params:\n <str> key\n <int> key_length\n Return:\n <int> key_value"
26
false
ikegami-yukino/madoka-python
get
7,116
LDU_FT/KujiraProject/Flask-PAM/authenticate
LDU_FT
[ "<BEGIN>\n## `authenticate`", "Performs authentication using simplepam", " This function calls simplepam's authenticate function and returns\n status of authentication using PAM and token object (of type\n self.token_type)", " :param username: username in Linux", " :param ...
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...
Performs authentication using simplepam This function calls simplepam's authenticate function and returns status of authentication using PAM and token object (of type self.token_type) :param username: username in Linux :param password: password for username :p...
"Performs authentication using simplepam\n \n This function calls simplepam's authenticate function and returns\n status of authentication using PAM and token object (of type\n self.token_type)\n\n :param username: username in Linux\n\n :param password: password for username\n\...
25
false
KujiraProject/Flask-PAM
authenticate
7,117
LDU_FT/calmjs/calmjs/_init
LDU_FT
[ "<BEGIN>\n## `make_choice_validator`", "Returns a callable that accepts the choices provided.", " Choices should be provided as a list of 2-tuples, where the first\n element is a string that should match user input (the key); the\n second being the value associated with the key.", " The callable b...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _init API. 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 _init API. 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...
Turn the records into actual usable keys.
"Turn the records into actual usable keys."
361
false
calmjs/calmjs
_init
7,118
LDU_FT/radical-cybertools/radical.entk/from_dict
LDU_FT
[ "<BEGIN>\n## `resolve_placeholders`", "**Purpose**: Substitute placeholders in staging attributes of a Task with actual paths to the corresponding tasks.", " :arguments:\n :path: string describing the staging paths, possibly containing a placeholder\n :placeholder_dict: dictionary holding the v...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_dict API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_dict API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Create a Stage from a dictionary. The change is in inplace. :argument: python dictionary :return: None
"Create a Stage from a dictionary. The change is in inplace.\n\n :argument: python dictionary\n :return: None"
146
false
radical-cybertools/radical.entk
from_dict
7,119
LDU_FT/GoogleCloudPlatform/datastore-ndb-python/transactional_tasklet
LDU_FT
[ "<BEGIN>\n## `get_event_loop`", "Return a EventLoop instance.", " A new instance is created for each new HTTP request. We determine\n that we're in a new request by inspecting os.environ, which is reset\n at the start of each request. Also, each thread gets its own loop.\n<END>", "<BEGIN>\n## `clear`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transactional_tasklet 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 transactional_tasklet API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
The async version of @ndb.transaction. Will return the result of the wrapped function as a Future.
"The async version of @ndb.transaction.\n\n Will return the result of the wrapped function as a Future."
569
false
GoogleCloudPlatform/datastore-ndb-python
transactional_tasklet
7,120
LDU_FT/stephrdev/django-formwizard/get
LDU_FT
[ "<BEGIN>\n## `as_view`", "This method is used within urls.py to create unique formwizard\n instances for every request. We need to override this method because\n we add some kwargs which are needed to make the formwizard usable.\n<END>", "<BEGIN>\n## `get_initkwargs`", "Creates a dict with all n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
This renders the form or, if needed, does the http redirects.
"This renders the form or, if needed, does the http redirects."
60
false
stephrdev/django-formwizard
get
7,121
LDU_FT/Peter-Slump/django-dynamic-fixtures/get_plan
LDU_FT
[ "<BEGIN>\n## `progress_callback`", "Callback to report progress", " :param str action:\n :param list node: app, module\n :param int | None elapsed_time:\n<END>", "<BEGIN>\n## `init_graph`", "Initialize graph\n Load all nodes and set dependencies.", " To avoid errors abou...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_plan API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_plan API. 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...
Retrieve a plan, e.g. a list of fixtures to be loaded sorted on dependency. :param list nodes: list of nodes to be loaded. :return:
"Retrieve a plan, e.g. a list of fixtures to be loaded sorted on\n dependency.\n\n :param list nodes: list of nodes to be loaded.\n :return:"
22
false
Peter-Slump/django-dynamic-fixtures
get_plan
7,122
LDU_FT/andy-z/ged4py/order
LDU_FT
[ "<BEGIN>\n## `guess_codec`", "Look at file contents and guess its correct encoding.", " File must be open in binary mode and positioned at offset 0. If BOM\n record is present then it is assumed to be UTF-8 or UTF-16 encoded\n file. GEDCOM header is searched for CHAR record and encoding name\n is ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the order API. 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 order API. 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...
Returns name order key. Returns tuple with two strings that can be compared to other such tuple obtained from different name. Note that if you want locale-dependent ordering then you need to compare strings using locale-aware method (e.g. ``locale.strxfrm``). :param order: One ...
"Returns name order key.\n\n Returns tuple with two strings that can be compared to other such\n tuple obtained from different name. Note that if you want\n locale-dependent ordering then you need to compare strings using\n locale-aware method (e.g. ``locale.strxfrm``).\n\n :param ord...
101
false
andy-z/ged4py
order
7,123
LDU_FT/Toilal/rebulk/effective_patterns
LDU_FT
[ "<BEGIN>\n## `formatters`", "Chain formatter functions.\n :param chained_formatters:\n :type chained_formatters:\n :return:\n :rtype:\n<END>", "<BEGIN>\n## `_default_conflict_solver`", "Default conflict solver for matches, shorter matches if they conflicts with longer ones", " :param conflict...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the effective_patterns 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 effective_patterns API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
Get effective patterns for this rebulk object and its children. :param context: :type context: :return: :rtype:
"Get effective patterns for this rebulk object and its children.\n :param context:\n :type context:\n :return:\n :rtype:"
174
false
Toilal/rebulk
effective_patterns
7,124
LDU_FT/aglie/meerkat/r_get_numbers
LDU_FT
[ "<BEGIN>\n## `rotvec2mat`", "Convert rotation from axis and angle to matrix representation\n<END>", "<BEGIN>\n## `det2lab_xds`", "Converts pixels coordinates from the frame into q-vector\n<END>", "<BEGIN>\n## `r_get_numbers`", "A helper function which can be used similarly to fscanf(fid,'%f',num) to extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the r_get_numbers API. 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 r_get_numbers API. 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...
A helper function which can be used similarly to fscanf(fid,'%f',num) to extract num arguments from the regex iterator
"A helper function which can be used similarly to fscanf(fid,'%f',num) to extract num arguments from the regex iterator"
14
false
aglie/meerkat
r_get_numbers
7,125
LDU_FT/SpotlightData/preprocessing/remove_urls
LDU_FT
[ "<BEGIN>\n## `correct_word`", "Finds all valid one and two letter corrections for word_string, returning the word\n with the highest relative probability as type str.\n<END>", "<BEGIN>\n## `find_candidates`", "Finds all potential words word_string could have intended to mean. If a word is not incorrectly\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_urls API. 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 remove_urls API. 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...
Removes all URLs within text_string and returns the new string as type str. Keyword argument: - text_string: string instance Exceptions raised: - InputError: occurs should a non-string argument be passed
"Removes all URLs within text_string and returns the new string as type str.\n\n Keyword argument:\n\n - text_string: string instance\n\n Exceptions raised:\n\n - InputError: occurs should a non-string argument be passed"
106
false
SpotlightData/preprocessing
remove_urls
7,126
LDU_FT/SylvanasSun/FishFishJump/cluster_health_for_indices
LDU_FT
[ "<BEGIN>\n## `hash`", "function hash() implement to acquire hash value that use simply method that weighted sum.", " Parameters:\n -----------\n value: string\n the value is param of need acquire hash\n Returns:\n --------\n result...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cluster_health_for_indices 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 cluster_health_for_indices API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
Return a list of cluster health of specified indices(default all), the first element is a dictionary represent a global information of the cluster such as "cluster_name", "number_of_nodes"... the second element represent a indices information list that each element is a dictionary for one index ...
"Return a list of cluster health of specified indices(default all),\n the first element is a dictionary represent a global information of the cluster\n such as \"cluster_name\", \"number_of_nodes\"...\n the second element represent a indices information list that each element is a dictionary for on...
97
false
SylvanasSun/FishFishJump
cluster_health_for_indices
7,127
LDU_FT/bokeh/bokeh/_shares_exec_prefix
LDU_FT
[ "<BEGIN>\n## `notify_owner`", "A decorator for mutating methods of property container classes\n that notifies owners of the property container about mutating changes.", " Args:\n func (callable) : the container method to wrap in a notification", " Returns:\n wrapped method", " Exam...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _shares_exec_prefix 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 _shares_exec_prefix 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...
Whether a give base directory is on the system exex prefix
"Whether a give base directory is on the system exex prefix"
2,090
true
bokeh/bokeh
_shares_exec_prefix
7,128
LDU_FT/Autodesk/pyccc/put
LDU_FT
[ "<BEGIN>\n## `persistent_id`", "Tags objects with a persistent ID, but do NOT emit it\n<END>", "<BEGIN>\n## `open`", "Return file-like object (actually opens the file for this class)\n<END>", "<BEGIN>\n## `_open_tmpfile`", "Open a temporary, unique file in CACHEDIR (/tmp/cyborgcache) by default.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the put API. 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 put API. 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...
Copy the referenced directory to this path Note: This ignores anything not in the desired directory, given by ``self.dirname``. Args: destination (str): path to put this directory (which must NOT already exist) References: https://stackoverflow.com/a/826108...
"Copy the referenced directory to this path\n\n Note:\n This ignores anything not in the desired directory, given by ``self.dirname``.\n\n Args:\n destination (str): path to put this directory (which must NOT already exist)\n\n References:\n https://stackoverflow.co...
114
false
Autodesk/pyccc
put
7,129
LDU_FT/xmikos/reparser/build_regex
LDU_FT
[ "<BEGIN>\n## `update_params`", "Update dict of params from results of regex match\n<END>", "<BEGIN>\n## `modify_pattern`", "Rename groups in regex pattern and enclose it in named group\n<END>", "<BEGIN>\n## `get_group_value`", "Return value of regex match for the specified group\n<END>", "<BEGIN>\n## `b...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_regex API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_regex API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Build compound regex from list of tokens
"Build compound regex from list of tokens"
14
false
xmikos/reparser
build_regex
7,130
LDU_FT/twisted/epsilon/spawnProcess
LDU_FT
[ "<BEGIN>\n## `main`", "Create a private key and a certificate and write them to a file.\n<END>", "<BEGIN>\n## `setTimeout`", "Change the timeout period", " @type period: C{int} or C{NoneType}\n @param period: The period, in seconds, to change the timeout to, or\n C{None} to disable the ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the spawnProcess API. 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 spawnProcess API. 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...
Launch a process with a particular Python environment. All arguments as to reactor.spawnProcess(), except for the addition of an optional packages iterable. This should be of strings naming packages the subprocess is to be able to import.
"Launch a process with a particular Python environment.\n\n All arguments as to reactor.spawnProcess(), except for the\n addition of an optional packages iterable. This should be\n of strings naming packages the subprocess is to be able to\n import."
217
false
twisted/epsilon
spawnProcess
7,131
LDU_FT/tomturner/django-tenants/storages
LDU_FT
[ "<BEGIN>\n## `get_table_list`", "Returns a list of table names in the current database and schema.\n<END>", "<BEGIN>\n## `get_table_description`", "Returns a description of the table, with the DB-API cursor.description interface.\n<END>", "<BEGIN>\n## `delete`", "Deletes this row. Drops the tenant's schem...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the storages API. 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 storages API. 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...
Lazy retrieval of list of storage handlers for the current tenant. :return: A ,a[ pf dir paths to an appropriate storage instance.
"Lazy retrieval of list of storage handlers for the current tenant.\n :return: A ,a[ pf dir paths to an appropriate storage instance."
50
false
tomturner/django-tenants
storages
7,132
LDU_FT/dfm/casjobs/get_output
LDU_FT
[ "<BEGIN>\n## `_send_request`", "Construct and submit a structured/authenticated request.", " ## Arguments", " * `job_type` (str): The job type identifier to use.", " ## Keyword Arguments", " * `params` (dict): Any additional entries to include in the POST\n request.", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_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. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_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. The extrac...
Download an output file given the id of the output request job. ## Arguments * `job_id` (int): The id of the _output_ job. * `outfn` (str): The file where the output should be stored. May also be a file-like object with a 'write' method.
"Download an output file given the id of the output request job.\n\n ## Arguments\n\n * `job_id` (int): The id of the _output_ job.\n * `outfn` (str): The file where the output should be stored.\n May also be a file-like object with a 'write' method."
71
false
dfm/casjobs
get_output
7,133
LDU_FT/stevepeak/tornpsql/mogrify
LDU_FT
[ "<BEGIN>\n## `_reconnect`", "Closes the existing database connection and re-opens it.\n<END>", "<BEGIN>\n## `_reregister_types`", "Registers existing types for a new connection\n<END>", "<BEGIN>\n## `register_type`", "Callback to register data types when reconnect\n<END>", "<BEGIN>\n## `mogrify`", "Fr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mogrify API. 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 mogrify API. 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...
From http://initd.org/psycopg/docs/cursor.html?highlight=mogrify#cursor.mogrify Return a query string after arguments binding. The string returned is exactly the one that would be sent to the database running the execute() method or similar.
"From http://initd.org/psycopg/docs/cursor.html?highlight=mogrify#cursor.mogrify\n Return a query string after arguments binding.\n The string returned is exactly the one that would be sent to the database running\n the execute() method or similar."
22
false
stevepeak/tornpsql
mogrify
7,134
LDU_FT/pschmitt/pykeepass/_decode_time
LDU_FT
[ "<BEGIN>\n## `compute_transformed`", "Compute transformed key for opening database\n<END>", "<BEGIN>\n## `compute_header_hmac_hash`", "Compute HMAC-SHA256 hash of header.\n Used to prevent header tampering.\n<END>", "<BEGIN>\n## `compute_payload_block_hash`", "Compute hash of each payload block.\n U...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _decode_time API. 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 _decode_time API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Convert base64 time or plaintext time to datetime
"Convert base64 time or plaintext time to datetime"
46
false
pschmitt/pykeepass
_decode_time
7,135
LDU_FT/logston/py3s3/request_signature
LDU_FT
[ "<BEGIN>\n## `save`", "Saves new content to the file specified by name. The content should be\n a proper File object or any python file-like object, ready to be read\n from the beginning.\n<END>", "<BEGIN>\n## `_prepend_name_prefix`", "Return file name (ie. path) with the prefix directory prepen...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the request_signature API. 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 request_signature API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Construct a signature by making an RFC2104 HMAC-SHA1 of the following and converting it to Base64 UTF-8 encoded string.
"Construct a signature by making an RFC2104 HMAC-SHA1\n of the following and converting it to Base64 UTF-8 encoded string."
25
false
logston/py3s3
request_signature
7,136
LDU_FT/ehuggett/send-cli/encrypt_file
LDU_FT
[ "<BEGIN>\n## `api_params`", "Change the download limit for a file hosted on a Send Server\n<END>", "<BEGIN>\n## `api_download`", "Given a Send url, download and return the encrypted data and metadata\n<END>", "<BEGIN>\n## `sign_nonce`", "sign the server nonce from the WWW-Authenticate header with an authK...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the encrypt_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 extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the encrypt_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 extr...
Encrypt file data with the same method as the Send browser/js client
"Encrypt file data with the same method as the Send browser/js client"
22
false
ehuggett/send-cli
encrypt_file
7,137
LDU_FT/miku/gluish/weekly
LDU_FT
[ "<BEGIN>\n## `write_tsv`", "Write argument list in `tup` out as a tab-separeated row to the stream.\n<END>", "<BEGIN>\n## `iter_tsv`", "If a tuple is given in cols, use the elements as names to construct\n a namedtuple.", " Columns can be marked as ignored by using ``X`` or ``0`` as column name.", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the weekly API. 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 weekly API. 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 ...
Weeks start are fixes at Monday for now.
"Weeks start are fixes at Monday for now."
34
false
miku/gluish
weekly
7,138
LDU_FT/astroML/gatspy/generated
LDU_FT
[ "<BEGIN>\n## `mode_in_range`", "Find the mode of values to within a certain range\n<END>", "<BEGIN>\n## `scores`", "Compute the scores under the various models", " Parameters\n ----------\n periods : array_like\n array of periods at which to compute scores", " Return...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generated API. 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 generated API. 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 generated magnitudes in the specified band Parameters ---------- band : str desired bandpass: should be one of ['u', 'g', 'r', 'i', 'z'] t : array_like array of times (in days) err : float or array_like gaussian error in observations ...
"Return generated magnitudes in the specified band\n\n Parameters\n ----------\n band : str\n desired bandpass: should be one of ['u', 'g', 'r', 'i', 'z']\n t : array_like\n array of times (in days)\n err : float or array_like\n gaussian error in obser...
123
false
astroML/gatspy
generated
7,139
LDU_FT/jenisys/parse_type/create_type_variants
LDU_FT
[ "<BEGIN>\n## `build_type_dict`", "Builds type dictionary for user-defined type converters,\n used by :mod:`parse` module.\n This requires that each type converter has a \"name\" attribute.", " :param converters: List of type converters (parse_types)\n :return: Type converter dictionary\n<END>", "<...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_type_variants API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_type_variants API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Create type variants for types with a cardinality field. The new type converters are based on the type converter with cardinality=1. .. code-block:: python # -- USE: parse_number() type converter function. new_types = CardinalityFieldTypeBuilder.create_type_variants( ...
"Create type variants for types with a cardinality field.\n The new type converters are based on the type converter with\n cardinality=1.\n\n .. code-block:: python\n\n # -- USE: parse_number() type converter function.\n new_types = CardinalityFieldTypeBuilder.create_type_vari...
115
false
jenisys/parse_type
create_type_variants
7,140
LDU_FT/jbasko/wr-profiles/envvar_profile_cls
LDU_FT
[ "<BEGIN>\n## `envvar_profile_cls`", "A class decorator that makes the decorated class a sub-class of EnvvarProfile and transforms\n its type annotations into envvar profile properties.\n<END>", "<BEGIN>\n## `envvar_profile`", "Creates an EnvvarProfile instance without the need for an explicit declaration o...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the envvar_profile_cls 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 envvar_profile_cls 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 class decorator that makes the decorated class a sub-class of EnvvarProfile and transforms its type annotations into envvar profile properties.
"A class decorator that makes the decorated class a sub-class of EnvvarProfile and transforms\n its type annotations into envvar profile properties."
23
false
jbasko/wr-profiles
envvar_profile_cls
7,141
LDU_FT/rodricios/eatiht/extract
LDU_FT
[ "<BEGIN>\n## `get_html_tree`", "From some file path, input stream, or URL, construct and return\r\n an HTML tree.\n<END>", "<BEGIN>\n## `get_xpath_frequencydistribution`", "Build and return a frequency distribution over xpath occurrences.\n<END>", "<BEGIN>\n## `calc_avgstrlen_pathstextnodes`", "In the ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract API. 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 extract API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
A more precise algorithm over the original eatiht algorithm
"A more precise algorithm over the original eatiht algorithm"
36
false
rodricios/eatiht
extract
7,142
LDU_FT/ska-sa/hypercube/dim_extents
LDU_FT
[ "<BEGIN>\n## `bytes_required`", "Returns\n -------\n int\n Estimated number of bytes required by arrays registered\n on the cube, taking their extents into account.\n<END>", "<BEGIN>\n## `register_dimension`", "Registers a dimension on this cube.", " .. code-block:...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dim_extents API. 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 dim_extents API. 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 extent tuples of the dimensions in args. .. code-block:: python (tl, tu), (bl, bu) = cube.dim_extents('ntime', 'nbl') or .. code-block:: python (tl, tu), (bl, bu) = cube.dim_upper_extent('ntime,nbl')
"Returns extent tuples of the dimensions in args.\n\n .. code-block:: python\n\n (tl, tu), (bl, bu) = cube.dim_extents('ntime', 'nbl')\n\n or\n\n .. code-block:: python\n\n (tl, tu), (bl, bu) = cube.dim_upper_extent('ntime,nbl')"
163
false
ska-sa/hypercube
dim_extents
7,143
LDU_FT/biosignalsnotebooks/biosignalsnotebooks/download
LDU_FT
[ "<BEGIN>\n## `windowing`", "-----\n Brief\n -----\n Function to window the input signal, that return the windowed signal.", " -----------\n Description\n -----------\n Machine learning pipelines usually use features to represent each sample of the input signals.\n In order to extract tho...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download API. 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 download API. 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...
Downloading data from websites, such as previously acquired physiological signals, is an extremely relevant task, taking into consideration that, without data, processing cannot take place. With the current function a file can be easily downloaded through the "link" input. ---------- Parameters --...
"Downloading data from websites, such as previously acquired physiological signals, is an extremely relevant task,\n taking into consideration that, without data, processing cannot take place.\n\n With the current function a file can be easily downloaded through the \"link\" input.\n\n ----------\n Paramete...
800
false
biosignalsnotebooks/biosignalsnotebooks
download
7,144
LDU_FT/albertz/py_better_exchook/is_dark_terminal_background
LDU_FT
[ "<BEGIN>\n## `parse_pkg_info`", ":param str fn:\n :rtype: dict[str,str]\n<END>", "<BEGIN>\n## `parse_py_statement`", ":param str line:\n :return: yields (type, value)\n :rtype: typing.Iterator[typing.Tuple[str,str]]\n<END>", "<BEGIN>\n## `grep_full_py_identifiers`", ":param typing.Iterable[(str,s...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_dark_terminal_background API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_dark_terminal_background API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
:return: Whether we have a dark Terminal background color, or None if unknown. We currently just check the env var COLORFGBG, which some terminals define like "<foreground-color>:<background-color>", and if <background-color> in {0,1,2,3,4,5,6,8}, then we have some dark background. ...
":return: Whether we have a dark Terminal background color, or None if unknown.\n We currently just check the env var COLORFGBG,\n which some terminals define like \"<foreground-color>:<background-color>\",\n and if <background-color> in {0,1,2,3,4,5,6,8}, then we have some dark backgro...
75
false
albertz/py_better_exchook
is_dark_terminal_background
7,145
LDU_FT/SuperCowPowers/bat/df_to_parquet
LDU_FT
[ "<BEGIN>\n## `readlines`", "Open the file for reading and yield lines as they are added\n<END>", "<BEGIN>\n## `readrows`", "The readrows method reads simply 'combines' the rows of\n multiple files OR gunzips the file and then reads the rows\n<END>", "<BEGIN>\n## `most_recent`", "Recursively insp...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the df_to_parquet API. 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 df_to_parquet API. 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...
write_to_parquet: Converts a Pandas DataFrame into a Parquet file Args: df (pandas dataframe): The Pandas Dataframe to be saved as parquet file filename (string): The full path to the filename for the Parquet file
"write_to_parquet: Converts a Pandas DataFrame into a Parquet file\n Args:\n df (pandas dataframe): The Pandas Dataframe to be saved as parquet file\n filename (string): The full path to the filename for the Parquet file"
79
false
SuperCowPowers/bat
df_to_parquet
7,146
LDU_FT/vtkiorg/vtki/active_vectors_info
LDU_FT
[ "<BEGIN>\n## `extract_geometry`", "Combines the geomertry of all blocks into a single ``PolyData``\n object. Place this filter at the end of a pipeline before a polydata\n consumer such as a polydata mapper to extract geometry from all blocks\n and append them to one polydata object.\n<END>",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the active_vectors_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. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the active_vectors_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. T...
Return the active scalar's field and name: [field, name]
"Return the active scalar's field and name: [field, name]"
1,121
true
vtkiorg/vtki
active_vectors_info
7,147
LDU_FT/Gbps/fastlog/hexdump
LDU_FT
[ "<BEGIN>\n## `addHandler`", "Setups a new internal logging handler. For fastlog loggers,\n handlers are kept track of in the self._handlers list\n<END>", "<BEGIN>\n## `setStyle`", "Adjusts the output format of messages based on the style name provided", " Styles are loaded like python modules,...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hexdump API. 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 hexdump API. 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...
Outputs a colorful hexdump of the first argument. This function will attempt to 'flatten' iterable data passed to it until all remaining elements are binary representable. In python2, objects should be of type 'str', in python3, 'bytes' or 'bytearray' will work. The level of the last...
"Outputs a colorful hexdump of the first argument. \n\n This function will attempt to 'flatten' iterable data passed to it until all remaining elements\n are binary representable.\n\n In python2, objects should be of type 'str', in python3, 'bytes' or 'bytearray' will work.\n\n The level of ...
63
false
Gbps/fastlog
hexdump
7,148
LDU_FT/greedo/python-xbrl/parseCustom
LDU_FT
[ "<BEGIN>\n## `soup_maker`", "Takes a file handler returns BeautifulSoup\n<END>", "<BEGIN>\n## `parse`", "parse is the main entry point for an XBRLParser. It takes a file\n handle.\n<END>", "<BEGIN>\n## `parseGAAP`", "Parse GAAP from our XBRL soup and return a GAAP object.\n<END>", "<BEGIN>\n## `p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parseCustom API. 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 parseCustom API. 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...
Parse company custom entities from XBRL and return an Custom object.
"Parse company custom entities from XBRL and return an Custom object."
14
false
greedo/python-xbrl
parseCustom
7,149
LDU_FT/reflexsc/reflex/promote
LDU_FT
[ "<BEGIN>\n## `configure`", "Configure Monitor, pull list of what to monitor, initialize threads\n<END>", "<BEGIN>\n## `feed_monitors`", "Pull from the cached monitors data and feed the workers queue. Run\n every interval (refresh:test).\n<END>", "<BEGIN>\n## `update_monitors`", "Periodically check...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the promote API. 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 promote API. 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...
promote a build so it is ready for an upper lane
"promote a build so it is ready for an upper lane"
35
false
reflexsc/reflex
promote
7,150
LDU_FT/MacHu-GWU/pymongo_mate-project/excel_to_sql
LDU_FT
[ "<BEGIN>\n## `read_csv_arg_preprocess`", "Automatically decide if we need to use iterator mode to read a csv file.", " :param abspath: csv file absolute path.\n :param memory_usage: max memory will be used for pandas.read_csv().\n<END>", "<BEGIN>\n## `smart_insert`", "An optimized Insert strategy.", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the excel_to_sql API. 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 excel_to_sql API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Create a database from excel. :param read_excel_kwargs: dict, arguments for ``pandas.read_excel`` method. example: ``{"employee": {"skiprows": 10}, "department": {}}`` :param to_sql_kwargs: dict, arguments for ``pandas.DataFrame.to_sql`` method. limitation: 1. If a integer column has Non...
"Create a database from excel.\n\n :param read_excel_kwargs: dict, arguments for ``pandas.read_excel`` method.\n example: ``{\"employee\": {\"skiprows\": 10}, \"department\": {}}``\n :param to_sql_kwargs: dict, arguments for ``pandas.DataFrame.to_sql`` \n method.\n\n limitation:\n\n 1. If a intege...
188
false
MacHu-GWU/pymongo_mate-project
excel_to_sql
7,151
LDU_FT/moonso/vcftoolbox/get_info_dict
LDU_FT
[ "<BEGIN>\n## `get_vcf_header`", "Get the header lines of a vcf file", " Args:\n source(iterable): A vcf file", " Returns:\n head (HeaderParser): A headerparser object\n<END>", "<BEGIN>\n## `get_variant_dict`", "Parse a variant line", " Split a variant line and ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_info_dict API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_info_dict API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Parse a info field of a variant Make a dictionary from the info field of a vcf variant. Keys are the info keys and values are the raw strings from the vcf If the field only have a key (no value), value of infodict is True. Args: info_line (str): The info fie...
"Parse a info field of a variant\n \n Make a dictionary from the info field of a vcf variant.\n Keys are the info keys and values are the raw strings from the vcf\n If the field only have a key (no value), value of infodict is True.\n \n Args:\n info_line (str): The ...
81
false
moonso/vcftoolbox
get_info_dict
7,152
LDU_FT/line/line-bot-sdk-python/set_rich_menu_image
LDU_FT
[ "<BEGIN>\n## `get`", "GET request.", " :param str url: Request url\n :param dict headers: (optional) Request headers\n :param dict params: (optional) Request query parameter\n :param bool stream: (optional) get content as stream\n :param timeout: (optional), How long to wait f...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_rich_menu_image API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_rich_menu_image API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Call upload rich menu image API. https://developers.line.me/en/docs/messaging-api/reference/#upload-rich-menu-image Uploads and attaches an image to a rich menu. :param str rich_menu_id: IDs of the richmenu :param str content_type: image/jpeg or image/png :param content: image...
"Call upload rich menu image API.\n\n https://developers.line.me/en/docs/messaging-api/reference/#upload-rich-menu-image\n\n Uploads and attaches an image to a rich menu.\n\n :param str rich_menu_id: IDs of the richmenu\n :param str content_type: image/jpeg or image/png\n :param conte...
135
false
line/line-bot-sdk-python
set_rich_menu_image
7,153
LDU_FT/richardchien/nonebot/parse_command
LDU_FT
[ "<BEGIN>\n## `handle_cancellation`", "If the input is a string of cancellation word, finish the command session.\n<END>", "<BEGIN>\n## `on_command`", "Decorator to register a function as a command.", " :param name: command name (e.g. 'echo' or ('random', 'number'))\n :param aliases: aliases of command...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_command API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_command API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Parse a command string (typically from a message). :param bot: NoneBot instance :param cmd_string: command string :return: (Command object, current arg string)
"Parse a command string (typically from a message).\n\n :param bot: NoneBot instance\n :param cmd_string: command string\n :return: (Command object, current arg string)"
105
false
richardchien/nonebot
parse_command
7,154
LDU_FT/xtream1101/cutil/get_proxy_parts
LDU_FT
[ "<BEGIN>\n## `cprint`", "Clear line, then reprint on same line\n :param cstr: string to print on current line\n<END>", "<BEGIN>\n## `_check_values`", "Check if values need to be converted before they get mogrify'd\n<END>", "<BEGIN>\n## `insert`", "Create a bulk insert statement which is much faster...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_proxy_parts API. 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_proxy_parts API. 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...
Take a proxy url and break it up to its parts
"Take a proxy url and break it up to its parts"
45
false
xtream1101/cutil
get_proxy_parts
7,155
LDU_FT/dwavesystems/dwave-cloud-client/encode_bqm_as_qp
LDU_FT
[ "<BEGIN>\n## `ls`", "List configuration files detected (and/or examined paths).\n<END>", "<BEGIN>\n## `create`", "Create and/or update cloud client configuration file.\n<END>", "<BEGIN>\n## `_ping`", "Helper method for the ping command that uses `output()` for info output\n and raises `CLIError()` on h...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the encode_bqm_as_qp API. 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 encode_bqm_as_qp API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Encode the binary quadratic problem for submission to a given solver, using the `qp` format for data. Args: solver (:class:`dwave.cloud.solver.Solver`): The solver used. linear (dict[variable, bias]/list[variable, bias]): Linear terms of the model. quadratic (d...
"Encode the binary quadratic problem for submission to a given solver,\n using the `qp` format for data.\n\n Args:\n solver (:class:`dwave.cloud.solver.Solver`):\n The solver used.\n\n linear (dict[variable, bias]/list[variable, bias]):\n Linear terms of the model.\n\n q...
339
false
dwavesystems/dwave-cloud-client
encode_bqm_as_qp
7,156
LDU_FT/hyperledger/indy-node/didLastExecutedUpgradeSucceeded
LDU_FT
[ "<BEGIN>\n## `init_domain_ledger`", "This is usually an implementation of Ledger\n<END>", "<BEGIN>\n## `update_txn_with_extra_data`", "All the data of the transaction might not be stored in ledger so the\n extra data that is omitted from ledger needs to be fetched from the\n appropriate data sto...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the didLastExecutedUpgradeSucceeded API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the didLastExecutedUpgradeSucceeded API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co...
Checks last record in upgrade log to find out whether it is about scheduling upgrade. If so - checks whether current version is equals to the one in that record :returns: upgrade execution result
"Checks last record in upgrade log to find out whether it\n is about scheduling upgrade. If so - checks whether current version\n is equals to the one in that record\n\n :returns: upgrade execution result"
109
false
hyperledger/indy-node
didLastExecutedUpgradeSucceeded
7,157
LDU_FT/pylover/khayyam/todate
LDU_FT
[ "<BEGIN>\n## `strptime`", "This is opposite of the :py:meth:`khayyam.JalaliDate.strftime`,\n and used to parse date strings into date object.", " `ValueError` is raised if the date_string and format can’t be\n parsed by time.strptime() or if it returns a value which isn’t a time tuple. For ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the todate API. 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 todate API. 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 ...
Calculates the corresponding day in the gregorian calendar. this is the main use case of this library. :return: Corresponding date in gregorian calendar. :rtype: :py:class:`datetime.date`
"Calculates the corresponding day in the gregorian calendar. this is the main use case of this library.\n\n :return: Corresponding date in gregorian calendar.\n :rtype: :py:class:`datetime.date`"
54
false
pylover/khayyam
todate
7,158
LDU_FT/MolSSI-BSE/basis_set_exchange/_fix_uncontracted
LDU_FT
[ "<BEGIN>\n## `read_gbasis`", "Reads gbasis-formatted file data and converts it to a dictionary with the\n usual BSE fields", " Note that the gbasis format does not store all the fields we\n have, so some fields are left blank\n<END>", "<BEGIN>\n## `read_molcas`", "Reads molcas-formatted fi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _fix_uncontracted API. 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 _fix_uncontracted API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Forces the contraction coefficient of uncontracted shells to 1.0
"Forces the contraction coefficient of uncontracted shells to 1.0"
408
false
MolSSI-BSE/basis_set_exchange
_fix_uncontracted
7,159
LDU_FT/spacetelescope/acstools/hdr_vals_for_overscan
LDU_FT
[ "<BEGIN>\n## `extract_dark`", "Extract superdark data from ``DARKFILE`` or ``DRKCFILE``.", " Parameters\n ----------\n prihdr : obj\n FITS primary header HDU.", " scihdu : obj\n Extension HDU of the science image.\n This is only used to extract subarray data.", " Returns\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hdr_vals_for_overscan 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 hdr_vals_for_overscan API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Retrieve header keyword values from RAW and SPT FITS files to pass on to :func:`check_oscntab` and :func:`check_overscan`. Parameters ---------- root : str Rootname of the observation. Can be relative path to the file excluding the type of FITS file and extension, e.g., '/my...
"Retrieve header keyword values from RAW and SPT\n FITS files to pass on to :func:`check_oscntab` and\n :func:`check_overscan`.\n\n Parameters\n ----------\n root : str\n Rootname of the observation. Can be relative path\n to the file excluding the type of FITS file and\n extension, ...
319
false
spacetelescope/acstools
hdr_vals_for_overscan
7,160
LDU_FT/gazpachoking/jsonref/resolve_pointer
LDU_FT
[ "<BEGIN>\n## `_no_proxy`", "Returns a wrapped version of `method`, such that proxying is turned off\n during the method call.\n<END>", "<BEGIN>\n## `_should_proxy`", "Determines whether `attr` should be looked up on the proxied object, or\n the proxy itself.\n<END>", "<BEGIN>\n## `add_proxy_me...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resolve_pointer API. 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 resolve_pointer API. 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...
Resolve a json pointer ``pointer`` within the referenced ``document``. :argument document: the referent document :argument str pointer: a json pointer URI fragment to resolve within it
"Resolve a json pointer ``pointer`` within the referenced ``document``.\n\n :argument document: the referent document\n :argument str pointer: a json pointer URI fragment to resolve within it"
25
false
gazpachoking/jsonref
resolve_pointer
7,161
LDU_FT/refindlyllc/rets/read_line
LDU_FT
[ "<BEGIN>\n## `parse`", "Parse the login xml response\n :param response: the login response from the RETS server\n :return: None\n<END>", "<BEGIN>\n## `read_line`", "Reads lines of XML and delimits, strips, and returns.\n<END>", "<BEGIN>\n## `generator`", "Takes a response socket connection a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_line API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_line API. 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...
Reads lines of XML and delimits, strips, and returns.
"Reads lines of XML and delimits, strips, and returns."
51
false
refindlyllc/rets
read_line
7,162
LDU_FT/deployed/django-emailtemplates/send_email
LDU_FT
[ "<BEGIN>\n## `send_email`", "Shortcut function for EmailFromTemplate class", " @return: None\n<END>", "<BEGIN>\n## `send_email`", "Sends email to recipient based on self object parameters.", " @param fail_silently: When it’s False, msg.send() will raise an smtplib.SMTPException if an error occur...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_email API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_email API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Sends email to recipient based on self object parameters. @param fail_silently: When it’s False, msg.send() will raise an smtplib.SMTPException if an error occurs. @param send_to: recipient email @param args: additional args passed to EmailMessage @param kwargs: kwargs passed to EmailMe...
"Sends email to recipient based on self object parameters.\n\n @param fail_silently: When it’s False, msg.send() will raise an smtplib.SMTPException if an error occurs.\n @param send_to: recipient email\n @param args: additional args passed to EmailMessage\n @param kwargs: kwargs passed to E...
26
false
deployed/django-emailtemplates
send_email
7,163
LDU_FT/maweigert/gputools/_convolve_spatial2
LDU_FT
[ "<BEGIN>\n## `gaussian_filter`", "blurs data with a gaussian kernel of given sigmas", " Parameters\n ----------\n data: ndarray\n 2 or 3 dimensional array \n sigma: scalar or tuple\n the sigma of the gaussian \n truncate: float \n truncate the kernel after truncate*sigma \n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _convolve_spatial2 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 _convolve_spatial2 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...
spatial varying convolution of an 2d image with a 2d grid of psfs shape(im_ = (Ny,Nx) shape(hs) = (Gy,Gx, Hy,Hx) the input image im is subdivided into (Gy,Gx) blocks hs[j,i] is the psf at the center of each block (i,j) as of now each image dimension has to be divisible by the grid dim, i.e. N...
"spatial varying convolution of an 2d image with a 2d grid of psfs\n\n shape(im_ = (Ny,Nx)\n shape(hs) = (Gy,Gx, Hy,Hx)\n\n the input image im is subdivided into (Gy,Gx) blocks\n hs[j,i] is the psf at the center of each block (i,j)\n\n as of now each image dimension has to be divisible by the grid dim, i...
199
false
maweigert/gputools
_convolve_spatial2
7,164
LDU_FT/mcs07/PubChemPy/to_dict
LDU_FT
[ "<BEGIN>\n## `request`", "Construct API request from parameters and return the response.", " Full specification at http://pubchem.ncbi.nlm.nih.gov/pug_rest/PUG_REST.html\n<END>", "<BEGIN>\n## `get`", "Request wrapper that automatically handles async requests.\n<END>", "<BEGIN>\n## `get_json`", "Reque...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_dict API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_dict API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Return a dictionary containing Bond data.
"Return a dictionary containing Bond data."
83
false
mcs07/PubChemPy
to_dict
7,165
LDU_FT/cslarsen/lyn/clear
LDU_FT
[ "<BEGIN>\n## `release`", "Destroys the state, along with its functions.\n<END>", "<BEGIN>\n## `clear`", "Clears state so it can be used for generating entirely new\n instructions.\n<END>", "<BEGIN>\n## `emit_function`", "Compiles code and returns a Python-callable function.\n<END>", "<BEGIN>\n## ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clear API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clear API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Clears state so it can be used for generating entirely new instructions.
"Clears state so it can be used for generating entirely new\n instructions."
10
false
cslarsen/lyn
clear
7,166
LDU_FT/junzis/pyModeS/position_with_ref
LDU_FT
[ "<BEGIN>\n## `category`", "Aircraft category number", " Args:\n msg (string): 28 bytes hexadecimal message string", " Returns:\n int: category number\n<END>", "<BEGIN>\n## `callsign`", "Aircraft callsign", " Args:\n msg (string): 28 bytes hexadecimal message string", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the position_with_ref API. 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 position_with_ref API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Decode position with only one message, knowing reference nearby location, such as previously calculated location, ground station, or airport location, etc. Works with both airborne and surface position messages. The reference position shall be with in 180NM (airborne) or 45NM (surface) of the true p...
"Decode position with only one message,\n knowing reference nearby location, such as previously\n calculated location, ground station, or airport location, etc.\n Works with both airborne and surface position messages.\n The reference position shall be with in 180NM (airborne) or 45NM (surface)\n of the ...
310
false
junzis/pyModeS
position_with_ref
7,167
LDU_FT/orbeckst/RecSQL/s_rec2latex
LDU_FT
[ "<BEGIN>\n## `make_python_name`", "Returns a unicode string that can be used as a legal python identifier.", " :Arguments:\n *s*\n string\n *default*\n use *default* if *s* is ``None``\n *number_prefix*\n string to prepend if *s* starts with a number\n<END>", "<BEGIN>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the s_rec2latex API. 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 s_rec2latex API. 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...
Export a recarray *r* to a LaTeX table in a string
"Export a recarray *r* to a LaTeX table in a string"
96
false
orbeckst/RecSQL
s_rec2latex
7,168
LDU_FT/unixsurfer/anycast_healthchecker/run
LDU_FT
[ "<BEGIN>\n## `_update_bird_conf_file`", "Update BIRD configuration.", " It adds to or removes IP prefix from BIRD configuration. It also\n updates generation time stamp in the configuration file.", " Main program will exit if configuration file cant be read/written.", " Arguments...
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...
Lunch checks and triggers updates on BIRD configuration.
"Lunch checks and triggers updates on BIRD configuration."
132
false
unixsurfer/anycast_healthchecker
run
7,169
LDU_FT/ga4gh/ga4gh-server/_init_typedef
LDU_FT
[ "<BEGIN>\n## `VerifierMiddleware`", "Common wrapper for the authentication modules.\n * Parses the request before passing it on to the authentication module.\n * Sets 'pyoidc' cookie if authentication succeeds.\n * Redirects the user to complete the authentication.\n * Allows the user ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _init_typedef API. 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 _init_typedef API. 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...
Initialize new typedef and perform checks.
"Initialize new typedef and perform checks."
768
false
ga4gh/ga4gh-server
_init_typedef
7,170
LDU_FT/inveniosoftware/invenio-files-rest/create_or_update
LDU_FT
[ "<BEGIN>\n## `send_stream`", "Send the contents of a file to the client.", " .. warning::", " It is very easy to be exposed to Cross-Site Scripting (XSS) attacks if\n you serve user uploaded files. Here are some recommendations:", " 1. Serve user uploaded files from a separate do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_or_update API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_or_update API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Create or update a new tag for a given object version.
"Create or update a new tag for a given object version."
272
false
inveniosoftware/invenio-files-rest
create_or_update
7,171
LDU_FT/Metatab/metatab/rows
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 rows API. 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 rows API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Yield rows for the term, for writing terms to a CSV file.
"Yield rows for the term, for writing terms to a CSV file."
102
false
Metatab/metatab
rows
7,172