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/priestc/giotto/pre_process_json
LDU_FT
[ "<BEGIN>\n## `get_response`", "High level function for getting a response. This is what the concrete\n controller should call. Returns a controller specific response.\n<END>", "<BEGIN>\n## `get_data_response`", "Execute the model and view, and handle the cache.\n Returns controller-agnostic resp...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pre_process_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 ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pre_process_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 ...
Preprocess items in a dictionary or list and prepare them to be json serialized.
"Preprocess items in a dictionary or list and prepare them to be json serialized."
75
false
priestc/giotto
pre_process_json
143,473
LDU_FT/snipsco/snipsmanagercore/stop
LDU_FT
[ "<BEGIN>\n## `parse`", "Parse a json response into an intent.", " :param payload: a JSON object representing an intent.\n :param candidate_classes: a list of classes representing various\n intents, each having their own `parse`\n me...
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 all functions running in the thread handler.
"Stop all functions running in the thread handler."
60
false
snipsco/snipsmanagercore
stop
143,474
LDU_FT/svenkreiss/pysparkling/repartition
LDU_FT
[ "<BEGIN>\n## `get_fs`", "Find the file system implementation for this path.\n<END>", "<BEGIN>\n## `awaitTermination`", "Wait for context to stop.", " :param float timeout: in seconds\n<END>", "<BEGIN>\n## `binaryRecordsStream`", "Monitor a directory and process all binary files.", " File...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the repartition API. 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 repartition API. 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...
Repartition every RDD. :rtype: DStream Example: >>> import pysparkling >>> sc = pysparkling.Context() >>> ssc = pysparkling.streaming.StreamingContext(sc, 0.1) >>> ( ... ssc ... .queueStream([['hello', 'world']]) ... .repartition(2)...
"Repartition every RDD.\n\n :rtype: DStream\n\n\n Example:\n\n >>> import pysparkling\n >>> sc = pysparkling.Context()\n >>> ssc = pysparkling.streaming.StreamingContext(sc, 0.1)\n >>> (\n ... ssc\n ... .queueStream([['hello', 'world']])\n ... ....
109
false
svenkreiss/pysparkling
repartition
143,475
LDU_FT/huge-success/sanic/enable_websocket
LDU_FT
[ "<BEGIN>\n## `group`", "Create a list of blueprints, optionally grouping them under a\n general URL prefix.", " :param blueprints: blueprints to be registered as a group\n :param url_prefix: URL route to be prepended to all sub-prefixes\n<END>", "<BEGIN>\n## `register`", "Register the b...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the enable_websocket API. 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 enable_websocket API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Enable or disable the support for websocket. Websocket is enabled automatically if websocket routes are added to the application.
"Enable or disable the support for websocket.\n\n Websocket is enabled automatically if websocket routes are\n added to the application."
238
false
huge-success/sanic
enable_websocket
143,476
LDU_FT/romana/vpc-router/param_extract
LDU_FT
[ "<BEGIN>\n## `_do_tcp_check`", "Attempt to establish a TCP connection.", " If not successful, record the IP in the results dict.", " Always closes the connection at the end.\n<END>", "<BEGIN>\n## `do_health_checks`", "Perform a health check on a list of IP addresses.", " Each check ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the param_extract API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the param_extract API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Quick extraction of a parameter from the command line argument list. In some cases we need to parse a few arguments before the official arg-parser starts. Returns parameter value, or None if not present.
"Quick extraction of a parameter from the command line argument list.\n\n In some cases we need to parse a few arguments before the official\n arg-parser starts.\n\n Returns parameter value, or None if not present."
207
false
romana/vpc-router
param_extract
143,477
LDU_FT/splitkeycoffee/pyhottop/reset
LDU_FT
[ "<BEGIN>\n## `_generate_config`", "Generate a configuration that can be sent to the Hottop roaster.", " Configuration settings need to be represented inside of a byte array\n that is then written to the serial interface. Much of the configuration\n is static, but control settings are also i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reset API. 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 reset API. 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...
Reset the internal roast properties. :returns: None
"Reset the internal roast properties.\n\n :returns: None"
89
false
splitkeycoffee/pyhottop
reset
143,478
LDU_FT/orbeckst/RecSQL/has_table
LDU_FT
[ "<BEGIN>\n## `make_python_name`", "Returns a unicode string that can be used as a legal python identifier.", " :Arguments:\n *s*\n string\n *default*\n use *default* if *s* is ``None``\n *number_prefix*\n string to prepend if *s* starts with a number\n<END>", "<BEGIN>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the has_table API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the has_table API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Return ``True`` if the table *name* exists in the database.
"Return ``True`` if the table *name* exists in the database."
96
false
orbeckst/RecSQL
has_table
143,479
LDU_FT/mikedh/trimesh/colinear_pairs
LDU_FT
[ "<BEGIN>\n## `face_adjacency`", "Returns an (n,2) list of face indices.\n Each pair of faces in the list shares an edge, making them adjacent.", " Parameters\n ----------\n faces : (n, 3) int, or None\n List of vertex indices representing triangles\n mesh : Trimesh object\n If passe...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the colinear_pairs API. 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 colinear_pairs API. 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...
Find pairs of segments which are colinear. Parameters ------------- segments : (n, 2, (2, 3)) float Two or three dimensional line segments radius : float Maximum radius line origins can differ and be considered colinear angle : float Maximum angle in radians segments can ...
"Find pairs of segments which are colinear.\n\n Parameters\n -------------\n segments : (n, 2, (2, 3)) float\n Two or three dimensional line segments\n radius : float\n Maximum radius line origins can differ\n and be considered colinear\n angle : float\n Maximum angle in radians segme...
2,650
true
mikedh/trimesh
colinear_pairs
143,480
LDU_FT/cebel/pyuniprot/export_obo
LDU_FT
[ "<BEGIN>\n## `get_args`", "Check allowed argument names and return is as dictionary\n<END>", "<BEGIN>\n## `query_disease`", "Returns list of diseases by query parameters\n ---", " tags:", " - Query functions", " parameters:", " - name: identifier\n in: query\n type: st...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the export_obo API. 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 export_obo API. 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...
export database to obo file :param path_to_file: path to export file :param connection: connection string (optional) :return:
"export database to obo file\n\n :param path_to_file: path to export file\n :param connection: connection string (optional)\n :return:"
416
false
cebel/pyuniprot
export_obo
143,481
LDU_FT/nameko/nameko/add_service
LDU_FT
[ "<BEGIN>\n## `run_services`", "Serves a number of services for a contextual block.\n The caller can specify a number of service classes then serve them either\n stopping (default) or killing them on exiting the contextual block.", " Example::", " with run_services(config, Foobar, Spam) as runn...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_service API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_service API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Add a service class to the runner. There can only be one service class for a given service name. Service classes must be registered before calling start()
"Add a service class to the runner.\n There can only be one service class for a given service name.\n Service classes must be registered before calling start()"
155
false
nameko/nameko
add_service
143,482
LDU_FT/edeposit/edeposit.amqp.ftp/decode
LDU_FT
[ "<BEGIN>\n## `load_users`", "Read passwd file and return dict with users and all their settings.", " Args:\n path (str, default settings.LOGIN_FILE): path of the file,\n which will be loaded (default :attr:`ftp.settings.LOGIN_FILE`).", " Returns:\n (dict): username: {pass_hash, ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decode API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decode API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Handles decoding of the XML `data`. Args: data (str): Data which will be decoded. Returns: dict: Dictionary with decoded data.
"Handles decoding of the XML `data`.\n\n Args:\n data (str): Data which will be decoded.\n\n Returns:\n dict: Dictionary with decoded data."
166
false
edeposit/edeposit.amqp.ftp
decode
143,483
LDU_FT/pydanny-archive/django-uni-form/get_attributes
LDU_FT
[ "<BEGIN>\n## `as_uni_form`", "The original and still very useful way to generate a uni-form form/formset::", " {% load uni_form_tags %}", " <form class=\"uniForm\" action=\"post\">\n {% csrf_token %}\n {{ myform|as_uni_form }}\n </form>\n<END>", "<BEGIN>\n## `as_un...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_attributes API. 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_attributes API. 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...
Used by the uni_form_tags to get helper attributes
"Used by the uni_form_tags to get helper attributes"
36
false
pydanny-archive/django-uni-form
get_attributes
143,484
LDU_FT/vmirly/pyclust/_init_mixture_params
LDU_FT
[ "<BEGIN>\n## `_update_centers`", "Update Cluster Centers:\n calculate the mean of feature vectors for each cluster.", " distance can be a string or callable.\n<END>", "<BEGIN>\n## `_kmedoids_run`", "Run a single trial of k-medoids clustering\n on dataset X, and given number of cluste...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _init_mixture_params 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 _init_mixture_params API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Initialize mixture density parameters with equal priors random means identity covariance matrices
"Initialize mixture density parameters with \n equal priors\n random means\n identity covariance matrices"
47
false
vmirly/pyclust
_init_mixture_params
143,485
LDU_FT/elastic/apm-agent-python/iter_traceback_frames
LDU_FT
[ "<BEGIN>\n## `extract_signature`", "Extracts a minimal signature from a given SQL query\n :param sql: the SQL statement\n :return: a string representing the signature\n<END>", "<BEGIN>\n## `_timed_queue_join`", "implementation of Queue.join which takes a 'timeout' argument", " returns True on s...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iter_traceback_frames 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 iter_traceback_frames API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Given a traceback object, it will iterate over all frames that do not contain the ``__traceback_hide__`` local variable.
"Given a traceback object, it will iterate over all\n frames that do not contain the ``__traceback_hide__``\n local variable."
163
false
elastic/apm-agent-python
iter_traceback_frames
143,486
LDU_FT/sailthru/relay/stop_if_mostly_diverging
LDU_FT
[ "<BEGIN>\n## `create_ramp_plan`", "Formulate and execute on a plan to slowly add heat or cooling to the system", " `err` initial error (PV - SP)\n `ramp` the size of the ramp", " A ramp plan might yield MVs in this order at every timestep:\n [5, 0, 4, 0, 3, 0, 2, 0, 1]\n where err == 5 ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stop_if_mostly_diverging 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 stop_if_mostly_diverging API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
This is an example stop condition that asks Relay to quit if the error difference between consecutive samples is increasing more than half of the time. It's quite sensitive and designed for the demo, so you probably shouldn't use this is a production setting
"This is an example stop condition that asks Relay to quit if\n the error difference between consecutive samples is increasing more than\n half of the time.\n\n It's quite sensitive and designed for the demo, so you probably shouldn't\n use this is a production setting"
32
false
sailthru/relay
stop_if_mostly_diverging
143,487
LDU_FT/aburrell/apexpy/geo2apex
LDU_FT
[ "<BEGIN>\n## `checklat`", "Makes sure the latitude is inside [-90, 90], clipping close values\n (tolerance 1e-4).", " Parameters\n ==========\n lat : array_like\n latitude\n name : str, optional\n parameter name to use in the exception message", " Returns\n =======\n lat ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the geo2apex API. 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 geo2apex API. 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...
Converts geodetic to modified apex coordinates. Parameters ========== glat : array_like Geodetic latitude glon : array_like Geodetic longitude height : array_like Altitude in km Returns ======= alat : ndarray or float ...
"Converts geodetic to modified apex coordinates.\n\n Parameters\n ==========\n glat : array_like\n Geodetic latitude\n glon : array_like\n Geodetic longitude\n height : array_like\n Altitude in km\n\n Returns\n =======\n alat : nda...
120
false
aburrell/apexpy
geo2apex
143,488
LDU_FT/sods/ods/display_url
LDU_FT
[ "<BEGIN>\n## `display_url`", "Displaying URL in an IPython notebook to allow the user to click and check on information. With thanks to Fernando Perez for putting together the implementation!\n :param target: the url to display.\n :type target: string.\n<END>", "<BEGIN>\n## `iframe_url`", "Produce an if...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the display_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 extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the display_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 extra...
Displaying URL in an IPython notebook to allow the user to click and check on information. With thanks to Fernando Perez for putting together the implementation! :param target: the url to display. :type target: string.
"Displaying URL in an IPython notebook to allow the user to click and check on information. With thanks to Fernando Perez for putting together the implementation!\n :param target: the url to display.\n :type target: string."
67
false
sods/ods
display_url
143,489
LDU_FT/Kane610/deconz/async_load_parameters
LDU_FT
[ "<BEGIN>\n## `async_load_parameters`", "Load deCONZ parameters.", " Returns lists of indices of which devices was added.\n<END>", "<BEGIN>\n## `async_put_state`", "Set state of object in deCONZ.", " Field is a string representing a specific device in deCONZ\n e.g. field='/lights/1/sta...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the async_load_parameters 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 async_load_parameters API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Load deCONZ parameters. Returns lists of indices of which devices was added.
"Load deCONZ parameters.\n\n Returns lists of indices of which devices was added."
56
false
Kane610/deconz
async_load_parameters
143,490
LDU_FT/sparklingpandas/sparklingpandas/applymap
LDU_FT
[ "<BEGIN>\n## `_prep_pandas_groupby`", "Prepare the old school pandas group by based approach.\n<END>", "<BEGIN>\n## `_group`", "Group together the values with the same key.\n<END>", "<BEGIN>\n## `groups`", "Returns dict {group name -> group labels}.\n<END>", "<BEGIN>\n## `indices`", "Returns dict {gro...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the applymap API. 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 applymap API. 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 a new PRDD by applying a function to each element of each pandas DataFrame.
"Return a new PRDD by applying a function to each element of each\n pandas DataFrame."
87
false
sparklingpandas/sparklingpandas
applymap
143,491
LDU_FT/cloudant/python-cloudant/view_cleanup
LDU_FT
[ "<BEGIN>\n## `_start`", "Starts streaming the feed using the provided session and feed options.\n<END>", "<BEGIN>\n## `_translate`", "Perform translation of feed options passed in as keyword\n arguments to CouchDB/Cloudant equivalent.\n<END>", "<BEGIN>\n## `_validate`", "Ensures that the key and th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the view_cleanup API. 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 view_cleanup API. 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...
Removes view files that are not used by any design document in the remote database. :returns: View cleanup status in JSON format
"Removes view files that are not used by any design document in the\n remote database.\n\n :returns: View cleanup status in JSON format"
489
false
cloudant/python-cloudant
view_cleanup
143,492
LDU_FT/caktus/django-timepiece/get_users_from_project_hours
LDU_FT
[ "<BEGIN>\n## `add_timezone`", "If the value is naive, then the timezone is added to it.", " If no timezone is given, timezone.get_current_timezone() is used.\n<END>", "<BEGIN>\n## `get_active_entry`", "Returns the user's currently-active entry, or None.\n<END>", "<BEGIN>\n## `get_month_start`", "Retu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_users_from_project_hours API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_users_from_project_hours API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl...
Gets a list of the distinct users included in the project hours entries, ordered by name.
"Gets a list of the distinct users included in the project hours\n entries, ordered by name."
88
false
caktus/django-timepiece
get_users_from_project_hours
143,493
LDU_FT/escalant3/pyblueprints/getInEdges
LDU_FT
[ "<BEGIN>\n## `addVertex`", "Add param declared for compability with the API. Neo4j\n creates the id automatically\n @params _id: Node unique identifier", " @returns The created Vertex or None\n<END>", "<BEGIN>\n## `getVertex`", "Retrieves an existing vertex from the graph\n @para...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getInEdges API. 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 getInEdges API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Gets all the incoming edges of the node. If label parameter is provided, it only returns the edges of the given label @params label: Optional parameter to filter the edges @returns A generator function with the incoming edges
"Gets all the incoming edges of the node. If label\n parameter is provided, it only returns the edges of\n the given label\n @params label: Optional parameter to filter the edges\n\n @returns A generator function with the incoming edges"
36
false
escalant3/pyblueprints
getInEdges
143,494
LDU_FT/timothycrosley/isort/_get_line
LDU_FT
[ "<BEGIN>\n## `iter_source_code`", "Iterate over all Python source files defined in paths.\n<END>", "<BEGIN>\n## `file_should_be_skipped`", "Returns True if the file and/or folder should be skipped based on the passed in settings.\n<END>", "<BEGIN>\n## `chdir`", "Context manager for changing dir and restor...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_line API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_line API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Returns the current line from the file while incrementing the index.
"Returns the current line from the file while incrementing the index."
44
false
timothycrosley/isort
_get_line
143,495
LDU_FT/mohamedattahri/PyXMLi/__set_due_date
LDU_FT
[ "<BEGIN>\n## `c14n`", "Applies c14n to the xml input\n @param xml: str\n @return: str\n<END>", "<BEGIN>\n## `sign`", "Return xmldsig XML string from xml_string of XML.\n @param xml: str of bytestring xml to sign\n @param private: publicKey Private key\n @param public: publicKey Public key\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __set_due_date API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __set_due_date API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Sets the due date of the invoice. @param value:date
"Sets the due date of the invoice.\n @param value:date"
102
false
mohamedattahri/PyXMLi
__set_due_date
143,496
LDU_FT/scdoshi/django-bits/currency_format
LDU_FT
[ "<BEGIN>\n## `gprmc_to_degdec`", "Converts GPRMC formats (Decimal Minutes) to Degrees Decimal.\n<END>", "<BEGIN>\n## `tinygps_to_degdec`", "Converts TinyGPS formats (Decimal Degrees to e-5) to Degrees Decimal.\n<END>", "<BEGIN>\n## `change_in_longitude`", "Given a latitude and a distance west, return the ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the currency_format API. 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 currency_format API. 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...
Format currency with symbol and decimal points. >> currency_format(-600) - $6.00 TODO: Add localization support.
"Format currency with symbol and decimal points.\n\n >> currency_format(-600)\n - $6.00\n\n TODO: Add localization support."
25
false
scdoshi/django-bits
currency_format
143,497
LDU_FT/nagius/snmp_passpersist/commit
LDU_FT
[ "<BEGIN>\n## `encode`", "Encode the given string as an OID.", "\t\t>>> import snmp_passpersist as snmp\n\t\t>>> snmp.PassPersist.encode(\"hello\")\n\t\t'5.104.101.108.108.111'\n\t\t>>>\n<END>", "<BEGIN>\n## `cut_oid`", "Remove the base OID from the given string.", "\t\t>>> import snmp_passpersist as snmp\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the commit API. 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 commit API. 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 ...
Commit change made by the add_* methods. All previous values with no update will be lost. This method is automatically called by the updater thread.
"Commit change made by the add_* methods.\n\t\tAll previous values with no update will be lost.\n\t\tThis method is automatically called by the updater thread."
38
false
nagius/snmp_passpersist
commit
143,498
LDU_FT/pytorch/tnt/update
LDU_FT
[ "<BEGIN>\n## `add`", "Computes the confusion matrix of K x K size where K is no of classes", " Args:\n predicted (tensor): Can be an N x K tensor of predicted scores obtained from\n the model for N examples and K classes or an N-tensor of\n integer values between ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Update the results file with new information. Args: task_name (str): Name of the currently running task. A previously unseen ``task_name`` will create a new entry in both :attr:`tasks` and :attr:`results`. result: This will be appended to the list in :att...
"Update the results file with new information.\n\n Args:\n task_name (str): Name of the currently running task. A previously unseen\n ``task_name`` will create a new entry in both :attr:`tasks`\n and :attr:`results`.\n result: This will be appended to the list ...
32
false
pytorch/tnt
update
143,499
LDU_FT/openstack/pymod2pkg/default_suse_tr
LDU_FT
[ "<BEGIN>\n## `default_rdo_tr`", "Default translation function for Fedora/RDO based systems\n<END>", "<BEGIN>\n## `default_ubuntu_tr`", "Default translation function for Ubuntu based systems\n<END>", "<BEGIN>\n## `default_suse_tr`", "Default translation function for openSUSE, SLES, and other\n SUSE base...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the default_suse_tr API. 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 default_suse_tr API. 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...
Default translation function for openSUSE, SLES, and other SUSE based systems Returns a tuple of 3 elements - the unversioned name, the python2 versioned name and the python3 versioned name.
"Default translation function for openSUSE, SLES, and other\n SUSE based systems\n\n Returns a tuple of 3 elements - the unversioned name, the python2 versioned\n name and the python3 versioned name."
13
false
openstack/pymod2pkg
default_suse_tr
143,500
LDU_FT/ranaroussi/pywallet/sign
LDU_FT
[ "<BEGIN>\n## `create_new_address_for_user`", "Create a new bitcoin address to accept payments for a User.", " This is a convenience wrapper around `get_child` that helps you do\n the right thing. This method always creates a public, non-prime\n address that can be generated from a BIP32 pub...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sign API. 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 sign API. 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...
Signs message using the underlying non-extended private key. Note: This differs from `raw_sign()` since it returns a Signature object. Args: message (bytes or str): The message to be signed. If a string is provided it is assumed the encoding is '...
"Signs message using the underlying non-extended private key.\n\n Note:\n This differs from `raw_sign()` since it returns a Signature object.\n\n Args:\n message (bytes or str): The message to be signed. If a\n string is provided it is assumed the encoding is\n ...
186
false
ranaroussi/pywallet
sign
143,501
LDU_FT/tomplus/kubernetes_asyncio/connect_put_namespaced_pod_proxy
LDU_FT
[ "<BEGIN>\n## `raw`", "Sets the raw of this RuntimeRawExtension.", " Raw is the underlying serialization of this object. # noqa: E501", " :param raw: The raw of this RuntimeRawExtension. # noqa: E501\n :type: str\n<END>", "<BEGIN>\n## `delete_namespaced_cron_job`", "delete_namespaced...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect_put_namespaced_pod_proxy API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect_put_namespaced_pod_proxy API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c...
connect_put_namespaced_pod_proxy # noqa: E501 connect PUT requests to proxy of Pod # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.connect_put_namespaced_pod_proxy(name, namespace, ...
"connect_put_namespaced_pod_proxy # noqa: E501\n\n connect PUT requests to proxy of Pod # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.connect_put_namespaced_pod_proxy(name, names...
1,540
true
tomplus/kubernetes_asyncio
connect_put_namespaced_pod_proxy
143,502
LDU_FT/kyuupichan/aiorpcX/send_notification
LDU_FT
[ "<BEGIN>\n## `timeout_after`", "Execute the specified coroutine and return its result. However,\n issue a cancellation request to the calling task after seconds\n have elapsed. When this happens, a TaskTimeout exception is\n raised. If coro is None, the result of this function serves\n as an asynchr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_notification API. 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 send_notification API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Send an RPC notification over the network.
"Send an RPC notification over the network."
118
false
kyuupichan/aiorpcX
send_notification
143,503
LDU_FT/QuantEcon/QuantEcon.py/process_image
LDU_FT
[ "<BEGIN>\n## `backward_induction`", "r\"\"\"\n Solve by backward induction a :math:`T`-period finite horizon\n discrete dynamic program with stationary reward and transition\n probability functions :math:`r` and :math:`q` and discount factor\n :math:`\\beta \\in [0, 1]`.", " The optimal value fun...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_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 ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_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 ext...
# build out an image directive like # .. image:: somefile.png # :width 4in # # from an input like # savefig somefile.png width=4in
"# build out an image directive like\n # .. image:: somefile.png\n # :width 4in\n #\n # from an input like\n # savefig somefile.png width=4in"
1,292
true
QuantEcon/QuantEcon.py
process_image
143,504
LDU_FT/xolox/python-rotate-backups/rotate_backups
LDU_FT
[ "<BEGIN>\n## `main`", "Command line interface for the ``rotate-backups`` program.\n<END>", "<BEGIN>\n## `coerce_location`", "Coerce a string to a :class:`Location` object.", " :param value: The value to coerce (a string or :class:`Location` object).\n :param options: Any keyword arguments are passed o...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rotate_backups API. 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 rotate_backups API. 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...
Rotate the backups in a directory according to a flexible rotation scheme. :param location: Any value accepted by :func:`coerce_location()`. :param load_config: If :data:`True` (so by default) the rotation scheme and other options can be customized by the user in ...
"Rotate the backups in a directory according to a flexible rotation scheme.\n\n :param location: Any value accepted by :func:`coerce_location()`.\n :param load_config: If :data:`True` (so by default) the rotation scheme\n and other options can be customized by the user in\n ...
55
false
xolox/python-rotate-backups
rotate_backups
143,505
LDU_FT/projectshift/shift-schema/filter_properties
LDU_FT
[ "<BEGIN>\n## `validate`", "Validate\n Perform value validation against validation settings and return\n error object.", " :param value: list, value to check\n :param model: parent model being validated\n :param context: object or None, validation co...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter_properties API. 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 filter_properties API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Filter simple properties Runs filters on simple properties changing them in place. :param model: object or dict :param context: object, dict or None :return: None
"Filter simple properties\n Runs filters on simple properties changing them in place.\n :param model: object or dict\n :param context: object, dict or None\n :return: None"
135
false
projectshift/shift-schema
filter_properties
143,506
LDU_FT/MultipedRobotics/pyxl320/makeReadPacket
LDU_FT
[ "<BEGIN>\n## `makeServoIDPacket`", "Given the current ID, returns a packet to set the servo to a new ID\n<END>", "<BEGIN>\n## `packetToDict`", "Given a packet, this turns it into a dictionary ... is this useful?", "\tin: packet, array of numbers\n\tout: dictionary (key, value)\n<END>", "<BEGIN>\n## `sweep...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the makeReadPacket API. 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 makeReadPacket API. 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...
Creates a packet that reads the register(s) of servo ID at location reg. Make sure the values are in little endian (use Packet.le() if necessary) for 16 b (word size) values.
"Creates a packet that reads the register(s) of servo ID at location reg. Make\n\tsure the values are in little endian (use Packet.le() if necessary) for 16 b\n\t(word size) values."
71
false
MultipedRobotics/pyxl320
makeReadPacket
143,507
LDU_FT/jic-dtool/dtoolcore/_is_dataset
LDU_FT
[ "<BEGIN>\n## `generous_parse_uri`", "Return a urlparse.ParseResult object with the results of parsing the\n given URI. This has the same properties as the result of parse_uri.", " When passed a relative path, it determines the absolute path, sets the\n scheme to file, the netloc to localhost and return...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _is_dataset API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _is_dataset API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Helper function for determining if a URI is a dataset.
"Helper function for determining if a URI is a dataset."
111
false
jic-dtool/dtoolcore
_is_dataset
143,508
LDU_FT/steffann/pylisp/to_bytes
LDU_FT
[ "<BEGIN>\n## `from_bytes`", "Look at the type of the message, instantiate the correct class and\n let it parse the message.\n<END>", "<BEGIN>\n## `sanitize`", "Check if the current settings conform to the LISP specifications and\n fix them where possible.\n<END>", "<BEGIN>\n## `calculate_authe...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_bytes API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_bytes API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
r''' Create bytes from properties >>> message = EncapsulatedControlMessage(payload='Dummy') >>> message.to_bytes() '\x80\x00\x00\x00Dummy'
"r'''\n Create bytes from properties\n\n >>> message = EncapsulatedControlMessage(payload='Dummy')\n >>> message.to_bytes()\n '\\x80\\x00\\x00\\x00Dummy'"
85
false
steffann/pylisp
to_bytes
143,509
LDU_FT/ShawnClake/Apitax/create_script
LDU_FT
[ "<BEGIN>\n## `command`", "Execute a Command", " Execute a command # noqa: E501", " :param execute: The data needed to execute this command\n :type execute: dict | bytes", " :rtype: Response\n<END>", "<BEGIN>\n## `endpoint_catalog`", "Retrieve the endpoint catalog", " Retrieve the endpoi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_script API. 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 create_script API. 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...
Create a new script Create a new script # noqa: E501 :param create: The data needed to create this script :type create: dict | bytes :rtype: Response
"Create a new script\n\n Create a new script # noqa: E501\n\n :param create: The data needed to create this script\n :type create: dict | bytes\n\n :rtype: Response"
66
false
ShawnClake/Apitax
create_script
143,510
LDU_FT/psd-tools/psd-tools/line_cap_type
LDU_FT
[ "<BEGIN>\n## `open`", "Open the smart object as binary IO.", " :param external_dir: Path to the directory of the external file.", " Example::", " with layer.smart_object.open() as f:\n data = f.read()\n<END>", "<BEGIN>\n## `data`", "Embedded file content, or empty...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the line_cap_type API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the line_cap_type API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Cap type, one of `butt`, `round`, `square`.
"Cap type, one of `butt`, `round`, `square`."
173
false
psd-tools/psd-tools
line_cap_type
143,511
LDU_FT/globality-corp/microcosm/resolve
LDU_FT
[ "<BEGIN>\n## `get_root_path`", "Attempt to compute a root path for a (hopefully importable) name.", " Based in part on Flask's `root_path` calculation. See:", " https://github.com/mitsuhiko/flask/blob/master/flask/helpers.py#L777\n<END>", "<BEGIN>\n## `zip_dicts`", "Modified zip through ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resolve API. 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 resolve API. 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...
Resolve a scoped component, respecting the graph cache.
"Resolve a scoped component, respecting the graph cache."
68
false
globality-corp/microcosm
resolve
143,512
LDU_FT/botstory/botstory/hittime
LDU_FT
[ "<BEGIN>\n## `desc`", "Describe Class Dependency", " :param reg: should we register this class as well\n :param t: custom type as well\n :return:\n<END>", "<BEGIN>\n## `get_validator`", "ask every matcher whether it can serve such filter data", " :param filter_data:\n :return:\n<END>", "<...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hittime API. 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 hittime API. 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 an integer represeting the milliseconds offset for a given hit (relative to now)
"Returns an integer represeting the milliseconds offset for a given hit (relative to now)"
72
false
botstory/botstory
hittime
143,513
LDU_FT/deanmalmgren/textract/_get_available_extensions
LDU_FT
[ "<BEGIN>\n## `get_parser`", "Initialize the parser for the command line interface and bind the\n autocompletion functionality\n<END>", "<BEGIN>\n## `_get_available_encodings`", "Get a list of the available encodings to make it easy to\n tab-complete the command line interface.", " Inspiration from ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_available_extensions API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_available_extensions API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Get a list of available file extensions to make it easy for tab-completion and exception handling.
"Get a list of available file extensions to make it easy for\n tab-completion and exception handling."
36
false
deanmalmgren/textract
_get_available_extensions
143,514
LDU_FT/archman/beamline/generateLatticeLine
LDU_FT
[ "<BEGIN>\n## `plotLattice`", "function plot beamline defined by ``beamlinepatchlist``, which is a set of patches for all elements", " :param beamlinepatchlist: generated by function ``makeBeamline()``\n :param fignum: figure number, 1 by default\n :param fig_size: figure size, 20 inch by default\n :...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generateLatticeLine 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 generateLatticeLine 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...
construct a new lattice line :param latname: name for generated new lattice
"construct a new lattice line\n :param latname: name for generated new lattice"
318
false
archman/beamline
generateLatticeLine
143,515
LDU_FT/widdowquinn/pyADHoRe/_write_multiplicons
LDU_FT
[ "<BEGIN>\n## `read`", "Returns an IadhoreData object, constructed from the passed\n i-ADHoRe multiplicon and segments output.", " - mfile (str), location of multiplicons.txt\n - sfile (str), location of segments.txt\n<END>", "<BEGIN>\n## `_parse_multiplicons`", "Read the multiplicon out...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _write_multiplicons 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 _write_multiplicons 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...
Write multiplicons to file. - filename, (str) location of output file
"Write multiplicons to file.\n\n - filename, (str) location of output file"
37
false
widdowquinn/pyADHoRe
_write_multiplicons
143,516
LDU_FT/intake/intake/selected
LDU_FT
[ "<BEGIN>\n## `expand_defaults`", "Compile env, client_env, shell and client_shell commands\n<END>", "<BEGIN>\n## `get`", "Instantiate the DataSource for the given parameters\n<END>", "<BEGIN>\n## `_load`", "Load text of fcatalog file and pass to parse", " Will do nothing if autoreload is off and ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the selected API. 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 selected API. 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...
Set selected from list or instance of object or name. Over-writes existing selection
"Set selected from list or instance of object or name.\n\n Over-writes existing selection"
280
false
intake/intake
selected
143,517
LDU_FT/fstab50/metal/valid_checksum
LDU_FT
[ "<BEGIN>\n## `compile_binary`", "Prepare chkrootkit binary\n $ tar xzvf chkrootkit.tar.gz\n $ cd chkrootkit-0.52\n $ make sense\n sudo mv chkrootkit-0.52 /usr/local/chkrootkit\n sudo ln -s\n<END>", "<BEGIN>\n## `valid_checksum`", "Summary:\n Validate file checksum using md5 hash\n Arg...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the valid_checksum API. 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 valid_checksum API. 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...
Summary: Validate file checksum using md5 hash Args: file: file object to verify integrity hash_file: md5 reference checksum file Returns: Valid (True) | False, TYPE: bool
"Summary:\n Validate file checksum using md5 hash\n Args:\n file: file object to verify integrity\n hash_file: md5 reference checksum file\n Returns:\n Valid (True) | False, TYPE: bool"
67
false
fstab50/metal
valid_checksum
143,518
LDU_FT/rbccps-iisc/ideam-python-sdk/start_subscribe_worker
LDU_FT
[ "<BEGIN>\n## `register`", "Registers a new device with the name entity_id. This device has permissions for services like subscribe,\n publish and access historical data.\n<END>", "<BEGIN>\n## `no_ssl_verification`", "Requests module fails due to lets encrypt ssl encryption. Will be fixed in the future ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start_subscribe_worker 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 start_subscribe_worker API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Switch to new event loop as a thread and run until complete.
"Switch to new event loop as a thread and run until complete."
26
false
rbccps-iisc/ideam-python-sdk
start_subscribe_worker
143,519
LDU_FT/mobinrg/rpi_spark_drives/redefineBuffer
LDU_FT
[ "<BEGIN>\n## `setKeyButton`", "!\n \\~english\n Set key button event\n @param btnId: Key button pin number in BCM\n @param keyCallback: A interrupt <b>callback_function</b> or <b>None</b>. <br>\n If set to <b>None</b> means keybutton work in query mode<br>\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the redefineBuffer API. 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 redefineBuffer API. 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...
! \~english Redefine frame of Screen @param newFrame: a new fram data @note newFrame can be: * PIL Image * PIL ImageFile * Dictionary, eg. { "size":(width, height), "color_mode":"1" } or { "size":(width, height), "color_mode":"RGB" } ...
"!\n \\~english \n Redefine frame of Screen\n @param newFrame: a new fram data\n @note\n newFrame can be:\n * PIL Image\n * PIL ImageFile\n * Dictionary, eg. { \"size\":(width, height), \"color_mode\":\"1\" } or { \"size\":(width, height), \"color_...
135
false
mobinrg/rpi_spark_drives
redefineBuffer
143,520
LDU_FT/selectel/pyte/cursor_to_line
LDU_FT
[ "<BEGIN>\n## `default_char`", "An empty character with default foreground and background colors.\n<END>", "<BEGIN>\n## `display`", "A :func:`list` of screen lines as unicode strings.\n<END>", "<BEGIN>\n## `reset`", "Reset the terminal to its initial state.", " * Scrolling margins are reset to scr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cursor_to_line API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cursor_to_line API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Move cursor to a specific line in the current column. :param int line: line number to move the cursor to.
"Move cursor to a specific line in the current column.\n\n :param int line: line number to move the cursor to."
127
false
selectel/pyte
cursor_to_line
143,521
LDU_FT/andymccurdy/redis-py/execute
LDU_FT
[ "<BEGIN>\n## `acquire`", "Use Redis to hold a shared, distributed lock named ``name``.\n Returns True once the lock is acquired.", " If ``blocking`` is False, always return immediately. If the lock\n was acquired, return True, otherwise return False.", " ``blocking_timeout`` specif...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the execute API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the execute API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Execute the operation(s) in a single BITFIELD command. The return value is a list of values corresponding to each operation. If the client used to create this instance was a pipeline, the list of values will be present within the pipeline's execute.
"Execute the operation(s) in a single BITFIELD command. The return value\n is a list of values corresponding to each operation. If the client\n used to create this instance was a pipeline, the list of values\n will be present within the pipeline's execute."
308
false
andymccurdy/redis-py
execute
143,522
LDU_FT/spyder-ide/spyder-notebook/register
LDU_FT
[ "<BEGIN>\n## `evaluate`", "Evaluate script in page frame.", " :param script: The script to evaluate.\n<END>", "<BEGIN>\n## `click`", "Click the targeted element.", " :param selector: A CSS3 selector to targeted element.\n :param btn: The number of mouse button.\n 0 - left b...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register API. 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 register API. 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...
Register attributes that can be computed with the server info.
"Register attributes that can be computed with the server info."
45
false
spyder-ide/spyder-notebook
register
143,523
LDU_FT/paksu/pytelegraf/get_output_values
LDU_FT
[ "<BEGIN>\n## `metric`", "Append global tags configured for the client to the tags given then\n converts the data into InfluxDB Line protocol and sends to to socket\n<END>", "<BEGIN>\n## `send`", "Sends the given data to the socket via UDP\n<END>", "<BEGIN>\n## `send`", "Send the data in a separate ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_output_values API. 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_output_values API. 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 an escaped string of comma separated value_name: value pairs
"Return an escaped string of comma separated value_name: value pairs"
22
false
paksu/pytelegraf
get_output_values
143,524
LDU_FT/jupyterhub/kubespawner/make_pod
LDU_FT
[ "<BEGIN>\n## `make_pod`", "Make a k8s pod specification for running a user notebook.", " Parameters\n ----------\n name:\n Name of pod. Must be unique within the namespace the object is\n going to be created in. Must be a valid DNS label.\n image:\n Image specification - usually...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_pod API. 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 make_pod API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Make a k8s pod specification for running a user notebook. Parameters ---------- name: Name of pod. Must be unique within the namespace the object is going to be created in. Must be a valid DNS label. image: Image specification - usually a image name and tag in the form o...
"Make a k8s pod specification for running a user notebook.\n\n Parameters\n ----------\n name:\n Name of pod. Must be unique within the namespace the object is\n going to be created in. Must be a valid DNS label.\n image:\n Image specification - usually a image name and tag in the form\...
98
false
jupyterhub/kubespawner
make_pod
143,525
LDU_FT/cathalgarvey/deadlock/decrypt
LDU_FT
[ "<BEGIN>\n## `get_slanted_adjacent_coords`", "returns the six adjacent coordinates on a standard keyboard, where each row is slanted to the right from the last.\n adjacencies are clockwise, starting with key to the left, then two keys above, then right key, then two keys below.\n (that is, only near-diagona...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decrypt API. 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 decrypt API. 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...
recipient_key: UserLock with a private key part. returns: filename, decrypted file contents
"recipient_key: UserLock with a private key part.\n returns: filename, decrypted file contents"
73
false
cathalgarvey/deadlock
decrypt
143,526
LDU_FT/ilgarm/pyzimbra/init_soap_exception
LDU_FT
[ "<BEGIN>\n## `authenticate`", "Authenticates account, if no password given tries to pre-authenticate.\n @param transport: transport to use for method calls\n @param account_name: account name\n @param password: account password\n @return: AuthToken if authentication succeeded\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init_soap_exception 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 init_soap_exception 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...
Initializes exception based on soap error response. @param exc: URLError @return: SoapException
"Initializes exception based on soap error response.\n @param exc: URLError\n @return: SoapException"
32
false
ilgarm/pyzimbra
init_soap_exception
143,527
LDU_FT/swgillespie/tsquare/get_site_by_id
LDU_FT
[ "<BEGIN>\n## `requires_authentication`", "Function decorator that throws an exception if the user\n is not authenticated, and executes the function normally\n if the user is authenticated.\n<END>", "<BEGIN>\n## `get_user_info`", "Returns a TSquareUser object representing the currently logged in ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_site_by_id API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_site_by_id API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Looks up a site by ID and returns a TSquareSite representing that object, or throws an exception if no such site is found. @param id - The entityID of the site to look up @returns A TSquareSite object
"Looks up a site by ID and returns a TSquareSite representing that\n object, or throws an exception if no such site is found.\n @param id - The entityID of the site to look up\n @returns A TSquareSite object"
20
false
swgillespie/tsquare
get_site_by_id
143,528
LDU_FT/lehins/python-wepay/__delete
LDU_FT
[ "<BEGIN>\n## `authorize`", "Documentation: `/oauth2/authorize\n <https://www.wepay.com/developer/reference/oauth2#authorize>`_.", " .. note::", " This is not an API call but an actual uri that you send the user to.\n<END>", "<BEGIN>\n## `__token`", "Call documentation: `/oauth2/tok...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __delete API. 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 __delete API. 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...
Call documentation: `/subscription_plan/delete <https://www.wepay.com/developer/reference/subscription_plan#delete>`_, plus extra keyword parameters: :keyword str access_token: will be used instead of instance's ``access_token``, with ``batch_mode=True`` will set `authorizati...
"Call documentation: `/subscription_plan/delete\n <https://www.wepay.com/developer/reference/subscription_plan#delete>`_,\n plus extra keyword parameters:\n \n :keyword str access_token: will be used instead of instance's\n ``access_token``, with ``batch_mode=True`` will set `autho...
269
false
lehins/python-wepay
__delete
143,529
LDU_FT/mkoura/dump2polarion/find_vcs_root
LDU_FT
[ "<BEGIN>\n## `only_passed_and_wait`", "Returns PASS and WAIT results only, skips everything else.\n<END>", "<BEGIN>\n## `insert_source_info`", "Adds info about source of test result if available.\n<END>", "<BEGIN>\n## `setup_parametrization`", "Modifies result's data according to the parametrization setti...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_vcs_root API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_vcs_root API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Searches up from a given path to find the project root.
"Searches up from a given path to find the project root."
107
false
mkoura/dump2polarion
find_vcs_root
143,530
LDU_FT/napalm-automation/napalm-base/load_template
LDU_FT
[ "<BEGIN>\n## `load_template`", "Will load a templated configuration on the device.", " :param cls: Instance of the driver class.\n :param template_name: Identifies the template name.\n :param template_source (optional): Custom config template rendered and loaded on device\n :param te...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_template API. 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 load_template API. 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...
Will load a templated configuration on the device. :param cls: Instance of the driver class. :param template_name: Identifies the template name. :param template_source (optional): Custom config template rendered and loaded on device :param template_path (optional): Absolute path to dire...
"Will load a templated configuration on the device.\n\n :param cls: Instance of the driver class.\n :param template_name: Identifies the template name.\n :param template_source (optional): Custom config template rendered and loaded on device\n :param template_path (optional): Absolute path t...
47
false
napalm-automation/napalm-base
load_template
143,531
LDU_FT/LeastAuthority/txkube/delete
LDU_FT
[ "<BEGIN>\n## `pairwise`", "Generate consecutive pairs of elements from the given iterable.\n<END>", "<BEGIN>\n## `pick_cert_for_twisted`", "Pick the right client key/certificate to use for the given server and\n return it in the form Twisted wants.", " :param NetLocation netloc: The location of the se...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API. 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 delete API. 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 ...
Delete an existing object. :param unicode collection_name: The name of the collection from which to delete the object. :param IObject obj: A description of the object to delete. :return _KubernetesState: A new state based on the current state but not containing ``obj``...
"Delete an existing object.\n\n :param unicode collection_name: The name of the collection from which\n to delete the object.\n\n :param IObject obj: A description of the object to delete.\n\n :return _KubernetesState: A new state based on the current state but\n not containin...
132
false
LeastAuthority/txkube
delete
143,532
LDU_FT/althonos/pronto/topdown
LDU_FT
[ "<BEGIN>\n## `_extract_resources`", "Extract the children of an element as a key/value mapping.\n<END>", "<BEGIN>\n## `_iter_rawterms`", "Iterate through the raw terms (Classes) in the ontology.\n<END>", "<BEGIN>\n## `_extract_obo_synonyms`", "Extract the synonyms defined in the rawterm.\n<END>", "<BEGI...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the topdown API. 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 topdown API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Get all topdown `Relationship` instances. Returns: :obj:`generator` Example: >>> from pronto import Relationship >>> for r in Relationship.topdown(): ... print(r) Relationship('can_be') Relationship('has_part')
"Get all topdown `Relationship` instances.\n\n Returns:\n :obj:`generator`\n\n Example:\n\n >>> from pronto import Relationship\n >>> for r in Relationship.topdown():\n ... print(r)\n Relationship('can_be')\n Relationship('has_part')"
120
false
althonos/pronto
topdown
143,533
LDU_FT/nirum/tableprint/table
LDU_FT
[ "<BEGIN>\n## `humantime`", "Converts a time in seconds to a reasonable human readable time", " Parameters\n ----------\n t : float\n The number of seconds", " Returns\n -------\n time : string\n The human readable formatted value of the given time\n<END>", "<BEGIN>\n## `ansi_...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the table API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the table API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Print a table with the given data Parameters ---------- data : array_like An (m x n) array containing the data to print (m rows of n columns) headers : list, optional A list of n strings consisting of the header of each of the n columns (Default: None) format_spec : string, option...
"Print a table with the given data\n\n Parameters\n ----------\n data : array_like\n An (m x n) array containing the data to print (m rows of n columns)\n\n headers : list, optional\n A list of n strings consisting of the header of each of the n columns (Default: None)\n\n format_spec : str...
49
false
nirum/tableprint
table
143,534
LDU_FT/mdiener/grace/p_array_literal_2
LDU_FT
[ "<BEGIN>\n## `visit`", "Returns a generator that walks all children recursively.\n<END>", "<BEGIN>\n## `list_js_files`", "Generator for all JavaScript files in the directory, recursively", " >>> 'examples/module.js' in list(list_js_files('examples'))\n True\n<END>", "<BEGIN>\n## `save_file`", "Sav...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the p_array_literal_2 API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the p_array_literal_2 API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
array_literal : LBRACKET element_list RBRACKET | LBRACKET element_list COMMA elision_opt RBRACKET
"array_literal : LBRACKET element_list RBRACKET\n | LBRACKET element_list COMMA elision_opt RBRACKET"
188
false
mdiener/grace
p_array_literal_2
143,535
LDU_FT/gbowerman/azurerm/list_container_services
LDU_FT
[ "<BEGIN>\n## `get_rg_from_id`", "get a resource group name from a VMSS ID string\n<END>", "<BEGIN>\n## `get_user_agent`", "User-Agent Header. Sends library identification to Azure endpoint.\n<END>", "<BEGIN>\n## `do_get`", "Do an HTTP GET request and return JSON.", " Args:\n endpoint (str): Az...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_container_services 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 list_container_services API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
List the container services in a resource group. Args: access_token (str): A valid Azure authentication token. subscription_id (str): Azure subscription id. resource_group (str): Azure resource group name. Returns: HTTP response. JSON model.
"List the container services in a resource group.\n\n Args:\n access_token (str): A valid Azure authentication token.\n subscription_id (str): Azure subscription id.\n resource_group (str): Azure resource group name.\n\n Returns:\n HTTP response. JSON model."
605
false
gbowerman/azurerm
list_container_services
143,536
LDU_FT/Komnomnomnom/swigibpy/historicalData
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 historicalData API. 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 historicalData API. 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...
historicalData(EWrapper self, TickerId reqId, IBString const & date, double open, double high, double low, double close, int volume, int barCount, double WAP, int hasGaps)
"historicalData(EWrapper self, TickerId reqId, IBString const & date, double open, double high, double low, double close, int volume, int barCount, double WAP, int hasGaps)"
81
false
Komnomnomnom/swigibpy
historicalData
143,537
LDU_FT/stefankoegl/kdtree/create
LDU_FT
[ "<BEGIN>\n## `require_axis`", "Check if the object of the function has axis and sel_axis members\n<END>", "<BEGIN>\n## `create`", "Creates a kd-tree from a list of points", " All points in the list must be of the same dimensionality.", " If no point_list is given, an empty tree is created. The numbe...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Creates a kd-tree from a list of points All points in the list must be of the same dimensionality. If no point_list is given, an empty tree is created. The number of dimensions has to be given instead. If both a point_list and dimensions are given, the numbers must agree. Axis is the axis on whi...
"Creates a kd-tree from a list of points\n\n All points in the list must be of the same dimensionality.\n\n If no point_list is given, an empty tree is created. The number of\n dimensions has to be given instead.\n\n If both a point_list and dimensions are given, the numbers must agree.\n\n Axis is the a...
72
false
stefankoegl/kdtree
create
143,538
LDU_FT/KrishnaswamyLab/PHATE/transform
LDU_FT
[ "<BEGIN>\n## `_get_plot_data`", "Get plot data out of an input object", " Parameters\n ----------\n data : array-like, `phate.PHATE` or `scanpy.AnnData`\n ndim : int, optional (default: None)\n Minimum number of dimensions\n<END>", "<BEGIN>\n## `scatter`", "Create a scatter plot", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transform API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transform API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Computes the position of the cells in the embedding space Parameters ---------- X : array, optional, shape=[n_samples, n_features] input data with `n_samples` samples and `n_dimensions` dimensions. Not required, since PHATE does not currently embed cells not ...
"Computes the position of the cells in the embedding space\n\n Parameters\n ----------\n X : array, optional, shape=[n_samples, n_features]\n input data with `n_samples` samples and `n_dimensions`\n dimensions. Not required, since PHATE does not currently embed\n ce...
162
false
KrishnaswamyLab/PHATE
transform
143,539
LDU_FT/xray7224/PyPump/comment
LDU_FT
[ "<BEGIN>\n## `verifier`", "Will ask user to click link to accept app and write code\n<END>", "<BEGIN>\n## `post_note`", "Post note and return the URL of the posted note\n<END>", "<BEGIN>\n## `get_obj_id`", "Get the id of a PumpObject.", " :param item: id string or PumpObject\n<END>", "<BEGIN>\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the comment API. 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 comment API. 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...
Add a :class:`Comment <pypump.models.comment.Comment>` to the object. :param comment: A :class:`Comment <pypump.models.comment.Comment>` instance, text content is also accepted. Example: >>> anote.comment(pump.Comment('I agree!'))
"Add a :class:`Comment <pypump.models.comment.Comment>`\n to the object.\n\n :param comment: A :class:`Comment <pypump.models.comment.Comment>`\n instance, text content is also accepted.\n\n Example:\n >>> anote.comment(pump.Comment('I agree!'))"
100
false
xray7224/PyPump
comment
143,540
LDU_FT/mbr/tinyrpc/raise_error
LDU_FT
[ "<BEGIN>\n## `error_respond`", "Converts the error to an error response object.", " :return: An error response object ready to be serialized and sent to the client.\n :rtype: :py:class:`JSONRPCErrorResponse`\n<END>", "<BEGIN>\n## `error_respond`", "Create an error response to this request.", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the raise_error API. 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 raise_error API. 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...
Recreates the exception. Creates a :py:class:`~tinyrpc.protocols.jsonrpc.JSONRPCError` instance and raises it. This allows the error, message and data attributes of the original exception to propagate into the client code. The :py:attr:`~tinyrpc.protocols.RPCProtocol.raises_err...
"Recreates the exception.\n\n Creates a :py:class:`~tinyrpc.protocols.jsonrpc.JSONRPCError` instance\n and raises it.\n This allows the error, message and data attributes of the original\n exception to propagate into the client code.\n\n The :py:attr:`~tinyrpc.protocols.RPCProtocol.ra...
120
false
mbr/tinyrpc
raise_error
143,541
LDU_FT/erikrose/blessings/_resolve_capability
LDU_FT
[ "<BEGIN>\n## `derivative_colors`", "Return the names of valid color variants, given the base colors.\n<END>", "<BEGIN>\n## `split_into_formatters`", "Split a possibly compound format string into segments.", " >>> split_into_formatters('bold_underline_bright_blue_on_red')\n ['bold', 'underline', 'brigh...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _resolve_capability 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 _resolve_capability API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Return a terminal code for a capname or a sugary name, or an empty Unicode. The return value is always Unicode, because otherwise it is clumsy (especially in Python 3) to concatenate with real (Unicode) strings.
"Return a terminal code for a capname or a sugary name, or an empty\n Unicode.\n\n The return value is always Unicode, because otherwise it is clumsy\n (especially in Python 3) to concatenate with real (Unicode) strings."
25
false
erikrose/blessings
_resolve_capability
143,542
LDU_FT/gabstopper/smc-python/create
LDU_FT
[ "<BEGIN>\n## `element_href`", "Get specified element href by element name", " :param name: name of element\n :return: string href location of object, else None\n<END>", "<BEGIN>\n## `element_as_json`", "Get specified element json data by name", " :param name: name of element\n :return: json da...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Create an inspection situation. :param str name: name of the situation :param InspectionSituationContext situation_context: The situation context type used to define this situation. Identifies the proper parameter that identifies how the situation is defined (i.e. regex,...
"Create an inspection situation.\n \n :param str name: name of the situation\n :param InspectionSituationContext situation_context: The situation\n context type used to define this situation. Identifies the proper\n parameter that identifies how the situation is defined (i.e. ...
1,703
true
gabstopper/smc-python
create
143,543
LDU_FT/mcocdawc/chemcoord/concat
LDU_FT
[ "<BEGIN>\n## `_check_construction_table`", "Checks if a construction table uses valid references.\n Raises an exception (UndefinedCoordinateSystem) otherwise.\n<END>", "<BEGIN>\n## `_get_frag_constr_table`", "Create a construction table for a Zmatrix.", " A construction table is basically a Zm...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the concat API. 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 concat API. 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 ...
Join list of cartesians into one molecule. Wrapper around the :func:`pandas.concat` function. Default values are the same as in the pandas function except for ``verify_integrity`` which is set to true in case of this library. Args: ignore_index (sequence, bool, int): If it is a boolean, it ...
"Join list of cartesians into one molecule.\n\n Wrapper around the :func:`pandas.concat` function.\n Default values are the same as in the pandas function except for\n ``verify_integrity`` which is set to true in case of this library.\n\n Args:\n ignore_index (sequence, bool, int): If it is a boolean...
503
false
mcocdawc/chemcoord
concat
143,544
LDU_FT/mbarakaja/braulio/current_version_option_validator
LDU_FT
[ "<BEGIN>\n## `commit_analyzer`", "Analyzes a list of :class:`~braulio.git.Commit` objects searching for\n messages that match a given message convention and extract metadata from\n them.", " A message convention is determined by ``label_pattern``, which is not a\n regular expression pattern. Instead...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the current_version_option_validator API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the current_version_option_validator API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c...
If a version string is provided, validates it. Otherwise it tries to determine the current version from the last Git tag that matches ``tag_pattern`` option. Return a :class:`~braulio.version.Version` object or **None**.
"If a version string is provided, validates it. Otherwise it tries\n to determine the current version from the last Git tag that matches\n ``tag_pattern`` option.\n\n Return a :class:`~braulio.version.Version` object or **None**."
35
false
mbarakaja/braulio
current_version_option_validator
143,545
LDU_FT/datasift/datasift-python/update
LDU_FT
[ "<BEGIN>\n## `validate`", "Validate the given CSDL", " :param csdl: The CSDL to be validated for analysis\n :type csdl: str\n :param service: The service for this API call (facebook, etc)\n :type service: str\n :return: dict of REST API output with headers ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Update the token :param identity_id: The ID of the identity to retrieve :return: dict of REST API output with headers attached :rtype: :class:`~datasift.request.DictResponse` :raises: :class:`~datasift.exceptions.DataSiftApiException`, :class:`requests.ex...
"Update the token\n\n :param identity_id: The ID of the identity to retrieve\n :return: dict of REST API output with headers attached\n :rtype: :class:`~datasift.request.DictResponse`\n :raises: :class:`~datasift.exceptions.DataSiftApiException`,\n :class:`requ...
238
false
datasift/datasift-python
update
143,546
LDU_FT/justquick/django-activity-stream/model_actions
LDU_FT
[ "<BEGIN>\n## `timesince`", "Shortcut for the ``django.utils.timesince.timesince`` function of the\n current timestamp.\n<END>", "<BEGIN>\n## `respond`", "Responds to the request with the given response code.\n If ``next`` is in the form, it will redirect instead.\n<END>", "<BEGIN>\n## `follow_unfo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the model_actions API. 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 model_actions API. 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...
Stream of most recent actions by any particular model
"Stream of most recent actions by any particular model"
105
false
justquick/django-activity-stream
model_actions
143,547
LDU_FT/SMTG-UCL/sumo/save_data_files
LDU_FT
[ "<BEGIN>\n## `kpath_from_seekpath`", "r\"\"\"Convert seekpath-formatted kpoints path to sumo-preferred format.", " If 'GAMMA' is used as a label this will be replaced by '\\Gamma'.", " Args:\n seekpath (list): A :obj:`list` of 2-tuples containing the labels at\n each si...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_data_files API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_data_files API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Write the phonon band structure data files to disk. Args: bs (:obj:`~pymatgen.phonon.bandstructure.PhononBandStructureSymmLine`): The phonon band structure. prefix (:obj:`str`, optional): Prefix for data file. directory (:obj:`str`, optional): Directory in which to save the data...
"Write the phonon band structure data files to disk.\n\n Args:\n bs (:obj:`~pymatgen.phonon.bandstructure.PhononBandStructureSymmLine`):\n The phonon band structure.\n prefix (:obj:`str`, optional): Prefix for data file.\n directory (:obj:`str`, optional): Directory in which to save t...
449
false
SMTG-UCL/sumo
save_data_files
143,548
LDU_FT/diux-dev/ncluster/make_task
LDU_FT
[ "<BEGIN>\n## `make_job`", "Create a job using current backend. Blocks until all tasks are up and initialized.", " Args:\n name: name of the job\n run_name: name of the run (auto-assigned if empty)\n num_tasks: number of tasks\n install_script: bash-runnable script\n **kwargs:", " Returns:\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_task API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_task API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Create task on AWS. Automatically places it in singleton Run/singleton Job objects, see Run/Job/Task hierarchy for details https://docs.google.com/document/d/1Gg4T243cYrDUW1YDCikmqp7fzSQDU3rZxOkJr9ohhs8/edit#heading=h.j4td4oixogib Args: disk_size: default size of root disk, in GBs create_resources: whe...
"Create task on AWS.\n\n Automatically places it in singleton Run/singleton Job objects, see Run/Job/Task hierarchy for details\n https://docs.google.com/document/d/1Gg4T243cYrDUW1YDCikmqp7fzSQDU3rZxOkJr9ohhs8/edit#heading=h.j4td4oixogib\n\n\n Args:\n disk_size: default size of root disk, in GBs\n create_resou...
136
false
diux-dev/ncluster
make_task
143,549
LDU_FT/ishepard/pydriller/parse_diff
LDU_FT
[ "<BEGIN>\n## `get_head`", "Get the head commit.", " :return: Commit of the head commit\n<END>", "<BEGIN>\n## `get_list_commits`", "Return a generator of commits of all the commits in the repo.", " :return: Generator[Commit], the generator of all the commits in the\n repo\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_diff API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_diff API. 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...
Given a diff, returns a dictionary with the added and deleted lines. The dictionary has 2 keys: "added" and "deleted", each containing the corresponding added or deleted lines. For both keys, the value is a list of Tuple (int, str), corresponding to (number of line in the file, actual li...
"Given a diff, returns a dictionary with the added and deleted lines.\n The dictionary has 2 keys: \"added\" and \"deleted\", each containing the\n corresponding added or deleted lines. For both keys, the value is a\n list of Tuple (int, str), corresponding to (number of line in the file,\n ...
62
false
ishepard/pydriller
parse_diff
143,550
LDU_FT/carsonyl/pypac/get_pac
LDU_FT
[ "<BEGIN>\n## `proxy_urls_from_dns`", "Generate URLs from which to look for a PAC file, based on a hostname.\r\n Fully-qualified hostnames are checked against the Mozilla Public Suffix List to ensure that\r\n generated URLs don't go outside the scope of the organization.\r\n If the fully-qualified hostnam...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_pac API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_pac API. 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...
Convenience function for finding and getting a parsed PAC file (if any) that's ready to use. :param str url: Download PAC from a URL. If provided, `from_os_settings` and `from_dns` are ignored. :param str js: Parse the given string as a PAC file. If provided, `from_os_settings` and `from_d...
"Convenience function for finding and getting a parsed PAC file (if any) that's ready to use.\r\n\r\n :param str url: Download PAC from a URL.\r\n If provided, `from_os_settings` and `from_dns` are ignored.\r\n :param str js: Parse the given string as a PAC file.\r\n If provided, `from_os_settings` ...
88
false
carsonyl/pypac
get_pac
143,551
LDU_FT/vertica/vertica-python/getTypeName
LDU_FT
[ "<BEGIN>\n## `__setkey`", "Set up the key schedule from the encryption key.\n<END>", "<BEGIN>\n## `date_parse`", "Parses value of a DATE type.\n :param s: string to parse into date\n :return: an instance of datetime.date\n :raises NotSupportedError when a date Before Christ is encountered\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getTypeName API. 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 getTypeName API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Returns the base type name according to data_type_oid and type_modifier
"Returns the base type name according to data_type_oid and type_modifier"
41
false
vertica/vertica-python
getTypeName
143,552
LDU_FT/pyviz/param/as_uninitialized
LDU_FT
[ "<BEGIN>\n## `get_setup_version`", "Helper for use in setup.py to get the current version from either\n git describe or the .version file (if available).", " Set pkgname to the package name if it is different from the\n repository name.", " To ensure git information is included in a git archive, a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the as_uninitialized API. 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 as_uninitialized API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Decorator: call fn with the parameterized_instance's initialization flag set to False, then revert the flag. (Used to decorate Parameterized methods that must alter a constant Parameter.)
"Decorator: call fn with the parameterized_instance's\n initialization flag set to False, then revert the flag.\n\n (Used to decorate Parameterized methods that must alter\n a constant Parameter.)"
258
false
pyviz/param
as_uninitialized
143,553
LDU_FT/the-allanc/greyupnp/decode_response
LDU_FT
[ "<BEGIN>\n## `make_socket`", "Creates a socket suitable for SSDP searches.", " The socket will have a default timeout of 0.2 seconds (this works well for\n the :py:func:search function which interleaves sending requests and reading\n responses.\n<END>", "<BEGIN>\n## `encode_request`", "Creates the ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decode_response API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decode_response API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Decodes the data from a SSDP response. Args: data (bytes): The encoded response. Returns: dict of string -> string: Case-insensitive dictionary of header name to header value pairs extracted from the response.
"Decodes the data from a SSDP response.\n\n Args:\n data (bytes): The encoded response.\n\n Returns:\n dict of string -> string: Case-insensitive dictionary of header name to\n header value pairs extracted from the response."
25
false
the-allanc/greyupnp
decode_response
143,554
LDU_FT/pyvec/pyvodb/next_occurrences
LDU_FT
[ "<BEGIN>\n## `handle_raw_output`", "If a raw output format is set, dump data and exit\n<END>", "<BEGIN>\n## `start`", "The event's start time, as a timezone-aware datetime object\n<END>", "<BEGIN>\n## `next_occurrences`", "Yield the next planned occurrences after the date \"since\"", " The `since...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the next_occurrences API. 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 next_occurrences API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Yield the next planned occurrences after the date "since" The `since` argument can be either a date or datetime onject. If not given, it defaults to the date of the last event that's already planned. If `n` is given, the result is limited to that many dates; otherwise, infinite...
"Yield the next planned occurrences after the date \"since\"\n\n The `since` argument can be either a date or datetime onject.\n If not given, it defaults to the date of the last event that's\n already planned.\n\n If `n` is given, the result is limited to that many dates;\n otherwise...
26
false
pyvec/pyvodb
next_occurrences
143,555
LDU_FT/rhayes777/PyAutoFit/from_phase
LDU_FT
[ "<BEGIN>\n## `residual_map_from_data_mask_and_model_data`", "Compute the residual map between a masked observed data and model data, where:", " Residuals = (Data - Model_Data).", " Parameters\n -----------\n data : np.ndarray\n The observed data that is fitted.\n mask : np.ndarray\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_phase API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_phase API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Returns the result of a previous phase by its name Parameters ---------- phase_name: str The name of a previous phase Returns ------- result: Result The result of that phase Raises ------ exc.PipelineException ...
"Returns the result of a previous phase by its name\n\n Parameters\n ----------\n phase_name: str\n The name of a previous phase\n\n Returns\n -------\n result: Result\n The result of that phase\n\n Raises\n ------\n exc.PipelineExcept...
243
false
rhayes777/PyAutoFit
from_phase
143,556
LDU_FT/last-partizan/pytils/_get_plural_legacy
LDU_FT
[ "<BEGIN>\n## `choose_plural`", "Choose proper form for plural.", " Value is a amount, parameters are forms of noun.\n Forms are variants for 1, 2, 5 nouns. It may be tuple\n of elements, or string where variants separates each other\n by comma.", " Examples::\n {{ some_int|choose_plural:...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_plural_legacy API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_plural_legacy API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
Get proper case with value (legacy variant, without absence) @param amount: amount of objects @type amount: C{integer types} @param variants: variants (forms) of object in such form: (1 object, 2 objects, 5 objects, 0-object variant). 0-object variant is similar to C{absence} in C{get_plur...
"Get proper case with value (legacy variant, without absence)\n\n @param amount: amount of objects\n @type amount: C{integer types}\n\n @param variants: variants (forms) of object in such form:\n (1 object, 2 objects, 5 objects, 0-object variant).\n 0-object variant is similar to C{absence} in C{...
134
false
last-partizan/pytils
_get_plural_legacy
143,557
LDU_FT/askedrelic/libgreader/get
LDU_FT
[ "<BEGIN>\n## `get`", "Convenience method for requesting to google with proper cookies/params.\n<END>", "<BEGIN>\n## `post`", "Convenience method for requesting to google with proper cookies/params.\n<END>", "<BEGIN>\n## `_getAuth`", "Main step in authorizing with Reader.\n Sends request to Google C...
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...
Convenience method for requesting to google with proper cookies/params.
"Convenience method for requesting to google with proper cookies/params."
47
false
askedrelic/libgreader
get
143,558
LDU_FT/matthewdeanmartin/jiggle_version/find_project
LDU_FT
[ "<BEGIN>\n## `require_python`", "Require at least a minimum Python version.", " The version number is expressed in terms of `sys.hexversion`. E.g. to\n require a minimum of Python 2.6, use::", " >>> require_python(0x206000f0)", " :param minimum: Minimum Python version supported.\n :type mini...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_project API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_project API. 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...
Get all candidate projects :return:
"Get all candidate projects\n :return:"
124
false
matthewdeanmartin/jiggle_version
find_project
143,559
LDU_FT/LonamiWebs/Telethon/iter_messages
LDU_FT
[ "<BEGIN>\n## `collect`", "Create a `self` iterator and collect it into a `TotalList`\n (a normal list with a `.total` attribute).\n<END>", "<BEGIN>\n## `handler`", "#full: Advises to read \"Accessing the full API\" in the docs.\n<END>", "<BEGIN>\n## `handler`", "#search query: Searches for \"query\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iter_messages API. 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 iter_messages API. 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...
Iterator over the message history for the specified entity. If either `search`, `filter` or `from_user` are provided, :tl:`messages.Search` will be used instead of :tl:`messages.getHistory`. Args: entity (`entity`): The entity from whom to retrieve the message histor...
"Iterator over the message history for the specified entity.\n If either `search`, `filter` or `from_user` are provided,\n :tl:`messages.Search` will be used instead of :tl:`messages.getHistory`.\n\n Args:\n entity (`entity`):\n The entity from whom to retrieve the message...
1,037
true
LonamiWebs/Telethon
iter_messages
143,560
LDU_FT/IntegralDefense/critsapi/has_relationship
LDU_FT
[ "<BEGIN>\n## `connect`", "Starts the mongodb connection. Must be called before anything else\n will work.\n<END>", "<BEGIN>\n## `find`", "Search a collection for the query provided. Just a raw interface to\n mongo to do any query you want.", " Args:\n collection: The db colle...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the has_relationship API. 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 has_relationship API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Checks if the two objects are related Args: left_id: The CRITs ID of the first indicator left_type: The CRITs TLO type of the first indicator right_id: The CRITs ID of the second indicator right_type: The CRITs TLO type of the second indicator rel_typ...
"Checks if the two objects are related\n\n Args:\n left_id: The CRITs ID of the first indicator\n left_type: The CRITs TLO type of the first indicator\n right_id: The CRITs ID of the second indicator\n right_type: The CRITs TLO type of the second indicator\n ...
67
false
IntegralDefense/critsapi
has_relationship
143,561
LDU_FT/peterbrittain/asciimatics/_spline
LDU_FT
[ "<BEGIN>\n## `reset`", "Reset the scene ready for playing.", " :param old_scene: The previous version of this Scene that was running before the\n application reset - e.g. due to a screen resize.\n :param screen: New screen to use if old_scene is not None.\n<END>", "<BEGIN>\n## `add_ef...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _spline API. 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 _spline API. 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...
Catmull-Rom cubic spline to interpolate 4 given points. :param t: Time index through the spline (must be 0-1). :param p0: The previous point in the curve (for continuity). :param p1: The first point to interpolate. :param p2: The second point to interpolate. :param p3: The last point to interpolate...
"Catmull-Rom cubic spline to interpolate 4 given points.\n\n :param t: Time index through the spline (must be 0-1).\n :param p0: The previous point in the curve (for continuity).\n :param p1: The first point to interpolate.\n :param p2: The second point to interpolate.\n :param p3: The last point to inte...
355
false
peterbrittain/asciimatics
_spline
143,562
LDU_FT/ereOn/azmq/on_open
LDU_FT
[ "<BEGIN>\n## `metadata_to_buffers`", "Transform a dict of metadata into a sequence of buffers.", " :param metadata: The metadata, as a dict.\n :returns: A list of buffers.\n<END>", "<BEGIN>\n## `buffer_to_metadata`", "Transform a buffer to a metadata dictionary.", " :param buffer: The buffer, as ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the on_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 extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the on_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 extracted...
Initialize a new timeout. :param callback: The callback to execute when the timeout reaches the end of its life. May be a coroutine function. :param timeout: The maximum time to wait for, in seconds.
"Initialize a new timeout.\n\n :param callback: The callback to execute when the timeout reaches the\n end of its life. May be a coroutine function.\n :param timeout: The maximum time to wait for, in seconds."
111
false
ereOn/azmq
on_open
143,563
LDU_FT/andersinno/python-database-sanitizer/load
LDU_FT
[ "<BEGIN>\n## `decode_copy_value`", "Decodes value received as part of Postgres `COPY` command.", " :param value: Value to decode.\n :type value: str", " :return: Either None if the value is NULL string, or the given value where\n escape sequences have been decoded from.\n :rtype: str|N...
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...
Loads sanitizers according to rulesets defined in given already parsed configuration file. :param config_data: Already parsed configuration data, as dictionary. :type config_data: dict[str,any]
"Loads sanitizers according to rulesets defined in given already parsed\n configuration file.\n\n :param config_data: Already parsed configuration data, as dictionary.\n :type config_data: dict[str,any]"
104
false
andersinno/python-database-sanitizer
load
143,564
LDU_FT/koszullab/metaTOR/null_model
LDU_FT
[ "<BEGIN>\n## `download_and_install_dependencies`", "Setup URLS and download dependencies for Python 3.6+\n<END>", "<BEGIN>\n## `main`", "This module just acts as an entry point to the bulk of the pipeline.\n All argument parsing is delegated to metator.sh\n<END>", "<BEGIN>\n## `rename_genome`", "Rename...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the null_model API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the null_model API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Attempt to compute a 'null model' of the matrix given a model to base itself on.
"Attempt to compute a 'null model' of the matrix given a model\n to base itself on."
180
false
koszullab/metaTOR
null_model
143,565
LDU_FT/Othernet-Project/squery-pg/set_version
LDU_FT
[ "<BEGIN>\n## `get_mods`", "List all loadable python modules in a directory", " This function looks inside the specified directory for all files that look\n like Python modules with a numeric prefix and returns them. It will omit\n any duplicates and return file names without extension.", " :param ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_version API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_version API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Set database migration version :param db: connetion object :param name: associated name :param major_version: integer major version of migration :param minor_version: integer minor version of migration
"Set database migration version\n\n :param db: connetion object\n :param name: associated name\n :param major_version: integer major version of migration\n :param minor_version: integer minor version of migration"
31
false
Othernet-Project/squery-pg
set_version
143,566
LDU_FT/automl/HpBandSter/start
LDU_FT
[ "<BEGIN>\n## `get_config`", "Function to sample a new configuration", "\t\t\tThis function is called inside Hyperband to query a new configuration", "\t\t\tParameters:\n\t\t\t-----------\n\t\t\tbudget: float\n\t\t\t\tthe budget for which this configuration is scheduled", "\t\t\treturns: config\n\t\t\t\tshou...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start API. 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 start API. 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...
starts a Pyro4 nameserver in a separate thread Returns ------- tuple (str, int): the host name and the used port
"starts a Pyro4 nameserver in a separate thread\n\t\t\n\t\tReturns\n\t\t-------\n\t\t\ttuple (str, int):\n\t\t\t\tthe host name and the used port"
188
false
automl/HpBandSter
start
143,567
LDU_FT/thingful/hypercat-py/_values
LDU_FT
[ "<BEGIN>\n## `_values`", "Searches a set <metadata> to find all relations <rel>\n Returns a list of the values of those relations\n (A list, because a rel can occur more than once)\n<END>", "<BEGIN>\n## `loads`", "Takes a string and converts it into an internal hypercat object, with some checking\n<END>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _values API. 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 _values API. 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...
Searches a set <metadata> to find all relations <rel> Returns a list of the values of those relations (A list, because a rel can occur more than once)
"Searches a set <metadata> to find all relations <rel>\n Returns a list of the values of those relations\n (A list, because a rel can occur more than once)"
14
false
thingful/hypercat-py
_values
143,568
LDU_FT/vmlaker/coils/string2time
LDU_FT
[ "<BEGIN>\n## `tick`", "Tick the ticker.\n Return a tuple of values corresponding to periods given in initializer,\n each value representing the rate of ticks (number of ticks per second)\n during that period.\n<END>", "<BEGIN>\n## `user_input`", "Prompt user for input until a value is ret...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the string2time API. 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 string2time API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Return :class:`datetime.datetime` object from given string, or ``None`` if failed to translate.
"Return :class:`datetime.datetime` object from given string,\n or ``None`` if failed to translate."
38
false
vmlaker/coils
string2time
143,569
LDU_FT/shoyer/h5netcdf/pop
LDU_FT
[ "<BEGIN>\n## `pop`", "Remove *key* from maps[0] and return its value. Raise KeyError if *key* not in maps[0].\n<END>", "<BEGIN>\n## `_determine_current_dimension_size`", "Helper method to determine the current size of a dimension.\n<END>", "<BEGIN>\n## `_create_dim_scales`", "Create all necessary HDF5 dim...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pop API. 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 pop API. 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...
Remove *key* from maps[0] and return its value. Raise KeyError if *key* not in maps[0].
"Remove *key* from maps[0] and return its value. Raise KeyError if *key* not in maps[0]."
13
false
shoyer/h5netcdf
pop
143,570
LDU_FT/jplusplus/statscraper/_parse_result_page
LDU_FT
[ "<BEGIN>\n## `initiate_browser`", "The button for expanded detailed options. This\n also happens to be a good indicator as to wheter\n all content is loaded.\n<END>", "<BEGIN>\n## `_fetch_dimensions`", "Declaring available dimensions like this is not mandatory,\n but nice, especially if ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_result_page 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 _parse_result_page API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
Get data from a result page :param url: url to query :param payload: payload to pass :return: a dictlist with data
"Get data from a result page\n :param url: url to query\n :param payload: payload to pass\n :return: a dictlist with data"
57
false
jplusplus/statscraper
_parse_result_page
143,571
LDU_FT/ponty/confduino/install_lib
LDU_FT
[ "<BEGIN>\n## `upgrade_many`", "upgrade many libs.", " source: http://arduino.cc/playground/Main/LibraryList", " you can set your arduino path if it is not default\n os.environ['ARDUINO_HOME'] = '/home/...'\n<END>", "<BEGIN>\n## `install_hwpack`", "install hwpackrary from web or local files system...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the install_lib API. 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 install_lib API. 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...
install library from web or local files system. :param url: web address or file path :param replace_existing: bool :rtype: None
"install library from web or local files system.\n\n :param url: web address or file path\n :param replace_existing: bool\n :rtype: None"
61
false
ponty/confduino
install_lib
143,572