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/espressif/esptool/generate_k
LDU_FT
[ "<BEGIN>\n## `decrypt`", "Decrypt a block of cipher text using the AES block cipher.\n<END>", "<BEGIN>\n## `increment`", "Increment the counter (overflow rolls back to 0).\n<END>", "<BEGIN>\n## `summary`", "Print a human-readable summary of efuse contents\n<END>", "<BEGIN>\n## `write_efuses`", "Write ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_k API. 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 generate_k API. 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...
order - order of the DSA generator used in the signature secexp - secure exponent (private key) in numeric form hash_func - reference to the same hash function used for generating hash data - hash in binary form of the signing data
"order - order of the DSA generator used in the signature\n secexp - secure exponent (private key) in numeric form\n hash_func - reference to the same hash function used for generating hash\n data - hash in binary form of the signing data"
199
false
espressif/esptool
generate_k
35,673
LDU_FT/spyder-ide/spyder-kernels/getdoc
LDU_FT
[ "<BEGIN>\n## `get_numpy_dtype`", "Return NumPy data type associated to obj\n Return None if NumPy is not available\n or if obj is not a NumPy array or scalar\n<END>", "<BEGIN>\n## `address`", "Return object address as a string: '<classname @ address>\n<END>", "<BEGIN>\n## `get_size`", "Return size o...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getdoc API. 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 getdoc API. 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 text documentation from an object. This comes in a form of dictionary with four keys: name: The name of the inspected object argspec: It's argspec note: A phrase describing the type of object (function or method) we are inspecting, and the module it belongs to. docstr...
"Return text documentation from an object. This comes in a form of\n dictionary with four keys:\n\n name:\n The name of the inspected object\n argspec:\n It's argspec\n note:\n A phrase describing the type of object (function or method) we are\n inspecting, and the module it belongs to.\...
125
false
spyder-ide/spyder-kernels
getdoc
35,674
LDU_FT/nmdp-bioinformatics/SeqAnn/get_feature_by_query
LDU_FT
[ "<BEGIN>\n## `search_seqs`", "search_seqs - method for annotating a BioPython sequence without alignment", " :param seqrec: The reference sequence\n :type seqrec: SeqRecord\n :param locus: The gene locus associated with the sequence.\n :type locus: str\n :param in_seq: The inp...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_feature_by_query API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_feature_by_query 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 an enumerated sequence feature This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(resp...
"Retrieve an enumerated sequence feature\n \n\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please define a `callback` function\n to be invoked when receiving the response.\n >>> def callback_function(response):\n >>> ppr...
112
false
nmdp-bioinformatics/SeqAnn
get_feature_by_query
35,675
LDU_FT/CenturyLinkCloud/clc-python-sdk/WaitUntilComplete
LDU_FT
[ "<BEGIN>\n## `SetCredentials`", "Establish API username and password associated with APIv2 commands.\n<END>", "<BEGIN>\n## `get_session`", "Start a session with the given parameters", "\tUse instead of SetCredentials if you need a session object to avoid the use of global credentials.", "\tReturns a sessi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the WaitUntilComplete API. 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 WaitUntilComplete API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Poll until status is completed. If status is 'notStarted' or 'executing' continue polling. If status is 'succeeded' return Else raise exception poll_freq option is in seconds
"Poll until status is completed.\n\n\t\tIf status is 'notStarted' or 'executing' continue polling.\n\t\tIf status is 'succeeded' return\n\t\tElse raise exception\n\n\t\tpoll_freq option is in seconds"
402
false
CenturyLinkCloud/clc-python-sdk
WaitUntilComplete
35,676
LDU_FT/jazzband/python-geojson/to_instance
LDU_FT
[ "<BEGIN>\n## `coords`", "Yields the coordinates from a Feature or Geometry.", " :param obj: A geometry or feature to extract the coordinates from.\n :type obj: Feature, Geometry\n :return: A generator with coordinate tuples from the geometry or feature.\n :rtype: generator\n<END>", "<BEGIN>\n## `m...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_instance API. 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 to_instance API. 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...
Encode a GeoJSON dict into an GeoJSON object. Assumes the caller knows that the dict should satisfy a GeoJSON type. :param cls: Dict containing the elements to be encoded into a GeoJSON object. :type cls: dict :param ob: GeoJSON object into which to encode the dict provided in ...
"Encode a GeoJSON dict into an GeoJSON object.\n Assumes the caller knows that the dict should satisfy a GeoJSON type.\n\n :param cls: Dict containing the elements to be encoded into a GeoJSON\n object.\n :type cls: dict\n :param ob: GeoJSON object into which to encode the dict provid...
22
false
jazzband/python-geojson
to_instance
35,677
LDU_FT/ECESeniorDesign/greenhouse_envmgmt/get_IO_reg
LDU_FT
[ "<BEGIN>\n## `TCA_select`", "This function will write to the control register of the\r\n TCA module to select the channel that will be\r\n exposed on the TCA module.\r\n After doing this, the desired module can be used as it would be normally.\r\n (The caller sh...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_IO_reg API. 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_IO_reg API. 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...
Method retrieves the register corresponding to respective bank (0 or 1)
"Method retrieves the register corresponding to respective bank (0 or 1)"
55
false
ECESeniorDesign/greenhouse_envmgmt
get_IO_reg
35,678
LDU_FT/maxfischer2781/chainlet/submit
LDU_FT
[ "<BEGIN>\n## `skip_pickle_inject`", "skip global wrapper._raw_slave names used only for pickle support\n<END>", "<BEGIN>\n## `wraplet_signature`", "have wrapplets use the signature of the slave\n<END>", "<BEGIN>\n## `_chain_forks`", "Detect whether a sequence of elements leads to a fork of streams\n<END>"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the submit API. 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 submit API. 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 ...
Submit a call for future execution :return: future for the call execution :rtype: StoredFuture
"Submit a call for future execution\n\n :return: future for the call execution\n :rtype: StoredFuture"
95
false
maxfischer2781/chainlet
submit
35,679
LDU_FT/geertj/gruvi/remove_callback
LDU_FT
[ "<BEGIN>\n## `from_errno`", "Create a new instance from a :mod:`pyuv.errno` error code.\n<END>", "<BEGIN>\n## `start`", "Bind to *protocol* and start calling callbacks on it.\n<END>", "<BEGIN>\n## `set_write_buffer_limits`", "Set the low and high watermark for the write buffer.\n<END>", "<BEGIN>\n## `cl...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_callback API. 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 remove_callback API. 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...
Remove a callback added by :meth:`~Poller.add_callback`. If this is the last callback that is registered for the fd then this will deallocate the ``MultiPoll`` instance and close the libuv handle.
"Remove a callback added by :meth:`~Poller.add_callback`.\n\n If this is the last callback that is registered for the fd then this\n will deallocate the ``MultiPoll`` instance and close the libuv handle."
402
false
geertj/gruvi
remove_callback
35,680
LDU_FT/mottosso/Qt.py/setup_ui
LDU_FT
[ "<BEGIN>\n## `setup_ui`", "Load a Qt Designer .ui file and returns an instance of the user interface", " Args:\n uifile (str): Absolute path to .ui file\n base_instance (QWidget): The widget into which UI widgets are loaded", " Returns:\n QWidget: the base instance\n<END>", "<BEGI...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setup_ui API. 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 setup_ui API. 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...
Load a Qt Designer .ui file and returns an instance of the user interface Args: uifile (str): Absolute path to .ui file base_instance (QWidget): The widget into which UI widgets are loaded Returns: QWidget: the base instance
"Load a Qt Designer .ui file and returns an instance of the user interface\n\n Args:\n uifile (str): Absolute path to .ui file\n base_instance (QWidget): The widget into which UI widgets are loaded\n\n Returns:\n QWidget: the base instance"
64
false
mottosso/Qt.py
setup_ui
35,681
LDU_FT/ic-labs/django-icekit/preview
LDU_FT
[ "<BEGIN>\n## `parse_region`", "Parse Region parameter to determine the rectangular portion of the full\n image to be returned, informed by the actual image dimensions.\n Returns (x, y, width, height):\n - x,y are pixel offsets into the image from the upper left\n - width, height are pixel dime...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the preview API. 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 preview API. 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...
Generate the HTML to display for the image. :param obj: An object with a thumbnail_field defined. :return: HTML for image display.
"Generate the HTML to display for the image.\n\n :param obj: An object with a thumbnail_field defined.\n :return: HTML for image display."
562
false
ic-labs/django-icekit
preview
35,682
LDU_FT/holtjma/msbwt/createMSBWTFromFastq
LDU_FT
[ "<BEGIN>\n## `extendSeed`", "This function is intended to be an interactive technique for constructing transcripts, probably to be released\n in a future version of msbwt\n @param bwtFN - the filename of the BWT to load\n @param seedKmer - the seed sequence to use for construction\n @p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the createMSBWTFromFastq 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 createMSBWTFromFastq API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
This function takes fasta filenames and creates the BWT using the technique from Cox and Bauer by simply loading all string prior to computation @param fastqFNs - a list of fastq filenames to extract sequences from @param outputDir - the directory for all of the bwt related data @param numProcs - the nu...
"This function takes fasta filenames and creates the BWT using the technique from Cox and Bauer by simply loading\n all string prior to computation\n @param fastqFNs - a list of fastq filenames to extract sequences from\n @param outputDir - the directory for all of the bwt related data\n @param numProcs - t...
84
false
holtjma/msbwt
createMSBWTFromFastq
35,683
LDU_FT/lionel/counterparts/map_counterpart
LDU_FT
[ "<BEGIN>\n## `counterpart_found`", "The sunny-day action is to echo the counterpart to stdout.", " :param string: The lookup string (UNUSED)\n :param counterpart: The counterpart that the string mapped to\n :param options: ArgumentParser or equivalent to provide options.no_newline\n :param rc_so_fa...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the map_counterpart API. 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 map_counterpart API. 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...
One-step look-up; returns a counterpart for the given string, as determined from the config file(s) via ConfigFromFile. config_file is read after ~/.counterc, if present, making its values take precedence over those in ~/.counterc. :param string: The string to find the counterpart of. :param config...
"One-step look-up; returns a counterpart for the given string, as\n determined from the config file(s) via ConfigFromFile.\n config_file is read after ~/.counterc, if present, making its\n values take precedence over those in ~/.counterc.\n\n :param string: The string to find the counterpart of.\n :param...
20
false
lionel/counterparts
map_counterpart
35,684
LDU_FT/peerplays-network/python-peerplays/eventgroups
LDU_FT
[ "<BEGIN>\n## `listaccounts`", "List accounts (for the connected network)\n<END>", "<BEGIN>\n## `importaccount`", "Import an account using an account password\n<END>", "<BEGIN>\n## `eventgroups`", "[bookie] List event groups for a sport", " :param str sport: Sports id\n<END>", "<BEGIN>\n## `even...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the eventgroups API. 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 eventgroups API. 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...
[bookie] List event groups for a sport :param str sport: Sports id
"[bookie] List event groups for a sport\n\n :param str sport: Sports id"
124
false
peerplays-network/python-peerplays
eventgroups
35,685
LDU_FT/stephenmcd/django-forms-builder/import_attr
LDU_FT
[ "<BEGIN>\n## `email_to`", "Return the value entered for the first field of type EmailField.\n<END>", "<BEGIN>\n## `posted_data`", "Wrapper for self.cleaned_data that returns True on\n field_id_export fields when the form hasn't been posted to,\n to facilitate show/export URLs that export all ent...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the import_attr API. 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 import_attr API. 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...
Given a a Python dotted path to a variable in a module, imports the module and returns the variable in it.
"Given a a Python dotted path to a variable in a module,\n imports the module and returns the variable in it."
17
false
stephenmcd/django-forms-builder
import_attr
35,686
LDU_FT/ipfs/py-ipfs-api/file_open
LDU_FT
[ "<BEGIN>\n## `parse`", "Returns a Python object decoded from the bytes of this encoding.", " Raises\n ------\n ~ipfsapi.exceptions.DecodingError", " Parameters\n ----------\n raw : bytes\n Data to be parsed", " Returns\n -------\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the file_open API. 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 file_open API. 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...
Yields the opening text of a file section in multipart HTTP. Parameters ---------- fn : str Filename for the file being opened and added to the HTTP body
"Yields the opening text of a file section in multipart HTTP.\n\n Parameters\n ----------\n fn : str\n Filename for the file being opened and added to the HTTP body"
499
false
ipfs/py-ipfs-api
file_open
35,687
LDU_FT/pmacosta/pexdoc/_validate_edata
LDU_FT
[ "<BEGIN>\n## `func`", "r\"\"\"\n Print your name.", " :param name: Name to print\n :type name: string", " .. [[[cog cog.out(exobj.get_sphinx_autodoc(width=69))]]]\n .. [[[end]]]\n<END>", "<BEGIN>\n## `get_function_args`", "Return tuple of the function argument names in the order of the fun...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _validate_edata API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _validate_edata API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Validate edata argument of raise_exception_if method.
"Validate edata argument of raise_exception_if method."
220
false
pmacosta/pexdoc
_validate_edata
35,688
LDU_FT/yyuu/botornado/get_all_route_tables
LDU_FT
[ "<BEGIN>\n## `save`", "Saves this item to SDB.", " :param bool replace: If ``True``, delete any attributes on the remote\n SDB item that have a ``None`` value on this object.\n<END>", "<BEGIN>\n## `add_value`", "Helps set or add to attributes on this item. If you are adding a new\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_all_route_tables API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_all_route_tables 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 information about your routing tables. You can filter results to return information only about those route tables that match your search parameters. Otherwise, all route tables associated with your account are returned. :type route_table_ids: list :param route_table_ids...
"Retrieve information about your routing tables. You can filter results\n to return information only about those route tables that match your\n search parameters. Otherwise, all route tables associated with your\n account are returned.\n\n :type route_table_ids: list\n :param route_ta...
2,931
true
yyuu/botornado
get_all_route_tables
35,689
LDU_FT/Asana/python-asana/request
LDU_FT
[ "<BEGIN>\n## `fetch_token`", "Exchange a code (and 'state' token) for a bearer token\n<END>", "<BEGIN>\n## `find_by_id`", "Returns the complete tag record for a single tag.", " Parameters\n ----------\n tag : {Id} The tag to get.\n [params] : {Object} Parameters for the request\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the request API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the request API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Dispatches a request to the Asana HTTP API
"Dispatches a request to the Asana HTTP API"
318
false
Asana/python-asana
request
35,690
LDU_FT/django-getpaid/django-getpaid/get_gateway_url
LDU_FT
[ "<BEGIN>\n## `new_payment_query_listener`", "Here we fill only two obligatory fields of payment, and leave signal handler\n<END>", "<BEGIN>\n## `payment_status_changed_listener`", "Here we will actually do something, when payment is accepted.\n E.g. lets change an order status.\n<END>", "<BEGIN>\n## `reg...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_gateway_url API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_gateway_url API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Routes a payment to Gateway, should return URL for redirection.
"Routes a payment to Gateway, should return URL for redirection."
20
false
django-getpaid/django-getpaid
get_gateway_url
35,691
LDU_FT/nickstenning/tagalog/all_connections
LDU_FT
[ "<BEGIN>\n## `fields`", "Add a set of fields to each item in ``iterable``. The set of fields have a\n key=value format. '@' are added to the front of each key.\n<END>", "<BEGIN>\n## `tag`", "Add tags to each dict or dict-like object in ``iterable``. Tags are added\n to each dict with a key set by ``key`...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the all_connections API. 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 all_connections API. 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 a generator over all current connection objects
"Returns a generator over all current connection objects"
17
false
nickstenning/tagalog
all_connections
35,692
LDU_FT/astropy/pyregion/read_region_as_imagecoord
LDU_FT
[ "<BEGIN>\n## `_generate_arg_types`", "Find coordinate types based on shape name and coordlist length", " This function returns a list of coordinate types based on which\n coordinates can be repeated for a given type of shap", " Parameters\n ----------\n coordlist_length : int\n The numbe...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_region_as_imagecoord 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 read_region_as_imagecoord API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Read region as image coordinates. Parameters ---------- s : str Region string header : `~astropy.io.fits.Header` FITS header Returns ------- shapes : `~pyregion.ShapeList` List of `~pyregion.Shape`
"Read region as image coordinates.\n\n Parameters\n ----------\n s : str\n Region string\n header : `~astropy.io.fits.Header`\n FITS header\n\n Returns\n -------\n shapes : `~pyregion.ShapeList`\n List of `~pyregion.Shape`"
75
false
astropy/pyregion
read_region_as_imagecoord
35,693
LDU_FT/aerogear/digger-build-cli/props
LDU_FT
[ "<BEGIN>\n## `jarsign`", "Uses Jarsign to sign an apk target file using the provided keystore information.", " :param storepass(str) - keystore storepass\n :param keypass(str) - keystore keypass\n :param keystore(str) - keystore file path\n :param source(str) - apk path\n :param alias(str) - keystore alias...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the props API. 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 props API. 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...
Class method that returns all defined arguments within the class. Returns: A dictionary containing all action defined arguments (if any).
"Class method that returns all defined arguments within the class.\n \n Returns:\n A dictionary containing all action defined arguments (if any)."
100
false
aerogear/digger-build-cli
props
35,694
LDU_FT/dpursehouse/pygerrit2/escape_string
LDU_FT
[ "<BEGIN>\n## `_decode_response`", "Strip off Gerrit's magic prefix and decode a response.", " :returns:\n Decoded JSON content as a dict, or raw text if content could not be\n decoded as JSON.", " :raises:\n requests.HTTPError if the response contains an HTTP error status code.\n<EN...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the escape_string API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the escape_string API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Escape a string for use in Gerrit commands. :arg str string: The string to escape. :returns: The string with necessary escapes and surrounding double quotes so that it can be passed to any of the Gerrit commands that require double-quoted strings.
"Escape a string for use in Gerrit commands.\n\n :arg str string: The string to escape.\n\n :returns: The string with necessary escapes and surrounding double quotes\n so that it can be passed to any of the Gerrit commands that require\n double-quoted strings."
22
false
dpursehouse/pygerrit2
escape_string
35,695
LDU_FT/morngrar/betterdialogs/load_image
LDU_FT
[ "<BEGIN>\n## `load_image`", "Takes a tk.Canvas and a filepath, loads image into canvas\n<END>", "<BEGIN>\n## `load_image`", "Loads new image into canvas, updating size if needed.\n<END>", "<BEGIN>\n## `parse_geometry`", "Takes a geometry string, returns map of parameters.\n<END>", "<BEGIN>\n## `buttons`...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_image API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_image API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Loads new image into canvas, updating size if needed.
"Loads new image into canvas, updating size if needed."
20
false
morngrar/betterdialogs
load_image
35,696
LDU_FT/programa-stic/barf-project/__try_read_byte_prev
LDU_FT
[ "<BEGIN>\n## `translate`", "Return the SMT representation of a REIL instruction.\n<END>", "<BEGIN>\n## `_translate_src_oprnd`", "Translate source operand to a SMT expression.\n<END>", "<BEGIN>\n## `_translate_dst_oprnd`", "Translate destination operand to a SMT expression.\n<END>", "<BEGIN>\n## `_transl...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __try_read_byte_prev 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 __try_read_byte_prev API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Read previous value for memory location. Return a tuple (True, Byte) in case of successful read, (False, None) otherwise.
"Read previous value for memory location.\n\n Return a tuple (True, Byte) in case of successful read,\n (False, None) otherwise."
148
false
programa-stic/barf-project
__try_read_byte_prev
35,697
LDU_FT/Azure/msrestazure-for-python/get_msi_token_webapp
LDU_FT
[ "<BEGIN>\n## `get_msi_token`", "Get MSI token if MSI_ENDPOINT is set.", " IF MSI_ENDPOINT is not set, will try legacy access through 'http://localhost:{}/oauth2/token'.format(port).", " If msi_conf is used, must be a dict of one key in [\"client_id\", \"object_id\", \"msi_res_id\"]", " :param str r...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_msi_token_webapp API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_msi_token_webapp API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Get a MSI token from inside a webapp or functions. Env variable will look like: - MSI_ENDPOINT = http://127.0.0.1:41741/MSI/token/ - MSI_SECRET = 69418689F1E342DD946CB82994CDA3CB
"Get a MSI token from inside a webapp or functions.\n\n Env variable will look like:\n\n - MSI_ENDPOINT = http://127.0.0.1:41741/MSI/token/\n - MSI_SECRET = 69418689F1E342DD946CB82994CDA3CB"
167
false
Azure/msrestazure-for-python
get_msi_token_webapp
35,698
LDU_FT/filestack/filestack-python/get_metadata
LDU_FT
[ "<BEGIN>\n## `to_filelink`", "Checks is the status of the conversion is complete and, if so, converts to a Filelink", " *returns* [Filestack.Filelink]", " ```python\n filelink = av_convert.to_filelink()\n ```\n<END>", "<BEGIN>\n## `url`", "Returns the URL for the instance, whic...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_metadata API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_metadata API. 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...
Metadata provides certain information about a Filehandle, and you can specify which pieces of information you will receive back by passing in optional parameters. ```python from filestack import Client client = Client('API_KEY') filelink = client.upload(filepath='/path/to/file...
"Metadata provides certain information about a Filehandle, and you can specify which pieces\n of information you will receive back by passing in optional parameters.\n\n ```python\n from filestack import Client\n\n client = Client('API_KEY')\n filelink = client.upload(filepath='/path...
82
false
filestack/filestack-python
get_metadata
35,699
LDU_FT/lovvskillz/python-discord-webhook/add_embed_field
LDU_FT
[ "<BEGIN>\n## `add_file`", "add file to webhook\n :param file: file content\n :param filename: filename\n :return:\n<END>", "<BEGIN>\n## `add_embed`", "add embedded rich content\n :param embed: embed object or dict\n<END>", "<BEGIN>\n## `json`", "convert webhook data to json\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_embed_field API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_embed_field API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
set field of embed :keyword name: name of the field :keyword value: value of the field :keyword inline: (optional) whether or not this field should display inline
"set field of embed\n :keyword name: name of the field\n :keyword value: value of the field\n :keyword inline: (optional) whether or not this field should display inline"
20
false
lovvskillz/python-discord-webhook
add_embed_field
35,700
LDU_FT/linkedin/luminol/_get_algorithm
LDU_FT
[ "<BEGIN>\n## `_analyze_root_causes`", "Conduct root cause analysis.\n The first metric of the list is taken as the root cause right now.\n<END>", "<BEGIN>\n## `_load`", "Load time series into a TimeSeries object.\n :param timeseries: a TimeSeries, a dictionary or a path to a csv file(str).\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_algorithm API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_algorithm API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Get the specific algorithm. :param str algorithm_name: name of the algorithm to use(file name). :return: algorithm object.
"Get the specific algorithm.\n :param str algorithm_name: name of the algorithm to use(file name).\n :return: algorithm object."
95
false
linkedin/luminol
_get_algorithm
35,701
LDU_FT/CyberZHG/keras-word-char-embd/get_embedding_layer
LDU_FT
[ "<BEGIN>\n## `update_dicts`", "Add new sentence to generate dictionaries.", " :param sentence: A list of strings representing the sentence.\n<END>", "<BEGIN>\n## `set_dicts`", "Set with custom dictionaries.", " :param word_dict: The word dictionary.\n :param char_dict: The character d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_embedding_layer API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_embedding_layer API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Get the merged embedding layer. :param word_embd_dim: The dimensions of the word embedding. :param char_embd_dim: The dimensions of the character embedding :param char_hidden_dim: The dimensions of the hidden states of RNN in one direction. :param word_embd_weights: A numpy array repres...
"Get the merged embedding layer.\n\n :param word_embd_dim: The dimensions of the word embedding.\n :param char_embd_dim: The dimensions of the character embedding\n :param char_hidden_dim: The dimensions of the hidden states of RNN in one direction.\n :param word_embd_weights: A numpy array ...
39
false
CyberZHG/keras-word-char-embd
get_embedding_layer
35,702
LDU_FT/6809/MC6809/instruction_BLT
LDU_FT
[ "<BEGIN>\n## `instruction_RTS`", "Program control is returned from the subroutine to the calling program.\n The return address is pulled from the stack.", " source code forms: RTS", " CC bits \"HNZVC\": -----\n<END>", "<BEGIN>\n## `instruction_BSR_JSR`", "Program control is transferre...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the instruction_BLT API. 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 instruction_BLT API. 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...
Causes a branch if either, but not both, of the N (negative) or V (overflow) bits is set. That is, branch if the sign of a valid twos complement result is, or would be, negative. When used after a subtract or compare operation on twos complement binary values, this instruction will branc...
"Causes a branch if either, but not both, of the N (negative) or V\n (overflow) bits is set. That is, branch if the sign of a valid twos\n complement result is, or would be, negative. When used after a subtract\n or compare operation on twos complement binary values, this instruction\n will ...
224
false
6809/MC6809
instruction_BLT
35,703
LDU_FT/lokhman/pydbal/query
LDU_FT
[ "<BEGIN>\n## `locked`", "Context generator for `with` statement, yields thread-safe connection.", " :return: thread-safe connection\n :rtype: pydbal.connection.Connection\n<END>", "<BEGIN>\n## `query`", "Executes an SQL SELECT query and returns rows generator.", " :param sql: query to...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the query API. 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 query API. 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...
Executes an SQL SELECT query, returning a result set as a Statement object. :param sql: query to execute :param args: parameters iterable :param kwargs: parameters iterable :return: result set as a Statement object :rtype: pydbal.statement.Statement
"Executes an SQL SELECT query, returning a result set as a Statement object.\n\n :param sql: query to execute\n :param args: parameters iterable\n :param kwargs: parameters iterable\n :return: result set as a Statement object\n :rtype: pydbal.statement.Statement"
84
false
lokhman/pydbal
query
35,704
LDU_FT/grahambell/pymoc/catalog_to_moc
LDU_FT
[ "<BEGIN>\n## `run`", "Main run method for PyMOC tool.", " Takes a list of command line arguments to process.", " Each operation is performed on a current \"running\" MOC\n object.\n<END>", "<BEGIN>\n## `read_moc`", "Read a file into the current running MOC object.", " If the ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the catalog_to_moc API. 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 catalog_to_moc API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Convert a catalog to a MOC. The catalog is given as an Astropy SkyCoord object containing multiple coordinates. The radius of catalog entries can be given as an Astropy Quantity (with units), otherwise it is assumed to be in arcseconds. Any additional keyword arguments are passed on to `catalog_t...
"Convert a catalog to a MOC.\n\n The catalog is given as an Astropy SkyCoord object containing\n multiple coordinates. The radius of catalog entries can be\n given as an Astropy Quantity (with units), otherwise it is assumed\n to be in arcseconds.\n\n Any additional keyword arguments are passed on to `c...
165
false
grahambell/pymoc
catalog_to_moc
35,705
LDU_FT/googlemaps/google-maps-services-python/_autocomplete
LDU_FT
[ "<BEGIN>\n## `directions`", "Get directions between an origin point and a destination point.", " :param origin: The address or latitude/longitude value from which you wish\n to calculate directions.\n :type origin: string, dict, list, or tuple", " :param destination: The address or latitude/lo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _autocomplete API. 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 _autocomplete API. 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...
Internal handler for ``autocomplete`` and ``autocomplete_query``. See each method's docs for arg details.
"Internal handler for ``autocomplete`` and ``autocomplete_query``.\n See each method's docs for arg details."
262
false
googlemaps/google-maps-services-python
_autocomplete
35,706
LDU_FT/Element-34/py.saunter/get_random_user
LDU_FT
[ "<BEGIN>\n## `get_random_user`", "Gets a random user from the provider", " :returns: Dictionary\n<END>", "<BEGIN>\n## `is_element_available`", "Synchronization method for making sure the element we're looking for is not only on the page,\n but also visible -- since Se will happily deal with th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_random_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 e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_random_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 e...
Gets a random user from the provider :returns: Dictionary
"Gets a random user from the provider\n\n :returns: Dictionary"
81
false
Element-34/py.saunter
get_random_user
35,707
LDU_FT/dusktreader/flask-praetorian/encrypt_password
LDU_FT
[ "<BEGIN>\n## `_verify_and_add_jwt`", "This helper method just checks and adds jwt data to the app context. Will\n not add jwt data if it is already present. Only use in this module\n<END>", "<BEGIN>\n## `auth_required`", "This decorator is used to ensure that a user is authenticated before\n being able ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the encrypt_password API. 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 encrypt_password API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Encrypts a plaintext password using the stored passlib password context
"Encrypts a plaintext password using the stored passlib password context"
73
false
dusktreader/flask-praetorian
encrypt_password
35,708
LDU_FT/mottosso/be/option
LDU_FT
[ "<BEGIN>\n## `pager`", "Decide what method to use for paging through text.\n<END>", "<BEGIN>\n## `from_int`", "Backwards-compatibility for the old retries format.\n<END>", "<BEGIN>\n## `get_backoff_time`", "Formula for computing the current backoff", " :rtype: float\n<END>", "<BEGIN>\n## `is_fo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the option API. 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 option API. 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 ...
Attaches an option to the command. All positional arguments are passed as parameter declarations to :class:`Option`; all keyword arguments are forwarded unchanged (except ``cls``). This is equivalent to creating an :class:`Option` instance manually and attaching it to the :attr:`Command.params` list. ...
"Attaches an option to the command. All positional arguments are\n passed as parameter declarations to :class:`Option`; all keyword\n arguments are forwarded unchanged (except ``cls``).\n This is equivalent to creating an :class:`Option` instance manually\n and attaching it to the :attr:`Command.params` li...
359
false
mottosso/be
option
35,709
LDU_FT/rigetti/quantumflow/sandwich_decompositions
LDU_FT
[ "<BEGIN>\n## `load_stdgraphs`", "Load standard graph validation sets", " For each size (from 6 to 32 graph nodes) the dataset consists of\n 100 graphs drawn from the Erdős-Rényi ensemble with edge\n probability 50%.\n<END>", "<BEGIN>\n## `load_mnist`", "Download and rescale the MNIST database of ha...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sandwich_decompositions 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 sandwich_decompositions 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 composite gates, decompose, and return a list of canonical coordinates
"Create composite gates, decompose, and return a list\n of canonical coordinates"
374
false
rigetti/quantumflow
sandwich_decompositions
35,710
LDU_FT/ansible/molecule/_print_tabulate_data
LDU_FT
[ "<BEGIN>\n## `bake`", "Bake an ``ansible-playbook`` command so it's ready to execute and\n returns ``None``.", " :return: None\n<END>", "<BEGIN>\n## `execute`", "Executes ``ansible-playbook`` and returns a string.", " :return: str\n<END>", "<BEGIN>\n## `execute`", "Execute the act...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _print_tabulate_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _print_tabulate_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Shows the tabulate data on the screen and returns None. :param headers: A list of column headers. :param data: A list of tabular data to display. :returns: None
"Shows the tabulate data on the screen and returns None.\n\n :param headers: A list of column headers.\n :param data: A list of tabular data to display.\n :returns: None"
234
false
ansible/molecule
_print_tabulate_data
35,711
LDU_FT/frasertweedale/ledgertools/highest
LDU_FT
[ "<BEGIN>\n## `apply`", "Manufacture decorator that filters return value with given function.", " ``filter``:\n Callable that takes a single parameter.\n<END>", "<BEGIN>\n## `format_outpat`", "Format an outpat for the given transaction.", " Format the given output filename pattern. The pattern ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the highest API. 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 highest API. 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 the items with the higest score. If this ScoreSet is empty, returns None.
"Return the items with the higest score.\n\n If this ScoreSet is empty, returns None."
82
false
frasertweedale/ledgertools
highest
35,712
LDU_FT/michaeljoseph/changes/tag_and_push
LDU_FT
[ "<BEGIN>\n## `initialise`", "Detects, prompts and initialises the project.", " Stores project and tool configuration in the `changes` module.\n<END>", "<BEGIN>\n## `install_package`", "Attempts to install the sdist and wheel.\n<END>", "<BEGIN>\n## `upload_package`", "Uploads your project packages to ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tag_and_push API. 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 tag_and_push API. 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...
Tags your git repo with the new version number
"Tags your git repo with the new version number"
39
false
michaeljoseph/changes
tag_and_push
35,713
LDU_FT/inveniosoftware-attic/invenio-knowledge/get
LDU_FT
[ "<BEGIN>\n## `load`", "Load given file into knowledge base.", " Simply load data into an existing knowledge base:", " .. code-block:: console", " $ inveniomanage knowledge load mykb /path/to/file.kb", " The file is expected to have a mapping with values: ``foo<seperator>bar``\n (per lin...
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...
Get KnwKB. Url parameters: - from: filter "mappings from" - to: filter "mappings to" - page - per_page - match_type: s=substring, e=exact, sw=startswith - sortby: 'from' or 'to'
"Get KnwKB.\n\n Url parameters:\n - from: filter \"mappings from\"\n - to: filter \"mappings to\"\n - page\n - per_page\n - match_type: s=substring, e=exact, sw=startswith\n - sortby: 'from' or 'to'"
111
false
inveniosoftware-attic/invenio-knowledge
get
35,714
LDU_FT/DataDog/integrations-core/rename
LDU_FT
[ "<BEGIN>\n## `check_election_status`", "Retrieves the leader-election annotation from a given object, and\n submits metrics and a service check.", " An integration warning is sent if the object is not retrievable,\n or no record is found. Monitors on the service-check should have\n n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rename API. 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 rename API. 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 ...
Rename this collection. If operating in auth mode, client must be authorized as an admin to perform this operation. Raises :class:`TypeError` if `new_name` is not an instance of :class:`basestring` (:class:`str` in python 3). Raises :class:`~pymongo.errors.InvalidName` if `new_n...
"Rename this collection.\n\n If operating in auth mode, client must be authorized as an\n admin to perform this operation. Raises :class:`TypeError` if\n `new_name` is not an instance of :class:`basestring`\n (:class:`str` in python 3). Raises :class:`~pymongo.errors.InvalidName`\n if...
2,189
true
DataDog/integrations-core
rename
35,715
LDU_FT/isogeo/isogeo-api-py-minsdk/_check_bearer_validity
LDU_FT
[ "<BEGIN>\n## `set_base_url`", "Set Isogeo base URLs according to platform.", " :param str platform: platform to use. Options:", " * prod [DEFAULT]\n * qa\n * int\n<END>", "<BEGIN>\n## `convert_uuid`", "Convert a metadata UUID to its URI equivalent. And conversely.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_bearer_validity API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_bearer_validity API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Check API Bearer token validity. Isogeo ID delivers authentication bearers which are valid during a certain time. So this decorator checks the validity of the token comparing with actual datetime (UTC) and renews it if necessary. See: http://tools.ietf.org/html/rfc6750#section-2 ...
"Check API Bearer token validity.\n\n Isogeo ID delivers authentication bearers which are valid during\n a certain time. So this decorator checks the validity of the token\n comparing with actual datetime (UTC) and renews it if necessary.\n See: http://tools.ietf.org/html/rfc6750#section-2\n...
154
false
isogeo/isogeo-api-py-minsdk
_check_bearer_validity
35,716
LDU_FT/geophysics-ubonn/crtomo_tools/modify_polygon
LDU_FT
[ "<BEGIN>\n## `clear_measurements`", "Remove all measurements from self.measurements. Reset the\n measurement counter. All ID are invalidated.\n<END>", "<BEGIN>\n## `add_measurements`", "Add new measurements to this instance", " Parameters\n ----------\n measurements: numpy.ndarra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the modify_polygon API. 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 modify_polygon API. 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...
Modify parts of a parameter set by setting all parameters located in, or touching, the provided :class:`shapely.geometry.Polygon` instance. Parameters ---------- pid: int id of parameter set to vary polygon: :class:`shapely.geometry.Polygon` instance ...
"Modify parts of a parameter set by setting all parameters located\n in, or touching, the provided :class:`shapely.geometry.Polygon`\n instance.\n\n Parameters\n ----------\n pid: int\n id of parameter set to vary\n polygon: :class:`shapely.geometry.Polygon` instance...
525
false
geophysics-ubonn/crtomo_tools
modify_polygon
35,717
LDU_FT/datastore/datastore/contains
LDU_FT
[ "<BEGIN>\n## `list`", "Returns the `list` representation of this Key.", " Note that this method assumes the key is immutable.\n<END>", "<BEGIN>\n## `instance`", "Returns an instance Key, by appending a name to the namespace.\n<END>", "<BEGIN>\n## `parent`", "Returns the parent Key (all namespaces exc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the contains API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the contains API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Returns whether the object named by `key` exists. LoggingDatastore logs the access.
"Returns whether the object named by `key` exists.\n LoggingDatastore logs the access."
180
false
datastore/datastore
contains
35,718
LDU_FT/google/neuroglancer/to_json
LDU_FT
[ "<BEGIN>\n## `stop`", "Stop the server, invalidating any viewer URLs.", " This allows any previously-referenced data arrays to be garbage collected if there are no other\n references to them.\n<END>", "<BEGIN>\n## `defer_callback`", "Register `callback` to run in the server event loop thread.\n<END>",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_json API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_json API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Returns the equivalence classes a sorted list of sorted lists.
"Returns the equivalence classes a sorted list of sorted lists."
46
false
google/neuroglancer
to_json
35,719
LDU_FT/bfontaine/p7magma/get_soup
LDU_FT
[ "<BEGIN>\n## `_populate`", "Populate the list, assuming ``soup`` is a ``BeautifulSoup`` object.\n<END>", "<BEGIN>\n## `_populate_small_table`", "Populate the list, given that ``trs`` is a ``BeautifulSoup`` elements\n list from a large table (5 columns).\n<END>", "<BEGIN>\n## `_populate_large_table`",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_soup API. 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_soup API. 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...
Shortcut for ``get`` which returns a ``BeautifulSoup`` element
"Shortcut for ``get`` which returns a ``BeautifulSoup`` element"
26
false
bfontaine/p7magma
get_soup
35,720
LDU_FT/binbrain/OpenSesame/_instant_search
LDU_FT
[ "<BEGIN>\n## `_instant_search`", "Determine possible keys after a push or pop\n<END>", "<BEGIN>\n## `best_guess`", "Return the gnomekeyring position of the closest matching\n<END>", "<BEGIN>\n## `first_time_setup`", "First time running Open Sesame? ", " Create keyring and an auto-unlock key in de...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _instant_search API. 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 _instant_search API. 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...
Determine possible keys after a push or pop
"Determine possible keys after a push or pop"
17
false
binbrain/OpenSesame
_instant_search
35,721
LDU_FT/quaddra/provision/script_deployment
LDU_FT
[ "<BEGIN>\n## `NodeDriver_wait_until_running`", "Block until node is fully booted and has an IP address assigned.", " @keyword node: Node instance.\n @type node: C{Node}", " @keyword wait_period: How many seconds to between each loop\n iteration (default is 3)\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the script_deployment API. 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 script_deployment API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Return a ScriptDeployment from script with possible template substitutions.
"Return a ScriptDeployment from script with possible template\n substitutions."
59
false
quaddra/provision
script_deployment
35,722
LDU_FT/inspirehep/inspire-schemas/_add_uid
LDU_FT
[ "<BEGIN>\n## `filter_empty_parameters`", "Decorator that is filtering empty parameters.", " :param func: function that you want wrapping\n :type func: function\n<END>", "<BEGIN>\n## `author_id_normalize_and_schema`", "Detect and normalize an author UID schema.", " Args:\n uid (string): a U...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add_uid API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add_uid API. 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...
Add unique identifier in correct field. The ``skip_handle`` flag is used when adding a uid through the add_url function since urls can be easily confused with handle elements.
"Add unique identifier in correct field.\n\n The ``skip_handle`` flag is used when adding a uid through the add_url function\n since urls can be easily confused with handle elements."
290
false
inspirehep/inspire-schemas
_add_uid
35,723
LDU_FT/ryanpetrello/python-zombie/link
LDU_FT
[ "<BEGIN>\n## `_send`", "Establishes a socket connection to the zombie.js server and sends\n Javascript instructions.", " :param js: the Javascript string to execute\n<END>", "<BEGIN>\n## `wait`", "Call a method on the zombie.js Browser instance and wait on a callback.", " :param metho...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the link API. 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 link API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Finds and returns a link ``<a>`` element (:class:`zombie.dom.DOMNode`). You can use a CSS selector or find a link by its text contents (case sensitive, but ignores leading/trailing spaces). :param selector: an optional string CSS selector (http://zombie.labnotes.org/sele...
"Finds and returns a link ``<a>`` element (:class:`zombie.dom.DOMNode`).\n You can use a CSS selector or find a link by its text contents (case\n sensitive, but ignores leading/trailing spaces).\n\n :param selector: an optional string CSS selector\n (http://zombie.labnotes.or...
33
false
ryanpetrello/python-zombie
link
35,724
LDU_FT/Komnomnomnom/swigibpy/exerciseOptions
LDU_FT
[ "<BEGIN>\n## `placeOrder`", "placeOrder(EClient self, OrderId id, Contract contract, Order order)\n<END>", "<BEGIN>\n## `reqMktDepth`", "reqMktDepth(EClient self, TickerId id, Contract contract, int numRows, TagValueListSPtr const & mktDepthOptions)\n<END>", "<BEGIN>\n## `exerciseOptions`", "exerciseOptio...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the exerciseOptions API. 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 exerciseOptions API. 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...
exerciseOptions(EClientSocketBase self, TickerId tickerId, Contract contract, int exerciseAction, int exerciseQuantity, IBString const & account, int override)
"exerciseOptions(EClientSocketBase self, TickerId tickerId, Contract contract, int exerciseAction, int exerciseQuantity, IBString const & account, int override)"
81
false
Komnomnomnom/swigibpy
exerciseOptions
35,725
LDU_FT/kurtbrose/pyjks/certs
LDU_FT
[ "<BEGIN>\n## `new`", "Helper function to create a new TrustedCertEntry.", " :param str alias: The alias for the Trusted Cert Entry\n :param str certs: The certificate, as a byte string.", " :returns: A loaded :class:`TrustedCertEntry` instance, ready\n to be placed in a keystore....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the certs API. 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 certs API. 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...
A subset of the :attr:`entries` dictionary, filtered down to only those entries of type :class:`TrustedCertEntry`.
"A subset of the :attr:`entries` dictionary, filtered down to only\n those entries of type :class:`TrustedCertEntry`."
104
false
kurtbrose/pyjks
certs
35,726
LDU_FT/lorien/grab/parse
LDU_FT
[ "<BEGIN>\n## `get_item`", "Returned item should have specific interface. See module docstring.\n<END>", "<BEGIN>\n## `has_item`", "Test if required item exists in the cache.\n<END>", "<BEGIN>\n## `build_grab_exception`", "Build Grab exception from the pycurl exception", " Args:\n ex - the orig...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Parse headers. This method is called after Grab instance performs network request.
"Parse headers.\n\n This method is called after Grab instance performs network request."
188
false
lorien/grab
parse
35,727
LDU_FT/polysquare/cmake-ast/consume_token
LDU_FT
[ "<BEGIN>\n## `run`", "Set up language runtimes and pass control to python project script.\n<END>", "<BEGIN>\n## `_node`", "Return an _AbstractSyntaxTreeNode with some elements defaulted.\n<END>", "<BEGIN>\n## `_recurse`", "Recursive print worker - recurses the AST and prints each node.\n<END>", "<BEGIN>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the consume_token API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the consume_token API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Consume a token. Returns tuple of (tokens, tokens_len, index) when consumption is completed and tokens have been merged together.
"Consume a token.\n\n Returns tuple of (tokens, tokens_len, index) when consumption is\n completed and tokens have been merged together."
66
false
polysquare/cmake-ast
consume_token
35,728
LDU_FT/lambdalisue/django-permission/has_perm
LDU_FT
[ "<BEGIN>\n## `permission_required`", "Permission check decorator for classbased generic view", " This decorator works as class decorator\n DO NOT use ``method_decorator`` or whatever while this decorator will use\n ``self`` argument for method of classbased generic view.", " Parameters\n ------...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the has_perm API. 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 has_perm API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Check if user have permission of himself If the user_obj is not authenticated, it return ``False``. If no object is specified, it return ``True`` when the corresponding permission was specified to ``True`` (changed from v0.7.0). This behavior is based on the django system. http...
"Check if user have permission of himself\n\n If the user_obj is not authenticated, it return ``False``.\n\n If no object is specified, it return ``True`` when the corresponding\n permission was specified to ``True`` (changed from v0.7.0).\n This behavior is based on the django system.\n ...
147
false
lambdalisue/django-permission
has_perm
35,729
LDU_FT/thiagopbueno/rddl2tf/compile_state_invariants
LDU_FT
[ "<BEGIN>\n## `constant`", "Returns a constant `value` TensorFluent with given `dtype`.", " Args:\n value: The constant value.\n dtype: The output's data type.", " Returns:\n A constant TensorFluent.\n<END>", "<BEGIN>\n## `Bernoulli`", "Returns a TensorFluent ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compile_state_invariants API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compile_state_invariants API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Compiles the state invarints given current `state` fluents. Args: state (Sequence[tf.Tensor]): The current state fluents. Returns: A list of :obj:`rddl2tf.fluent.TensorFluent`.
"Compiles the state invarints given current `state` fluents.\n\n Args:\n state (Sequence[tf.Tensor]): The current state fluents.\n\n Returns:\n A list of :obj:`rddl2tf.fluent.TensorFluent`."
297
false
thiagopbueno/rddl2tf
compile_state_invariants
35,730
LDU_FT/carlcarl/grabflickr/event_download_photos
LDU_FT
[ "<BEGIN>\n## `read_config`", "Read the config from CONFIG_PATH(Default: ~/.grabflickr.conf)\n This will prompt for API key and secret if it not exists.\n After, it sets the global variable `api_key` and `api_secret`.\n<END>", "<BEGIN>\n## `enter_api_key`", "Prompt for API key and secret\n Then write ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the event_download_photos 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 event_download_photos API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Use asynchronous I/O to download photos :param photos: The photos to be downloaded :type photos: list of dicts
"Use asynchronous I/O to download photos\n\n :param photos: The photos to be downloaded\n :type photos: list of dicts"
38
false
carlcarl/grabflickr
event_download_photos
35,731
LDU_FT/SystemRDL/systemrdl-compiler/n_elements
LDU_FT
[ "<BEGIN>\n## `derive_coordinates`", "Depending on the compilation source, some members of the SourceRef\n object may be incomplete.\n Calling this function performs the necessary derivations to complete the\n object.\n<END>", "<BEGIN>\n## `format_message`", "Formats the message prior to e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the n_elements API. 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 n_elements API. 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...
Total number of array elements. If array is multidimensional, array is flattened. Returns 1 if not an array.
"Total number of array elements.\n If array is multidimensional, array is flattened.\n Returns 1 if not an array."
207
false
SystemRDL/systemrdl-compiler
n_elements
35,732
LDU_FT/KeithSSmith/switcheo-python/get_token_details
LDU_FT
[ "<BEGIN>\n## `neo_get_scripthash_from_address`", "Convert a Public Address String to a ScriptHash (Address) String.", " :param address: The Public address to convert.\n :type address: str\n :return: String containing the converted ScriptHash.\n<END>", "<BEGIN>\n## `num2hexstring`", "Converts a numb...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_token_details API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_token_details API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Function to fetch the available tokens available to trade on the Switcheo exchange. Execution of this function is as follows:: get_token_details() get_token_details(show_listing_details=True) get_token_details(show_inactive=True) get_token_details(show_listing_de...
"Function to fetch the available tokens available to trade on the Switcheo exchange.\n Execution of this function is as follows::\n\n get_token_details()\n get_token_details(show_listing_details=True)\n get_token_details(show_inactive=True)\n get_token_details(show_lis...
218
false
KeithSSmith/switcheo-python
get_token_details
35,733
LDU_FT/bcdev/jpy/load
LDU_FT
[ "<BEGIN>\n## `_write_jpy_config`", "Write out a well-formed jpyconfig.properties file for easier Java\n integration in a given location.\n<END>", "<BEGIN>\n## `find_jdk_home_dir`", "Try to detect the JDK home directory from Maven, if available, or use\n dedicated environment variables.\n :return: pat...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Read Python file from 'path', execute it and return object that stores all variables of the Python code as attributes. :param path: :return:
"Read Python file from 'path', execute it and return object that stores all variables of the\n Python code as attributes.\n :param path:\n :return:"
15
false
bcdev/jpy
load
35,734
LDU_FT/bykof/billomapy/update_credit_note
LDU_FT
[ "<BEGIN>\n## `_create_get_request`", "Creates a get request and return the response data\n<END>", "<BEGIN>\n## `_create_put_request`", "Creates a put request and return the response data\n<END>", "<BEGIN>\n## `_create_delete_request`", "Creates a post request and return the response data\n<END>", "<BEGI...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_credit_note 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 update_credit_note 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...
Updates a credit note :param credit_note_id: the credit note id :param credit_note_dict: dict :return: dict
"Updates a credit note\n\n :param credit_note_id: the credit note id\n :param credit_note_dict: dict\n :return: dict"
502
false
bykof/billomapy
update_credit_note
35,735
LDU_FT/Diaoul/pyextdirect/create_api
LDU_FT
[ "<BEGIN>\n## `create_configuration`", "Create a configuration base class", " It is built using :class:`ConfigurationMeta`. Subclassing such a base class\n will register exposed methods", " .. class:: Base", " .. attribute:: configuration", " Configuration dict that can be used b...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_api API. 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 create_api API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Create the JS code for the API using one or more :class:`Bases <pyextdirect.configuration.Base>` :param bases: configuration bases :type bases: :class:`~pyextdirect.configuration.Base` or list of :class:`~pyextdirect.configuration.Base` :param string url: see :func:`create_api_dict` :param \*\*kwargs: ...
"Create the JS code for the API using one or more :class:`Bases <pyextdirect.configuration.Base>`\n\n :param bases: configuration bases\n :type bases: :class:`~pyextdirect.configuration.Base` or list of :class:`~pyextdirect.configuration.Base`\n :param string url: see :func:`create_api_dict`\n :param \\*\\*...
32
false
Diaoul/pyextdirect
create_api
35,736
LDU_FT/belbio/bel/canonicalize
LDU_FT
[ "<BEGIN>\n## `convert_msg_to_html`", "Convert \\n into a <BR> for an HTML formatted message\n<END>", "<BEGIN>\n## `validate`", "Validate Nanopub", " Error Levels are similar to log levels - selecting WARNING includes both\n WARNING and ERROR, selecting ERROR just includes ERROR", " The validation...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the canonicalize API. 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 canonicalize API. 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...
Canonicalize statement Target namespaces can be provided in the following manner: bel stmt canonicalize "<BELStmt>" --namespace_targets '{"HGNC": ["EG", "SP"], "CHEMBL": ["CHEBI"]}' the value of target_namespaces must be JSON and embedded in single quotes reserving double quotes fo...
"Canonicalize statement\n\n Target namespaces can be provided in the following manner:\n\n bel stmt canonicalize \"<BELStmt>\" --namespace_targets '{\"HGNC\": [\"EG\", \"SP\"], \"CHEMBL\": [\"CHEBI\"]}'\n the value of target_namespaces must be JSON and embedded in single quotes\n reservi...
475
false
belbio/bel
canonicalize
35,737
LDU_FT/meyersj/geotweet/read
LDU_FT
[ "<BEGIN>\n## `validate_geotweet`", "check that stream record is actual tweet with coordinates\n<END>", "<BEGIN>\n## `get_object`", "lookup object based on point as [longitude, latitude]\n<END>", "<BEGIN>\n## `_build_from_geojson`", "Build a RTree index to disk using bounding box of each feature\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read API. 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 read API. 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...
Download GeoJSON file of US counties from url (S3 bucket)
"Download GeoJSON file of US counties from url (S3 bucket)"
30
false
meyersj/geotweet
read
35,738
LDU_FT/learningequality/ricecooker/daemon_mode
LDU_FT
[ "<BEGIN>\n## `_write_to_zip`", "_write_to_zip: Write file to zip\n Args:\n path: (str) where in zip to write file\n contents: (str) contents of file to write\n Returns: None\n<END>", "<BEGIN>\n## `_commit`", "_commit: Adds folder/file to map\n Arg...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the daemon_mode API. 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 daemon_mode API. 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...
Open a ControlWebSocket to SushiBar server and listend for remote commands. Args: args (dict): chef command line arguments options (dict): additional compatibility mode options given on command line
"Open a ControlWebSocket to SushiBar server and listend for remote commands.\n Args:\n args (dict): chef command line arguments\n options (dict): additional compatibility mode options given on command line"
364
false
learningequality/ricecooker
daemon_mode
35,739
LDU_FT/luckydonald/pytgbot/_postprocess_request
LDU_FT
[ "<BEGIN>\n## `to_array`", "Serializes this StickerSet to a dictionary.", " :return: dictionary representation of this object.\n :rtype: dict\n<END>", "<BEGIN>\n## `from_array`", "Deserialize a new StickerSet from a given dictionary.", " :return: new StickerSet instance.\n :rtyp...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _postprocess_request API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _postprocess_request API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
This converts the response to either the response or a parsed :class:`pytgbot.api_types.receivable.Receivable`. :param r: the request response :type r: requests.Response :return: The json response from the server, or, if `self.return_python_objects` is `True`, a parsed return type. :r...
"This converts the response to either the response or a parsed :class:`pytgbot.api_types.receivable.Receivable`.\n\n :param r: the request response\n :type r: requests.Response\n\n :return: The json response from the server, or, if `self.return_python_objects` is `True`, a parsed return type.\n ...
1,048
true
luckydonald/pytgbot
_postprocess_request
35,740
LDU_FT/cytoscape/py2cytoscape/status
LDU_FT
[ "<BEGIN>\n## `to_networkx`", "Return this network in NetworkX graph object.", " :return: Network as NetworkX graph object\n<END>", "<BEGIN>\n## `to_dataframe`", "Return this network in pandas DataFrame.", " :return: Network as DataFrame. This is equivalent to SIF.\n<END>", "<BEGIN>\n## `a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the status API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the status API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Checks the status of your CyREST server.
"Checks the status of your CyREST server."
598
false
cytoscape/py2cytoscape
status
35,741
LDU_FT/MozillaSecurity/laniakea/stop
LDU_FT
[ "<BEGIN>\n## `list_tags`", "List all used macros within a UserData script.", " :param userdata: The UserData script.\n :type userdata: str\n<END>", "<BEGIN>\n## `handle_tags`", "Insert macro values or auto export variables in UserData scripts.", " :param userdata: The UserData script....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stop API. 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 stop API. 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 each provided running instance. :param count: :param instances: A list of instances. :type instances: list
"Stop each provided running instance.\n\n :param count:\n :param instances: A list of instances.\n :type instances: list"
136
false
MozillaSecurity/laniakea
stop
35,742
LDU_FT/caesar0301/relogger/hostname
LDU_FT
[ "<BEGIN>\n## `_get_section_values`", "extract src and dst values from a section\n<END>", "<BEGIN>\n## `_assemble_flowtable`", "generate a flowtable from a tuple of descriptors.\n<END>", "<BEGIN>\n## `_detect_loop`", "detect loops in flow table, raise error if being present\n<END>", "<BEGIN>\n## `_get_ab...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hostname API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hostname API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
The hostname where the log message was created. Should be the first part of the hostname, or an IP address. Should NOT be set to a fully qualified domain name.
"The hostname where the log message was created.\n\n Should be the first part of the hostname, or\n an IP address. Should NOT be set to a fully\n qualified domain name."
26
false
caesar0301/relogger
hostname
35,743
LDU_FT/stoneworksolutions/stoneredis/rpush_limit
LDU_FT
[ "<BEGIN>\n## `reconnect`", "Connects to Redis with a exponential waiting (3**n)\n<END>", "<BEGIN>\n## `_multi_lpop_pipeline`", "Pops multiple elements from a list in a given pipeline\n<END>", "<BEGIN>\n## `multi_lpop`", "Pops multiple elements from a list\r\n This operation will be atomic if tr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rpush_limit API. 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 rpush_limit API. 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...
Pushes an element to a list in an atomic way until it reaches certain size Once limit is reached, the function will lpop the oldest elements This operation runs in LUA, so is always atomic
"Pushes an element to a list in an atomic way until it reaches certain size\r\n Once limit is reached, the function will lpop the oldest elements\r\n This operation runs in LUA, so is always atomic"
20
false
stoneworksolutions/stoneredis
rpush_limit
35,744
LDU_FT/disqus/overseer/verify_subscription
LDU_FT
[ "<BEGIN>\n## `post_to_twitter`", "Update twitter status, i.e., post a tweet\n<END>", "<BEGIN>\n## `truncatechars`", "Truncates a string after a certain number of chars.", " Argument: Number of chars to truncate after.\n<END>", "<BEGIN>\n## `handler500`", "500 error handler.", " Templates: `500.h...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the verify_subscription 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 verify_subscription 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...
Verifies an unverified subscription and create or appends to an existing subscription.
"Verifies an unverified subscription and create or appends\n to an existing subscription."
24
false
disqus/overseer
verify_subscription
35,745
LDU_FT/aerogear/digger-build-cli/handler
LDU_FT
[ "<BEGIN>\n## `jarsign`", "Uses Jarsign to sign an apk target file using the provided keystore information.", " :param storepass(str) - keystore storepass\n :param keypass(str) - keystore keypass\n :param keystore(str) - keystore file path\n :param source(str) - apk path\n :param alias(str) - keystore alias...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handler API. 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 handler API. 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...
Handler that executes the application build based on its platform (using the ``project`` package). param: path(str): the project source code path, default is '/app'. param: target(str): the platform target, android-23 is the default for android platform if no value is provided. Returns: Doesn't retu...
"Handler that executes the application build based on its platform (using the ``project`` package).\n\n param: path(str): the project source code path, default is '/app'.\n param: target(str): the platform target, android-23 is the default for android platform if no value is provided.\n\n Returns:\n Doesn...
100
false
aerogear/digger-build-cli
handler
35,746
LDU_FT/tansey/gfl/solve
LDU_FT
[ "<BEGIN>\n## `solve_gfl`", "A very easy-to-use version of GFL solver that just requires the data and\n the edges.\n<END>", "<BEGIN>\n## `sample_gtf`", "Generate samples from the generalized graph trend filtering distribution via a modified Swendsen-Wang slice sampling algorithm.\n Options for likelihood...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the solve API. 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 solve API. 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...
Solves the GFL for a fixed value of lambda.
"Solves the GFL for a fixed value of lambda."
50
false
tansey/gfl
solve
35,747
LDU_FT/mikekatz04/BOWIE/set_all_ylims
LDU_FT
[ "<BEGIN>\n## `read_noise_curve`", "Simple auxillary function that can read noise curves in.", " This function can read in noise curves from a provided file or those that are preinstalled\n with this installation. All pre-installed noise curves are in the form of\n an amplitude spectral density. Informa...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_all_ylims API. 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 set_all_ylims API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Set limits and ticks for y axis for whole figure. This will set y axis limits and tick marks for the entire figure. It can be overridden in the SinglePlot class. Args: ylim (len-2 list of floats): The limits for the axis. dy (float): Amount to increment by between the l...
"Set limits and ticks for y axis for whole figure.\n\n This will set y axis limits and tick marks for the entire figure.\n It can be overridden in the SinglePlot class.\n\n Args:\n ylim (len-2 list of floats): The limits for the axis.\n dy (float): Amount to increment by betwe...
264
false
mikekatz04/BOWIE
set_all_ylims
35,748
LDU_FT/pyoceans/python-ctd/_extrap1d
LDU_FT
[ "<BEGIN>\n## `from_bl`", "Read Seabird bottle-trip (bl) file", " Example\n -------\n >>> from pathlib import Path\n >>> import ctd\n >>> data_path = Path(__file__).parents[1].joinpath(\"tests\", \"data\")\n >>> df = ctd.from_bl(str(data_path.joinpath('bl', 'bottletest.bl')))\n >>> df._metad...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _extrap1d API. 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 _extrap1d API. 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...
http://stackoverflow.com/questions/2745329/ How to make scipy.interpolate return an extrapolated result beyond the input range.
"http://stackoverflow.com/questions/2745329/\n How to make scipy.interpolate return an extrapolated result beyond the\n input range."
55
false
pyoceans/python-ctd
_extrap1d
35,749
LDU_FT/bkjones/pyrabbit/delete_vhost
LDU_FT
[ "<BEGIN>\n## `do_call`", "Send an HTTP request to the REST API.", " :param string path: A URL\n :param string method: The HTTP method (GET, POST, etc.) to use\n in the request.\n :param string body: A string representing any data to be sent in the\n body of the HTTP re...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_vhost API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_vhost API. 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...
Deletes a vhost from the server. Note that this also deletes any exchanges or queues that belong to this vhost. :param string vname: Name of the vhost to delete from the server.
"Deletes a vhost from the server. Note that this also deletes any\n exchanges or queues that belong to this vhost.\n\n :param string vname: Name of the vhost to delete from the server."
112
false
bkjones/pyrabbit
delete_vhost
35,750
LDU_FT/Phyks/libbmc/get_plaintext_citations
LDU_FT
[ "<BEGIN>\n## `is_valid`", "Check that a given HAL id is a valid one.", " :param hal_id: The HAL id to be checked.\n :returns: Boolean indicating whether the HAL id is valid or not.", " >>> is_valid(\"hal-01258754, version 1\")\n True", " >>> is_valid(\"hal-01258754\")\n True", " >>> i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_plaintext_citations API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_plaintext_citations API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
Parse a plaintext file to get a clean list of plaintext citations. The \ file should have one citation per line. :param file: Either the path to the plaintext file or the content of a \ plaintext file. :returns: A list of cleaned plaintext citations.
"Parse a plaintext file to get a clean list of plaintext citations. The \\\n file should have one citation per line.\n\n :param file: Either the path to the plaintext file or the content of a \\\n plaintext file.\n :returns: A list of cleaned plaintext citations."
271
false
Phyks/libbmc
get_plaintext_citations
35,751
LDU_FT/sternoru/goscalecms/get_cached_item
LDU_FT
[ "<BEGIN>\n## `dict`", "Returns dictionary of post fields and attributes\n<END>", "<BEGIN>\n## `get_posts`", "This method returns list of Posts for this Data Source starting at a given offset and not more than limit\n It will call content-specific methods:\n _format() to format output from t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_cached_item API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_cached_item API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Not a decorator, but a helper function to retrieve the cached item for a key created via get_cache_key. Args: - cache_key: if there was a specific cache key used to cache the function, it should be provided here. If not this should be None - func: the function which was cache - *...
"Not a decorator, but a helper function to retrieve the cached\n item for a key created via get_cache_key.\n Args:\n - cache_key: if there was a specific cache key used to cache the\n function, it should be provided here. If not this should be None\n - func: the function which was cache\n ...
54
false
sternoru/goscalecms
get_cached_item
35,752
LDU_FT/digidotcom/python-devicecloud/send_command_block
LDU_FT
[ "<BEGIN>\n## `_parse_command_response`", "Parse an SCI command response into ElementTree XML", " This is a helper method that takes a Requests Response object\n of an SCI command response and will parse it into an ElementTree Element\n representing the root of the XML response.", " :param response...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_command_block API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_command_block 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...
Send an arbitrary file system command block The primary use for this method is to send multiple file system commands with a single web service request. This can help to avoid throttling. :param target: The device(s) to be targeted with this request :type target: :class:`devicecloud.sc...
"Send an arbitrary file system command block\n\n The primary use for this method is to send multiple file system commands with a single\n web service request. This can help to avoid throttling.\n\n :param target: The device(s) to be targeted with this request\n :type target: :class:`devicec...
366
false
digidotcom/python-devicecloud
send_command_block
35,753
LDU_FT/shinux/PyTime/from_str
LDU_FT
[ "<BEGIN>\n## `_str_parser`", "return method by the length of string\n :param string: string\n :return: method\n<END>", "<BEGIN>\n## `parse_date`", "string to date stamp\n :param string: date string\n :param formation: format string\n :return: datetime.date\n<END>", "<BEGIN...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_str API. 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 from_str API. 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...
Given a date in the format: Jan,21st.2015 will return a datetime of it.
"Given a date in the format: Jan,21st.2015\n will return a datetime of it."
27
false
shinux/PyTime
from_str
35,754
LDU_FT/sys-git/certifiable/parse_value
LDU_FT
[ "<BEGIN>\n## `load_value_from_schema`", "Load a value from a schema defined string.\n<END>", "<BEGIN>\n## `parse_value`", "Convert a string received on the command-line into\n a value or None.", " :param str v:\n The value to parse.\n :param parser:\n The fallback callable to load the...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_value API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_value API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Convert a string received on the command-line into a value or None. :param str v: The value to parse. :param parser: The fallback callable to load the value if loading from scheme fails. :param dict config: The config to use. :param str description: Descripti...
"Convert a string received on the command-line into\n a value or None.\n\n :param str v:\n The value to parse.\n :param parser:\n The fallback callable to load the value if loading\n from scheme fails.\n :param dict config:\n The config to use.\n :param str description:\n ...
100
false
sys-git/certifiable
parse_value
35,755
LDU_FT/coleifer/django-relationships/get_relationships
LDU_FT
[ "<BEGIN>\n## `if_relationship`", "Determine if a certain type of relationship exists between two users.\n The ``status`` parameter must be a slug matching either the from_slug,\n to_slug or symmetrical_slug of a RelationshipStatus.", " Example::", " {% if_relationship from_user to_user \"frien...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_relationships API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_relationships API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Returns a QuerySet of user objects with which the given user has established a relationship.
"Returns a QuerySet of user objects with which the given user has\n established a relationship."
22
false
coleifer/django-relationships
get_relationships
35,756
LDU_FT/lyda/misspell-check/add
LDU_FT
[ "<BEGIN>\n## `split_words`", "Return the list of words contained in a line.\n<END>", "<BEGIN>\n## `add`", "Adds files to check.", " Args:\n files: List of files to check.\n<END>", "<BEGIN>\n## `check`", "Checks the files for misspellings.", " Returns:\n (errors, results)\n errors:...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Adds files to check. Args: files: List of files to check.
"Adds files to check.\n\n Args:\n files: List of files to check."
14
false
lyda/misspell-check
add
35,757
LDU_FT/DBuildService/dockerfile-parse/_modify_instruction_label_env
LDU_FT
[ "<BEGIN>\n## `image_from`", ":param from_value: string like \"image:tag\" or \"image:tag AS name\"\n :return: tuple of the image and stage name, e.g. (\"image:tag\", None)\n<END>", "<BEGIN>\n## `lines`", ":return: list containing lines (unicode) from Dockerfile\n<END>", "<BEGIN>\n## `lines`", "Fill Doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _modify_instruction_label_env 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 _modify_instruction_label_env API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc...
set <INSTRUCTION> instr_key to instr_value :param instr_key: str, label key :param instr_value: str or None, new label/env value or None to remove
"set <INSTRUCTION> instr_key to instr_value\n\n :param instr_key: str, label key\n :param instr_value: str or None, new label/env value or None to remove"
58
false
DBuildService/dockerfile-parse
_modify_instruction_label_env
35,758
LDU_FT/fastai/fastai/_fetch_img_tuples
LDU_FT
[ "<BEGIN>\n## `xception`", "Preview version of Xception network. Not tested yet - use at own risk. No pretrained model yet.\n<END>", "<BEGIN>\n## `get_model`", "Method returns a RNN_Learner object, that wraps an instance of the RNN_Encoder module.", " Args:\n opt_fn (Optimizer): the torch o...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _fetch_img_tuples API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _fetch_img_tuples API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Parse the Google Images Search for urls and return the image metadata as tuples (fname, url).
"Parse the Google Images Search for urls and return the image metadata as tuples (fname, url)."
1,382
true
fastai/fastai
_fetch_img_tuples
35,759
LDU_FT/turicas/rows/get_items
LDU_FT
[ "<BEGIN>\n## `import_from_json`", "Import a JSON file or file-like object into a `rows.Table`.", " If a file-like object is provided it MUST be open in text (non-binary) mode\n on Python 3 and could be open in both binary or text mode on Python 2.\n<END>", "<BEGIN>\n## `export_to_json`", "Export a `ro...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_items API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_items API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Return a callable that fetches the given indexes of an object Always return a tuple even when len(indexes) == 1. Similar to `operator.itemgetter`, but will insert `None` when the object does not have the desired index (instead of raising IndexError).
"Return a callable that fetches the given indexes of an object\n Always return a tuple even when len(indexes) == 1.\n\n Similar to `operator.itemgetter`, but will insert `None` when the object\n does not have the desired index (instead of raising IndexError)."
123
false
turicas/rows
get_items
35,760
LDU_FT/ikegami-yukino/jaconv/normalize
LDU_FT
[ "<BEGIN>\n## `hira2kata`", "Convert Hiragana to Full-width (Zenkaku) Katakana.", " Parameters\n ----------\n text : str\n Hiragana string.\n ignore : str\n Characters to be ignored in converting.", " Return\n ------\n str\n Katakana string.", " Examples\n ----...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the normalize API. 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 normalize API. 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...
Convert Half-width (Hankaku) Katakana to Full-width (Zenkaku) Katakana, Full-width (Zenkaku) ASCII and DIGIT to Half-width (Hankaku) ASCII and DIGIT. Additionally, Full-width wave dash (〜) etc. are normalized Parameters ---------- text : str Source string. mode : str Unicode...
"Convert Half-width (Hankaku) Katakana to Full-width (Zenkaku) Katakana,\n Full-width (Zenkaku) ASCII and DIGIT to Half-width (Hankaku) ASCII\n and DIGIT.\n Additionally, Full-width wave dash (〜) etc. are normalized\n\n Parameters\n ----------\n text : str\n Source string.\n mode : str\n ...
40
false
ikegami-yukino/jaconv
normalize
35,761
LDU_FT/django-fluent/django-fluent-blogs/reverse
LDU_FT
[ "<BEGIN>\n## `formfield_for_dbfield`", "Allow formfield_overrides to contain field names too.\n<END>", "<BEGIN>\n## `published`", "Return only published entries for the current site.\n<END>", "<BEGIN>\n## `authors`", "Return the entries written by the given usernames\n When multiple tags are provid...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reverse API. 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 reverse API. 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...
Reverse a blog page, taking different configuration options into account. For example, the blog can be mounted using *django-fluent-pages* on multiple nodes.
"Reverse a blog page, taking different configuration options into account.\n For example, the blog can be mounted using *django-fluent-pages* on multiple nodes."
54
false
django-fluent/django-fluent-blogs
reverse
35,762
LDU_FT/sdispater/cachy/get
LDU_FT
[ "<BEGIN>\n## `tag_id`", "Get the unique tag identifier for a given tag.", " :param name: The tag\n :type name: str", " :rtype: str\n<END>", "<BEGIN>\n## `reset_tag`", "Reset the tag and return the new tag identifier.", " :param name: The tag\n :type name: str", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Retrieve an item from the cache by key. :param key: The cache key :type key: str :param default: The default value to return :type default: mixed :rtype: mixed
"Retrieve an item from the cache by key.\n\n :param key: The cache key\n :type key: str\n\n :param default: The default value to return\n :type default: mixed\n\n :rtype: mixed"
206
false
sdispater/cachy
get
35,763
LDU_FT/wishtack/pysynthetic/synthesizeMember
LDU_FT
[ "<BEGIN>\n## `syntheticMemberDecorator`", ":type memberName: str\n :type readOnly: bool\n :type privateMemberName: str|None\n :type memberDelegate: IMemberDelegate\n<END>", "<BEGIN>\n## `namingConventionDecorator`", ":type namingConvention:INamingConvention\n<END>", "<BEGIN>\n## `makeConstructor`",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the synthesizeMember API. 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 synthesizeMember API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
When applied to a class, this decorator adds getter/setter methods to it and overrides the constructor in order to set\ the default value of the member. By default, the getter will be named ``memberName``. (Ex.: ``memberName = 'member' => instance.member()``) By default, the setter will be named ``memb...
"When applied to a class, this decorator adds getter/setter methods to it and overrides the constructor in order to set\\\n the default value of the member.\n By default, the getter will be named ``memberName``. (Ex.: ``memberName = 'member' => instance.member()``)\n \n By default, the setter will be named ...
66
false
wishtack/pysynthetic
synthesizeMember
35,764
LDU_FT/awickert/gFlex/use_setuptools
LDU_FT
[ "<BEGIN>\n## `elasprep`", "dx4, dy4, dx2dy2, D = elasprep(dx,dy,Te,E=1E11,nu=0.25)", " Defines the variables that are required to create the 2D finite \n difference solution coefficient matrix\n<END>", "<BEGIN>\n## `BC_selector_and_coeff_matrix_creator`", "Selects the boundary conditions\n E-W is f...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the use_setuptools API. 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 use_setuptools API. 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...
Automatically find/download setuptools and make it available on sys.path `version` should be a valid setuptools version number that is available as an egg for download under the `download_base` URL (which should end with a '/'). `to_dir` is the directory where setuptools will be downloaded, if it is n...
"Automatically find/download setuptools and make it available on sys.path\n\n `version` should be a valid setuptools version number that is available\n as an egg for download under the `download_base` URL (which should end with\n a '/'). `to_dir` is the directory where setuptools will be downloaded, if\n i...
78
false
awickert/gFlex
use_setuptools
35,765
LDU_FT/d11wtq/dockerpty/_exec_info
LDU_FT
[ "<BEGIN>\n## `before_all`", "Pulls down busybox:latest before anything is tested.\n<END>", "<BEGIN>\n## `after_scenario`", "Cleans up docker containers used as test fixtures after test completes.\n<END>", "<BEGIN>\n## `set_blocking`", "Set the given file-descriptor blocking or non-blocking.", " Retur...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _exec_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. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _exec_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. The extrac...
Caching wrapper around client.exec_inspect
"Caching wrapper around client.exec_inspect"
66
false
d11wtq/dockerpty
_exec_info
35,766
LDU_FT/nschloe/meshplex/read
LDU_FT
[ "<BEGIN>\n## `create_cell_volumes`", "Computes the volumes of the \"cells\" in the mesh.\n<END>", "<BEGIN>\n## `create_control_volumes`", "Compute the control volumes of all nodes in the mesh.\n<END>", "<BEGIN>\n## `get_signed_simplex_volumes`", "Signed volume of a simplex in nD. Note that signing only ma...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read API. 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 read API. 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...
Reads an unstructured mesh with added data. :param filenames: The files to read from. :type filenames: str :returns mesh{2,3}d: The mesh data. :returns point_data: Point data read from file. :type point_data: dict :returns field_data: Field data read from file. :type field_data: dict
"Reads an unstructured mesh with added data.\n\n :param filenames: The files to read from.\n :type filenames: str\n :returns mesh{2,3}d: The mesh data.\n :returns point_data: Point data read from file.\n :type point_data: dict\n :returns field_data: Field data read from file.\n :type field_data: di...
44
false
nschloe/meshplex
read
35,767
LDU_FT/nickfrostatx/flask-hookserver/hook
LDU_FT
[ "<BEGIN>\n## `_load_github_hooks`", "Request GitHub's IP block from their API.", " Return the IP network.", " If we detect a rate-limit error, raise an error message stating when\n the rate limit will reset.", " If something else goes wrong, raise a generic 503.\n<END>", "<BEGIN>\n## `is_githu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hook API. 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 hook API. 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...
A decorator that's used to register a new hook handler. :param hook_name: the event to handle
"A decorator that's used to register a new hook handler.\n\n :param hook_name: the event to handle"
17
false
nickfrostatx/flask-hookserver
hook
35,768
LDU_FT/jpscaletti/solution/is_valid
LDU_FT
[ "<BEGIN>\n## `as_select`", "Render the field as a `<select>` element.", " :param **kwargs:\n Named paremeters used to generate the HTML attributes of each item.\n It follows the same rules as `get_html_attrs`\n<END>", "<BEGIN>\n## `_clean_data`", "This overwrite is neccesary for...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_valid API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_valid API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Return whether the current values of the form fields are all valid.
"Return whether the current values of the form fields are all valid."
57
false
jpscaletti/solution
is_valid
35,769
LDU_FT/habnabit/panglery/trigger
LDU_FT
[ "<BEGIN>\n## `subscribe`", "Add a hook to a pangler.", " This method can either be used as a decorator for a function or method,\n or standalone on a callable.", " * `needs` is an iterable of parameters that this hook operates on.\n * `returns` is an iterable of parameters that t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the trigger API. 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 trigger API. 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...
Trigger an event. Event parameters are passed as keyword arguments. Passing an `event` argument isn't required, but generally recommended.
"Trigger an event.\n\n Event parameters are passed as keyword arguments. Passing an `event`\n argument isn't required, but generally recommended."
22
false
habnabit/panglery
trigger
35,770
LDU_FT/WebarchivCZ/WA-KAT/render_registered
LDU_FT
[ "<BEGIN>\n## `_convert_metadata`", "Convert metadata from WA-KAT to Dublin core dictionary like structure,\n which may be easily converted to xml using :mod:`xmltodict` module.", " Args:\n data (dict): Nested WA-KAT data. See tests for example.", " Returns:\n dict: Dict in dublin core f...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the render_registered API. 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 render_registered API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Render template file for the registered user, which has some of the values prefilled. Args: url_id (str): Seeder URL id. remote_info (dict): Informations read from Seeder. Returns: str: Template filled with data.
"Render template file for the registered user, which has some of the values\n prefilled.\n\n Args:\n url_id (str): Seeder URL id.\n remote_info (dict): Informations read from Seeder.\n\n Returns:\n str: Template filled with data."
401
false
WebarchivCZ/WA-KAT
render_registered
35,771
LDU_FT/cox-labs/perseuspy/run_dependent_peptides_from_parameters
LDU_FT
[ "<BEGIN>\n## `read_annotations`", "Read all annotations from the specified file.", " >>> annotations = read_annotations(path_or_file, separator)\n >>> colnames = annotations['Column Name']\n >>> types = annotations['Type']\n >>> annot_row = annotations['Annot. row name']", " :param path_or_file...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run_dependent_peptides_from_parameters 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 run_dependent_peptides_from_parameters API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates...
transform a allPeptides.txt and experimentalDesign.txt table into the dependentPeptides.txt table written in outfile. :param paramfile: Perseus parameters.xml including at least two FileParam entries names 'allPeptides.txt' and 'experimentalDesign.txt'. :param outfile: Path to the output file.
"transform a allPeptides.txt and experimentalDesign.txt table\n into the dependentPeptides.txt table written in outfile.\n :param paramfile: Perseus parameters.xml including at least two FileParam\n entries names 'allPeptides.txt' and 'experimentalDesign.txt'.\n :param outfile: Path to the output file."
57
false
cox-labs/perseuspy
run_dependent_peptides_from_parameters
35,772