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/rackerlabs/fleece/get_logger
LDU_FT
[ "<BEGIN>\n## `build_wsgi_environ_from_event`", "Create a WSGI environment from the proxy integration event.\n<END>", "<BEGIN>\n## `wsgi_handler`", "lambda handler function.\n This function runs the WSGI app with it and collects its response, then\n translates the response back into the format expected b...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_logger API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_logger API. 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...
Configure and return a logger with structlog and stdlib.
"Configure and return a logger with structlog and stdlib."
108
false
rackerlabs/fleece
get_logger
20,973
LDU_FT/shmir/PyIxNetwork/_create
LDU_FT
[ "<BEGIN>\n## `reserve`", "Reserve port and optionally wait for port to come up.", " :param location: port location as 'ip/module/port'. If None, the location will be taken from the configuration.\n :param force: whether to revoke existing reservation (True) or not (False).\n :param wait_for...
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 new interface on IxNetwork. Set enabled and description (==name). :return: interface object reference.
"Create new interface on IxNetwork.\n\n Set enabled and description (==name).\n\n :return: interface object reference."
64
false
shmir/PyIxNetwork
_create
20,974
LDU_FT/kobinpy/kobin/add
LDU_FT
[ "<BEGIN>\n## `status`", "The HTTP status line as a string (e.g. ``404 Not Found``).\n<END>", "<BEGIN>\n## `headerlist`", "WSGI conform list of (header, value) tuples.\n<END>", "<BEGIN>\n## `_split_into_mimetype_and_priority`", "Split an accept header item into mimetype and priority.", " >>> _split_in...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Add a new rule or replace the target for an existing rule. >>> from kobin import Response >>> r = Router() >>> def view(user_id: int) -> Response: ... return Response(f'You are {user_id}') ... >>> r.add('/users/{user_id}', 'GET', 'user-detail', view) >>> path...
"Add a new rule or replace the target for an existing rule.\n\n >>> from kobin import Response\n >>> r = Router()\n >>> def view(user_id: int) -> Response:\n ... return Response(f'You are {user_id}')\n ...\n >>> r.add('/users/{user_id}', 'GET', 'user-detail', view)\n ...
32
false
kobinpy/kobin
add
20,975
LDU_FT/rtfd/recommonmark/traverse
LDU_FT
[ "<BEGIN>\n## `reset`", "Reset the state of state machine.", " After reset, self and self.state can be used to\n passed to docutils.parsers.rst.Directive.run", " Parameters\n ----------\n document: docutils document\n Current document of the node.\n parent: ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the traverse API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the traverse API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Traverse the document tree rooted at node. node : docutil node current root node to traverse
"Traverse the document tree rooted at node.\n\n node : docutil node\n current root node to traverse"
42
false
rtfd/recommonmark
traverse
20,976
LDU_FT/openvax/pepdata/local_path
LDU_FT
[ "<BEGIN>\n## `local_path`", "Downloads allele database from IEDB, returns local path to XML file.\n<END>", "<BEGIN>\n## `load_alleles`", "Parses the IEDB MhcAlleleName XML file and returns a list of Allele\n namedtuple objects containing information about that each allele's HLA\n class and source organi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the local_path API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the local_path API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Downloads allele database from IEDB, returns local path to XML file.
"Downloads allele database from IEDB, returns local path to XML file."
40
false
openvax/pepdata
local_path
20,977
LDU_FT/scikit-hep/probfit/parse_arg
LDU_FT
[ "<BEGIN>\n## `parse_arg`", "convert dictionary of keyword argument and value to positional argument\n equivalent to::", " vnames = describe(f)\n return tuple([kwd[k] for k in vnames[offset:]])\n<END>", "<BEGIN>\n## `_get_args_and_errors`", "consistent algorithm to get argument and errors\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_arg API. 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 parse_arg API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
convert dictionary of keyword argument and value to positional argument equivalent to:: vnames = describe(f) return tuple([kwd[k] for k in vnames[offset:]])
"convert dictionary of keyword argument and value to positional argument\n equivalent to::\n\n vnames = describe(f)\n return tuple([kwd[k] for k in vnames[offset:]])"
51
false
scikit-hep/probfit
parse_arg
20,978
LDU_FT/dsoprea/PySchedules/_endStationsNode
LDU_FT
[ "<BEGIN>\n## `_startXTVDNode`", "Process the start of the top-level xtvd node\n<END>", "<BEGIN>\n## `_startStationsNode`", "Process the start of a node under xtvd/stations\n<END>", "<BEGIN>\n## `_endStationsNode`", "Process the end of a node under xtvd/stations\n<END>", "<BEGIN>\n## `_startLineupsNode`"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _endStationsNode API. 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 _endStationsNode API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Process the end of a node under xtvd/stations
"Process the end of a node under xtvd/stations"
50
false
dsoprea/PySchedules
_endStationsNode
20,979
LDU_FT/gwastro/pycbc-glue/now
LDU_FT
[ "<BEGIN>\n## `component_offsetvectors`", "Given an iterable of offset vectors, return the shortest list of\n\tthe unique n-instrument offset vectors from which all the vectors\n\tin the input iterable can be constructed. This can be used to\n\tdetermine the minimal set of n-instrument coincs required to\n\tconst...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the now API. 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 now API. 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...
Instantiate a Time element initialized to the current UTC time in the default format (ISO-8601). The Name attribute will be set to the value of the Name parameter if given.
"Instantiate a Time element initialized to the current UTC\n\t\ttime in the default format (ISO-8601). The Name attribute\n\t\twill be set to the value of the Name parameter if given."
1,048
true
gwastro/pycbc-glue
now
20,980
LDU_FT/sleibman/python-conduit/step
LDU_FT
[ "<BEGIN>\n## `topological_sort`", "Topological sort returns an ordered list of blocks.\n Sorting guarantee is that if block A is upstream of block B, block A will come before block B in the sorted list.\n Sorting is implemented by first building a shadow copy of the graph and then removing items from the sh...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the step API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the step API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Returns a set of DataBlocks whose inputs were updated. This will be used by the Graph run() method to invoke the step() method of the next blocks in the chain (we don't invoke those call the step() method of those blocks directly from here, because then the stack could get quite large).
"Returns a set of DataBlocks whose inputs were updated. This will be used by the Graph run() method to invoke\n the step() method of the next blocks in the chain (we don't invoke those call the step() method of those\n blocks directly from here, because then the stack could get quite large)."
19
false
sleibman/python-conduit
step
20,981
LDU_FT/AnalogJ/lexicon/_authenticate
LDU_FT
[ "<BEGIN>\n## `_authenticate`", "Authenticate with netcup server. Must be called first.\n<END>", "<BEGIN>\n## `_create_record`", "Create record. If it already exists, do nothing.\n<END>", "<BEGIN>\n## `_list_records`", "List all records. Return an empty list if no records found.\n ``rtype``, ``name`...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _authenticate API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _authenticate API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Authenticates against Easyname website and try to find out the domain id. Easyname uses a CSRF token in its login form, so two requests are neccessary to actually login. Returns: bool: True if domain id was found. Raises: AssertionError: When a request retur...
"Authenticates against Easyname website and try to find out the domain\n id.\n Easyname uses a CSRF token in its login form, so two requests are\n neccessary to actually login.\n\n Returns:\n bool: True if domain id was found.\n\n Raises:\n AssertionError: When a req...
218
false
AnalogJ/lexicon
_authenticate
20,982
LDU_FT/david-cortes/costsensitive/decision_function
LDU_FT
[ "<BEGIN>\n## `fit`", "Fit one classifier comparing each pair of classes", " Parameters\n ----------\n X : array (n_samples, n_features)\n The data on which to fit a cost-sensitive classifier.\n C : array (n_samples, n_classes)\n The cost of predicting each label...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decision_function API. 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 decision_function API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Calculate how preferred is positive class according to classifiers Note ---- If passing aggregation = 'raw', it will output the proportion of the classifiers that voted for the positive class. If passing aggregation = 'weighted', it will output the average predicted prob...
"Calculate how preferred is positive class according to classifiers\n \n Note\n ----\n If passing aggregation = 'raw', it will output the proportion of the classifiers\n that voted for the positive class.\n If passing aggregation = 'weighted', it will output the average predict...
61
false
david-cortes/costsensitive
decision_function
20,983
LDU_FT/BlackEarth/bxml/filename
LDU_FT
[ "<BEGIN>\n## `tempfile`", "write the docx to a named tmpfile and return the tmpfile filename\n<END>", "<BEGIN>\n## `match`", "decorator that allows us to match by expression or by xpath for each transformation method\n<END>", "<BEGIN>\n## `get_match`", "for the given elem, return the @match function that ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filename API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filename API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
given a tag and a list of schemas, return the filename of the schema. If schemas is a string, treat it as a comma-separated list.
"given a tag and a list of schemas, return the filename of the schema.\n If schemas is a string, treat it as a comma-separated list."
91
false
BlackEarth/bxml
filename
20,984
LDU_FT/ARMmbed/mbed-connector-api-python/deleteEndpoint
LDU_FT
[ "<BEGIN>\n## `getConnectorVersion`", "GET the current Connector version.", "\t\t:returns: asyncResult object, populates error and result fields\n\t\t:rtype: asyncResult\n<END>", "<BEGIN>\n## `getEndpoints`", "Get list of all endpoints on the domain.", "\t\t:param str typeOfEndpoint: Optional filter endpo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the deleteEndpoint API. 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 deleteEndpoint API. 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...
Send DELETE message to an endpoint. :param str ep: name of endpoint :param fnptr cbfn: Optional - callback funtion to call when operation is completed :return: successful ``.status_code`` / ``.is_done``. Check the ``.error`` :rtype: asyncResult
"Send DELETE message to an endpoint.\n\t\t\n\t\t:param str ep: name of endpoint\n\t\t:param fnptr cbfn: Optional - callback funtion to call when operation is completed\n\t\t:return: successful ``.status_code`` / ``.is_done``. Check the ``.error``\n\t\t:rtype: asyncResult"
56
false
ARMmbed/mbed-connector-api-python
deleteEndpoint
20,985
LDU_FT/alexwlchan/specktre/draw_tiling
LDU_FT
[ "<BEGIN>\n## `generate_unit_squares`", "Generate coordinates for a tiling of unit squares.\n<END>", "<BEGIN>\n## `generate_unit_triangles`", "Generate coordinates for a tiling of unit triangles.\n<END>", "<BEGIN>\n## `check_positive_integer`", "Check a value is a positive integer.", " Returns the val...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the draw_tiling API. 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 draw_tiling API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Given a coordinate generator and a filename, render those coordinates in a new image and save them to the file.
"Given a coordinate generator and a filename, render those coordinates in\n a new image and save them to the file."
15
false
alexwlchan/specktre
draw_tiling
20,986
LDU_FT/bububa/pyTOP/dict_from_cookiejar
LDU_FT
[ "<BEGIN>\n## `ordersku_update`", "taobao.trade.ordersku.update 更新交易订单的销售属性", " 需要商家或以上权限才可调用此接口,可重复调用本接口更新交易备注,本接口同时具有添加备注的功能\n<END>", "<BEGIN>\n## `get`", "taobao.topats.result.get 获取异步任务结果", " 使用指南:http://open.taobao.com/doc/detail.htm?id=30 ", " - 1.此接口用于获取异步任务处理的结果,传入的task_id必需属...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dict_from_cookiejar 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 dict_from_cookiejar API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Returns a key/value dictionary from a CookieJar. :param cj: CookieJar object to extract cookies from.
"Returns a key/value dictionary from a CookieJar.\n\n :param cj: CookieJar object to extract cookies from."
619
false
bububa/pyTOP
dict_from_cookiejar
20,987
LDU_FT/lanius/tinyik/optimize
LDU_FT
[ "<BEGIN>\n## `prepare`", "Accept an objective function for optimization.\n<END>", "<BEGIN>\n## `optimize`", "Calculate an optimum argument of an objective function.\n<END>", "<BEGIN>\n## `optimize`", "Calculate an optimum argument of an objective function.\n<END>", "<BEGIN>\n## `optimize`", "Calculate...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the optimize API. 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 optimize API. 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...
Calculate an optimum argument of an objective function.
"Calculate an optimum argument of an objective function."
16
false
lanius/tinyik
optimize
20,988
LDU_FT/modin-project/modin/copy
LDU_FT
[ "<BEGIN>\n## `_read_sql_with_offset_pandas_on_ray`", "Use a Ray task to read a chunk of SQL source.", " Note: Ray functions are not detected by codecov (thus pragma: no cover)\n<END>", "<BEGIN>\n## `read_sql`", "Read SQL query or database table into a DataFrame.", " Args:\n sql: strin...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the copy API. 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 copy API. 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...
Creates a shallow copy of the DataFrame. Returns: A new DataFrame pointing to the same partitions as this one.
"Creates a shallow copy of the DataFrame.\r\n\r\n Returns:\r\n A new DataFrame pointing to the same partitions as this one."
811
false
modin-project/modin
copy
20,989
LDU_FT/douban/brownant/route
LDU_FT
[ "<BEGIN>\n## `url`", "The fetching target URL.", " The default behavior of this property is build URL string with the\n :const:`~brownant.dinergate.Dinergate.URL_TEMPLATE`.", " The subclasses could override\n :const:`~brownant.dinergate.Dinergate.URL_TEMPLATE` or use a different\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the route API. 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 route API. 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...
The decorator to register wrapped function as the brown ant app. All optional parameters of this method are compatible with the :meth:`~brownant.app.Brownant.add_url_rule`. Registered functions or classes must be import-able with its qualified name. It is different from the :class:`~fl...
"The decorator to register wrapped function as the brown ant app.\n\n All optional parameters of this method are compatible with the\n :meth:`~brownant.app.Brownant.add_url_rule`.\n\n Registered functions or classes must be import-able with its qualified\n name. It is different from the :cla...
45
false
douban/brownant
route
20,990
LDU_FT/hyperledger/sawtooth-core/add_settings_parser
LDU_FT
[ "<BEGIN>\n## `run_callback`", "Calls the callback_func, passing in the two positional arguments,\n conditionally waiting if the callback function hasn't been set yet.\n Meant to be run in a threadpool owned by the FutureCollection.", " Returns:\n None\n<END>", "<BEGIN>\n## `add...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_settings_parser 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 add_settings_parser 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...
Creates the args parser needed for the settings command and its subcommands.
"Creates the args parser needed for the settings command and its\n subcommands."
876
false
hyperledger/sawtooth-core
add_settings_parser
20,991
LDU_FT/mozilla-services/amo2kinto/get_kinto_records
LDU_FT
[ "<BEGIN>\n## `is_related_to`", "Return True if the item relates to the given app_id (and app_ver, if passed).\n<END>", "<BEGIN>\n## `get_related_targetApplication`", "Return the first matching target application in this version range.\n Returns None if there are no target applications or no matching ones.\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_kinto_records API. 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_kinto_records API. 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 all the kinto records for this bucket/collection.
"Return all the kinto records for this bucket/collection."
24
false
mozilla-services/amo2kinto
get_kinto_records
20,992
LDU_FT/fuzeman/trakt.py/delete
LDU_FT
[ "<BEGIN>\n## `lookup`", "Lookup items by their Trakt, IMDB, TMDB, TVDB, or TVRage ID.", " **Note:** If you lookup an identifier without a :code:`media` type specified it\n might return multiple items if the :code:`service` is not globally unique.", " :param id: Identifier value to lookup\...
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 the list. :param kwargs: Extra request options :type kwargs: :class:`~python:dict` :return: Boolean to indicate if the request was successful :rtype: :class:`~python:bool`
"Delete the list.\n\n :param kwargs: Extra request options\n :type kwargs: :class:`~python:dict`\n\n :return: Boolean to indicate if the request was successful\n :rtype: :class:`~python:bool`"
227
false
fuzeman/trakt.py
delete
20,993
LDU_FT/dcaune/perseus-lib-python-common/string_to_enum
LDU_FT
[ "<BEGIN>\n## `convert_image_to_rgb_mode`", "Convert the specified image instance to RGB mode.", " @param image: a Python Library Image (PIL) instance to convert its\n pixel format to RGB, discarding the alpha channel.", " @param fill_color: color to be used to fill transparent pixels when\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the string_to_enum API. 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 string_to_enum API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Return the item of an enumeration that corresponds to the specified string representation. @param value: string representation of an item of a Python enumeration. @param enumeration: a Python enumeration. @param strict: indicate whether the value must correspond to an item of the spec...
"Return the item of an enumeration that corresponds to the specified\n string representation.\n\n @param value: string representation of an item of a Python\n enumeration.\n\n @param enumeration: a Python enumeration.\n\n @param strict: indicate whether the value must correspond to an\n item o...
498
false
dcaune/perseus-lib-python-common
string_to_enum
20,994
LDU_FT/pyannote/pyannote-metrics/plot_precision_recall_curve
LDU_FT
[ "<BEGIN>\n## `extrude`", "Extrude reference boundary collars from uem", " reference |----| |--------------| |-------------|\n uem |---------------------| |-------------------------------|\n extruded |--| |--| |---| |-----| |-| |-----| |-----------| |-----|", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot_precision_recall_curve API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot_precision_recall_curve API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
Precision/recall curve This function will create (and overwrite) the following files: - {save_to}.precision_recall.png - {save_to}.precision_recall.eps - {save_to}.precision_recall.txt Parameters ---------- y_true : (n_samples, ) array-like Boolean reference. scores...
"Precision/recall curve\n\n This function will create (and overwrite) the following files:\n - {save_to}.precision_recall.png\n - {save_to}.precision_recall.eps\n - {save_to}.precision_recall.txt\n\n Parameters\n ----------\n y_true : (n_samples, ) array-like\n Boolean reference....
81
false
pyannote/pyannote-metrics
plot_precision_recall_curve
20,995
LDU_FT/cjdrake/pyeda/_keys2sls
LDU_FT
[ "<BEGIN>\n## `ripple_carry_add`", "Return symbolic logic for an N-bit ripple carry adder.\n<END>", "<BEGIN>\n## `kogge_stone_add`", "Return symbolic logic for an N-bit Kogge-Stone adder.\n<END>", "<BEGIN>\n## `brent_kung_add`", "Return symbolic logic for an N-bit Brent-Kung adder.\n<END>", "<BEGIN>\n## ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _keys2sls API. 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 _keys2sls API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Convert an input key to a list of slices.
"Convert an input key to a list of slices."
410
false
cjdrake/pyeda
_keys2sls
20,996
LDU_FT/inveniosoftware/invenio-access/create
LDU_FT
[ "<BEGIN>\n## `removed_or_inserted_action`", "Remove the action from cache when an item is inserted or deleted.\n<END>", "<BEGIN>\n## `changed_action`", "Remove the action from cache when an item is updated.\n<END>", "<BEGIN>\n## `create`", "Create new database row using the provided action need.", " ...
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 new database row using the provided action need.
"Create new database row using the provided action need."
64
false
inveniosoftware/invenio-access
create
20,997
LDU_FT/OCA/openupgradelib/m2o_to_x2m
LDU_FT
[ "<BEGIN>\n## `_adjust_merged_values_orm`", "This method deals with the values on the records to be merged +\n the target record, performing operations that makes sense on the meaning\n of the model.", " :param field_spec: Dictionary with field names as keys and forced operation\n to perform as val...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the m2o_to_x2m API. 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 m2o_to_x2m API. 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...
Transform many2one relations into one2many or many2many. Use rename_columns in your pre-migrate script to retain the column's old value, then call m2o_to_x2m in your post-migrate script. WARNING: If converting to one2many, there can be data loss, because only one inverse record can be mapped in a one2m...
"Transform many2one relations into one2many or many2many.\n Use rename_columns in your pre-migrate script to retain the column's old\n value, then call m2o_to_x2m in your post-migrate script.\n\n WARNING: If converting to one2many, there can be data loss, because only\n one inverse record can be mapped in a...
190
false
OCA/openupgradelib
m2o_to_x2m
20,998
LDU_FT/goodmami/penman/iterdecode
LDU_FT
[ "<BEGIN>\n## `alphanum_order`", "Sort a list of triples by relation name.", " Embedded integers are sorted numerically, but otherwise the sorting\n is alphabetic.\n<END>", "<BEGIN>\n## `decode`", "Deserialize PENMAN-serialized *s* into its Graph object", " Args:\n s: a string containing a ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iterdecode API. 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 iterdecode API. 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...
Deserialize PENMAN-notation string *s* into its Graph objects. Args: s: a string containing zero or more PENMAN-serialized graphs triples: if True, treat *s* as a conjunction of logical triples Yields: valid Graph objects described by *s* Example: ...
"Deserialize PENMAN-notation string *s* into its Graph objects.\n\n Args:\n s: a string containing zero or more PENMAN-serialized graphs\n triples: if True, treat *s* as a conjunction of logical triples\n Yields:\n valid Graph objects described by *s*\n Example:\n\n...
59
false
goodmami/penman
iterdecode
20,999
LDU_FT/ponty/eagexp/export_image
LDU_FT
[ "<BEGIN>\n## `export_image3d`", "Exporting eagle .brd file into 3D image file\n using Eagle3D and povray.\n GUI is not displayed if ``pyvirtualdisplay`` is installed.\n If export is blocked somehow (e.g. popup window is displayed) then after timeout operation is canceled with exception.\n Problem can ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the export_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 extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the export_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 extr...
Exporting eagle .sch or .brd file into image file. GUI is not displayed if ``pyvirtualdisplay`` is installed. If export is blocked somehow (e.g. popup window is displayed) then after timeout operation is canceled with exception. Problem can be investigated by setting 'showgui' flag. Exporting generates...
"Exporting eagle .sch or .brd file into image file.\n GUI is not displayed if ``pyvirtualdisplay`` is installed.\n If export is blocked somehow (e.g. popup window is displayed) then after timeout operation is canceled with exception.\n Problem can be investigated by setting 'showgui' flag.\n\n Exporting gen...
35
false
ponty/eagexp
export_image
21,000
LDU_FT/spantaleev/flask-sijax/_make_response
LDU_FT
[ "<BEGIN>\n## `csrf_token`", "Generate a token string from bytes arrays. The token in the session is user\n specific.\n<END>", "<BEGIN>\n## `check_csrf_token`", "Checks that token is correct, aborting if not\n<END>", "<BEGIN>\n## `route`", "An alternative to :meth:`flask.Flask.route` or :meth:`flask.Blu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _make_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 ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _make_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 ex...
Takes a Sijax response object and returns a valid Flask response object.
"Takes a Sijax response object and returns a\n valid Flask response object."
33
false
spantaleev/flask-sijax
_make_response
21,001
LDU_FT/couchbase/couchbase-python-client/map_size
LDU_FT
[ "<BEGIN>\n## `set_json_converters`", "Modify the default JSON conversion functions. This affects all\n :class:`~couchbase.bucket.Bucket` instances.", " These functions will called instead of the default ones (``json.dumps``\n and ``json.loads``) to encode and decode JSON (when :const:`FMT_JSON` is\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the map_size API. 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 map_size API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Get the number of items in the map. :param str key: The document ID of the map :return int: The number of items in the map :raise: :cb_exc:`NotFoundError` if the document does not exist. .. seealso:: :meth:`map_add`
"Get the number of items in the map.\n\n :param str key: The document ID of the map\n :return int: The number of items in the map\n :raise: :cb_exc:`NotFoundError` if the document does not exist.\n\n .. seealso:: :meth:`map_add`"
806
false
couchbase/couchbase-python-client
map_size
21,002
LDU_FT/SUNCAT-Center/CatHub/get_FEC
LDU_FT
[ "<BEGIN>\n## `molecules2symbols`", "Take a list of molecules and return just a list of atomic\n symbols, possibly adding hydrogen\n<END>", "<BEGIN>\n## `construct_reference_system`", "Take a list of symbols and construct gas phase\n references system, when possible avoiding O2.\n Candidates can be re...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_FEC API. 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_FEC API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Returns the Gibbs free energy corrections to be added to raw reaction energies. Parameters ---------- molecule_list : list of strings temperature : numeric temperature in K pressure : numeric pressure in mbar Returns ------- G_H, G_OH : Gibbs free energy of proton and hy...
"Returns the Gibbs free energy corrections to be added to raw reaction energies.\n\n Parameters\n ----------\n molecule_list : list of strings\n temperature : numeric\n temperature in K\n pressure : numeric\n pressure in mbar\n\n Returns\n -------\n G_H, G_OH : Gibbs free energy of ...
178
false
SUNCAT-Center/CatHub
get_FEC
21,003
LDU_FT/michaeljoseph/changes/install_from_pypi
LDU_FT
[ "<BEGIN>\n## `initialise`", "Detects, prompts and initialises the project.", " Stores project and tool configuration in the `changes` module.\n<END>", "<BEGIN>\n## `install_package`", "Attempts to install the sdist and wheel.\n<END>", "<BEGIN>\n## `upload_package`", "Uploads your project packages to ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the install_from_pypi API. 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 install_from_pypi API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Attempts to install your package from pypi.
"Attempts to install your package from pypi."
39
false
michaeljoseph/changes
install_from_pypi
21,004
LDU_FT/krischer/django-plugins/missing
LDU_FT
[ "<BEGIN>\n## `get_plugin_from_string`", "Returns plugin or plugin point class from given ``plugin_name`` string.", " Example of ``plugin_name``::", " 'my_app.MyPlugin'\n<END>", "<BEGIN>\n## `get_model`", "Returns model instance of plugin point or plugin, depending from which\n class this ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the missing API. 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 missing API. 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...
Mark all missing plugins, that exists in database, but are not registered.
"Mark all missing plugins, that exists in database, but are not\n registered."
22
false
krischer/django-plugins
missing
21,005
LDU_FT/opendatateam/udata/followers_org_count
LDU_FT
[ "<BEGIN>\n## `save`", "PeriodicTask is dynamic and save behavior changed\n See: https://github.com/zakird/celerybeat-mongo/commit/dfbbd20edde91134b57f5406d0ce4eac59d6899b\n<END>", "<BEGIN>\n## `has_manifest`", "Verify the existance of a JSON assets manifest\n<END>", "<BEGIN>\n## `from_manifest`", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the followers_org_count 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 followers_org_count API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Return the number of followers of user's organizations.
"Return the number of followers of user's organizations."
476
false
opendatateam/udata
followers_org_count
21,006
LDU_FT/hollenstein/maspy/findAllSubstrings
LDU_FT
[ "<BEGIN>\n## `_getArrays`", "Return arrays with equal size of item attributes from a list of sorted\n \"items\" for fast and convenient data processing.", " :param attr: list of item attributes that should be added to the returned\n array.\n :param defaultValue: if an item is missing an attribut...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the findAllSubstrings API. 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 findAllSubstrings API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Returns a list of all substring starting positions in string or an empty list if substring is not present in string. :param string: a template string :param substring: a string, which is looked for in the ``string`` parameter. :returns: a list of substring starting positions in the template string
"Returns a list of all substring starting positions in string or an empty\n list if substring is not present in string.\n\n :param string: a template string\n :param substring: a string, which is looked for in the ``string`` parameter.\n\n :returns: a list of substring starting positions in the template str...
742
false
hollenstein/maspy
findAllSubstrings
21,007
LDU_FT/thisfred/val/_validated
LDU_FT
[ "<BEGIN>\n## `_build_type_validator`", "Build a validator that only checks the type of a value.\n<END>", "<BEGIN>\n## `_build_static_validator`", "Build a validator that checks if the data is equal to an exact value.\n<END>", "<BEGIN>\n## `_build_callable_validator`", "Build a validator that checks the re...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _validated API. 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 _validated API. 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...
Validate data if any subschema validates it.
"Validate data if any subschema validates it."
28
false
thisfred/val
_validated
21,008
LDU_FT/core/uricore/url_unquote_plus
LDU_FT
[ "<BEGIN>\n## `iteritems`", "Like :meth:`items` but returns an iterator.\n<END>", "<BEGIN>\n## `iterlists`", "Like :meth:`items` but returns an iterator.\n<END>", "<BEGIN>\n## `to_dict`", "Return the contents as regular dict. If `flat` is `True` the\n returned dict will only have the first item pre...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the url_unquote_plus API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the url_unquote_plus API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
URL decode a single string with the given decoding and decode a "+" to whitespace. Per default encoding errors are ignored. If you want a different behavior you can set `errors` to ``'replace'`` or ``'strict'``. In strict mode a `HTTPUnicodeError` is raised. :param s: the string to unquote. ...
"URL decode a single string with the given decoding and decode\n a \"+\" to whitespace.\n\n Per default encoding errors are ignored. If you want a different behavior\n you can set `errors` to ``'replace'`` or ``'strict'``. In strict mode a\n `HTTPUnicodeError` is raised.\n\n :param s: the string to unq...
85
false
core/uricore
url_unquote_plus
21,009
LDU_FT/eventbrite/eventbrite-sdk-python/get_event_ticket_classes
LDU_FT
[ "<BEGIN>\n## `objectify`", "Converts the returned value from a models.Payload to\n a models.EventbriteObject. Used by the access methods\n of the client.Eventbrite object\n<END>", "<BEGIN>\n## `get_category`", "GET /categories/:id/\n Gets a :format:`category` by ID as ``category``.\n<END>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_event_ticket_classes API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_event_ticket_classes API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
GET /events/:id/ticket_classes/ Returns a :ref:`paginated <pagination>` response with a key of ``ticket_classes``, containing a list of :format:`ticket_class`.
"GET /events/:id/ticket_classes/\n Returns a :ref:`paginated <pagination>` response with a key of\n ``ticket_classes``, containing a list of :format:`ticket_class`."
194
false
eventbrite/eventbrite-sdk-python
get_event_ticket_classes
21,010
LDU_FT/daler/trackhub/_str_subgroups
LDU_FT
[ "<BEGIN>\n## `default_hub`", "Returns a fully-connected set of hub components using default filenames.", " Parameters\n ----------", " hub_name : str\n Name of the hub", " genome : str\n Assembly name (hg38, dm6, etc)", " email : str\n Email to include with hub.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _str_subgroups API. 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 _str_subgroups API. 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...
helper function to render subgroups as a string
"helper function to render subgroups as a string"
111
false
daler/trackhub
_str_subgroups
21,011
LDU_FT/raiden-network/raiden-contracts/private_key_to_address
LDU_FT
[ "<BEGIN>\n## `check_permission_safety`", "Check if the file at the given path is safe to use as a state file.", " This checks that group and others have no permissions on the file and that the current user is\n the owner.\n<END>", "<BEGIN>\n## `get_private_key`", "Open a JSON-encoded private key and r...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the private_key_to_address 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 private_key_to_address API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Converts a private key to an Ethereum address.
"Converts a private key to an Ethereum address."
76
false
raiden-network/raiden-contracts
private_key_to_address
21,012
LDU_FT/zebpalmer/WeatherAlerts/getfeedscope
LDU_FT
[ "<BEGIN>\n## `_ts_parse`", "Parse alert timestamp, return UTC datetime object to maintain Python 2 compatibility.\n<END>", "<BEGIN>\n## `_serialized`", "Provides a sanitized & serializeable dict of the alert mainly for forward & backwards compatibility\n<END>", "<BEGIN>\n## `_get_feed_cache`", "If a recen...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getfeedscope API. 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 getfeedscope API. 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...
Given multiple SAME codes, determine if they are all in one state. If so, it returns that state. Otherwise return 'US'. This is used to determine which NWS feed needs to be parsed to get all alerts for the requested SAME codes
"Given multiple SAME codes, determine if they are all in one state. If so, it returns that state.\n Otherwise return 'US'. This is used to determine which NWS feed needs to be parsed to get\n all alerts for the requested SAME codes"
36
false
zebpalmer/WeatherAlerts
getfeedscope
21,013
LDU_FT/osilkin98/PyBRY/call
LDU_FT
[ "<BEGIN>\n## `make_request`", "Makes a cURL POST request to the given URL, specifying the data to be passed in as\n {\"method\": method, \"params\": parameters}", " :param str url: URL to connect to.\n :param str method: The API method to call.\n :param dict params: Dictionary objec...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the call API. 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 call API. 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...
Makes a Call to the LBRY API :param str method: Method to call from the LBRY API. See the full list of methods at https://lbryio.github.io/lbry/cli/ :param dict params: Parameters to give the method selected :param float timeout: The number of seconds to wait for a connection until we ...
"Makes a Call to the LBRY API\n\n :param str method: Method to call from the LBRY API. See the full list of methods at\n https://lbryio.github.io/lbry/cli/\n :param dict params: Parameters to give the method selected\n :param float timeout: The number of seconds to wait for a connection unt...
18
false
osilkin98/PyBRY
call
21,014
LDU_FT/pedrotgn/pyactor/later
LDU_FT
[ "<BEGIN>\n## `set_context`", "This function initializes the context of execution deciding which\n type of threads are being used: classic python threads or green\n threads, provided by Gevent.", " This should be called first of all in every execution, otherwise,\n the library would not work.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the later API. 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 later API. 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...
Sets a timer that will call the *method* of the *actor* past *timeout* seconds. See example in :ref:`sample_inter` :param int timeout: seconds until the method is called. :param Proxy actor: actor to which make the call after *time* seconds. :param Str. method: method of the *actor* to be called. ...
"Sets a timer that will call the *method* of the *actor* past *timeout*\n seconds.\n\n See example in :ref:`sample_inter`\n\n :param int timeout: seconds until the method is called.\n :param Proxy actor: actor to which make the call after *time* seconds.\n :param Str. method: method of the *actor* to be ...
102
false
pedrotgn/pyactor
later
21,015
LDU_FT/costastf/locationsharinglib/get_shared_people
LDU_FT
[ "<BEGIN>\n## `get_shared_people`", "Retrieves all people that share their location with this account\n<END>", "<BEGIN>\n## `get_authenticated_person`", "Retrieves the person associated with this account\n<END>", "<BEGIN>\n## `get_coordinates_by_nickname`", "Retrieves a person's coordinates by nickname\n<E...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_shared_people API. 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_shared_people API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Retrieves all people that share their location with this account
"Retrieves all people that share their location with this account"
61
false
costastf/locationsharinglib
get_shared_people
21,016
LDU_FT/seibert-media/Highton/complete
LDU_FT
[ "<BEGIN>\n## `decode`", "Decode the object to the object", " :param root_element: the parsed xml Element\n :type root_element: xml.etree.ElementTree.Element\n :return: the decoded Element as object\n :rtype: object\n<END>", "<BEGIN>\n## `add_note`", "Create a Note to current obje...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the complete API. 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 complete API. 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...
Complete current task :return: :rtype: requests.models.Response
"Complete current task\n :return:\n :rtype: requests.models.Response"
80
false
seibert-media/Highton
complete
21,017
LDU_FT/miguelgrinberg/python-socketio/wait
LDU_FT
[ "<BEGIN>\n## `get_participants`", "Return an iterable with the active participants in a room.\n<END>", "<BEGIN>\n## `connect`", "Register a client connection to a namespace.\n<END>", "<BEGIN>\n## `pre_disconnect`", "Put the client in the to-be-disconnected list.", " This allows the client data st...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wait API. 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 wait API. 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...
Wait until the connection with the server ends. Client applications can use this function to block the main thread during the life of the connection. Note: this method is a coroutine.
"Wait until the connection with the server ends.\n\n Client applications can use this function to block the main thread\n during the life of the connection.\n\n Note: this method is a coroutine."
172
false
miguelgrinberg/python-socketio
wait
21,018
LDU_FT/wbond/ocspbuilder/build
LDU_FT
[ "<BEGIN>\n## `issuer`", "An asn1crypto.x509.Certificate or oscrypto.asymmetric.Certificate object\n of the issuer.\n<END>", "<BEGIN>\n## `key_hash_algo`", "A unicode string of the hash algorithm to use when creating the\n certificate identifier - \"sha1\" (default), or \"sha256\".\n<END>", "<B...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build API. 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 build API. 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...
Validates the request information, constructs the ASN.1 structure and then optionally signs it. The requestor_private_key, requestor_certificate and other_certificates params are all optional and only necessary if the request needs to be signed. Signing a request is uncommon for OCSP re...
"Validates the request information, constructs the ASN.1 structure and\n then optionally signs it.\n\n The requestor_private_key, requestor_certificate and other_certificates\n params are all optional and only necessary if the request needs to be\n signed. Signing a request is uncommon for O...
46
false
wbond/ocspbuilder
build
21,019
LDU_FT/TylerTemp/docpie/preview
LDU_FT
[ "<BEGIN>\n## `docpie`", "match the argv for each usages, return dict.", " if argv is None, it will use sys.argv instead.\n if argv is str, it will call argv.split() first.\n this function will check the options in self.extra and handle it first.\n Which means it may not try to match ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the preview API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the preview API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
A quick preview of docpie. Print all the parsed object
"A quick preview of docpie. Print all the parsed object"
51
false
TylerTemp/docpie
preview
21,020
LDU_FT/kontron/python-ipmi/send_and_receive
LDU_FT
[ "<BEGIN>\n## `sel_entries`", "Generator which returns all SEL entries.\n<END>", "<BEGIN>\n## `initiate_upgrade_action`", "Initiate Upgrade Action\n components:\n action:\n ACTION_BACKUP_COMPONENT = 0x00\n ACTION_PREPARE_COMPONENT = 0x01\n ACTION_UPLOAD_FOR_UPGRAD...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_and_receive API. 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_and_receive API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Interface function to send and receive an IPMI message. target: IPMI target req: IPMI message request Returns the IPMI message response.
"Interface function to send and receive an IPMI message.\n\n target: IPMI target\n req: IPMI message request\n\n Returns the IPMI message response."
87
false
kontron/python-ipmi
send_and_receive
21,021
LDU_FT/boakley/robotframework-hub/on_change
LDU_FT
[ "<BEGIN>\n## `add`", "Add a folder, library (.py) or resource file (.robot, .tsv, .txt) to the database\n<END>", "<BEGIN>\n## `on_change`", "Respond to changes in the file system", " This method will be given the path to a file that\n has changed on disk. We need to reload the keywords\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the on_change API. 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 on_change API. 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...
Respond to changes in the file system This method will be given the path to a file that has changed on disk. We need to reload the keywords from that file
"Respond to changes in the file system\n\n This method will be given the path to a file that\n has changed on disk. We need to reload the keywords\n from that file"
61
false
boakley/robotframework-hub
on_change
21,022
LDU_FT/JonathanRaiman/pytreebank/delete_paths
LDU_FT
[ "<BEGIN>\n## `uproot`", "Take a subranch of a tree and deep-copy the children\n of this subbranch into a new LabeledTree\n<END>", "<BEGIN>\n## `lowercase`", "Lowercase all strings in this tree.\n Works recursively and in-place.\n<END>", "<BEGIN>\n## `to_dict`", "Dict format for use in Javasc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_paths API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_paths API. 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...
Delete a list of paths that are files or directories. If a file/directory does not exist, skip it. Arguments: ---------- paths : list<str>, names of files/directories to remove.
"Delete a list of paths that are files or directories.\n If a file/directory does not exist, skip it.\n\n Arguments:\n ----------\n\n paths : list<str>, names of files/directories to remove."
46
false
JonathanRaiman/pytreebank
delete_paths
21,023
LDU_FT/frasertweedale/ledgertools/parse_date
LDU_FT
[ "<BEGIN>\n## `apply`", "Manufacture decorator that filters return value with given function.", " ``filter``:\n Callable that takes a single parameter.\n<END>", "<BEGIN>\n## `format_outpat`", "Format an outpat for the given transaction.", " Format the given output filename pattern. The pattern ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_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 extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_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 extrac...
Parse the date and return a datetime object The heuristic for determining the date is: - if ``date_format`` is set, parse using strptime - if one field of 8 digits, YYYYMMDD - split by '-' or '/' - (TODO: substitute string months with their numbers) - if (2, 2, 4), ...
"Parse the date and return a datetime object\n\n The heuristic for determining the date is:\n - if ``date_format`` is set, parse using strptime\n - if one field of 8 digits, YYYYMMDD\n - split by '-' or '/'\n - (TODO: substitute string months with their numbers)\n - if (2,...
82
false
frasertweedale/ledgertools
parse_date
21,024
LDU_FT/synw/dataswim/load_h5
LDU_FT
[ "<BEGIN>\n## `ndlayout_`", "Create a Holoview NdLayout from a dictionnary of chart objects\n<END>", "<BEGIN>\n## `layout_`", "Returns a Holoview Layout from chart objects\n<END>", "<BEGIN>\n## `_hline_bokeh_`", "Returns an horizontal line from a column mean value\n<END>", "<BEGIN>\n## `_sline_bokeh`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_h5 API. 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 load_h5 API. 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...
Load a Hdf5 file to the main dataframe :param filepath: url of the csv file to load, can be absolute if it starts with ``/`` or relative if it starts with ``./`` :type filepath: str :example: ``ds.load_h5("./myfi...
"Load a Hdf5 file to the main dataframe\n\n :param filepath: url of the csv file to load,\n can be absolute if it starts with ``/``\n or relative if it starts with ``./``\n :type filepath: str\n\n :example: ``ds.load_h5...
393
false
synw/dataswim
load_h5
21,025
LDU_FT/napalm-automation/napalm-logs/_post_preparation
LDU_FT
[ "<BEGIN>\n## `_setup_ipc`", "Setup the IPC pub and sub.\n Subscript to the listener IPC\n and publish to the device specific IPC.\n<END>", "<BEGIN>\n## `_compile_prefixes`", "Create a dict of all OS prefixes and their compiled regexs\n<END>", "<BEGIN>\n## `_identify_prefix`", "Check the mess...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _post_preparation API. 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 _post_preparation API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
The steps for post-preparation (when the logs, and everything is already setup).
"The steps for post-preparation (when the logs, and everything is\n already setup)."
82
false
napalm-automation/napalm-logs
_post_preparation
21,026
LDU_FT/lobocv/anonymoususage/delete_row
LDU_FT
[ "<BEGIN>\n## `get_average`", "Return the statistic's count divided by the number of rows in the table. If it cannot be calculated return\n `default`.\n :return: The average count value (count / table rows) or `default` if it cannot be calculated.\n<END>", "<BEGIN>\n## `elapsed_time_s`", "Return ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_row API. 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 delete_row API. 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...
Delete a row from a table in a database. :param dbconn: data base connection :param table_name: name of the table :param field: field of the table to target :param value: value of the field in the table to delete
"Delete a row from a table in a database.\n :param dbconn: data base connection\n :param table_name: name of the table\n :param field: field of the table to target\n :param value: value of the field in the table to delete"
60
false
lobocv/anonymoususage
delete_row
21,027
LDU_FT/lvh/maxims/forget
LDU_FT
[ "<BEGIN>\n## `powerupIndirector`", "A decorator for a powerup indirector from a single interface to a single\n in-memory implementation.", " The in-memory implementation that is being indirected to must be created\n in the ``activate`` callback, and then assigned to ``self.indirected``,\n which is a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the forget API. 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 forget API. 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 ...
Forgets powerups previously stored with ``remember``. :param empowered: The Empowered (Store or Item) to be powered down. :type empowered: ``axiom.item.Empowered`` :param powerupClass: The class for which powerups will be forgotten. :type powerupClass: class :param interface: The interface the powe...
"Forgets powerups previously stored with ``remember``.\n\n :param empowered: The Empowered (Store or Item) to be powered down.\n :type empowered: ``axiom.item.Empowered``\n :param powerupClass: The class for which powerups will be forgotten.\n :type powerupClass: class\n :param interface: The interface t...
13
false
lvh/maxims
forget
21,028
LDU_FT/Gorialis/jishaku/jsk_retain
LDU_FT
[ "<BEGIN>\n## `get_var_dict_from_ctx`", "Returns the dict to be used in REPL for a given Context.\n<END>", "<BEGIN>\n## `background_reader`", "Reads a stream and forwards each line to an async callback.\n<END>", "<BEGIN>\n## `make_reader_task`", "Create a reader executor task for a stream.\n<END>", "<BEG...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the jsk_retain API. 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 jsk_retain API. 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...
Turn variable retention for REPL on or off. Provide no argument for current status.
"Turn variable retention for REPL on or off.\n\n Provide no argument for current status."
161
false
Gorialis/jishaku
jsk_retain
21,029
LDU_FT/base4sistemas/satcfe/atualizar_software_sat
LDU_FT
[ "<BEGIN>\n## `salvar`", "Salva o arquivo de log decodificado.", " :param str destino: (Opcional) Caminho completo para o arquivo onde os\n dados dos logs deverão ser salvos. Se não informado, será criado\n um arquivo temporário via :func:`tempfile.mkstemp`.", " :param str p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the atualizar_software_sat 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 atualizar_software_sat API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Sobrepõe :meth:`~satcfe.base.FuncoesSAT.atualizar_software_sat`. :return: Uma resposta SAT padrão. :rtype: satcfe.resposta.padrao.RespostaSAT
"Sobrepõe :meth:`~satcfe.base.FuncoesSAT.atualizar_software_sat`.\n\n :return: Uma resposta SAT padrão.\n :rtype: satcfe.resposta.padrao.RespostaSAT"
208
false
base4sistemas/satcfe
atualizar_software_sat
21,030
LDU_FT/PierreRust/apigpio/set_pull_up_down
LDU_FT
[ "<BEGIN>\n## `u2i`", "Converts a 32 bit unsigned number to signed.", " uint32:= an unsigned 32 bit number", " ...\n print(u2i(4294967272))\n -24\n print(u2i(37))\n 37\n ...\n<END>", "<BEGIN>\n## `_u2i`", "Converts a 32 bit unsigned number to signed. If the number\n is negative it ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_pull_up_down API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_pull_up_down API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Sets or clears the internal GPIO pull-up/down resistor. gpio:= 0-53. pud:= PUD_UP, PUD_DOWN, PUD_OFF. ... yield from pi.set_pull_up_down(17, apigpio.PUD_OFF) yield from pi.set_pull_up_down(23, apigpio.PUD_UP) yield from pi.set_pull_up_down(24, apigpio.PUD_DOWN) ....
"Sets or clears the internal GPIO pull-up/down resistor.\n gpio:= 0-53.\n pud:= PUD_UP, PUD_DOWN, PUD_OFF.\n ...\n yield from pi.set_pull_up_down(17, apigpio.PUD_OFF)\n yield from pi.set_pull_up_down(23, apigpio.PUD_UP)\n yield from pi.set_pull_up_down(24, apigpio.PUD_DOWN)\n ...
102
false
PierreRust/apigpio
set_pull_up_down
21,031
LDU_FT/consbio/parserutils/set_element_tail
LDU_FT
[ "<BEGIN>\n## `create_element_tree`", "Creates an ElementTree from elem_or_name, updated it with text and attributes.\n If elem_or_name is None, a permanently empty ElementTree is returned.\n :param elem_or_name: an Element or the name of the root element tag\n :param text: optional text with which to upd...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_element_tail API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_element_tail API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Assigns the text following the parsed parent element and then returns it. If element_path is provided and doesn't exist, it is inserted with element_tail. :see: get_element(parent_to_parse, element_path)
"Assigns the text following the parsed parent element and then returns it.\n If element_path is provided and doesn't exist, it is inserted with element_tail.\n :see: get_element(parent_to_parse, element_path)"
127
false
consbio/parserutils
set_element_tail
21,032
LDU_FT/Duke-GCB/lando-messaging/make_lando_router
LDU_FT
[ "<BEGIN>\n## `raise_on_major_version_mismatch`", "Raises error if major version is different. Other wise logs the difference.\n :param work_request: WorkRequest: request that had a different version\n :param local_version: str: our version string that does not match message.version\n<END>", "<BEGIN>\n## `...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_lando_router API. 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 make_lando_router API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Makes MessageRouter which can listen to queue_name sending messages to the VM version of lando. :param config: WorkerConfig/ServerConfig: settings for connecting to the queue :param obj: object: implements lando specific methods :param queue_name: str: name of the queue we will listen on. ...
"Makes MessageRouter which can listen to queue_name sending messages to the VM version of lando.\n :param config: WorkerConfig/ServerConfig: settings for connecting to the queue\n :param obj: object: implements lando specific methods\n :param queue_name: str: name of the queue we will listen on.\n ...
50
false
Duke-GCB/lando-messaging
make_lando_router
21,033
LDU_FT/AntagonistHQ/openprovider.py/check_many
LDU_FT
[ "<BEGIN>\n## `snake_to_camel`", "Converts a snake_case_string to a camelCaseString.", " >>> snake_to_camel(\"foo_bar_baz\")\n 'fooBarBaz'\n<END>", "<BEGIN>\n## `retrieve_approver_email_list`", "Retrieve the list of allowed approver email addresses.\n<END>", "<BEGIN>\n## `resend_approver_email`", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_many API. 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 check_many API. 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...
Check availability for a number of domains. Returns a dictionary mapping the domain names to their statuses as a string ("active"/"free").
"Check availability for a number of domains. Returns a dictionary\n mapping the domain names to their statuses as a string\n (\"active\"/\"free\")."
38
false
AntagonistHQ/openprovider.py
check_many
21,034
LDU_FT/DinoTools/python-overpy/get_intersection
LDU_FT
[ "<BEGIN>\n## `_handle_remark_msg`", "Try to parse the message provided with the remark tag or element.", " :param str msg: The message\n :raises overpy.exception.OverpassRuntimeError: If message starts with 'runtime error:'\n :raises overpy.exception.OverpassRuntimeRemark: If message starts...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_intersection API. 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_intersection API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Retrieve intersection of two streets in a given bounding area :param overpy.Overpass api: First street of intersection :param String street1: Name of first street of intersection :param String street2: Name of second street of intersection :param String areacode: The OSM id of the bounding area :re...
"Retrieve intersection of two streets in a given bounding area\n\n :param overpy.Overpass api: First street of intersection\n :param String street1: Name of first street of intersection\n :param String street2: Name of second street of intersection\n :param String areacode: The OSM id of the bounding area\n...
119
false
DinoTools/python-overpy
get_intersection
21,035
LDU_FT/aws/aws-dynamodb-encryption-python/decrypt_python_item
LDU_FT
[ "<BEGIN>\n## `encrypt_item`", "Demonstrate use of EncryptedTable to transparently encrypt an item.\n<END>", "<BEGIN>\n## `to_str`", "Takes an input str or bytes object and returns an equivalent str object.", " :param data: Input data\n :type data: str or bytes\n :returns: Data normalized to str\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decrypt_python_item API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decrypt_python_item API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Decrypt a dictionary for DynamoDB. >>> from dynamodb_encryption_sdk.encrypted.item import decrypt_python_item >>> encrypted_item = { ... 'some': Binary(b'ENCRYPTED_DATA'), ... 'more': Binary(b'ENCRYPTED_DATA') ... } >>> decrypted_item = decrypt_python_item( ... item=encrypted_it...
"Decrypt a dictionary for DynamoDB.\n\n >>> from dynamodb_encryption_sdk.encrypted.item import decrypt_python_item\n >>> encrypted_item = {\n ... 'some': Binary(b'ENCRYPTED_DATA'),\n ... 'more': Binary(b'ENCRYPTED_DATA')\n ... }\n >>> decrypted_item = decrypt_python_item(\n ... item=enc...
175
false
aws/aws-dynamodb-encryption-python
decrypt_python_item
21,036
LDU_FT/TheClimateCorporation/properscoring/crps_gaussian
LDU_FT
[ "<BEGIN>\n## `brier_score`", "Calculate the Brier score (BS)", " The Brier score (BS) scores binary forecasts $k \\in \\{0, 1\\}$,", " ..math:\n BS(p, k) = (p_1 - k)^2,", " where $p_1$ is the forecast probability of $k=1$.", " Parameters\n ----------\n observations, forecasts : ar...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the crps_gaussian API. 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 crps_gaussian API. 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...
Computes the CRPS of observations x relative to normally distributed forecasts with mean, mu, and standard deviation, sig. CRPS(N(mu, sig^2); x) Formula taken from Equation (5): Calibrated Probablistic Forecasting Using Ensemble Model Output Statistics and Minimum CRPS Estimation. Gneiting, Rafte...
"Computes the CRPS of observations x relative to normally distributed\n forecasts with mean, mu, and standard deviation, sig.\n\n CRPS(N(mu, sig^2); x)\n\n Formula taken from Equation (5):\n\n Calibrated Probablistic Forecasting Using Ensemble Model Output\n Statistics and Minimum CRPS Estimation. Gneiti...
59
false
TheClimateCorporation/properscoring
crps_gaussian
21,037
LDU_FT/fusepy/fusepy/mknod
LDU_FT
[ "<BEGIN>\n## `fuse_exit`", "This will shutdown the FUSE mount and cause the call to FUSE(...) to\n return, similar to sending SIGINT to the process.", " Flags the native FUSE session as terminated and will cause any running FUSE\n event loops to exit on the next opportunity. (see fuse.c::fuse_exit)\n<E...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mknod API. 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 mknod API. 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...
Create file node Valid replies: reply_entry reply_err
"Create file node\n\n Valid replies:\n reply_entry\n reply_err"
68
false
fusepy/fusepy
mknod
21,038
LDU_FT/francois-vincent/clingon/my_func
LDU_FT
[ "<BEGIN>\n## `my_func`", "Help docstring. v{VERSION}\n {message}\n<END>", "<BEGIN>\n## `auto_update_attrs_from_kwargs`", "this decorator will update the attributes of an\n instance object with all the kwargs of the decorated\n method, updated with the kwargs of the actual call.\n This saves ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the my_func API. 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 my_func API. 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...
Help docstring. v{VERSION} {message}
"Help docstring. v{VERSION}\n {message}"
19
false
francois-vincent/clingon
my_func
21,039
LDU_FT/mgedmin/imgdiff/check_color
LDU_FT
[ "<BEGIN>\n## `parse_color`", "Parse a color value.", " I've decided not to expect a leading '#' because it's a comment character\n in some shells.", " >>> parse_color('4bf') == (0x44, 0xbb, 0xff, 0xff)\n True\n >>> parse_color('ccce') == (0xcc, 0xcc, 0xcc, 0xee)\n True\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_color API. 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 check_color API. 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...
Validate and convert an option value of type 'color'. ``option`` is an optparse.Option instance. ``opt`` is a string with the user-supplied option name (e.g. '--bgcolor'). ``value`` is the user-supplied value.
"Validate and convert an option value of type 'color'.\n\n ``option`` is an optparse.Option instance.\n\n ``opt`` is a string with the user-supplied option name (e.g. '--bgcolor').\n\n ``value`` is the user-supplied value."
65
false
mgedmin/imgdiff
check_color
21,040
LDU_FT/bitcaster-io/bitcaster/get_client_ip
LDU_FT
[ "<BEGIN>\n## `process_response`", "Update the storage backend (i.e., save the messages).", " Raise ValueError if not all messages could be stored and DEBUG is True.\n<END>", "<BEGIN>\n## `route`", "A decorator that is used to register a view function for a\n given URL rule. This does the same...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_client_ip API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_client_ip API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Naively yank the first IP address in an X-Forwarded-For header and assume this is correct. Note: Don't use this in security sensitive situations since this value may be forged from a client.
"Naively yank the first IP address in an X-Forwarded-For header\n and assume this is correct.\n\n Note: Don't use this in security sensitive situations since this\n value may be forged from a client."
71
false
bitcaster-io/bitcaster
get_client_ip
21,041
LDU_FT/twilio/twilio-python/_proxy
LDU_FT
[ "<BEGIN>\n## `stream`", "Streams KeyInstance records from the API as a generator stream.\n This operation lazily loads records as efficiently as possible until the limit\n is reached.\n The results are returned as a generator, so this operation is memory efficient.", " :param int lim...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _proxy API. 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 _proxy API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Generate an instance context for the instance, the context is capable of performing various actions. All instance actions are proxied to the context :returns: QueryContext for this QueryInstance :rtype: twilio.rest.autopilot.v1.assistant.query.QueryContext
"Generate an instance context for the instance, the context is capable of\n performing various actions. All instance actions are proxied to the context\n\n :returns: QueryContext for this QueryInstance\n :rtype: twilio.rest.autopilot.v1.assistant.query.QueryContext"
4,304
true
twilio/twilio-python
_proxy
21,042
LDU_FT/projectshift/shift-schema/filter_with_schema
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_with_schema 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 filter_with_schema 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...
Perform collection items filtering with schema
"Perform collection items filtering with schema"
135
false
projectshift/shift-schema
filter_with_schema
21,043
LDU_FT/chrippa/python-librtmp/read
LDU_FT
[ "<BEGIN>\n## `read`", "Attempts to read data from the stream.", " :param size: int, The maximum amount of bytes to read.", " Raises :exc:`IOError` on error.\n<END>", "<BEGIN>\n## `write`", "Writes data to the stream.", " :param data: bytes, FLV data to write to the stream", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Attempts to read data from the stream. :param size: int, The maximum amount of bytes to read. Raises :exc:`IOError` on error.
"Attempts to read data from the stream.\n\n :param size: int, The maximum amount of bytes to read.\n\n Raises :exc:`IOError` on error."
63
false
chrippa/python-librtmp
read
21,044
LDU_FT/Ouranosinc/xclim/daily_temperature_range_variability
LDU_FT
[ "<BEGIN>\n## `build_module`", "Create a module from imported objects.", " Parameters\n ----------\n name : str\n New module name.\n objs : dict\n Dictionary of the objects (or their name) to import into the module,\n keyed by the name they will take in the created module.\n doc : s...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the daily_temperature_range_variability API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates it...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the daily_temperature_range_variability API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates it...
r"""Mean absolute day-to-day variation in daily temperature range. Mean absolute day-to-day variation in daily temperature range. Parameters ---------- tasmax : xarray.DataArray Maximum daily temperature values [℃] or [K] tasmin : xarray.DataArray Minimum daily temperature values [℃] o...
"r\"\"\"Mean absolute day-to-day variation in daily temperature range.\n\n Mean absolute day-to-day variation in daily temperature range.\n\n Parameters\n ----------\n tasmax : xarray.DataArray\n Maximum daily temperature values [℃] or [K]\n tasmin : xarray.DataArray\n Minimum daily temperature...
578
false
Ouranosinc/xclim
daily_temperature_range_variability
21,045
LDU_FT/datamachine/twx/get_bytes
LDU_FT
[ "<BEGIN>\n## `_ige`", "Given a key, given an iv, and message\n do whatever operation asked in the operation field.\n Operation will be checked for: \"decrypt\" and \"encrypt\" strings.\n Returns the message encrypted/decrypted.\n message must be a multiple by 16 bytes (for division in 16 byte bloc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_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 extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_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 extract...
req_DH_params#d712e4be nonce:int128 server_nonce:int128 p:bytes q:bytes public_key_fingerprint:long encrypted_data:bytes = Server_DH_Params
"req_DH_params#d712e4be nonce:int128 server_nonce:int128 p:bytes q:bytes public_key_fingerprint:long encrypted_data:bytes = Server_DH_Params"
94
false
datamachine/twx
get_bytes
21,046
LDU_FT/hz-inova/run_jnb/is_jsonable
LDU_FT
[ "<BEGIN>\n## `kwargs_to_variable_assignment`", "Convert a dictionary into a string with assignments", " Each assignment is constructed based on:\n key assignment_operator value_representation(value) statement_separator,\n where key and value are the key and value of the dictionary.\n Moreover one ca...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_jsonable API. 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_jsonable API. 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...
Check if an object is jsonable. An object is jsonable if it is json serialisable and by loading its json representation the same object is recovered. Parameters ---------- obj : Python object Returns ------- bool >>> is_jsonable([1,2,3]) True >>> is_jsonable((1,2,3)) ...
"Check if an object is jsonable.\n\n An object is jsonable if it is json serialisable and by loading its json representation the same object is recovered.\n Parameters\n ----------\n obj : \n Python object\n\n Returns\n -------\n bool\n\n >>> is_jsonable([1,2,3])\n True\n >>> is_jso...
65
false
hz-inova/run_jnb
is_jsonable
21,047
LDU_FT/spotify/docker_interface/build_dict_parameter_parts
LDU_FT
[ "<BEGIN>\n## `abspath`", "Create an absolute path.", " Parameters\n ----------\n path : str\n absolute or relative path with respect to `ref`\n ref : str or None\n reference path if `path` is relative", " Returns\n -------\n path : str\n absolute path", " Raises\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_dict_parameter_parts API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_dict_parameter_parts API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
Construct command parts for one or more parameters, each of which constitutes an assignment of the form `key=value`. Parameters ---------- configuration : dict configuration parameters : list list of parameters to create command line arguments for defaults : dict default...
"Construct command parts for one or more parameters, each of which constitutes an assignment of\n the form `key=value`.\n\n Parameters\n ----------\n configuration : dict\n configuration\n parameters : list\n list of parameters to create command line arguments for\n defaults : dict\n ...
82
false
spotify/docker_interface
build_dict_parameter_parts
21,048
LDU_FT/pyGrowler/Growler/handle_client_request
LDU_FT
[ "<BEGIN>\n## `create`", "Create a new prototype object with the argument as the source\n prototype.", " .. Note:", " This does not `initialize` the newly created object any\n more than setting its prototype.\n Calling the __init__ method is usually unnecessary as...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_client_request API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_client_request API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Entry point for the request + response middleware chain. This is called by growler.HTTPResponder (the default responder) after the headers have been processed in the begin_application method. This iterates over all middleware in the middleware list which matches the client's met...
"Entry point for the request + response middleware chain.\n This is called by growler.HTTPResponder (the default responder)\n after the headers have been processed in the begin_application\n method.\n\n This iterates over all middleware in the middleware list which\n matches the clien...
203
false
pyGrowler/Growler
handle_client_request
21,049
LDU_FT/eagleflo/mpyq/extract_to_disk
LDU_FT
[ "<BEGIN>\n## `read_table`", "Read either the hash or block table of a MPQ archive.\n<END>", "<BEGIN>\n## `get_hash_table_entry`", "Get the hash table entry corresponding to a given filename.\n<END>", "<BEGIN>\n## `extract`", "Extract all the files inside the MPQ archive in memory.\n<END>", "<BEGIN>\n## ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_to_disk API. 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 extract_to_disk API. 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...
Extract all files and write them to disk.
"Extract all files and write them to disk."
16
false
eagleflo/mpyq
extract_to_disk
21,050
LDU_FT/fhcrc/nestly/extant_file
LDU_FT
[ "<BEGIN>\n## `_delim_accum`", "Accumulator for delimited files", " Combines each file with values from JSON dictionary in same directory", " :param iterable control_files: Iterable of control files\n :param filename_template: A template for the file to nest_map\n :param keys: List of keys to selec...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extant_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extant_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
'Type' for argparse - checks that file exists but does not open.
"'Type' for argparse - checks that file exists but does not open."
73
false
fhcrc/nestly
extant_file
21,051
LDU_FT/oasiswork/zimsoap/create_task
LDU_FT
[ "<BEGIN>\n## `from_dict`", "Given a dict in python-zimbra format or XML, generate\n a Python object.\n<END>", "<BEGIN>\n## `property`", "Returns a property value", " :param: default will return that value if the property is not found,\n else, will raise a KeyError.\n<END>", "<B...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_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 extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_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 extra...
Create a task :param subject: the task's subject :param desc: the task's content in plain-text :returns: the task's id
"Create a task\n\n :param subject: the task's subject\n :param desc: the task's content in plain-text\n :returns: the task's id"
242
false
oasiswork/zimsoap
create_task
21,052
LDU_FT/wbond/csrbuilder/subject
LDU_FT
[ "<BEGIN>\n## `_writer`", "Decorator for a custom writer, but a default reader\n<END>", "<BEGIN>\n## `pem_armor_csr`", "Encodes a CSR into PEM format", " :param certification_request:\n An asn1crypto.csr.CertificationRequest object of the CSR to armor.\n Typically this is obtained from CSRBu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the subject API. 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 subject API. 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...
An asn1crypto.x509.Name object, or a dict with at least the following keys: - country_name - state_or_province_name - locality_name - organization_name - common_name Less common keys include: - organizational_unit_name - email_address ...
"An asn1crypto.x509.Name object, or a dict with at least the\n following keys:\n\n - country_name\n - state_or_province_name\n - locality_name\n - organization_name\n - common_name\n\n Less common keys include:\n\n - organizational_unit_name\n - emai...
43
false
wbond/csrbuilder
subject
21,053
LDU_FT/aheadley/python-crunchyroll/cr_login
LDU_FT
[ "<BEGIN>\n## `return_collection`", "Change method return value from raw API output to collection of models\n<END>", "<BEGIN>\n## `_do_post_request_tasks`", "Handle actions that need to be done with every response", " I'm not sure what these session_ops are actually used for yet, seems to\n be ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cr_login API. 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 cr_login API. 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...
Login using email/username and password, used to get the auth token @param str account @param str password @param str hash_id (optional)
"Login using email/username and password, used to get the auth token\n\n @param str account\n @param str password\n @param str hash_id (optional)"
100
false
aheadley/python-crunchyroll
cr_login
21,054
LDU_FT/project-ncl/pnc-cli/add_dependency
LDU_FT
[ "<BEGIN>\n## `get_environment`", "Get a specific Environment by name or ID\n<END>", "<BEGIN>\n## `create_new`", "Creates a new License", " This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please define a `callback` function\n to be invoked...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_dependency API. 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 add_dependency API. 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...
Adds a dependency to the specified config This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(res...
"Adds a dependency to the specified config\n \n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please define a `callback` function\n to be invoked when receiving the response.\n >>> def callback_function(response):\n >>> ppr...
527
false
project-ncl/pnc-cli
add_dependency
21,055
LDU_FT/mattja/sdeint/_Roessler2010_SRK2
LDU_FT
[ "<BEGIN>\n## `broadcast_to`", "Broadcast an array to a new shape.", " Parameters\n ----------\n array : array_like\n The array to broadcast.\n shape : tuple\n The shape of the desired array.\n subok : bool, optional\n If True, then sub-classes will be passed-through, otherwis...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _Roessler2010_SRK2 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 _Roessler2010_SRK2 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...
Implements the Roessler2010 order 1.0 strong Stochastic Runge-Kutta algorithms SRI2 (for Ito equations) and SRS2 (for Stratonovich equations). Algorithms SRI2 and SRS2 are almost identical and have the same extended Butcher tableaus. The difference is that Ito repeateded integrals I_ij are replaced by...
"Implements the Roessler2010 order 1.0 strong Stochastic Runge-Kutta\n algorithms SRI2 (for Ito equations) and SRS2 (for Stratonovich equations). \n\n Algorithms SRI2 and SRS2 are almost identical and have the same extended\n Butcher tableaus. The difference is that Ito repeateded integrals I_ij are\n repla...
118
false
mattja/sdeint
_Roessler2010_SRK2
21,056
LDU_FT/OTA-Insight/djangosaml2idp/create_identity
LDU_FT
[ "<BEGIN>\n## `get_user_id`", "Get identifier for a user. Take the one defined in settings.SAML_IDP_DJANGO_USERNAME_FIELD first, if not set\n use the USERNAME_FIELD property which is set on the user Model. This defaults to the user.username field.\n<END>", "<BEGIN>\n## `create_identity`", "Generate ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_identity API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_identity API. 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...
Generate an identity dictionary of the user based on the given mapping of desired user attributes by the SP
"Generate an identity dictionary of the user based on the given mapping of desired user attributes by the SP"
16
false
OTA-Insight/djangosaml2idp
create_identity
21,057
LDU_FT/Fortran-FOSS-Programmers/ford/convertToFree
LDU_FT
[ "<BEGIN>\n## `line_to_variables`", "Returns a list of variables declared in the provided line of code. The\n line of code should be provided as a string.\n<END>", "<BEGIN>\n## `parse_type`", "Gets variable type, kind, length, and/or derived-type attributes from a\n variable declaration.\n<END>", "<BEG...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convertToFree API. 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 convertToFree API. 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...
Convert stream from fixed source form to free source form.
"Convert stream from fixed source form to free source form."
76
false
Fortran-FOSS-Programmers/ford
convertToFree
21,058
LDU_FT/stevearc/dql/_maybe_replace_path
LDU_FT
[ "<BEGIN>\n## `field_or_value`", "For a clause that could be a field or value,\n create the right one and return it\n<END>", "<BEGIN>\n## `from_where`", "Factory method for creating the top-level expression\n<END>", "<BEGIN>\n## `_factory`", "Factory for joining constraints with a single conjunction\n<E...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _maybe_replace_path API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _maybe_replace_path API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Regex replacement method that will sub paths when needed
"Regex replacement method that will sub paths when needed"
157
false
stevearc/dql
_maybe_replace_path
21,059
LDU_FT/inveniosoftware-attic/invenio-comments/subscribe_user_to_discussion
LDU_FT
[ "<BEGIN>\n## `perform_request_display_comments_or_remarks`", "Returns all the comments (reviews) of a specific internal record or external basket record.\n :param recID: record id where (internal record IDs > 0) or (external basket record IDs < -100)\n :param display_order: hh = highest helpful score...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the subscribe_user_to_discussion 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 subscribe_user_to_discussion API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl...
Subscribe a user to a discussion, so the she receives by emails all new new comments for this record. :param recID: record ID corresponding to the discussion we want to subscribe the user :param uid: user id
"Subscribe a user to a discussion, so the she receives by emails\n all new new comments for this record.\n\n :param recID: record ID corresponding to the discussion we want to\n subscribe the user\n :param uid: user id"
123
false
inveniosoftware-attic/invenio-comments
subscribe_user_to_discussion
21,060
LDU_FT/project-rig/rig/issubset
LDU_FT
[ "<BEGIN>\n## `minimise`", "Remove from the routing table any entries which could be replaced by\n default routing.", " Parameters\n ----------\n routing_table : [:py:class:`~rig.routing_table.RoutingTableEntry`, ...]\n Routing table from which to remove entries which could be handled by\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the issubset API. 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 issubset API. 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...
Test whether the resources available in this machine description are a (non-strict) subset of those available in another machine. .. note:: This test being False does not imply that the this machine is a superset of the other machine; machines may have disjoint reso...
"Test whether the resources available in this machine description are\n a (non-strict) subset of those available in another machine.\n\n .. note::\n\n This test being False does not imply that the this machine is\n a superset of the other machine; machines may have disjoint\n ...
983
false
project-rig/rig
issubset
21,061
LDU_FT/ChrisCummins/labm8/mkopen
LDU_FT
[ "<BEGIN>\n## `table`", "Return a formatted string of \"list of list\" table data.", " See: http://pandas.pydata.org/pandas-docs/dev/generated/pandas.DataFrame.html", " Examples:", " >>> fmt.print([(\"foo\", 1), (\"bar\", 2)])\n 0 1\n 0 foo 1\n 1 bar 2", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mkopen API. 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 mkopen API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
A wrapper for the open() builtin which makes parent directories if needed.
"A wrapper for the open() builtin which makes parent directories if needed."
345
false
ChrisCummins/labm8
mkopen
21,062
LDU_FT/Phyks/libbmc/is_valid
LDU_FT
[ "<BEGIN>\n## `is_valid`", "Check that a given HAL id is a valid one.", " :param hal_id: The HAL id to be checked.\n :returns: Boolean indicating whether the HAL id is valid or not.", " >>> is_valid(\"hal-01258754, version 1\")\n True", " >>> is_valid(\"hal-01258754\")\n True", " >>> i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_valid API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_valid API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Check that a given arXiv ID is a valid one. :param arxiv_id: The arXiv ID to be checked. :returns: Boolean indicating whether the arXiv ID is valid or not. >>> is_valid('1506.06690') True >>> is_valid('1506.06690v1') True >>> is_valid('arXiv:1506.06690') True >>> is_valid('arXiv...
"Check that a given arXiv ID is a valid one.\n\n :param arxiv_id: The arXiv ID to be checked.\n :returns: Boolean indicating whether the arXiv ID is valid or not.\n\n >>> is_valid('1506.06690')\n True\n\n >>> is_valid('1506.06690v1')\n True\n\n >>> is_valid('arXiv:1506.06690')\n True\n\n >>> ...
271
false
Phyks/libbmc
is_valid
21,063
LDU_FT/andreasjansson/head-in-the-clouds/update
LDU_FT
[ "<BEGIN>\n## `create`", "Create a new base with specified field names\r\n A keyword argument mode can be specified ; it is used if a file\r\n with the base name already exists\r\n - if mode = 'open' : open the existing base, ignore the fields\r\n - if mode = 'override' : erase the exis...
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 record with new keys and values
"Update the record with new keys and values"
101
false
andreasjansson/head-in-the-clouds
update
21,064
LDU_FT/ehansis/ozelot/df_query
LDU_FT
[ "<BEGIN>\n## `_query`", "Base query for an url and xpath", " Args:\n url (str): URL to search\n xpath (str): xpath to search (may be ``None``)\n<END>", "<BEGIN>\n## `get`", "Get a URL via the cache.", " If the URL exists in the cache, return the cached value. Otherwise ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the df_query API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the df_query API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Run a :mod:`sqlalchemy` query and return result as a :class:`pandas.DataFrame` Args: query (sqlalchemy.orm.query.Query): query object, usually generated by :func:`session.query()` in an :class:`sqlalchemy.orm.session.Session` with_labels (bool): A query for fields with...
"Run a :mod:`sqlalchemy` query and return result as a :class:`pandas.DataFrame`\n\n Args:\n\n query (sqlalchemy.orm.query.Query): query object, usually generated by :func:`session.query()` in\n an :class:`sqlalchemy.orm.session.Session`\n\n with_labels (bool): A query for fie...
203
false
ehansis/ozelot
df_query
21,065
LDU_FT/cloud9ers/pylxc/all_as_list
LDU_FT
[ "<BEGIN>\n## `create`", "Create a new container\r\n raises ContainerAlreadyExists exception if the container name is reserved already.\r", " :param template_options: Options passed to the specified template\r\n :type template_options: list or None\n<END>", "<BEGIN>\n## `all_as_dict`", "returns a di...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the all_as_list API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the all_as_list API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
returns a list of all defined containers
"returns a list of all defined containers"
20
false
cloud9ers/pylxc
all_as_list
21,066
LDU_FT/hsolbrig/pyjsg/loads
LDU_FT
[ "<BEGIN>\n## `do_parse`", "Parse the jsg in infilename and save the results in outfilename\n :param infilename: file containing jsg\n :param outfilename: target python file\n :param verbose: verbose output flag\n :return: true if success\n<END>", "<BEGIN>\n## `parse`", "Parse the text in infile an...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the loads API. 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 loads API. 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...
Convert a JSON string into a JSGObject :param s: string representation of JSON document :param load_module: module that contains declarations for types :param kwargs: arguments see: json.load for details :return: JSGObject representing the json string
"Convert a JSON string into a JSGObject\n\n :param s: string representation of JSON document\n :param load_module: module that contains declarations for types\n :param kwargs: arguments see: json.load for details\n :return: JSGObject representing the json string"
146
false
hsolbrig/pyjsg
loads
21,067
LDU_FT/rodluger/everest/get_cdpp
LDU_FT
[ "<BEGIN>\n## `Download`", "Submits a cluster job to the build queue to download all TPFs for a given\n campaign.", " :param int campaign: The `K2` campaign to run\n :param str queue: The name of the queue to submit to. Default `build`\n :param str email: The email to send job status notifications to...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_cdpp API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_cdpp API. 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...
Computes the CDPP for a given `campaign` and a given `pipeline`. Stores the results in a file under "/missions/k2/tables/".
"Computes the CDPP for a given `campaign` and a given `pipeline`.\n Stores the results in a file under \"/missions/k2/tables/\"."
364
false
rodluger/everest
get_cdpp
21,068
LDU_FT/kervi/kervi-devices/pwm_start
LDU_FT
[ "<BEGIN>\n## `read_raw_temp`", "Reads the raw (uncompensated) temperature from the sensor.\n<END>", "<BEGIN>\n## `read_raw_pressure`", "Reads the raw (uncompensated) pressure level from the sensor.\n<END>", "<BEGIN>\n## `read_temperature`", "Gets the compensated temperature in degrees celsius.\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pwm_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 extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pwm_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 extract...
Starts the pwm signal on a channel. The channel should be defined as pwm prior to this call. If no duty_cycle or frequency is passed in this call previous values from call to define_as_pwm or pwm_start is used. :param channel: The channel to start the pwm signal on. :type c...
"Starts the pwm signal on a channel. The channel should be defined as pwm prior to this call.\n If no duty_cycle or frequency is passed in this call previous values from call to\n define_as_pwm or pwm_start is used.\n\n :param channel:\n The channel to start the pwm signal on.\n\n ...
58
false
kervi/kervi-devices
pwm_start
21,069
LDU_FT/arista-eosplus/pyeapi/_parse_hostname
LDU_FT
[ "<BEGIN>\n## `get`", "Returns the VRF configuration as a resource dict.", " Args:\n value (string): The vrf name to retrieve from the\n running configuration.", " Returns:\n A Python dict object containing the VRF attributes as\n key/value pair...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_hostname API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_hostname API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Parses the global config and returns the hostname value Returns: dict: The configured value for hostname. The returned dict object is intended to be merged into the resource dict
"Parses the global config and returns the hostname value\n\n Returns:\n dict: The configured value for hostname. The returned dict\n object is intended to be merged into the resource dict"
853
false
arista-eosplus/pyeapi
_parse_hostname
21,070
LDU_FT/dirko/pyhacrf/forward_backward
LDU_FT
[ "<BEGIN>\n## `transform`", "Transform sequence pairs to feature arrays that can be used as input to `Hacrf` models.", " Parameters\n ----------\n raw_X : List of (sequence1_n, sequence2_n) pairs, one for each training example n.\n y : (ignored)", " Returns\n -------\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the forward_backward API. 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 forward_backward API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Run the forward backward algorithm with the given parameters.
"Run the forward backward algorithm with the given parameters."
46
false
dirko/pyhacrf
forward_backward
21,071
LDU_FT/markuskiller/textblob-de/update_docs
LDU_FT
[ "<BEGIN>\n## `definite_article`", "Returns the definite article (der/die/das/die) for a given word.\n<END>", "<BEGIN>\n## `indefinite_article`", "Returns the indefinite article (ein) for a given word.\n<END>", "<BEGIN>\n## `article`", "Returns the indefinite (ein) or definite (der/die/das/die) article for...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_docs API. 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 update_docs API. 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...
Update documentation (ready for publishing new release) Usually called by ``make docs`` :param bool make_doc: generate DOC page from Makefile help messages
"Update documentation (ready for publishing new release)\n\n Usually called by ``make docs``\n\n :param bool make_doc: generate DOC page from Makefile help messages"
407
false
markuskiller/textblob-de
update_docs
21,072