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/swistakm/graceful/add_pagination_meta | LDU_FT | [
"<BEGIN>\n## `authentication_required`",
"Ensure that user is authenticated otherwise return ``401 Unauthorized``.",
" If request fails to authenticate this authorization hook will also\n include list of ``WWW-Athenticate`` challenges.",
" Args:\n req (falcon.Request): the request object.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_pagination_meta 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_pagination_meta 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... | Extend default meta dictionary value with pagination hints.
Note:
This method handler attaches values to ``meta`` dictionary without
changing it's reference. This means that you should never replace
``meta`` dictionary with any other dict instance but simply modify
... | "Extend default meta dictionary value with pagination hints.\n\n Note:\n This method handler attaches values to ``meta`` dictionary without\n changing it's reference. This means that you should never replace\n ``meta`` dictionary with any other dict instance but simply modify\n ... | 209 | false | swistakm/graceful | add_pagination_meta | 32,273 | |
LDU_FT/datosgobar/pydatajson/traverse_dict | LDU_FT | [
"<BEGIN>\n## `get_datasets`",
"Devuelve una lista de datasets del catálogo o de uno de sus metadatos.",
" Args:\n catalog (dict, str or DataJson): Representación externa/interna de un\n catálogo. Una representación _externa_ es un path local o una\n URL remota a un archivo con la... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the traverse_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the traverse_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Recorre un diccionario siguiendo una lista de claves, y devuelve
default_value en caso de que alguna de ellas no exista.
Args:
dicc (dict): Diccionario a ser recorrido.
keys (list): Lista de claves a ser recorrida. Puede contener
índices de listas y claves de diccionarios mezcladas.... | "Recorre un diccionario siguiendo una lista de claves, y devuelve\n default_value en caso de que alguna de ellas no exista.\n\n Args:\n dicc (dict): Diccionario a ser recorrido.\n keys (list): Lista de claves a ser recorrida. Puede contener\n índices de listas y claves de diccionarios mez... | 337 | false | datosgobar/pydatajson | traverse_dict | 32,274 | |
LDU_FT/zeth/inputs/emulate_wheel | LDU_FT | [
"<BEGIN>\n## `chunks`",
"Yield successive EVENT_SIZE sized chunks from raw.\n<END>",
"<BEGIN>\n## `quartz_mouse_process`",
"Single subprocess for reading mouse events on Mac using newer Quartz.\n<END>",
"<BEGIN>\n## `appkit_mouse_process`",
"Single subprocess for reading mouse events on Mac using older Ap... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the emulate_wheel API.
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 emulate_wheel API.
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... | Emulate rel values for the mouse wheel.
In evdev, a single click forwards of the mouse wheel is 1 and
a click back is -1. Windows uses 120 and -120. We floor divide
the Windows number by 120. This is fine for the digital scroll
wheels found on the vast majority of mice. It also works on... | "Emulate rel values for the mouse wheel.\n\n In evdev, a single click forwards of the mouse wheel is 1 and\n a click back is -1. Windows uses 120 and -120. We floor divide\n the Windows number by 120. This is fine for the digital scroll\n wheels found on the vast majority of mice. It also wo... | 109 | false | zeth/inputs | emulate_wheel | 32,275 | |
LDU_FT/croach/django-simple-rest/wrap_object | LDU_FT | [
"<BEGIN>\n## `calculate_signature`",
"Calculates the signature for the given request data.\n<END>",
"<BEGIN>\n## `to_json`",
"Serializes a python object as JSON",
" This method uses the DJangoJSONEncoder to to ensure that python objects\n such as Decimal objects are properly serialized. It can also se... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wrap_object API.
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 wrap_object API.
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... | Decorates the given object with the decorator function.
If obj is a method, the method is decorated with the decorator function
and returned. If obj is a class (i.e., a class based view), the methods
in the class corresponding to HTTP methods will be decorated and the
resultant class object will be ret... | "Decorates the given object with the decorator function.\n\n If obj is a method, the method is decorated with the decorator function\n and returned. If obj is a class (i.e., a class based view), the methods\n in the class corresponding to HTTP methods will be decorated and the\n resultant class object will ... | 24 | false | croach/django-simple-rest | wrap_object | 32,276 | |
LDU_FT/skorokithakis/django-annoying/autostrip | LDU_FT | [
"<BEGIN>\n## `get_object_or_None`",
"Uses get() to return an object or None if the object does not exist.",
" klass may be a Model, Manager, or QuerySet object. All other passed\n arguments and keyword arguments are used in the get() query.",
" Note: Like with get(), a MultipleObjectsReturned will be... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the autostrip API.
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 autostrip API.
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... | strip text fields before validation
example:
@autostrip
class PersonForm(forms.Form):
name = forms.CharField(min_length=2, max_length=10)
email = forms.EmailField()
Author: nail.xx | "strip text fields before validation\n\n example:\n @autostrip\n class PersonForm(forms.Form):\n name = forms.CharField(min_length=2, max_length=10)\n email = forms.EmailField()\n\n Author: nail.xx" | 30 | false | skorokithakis/django-annoying | autostrip | 32,277 | |
LDU_FT/mongodb/mongo-python-driver/advance_operation_time | LDU_FT | [
"<BEGIN>\n## `_arguments_repr`",
"Representation of the arguments used to create this object.\n<END>",
"<BEGIN>\n## `with_options`",
"Make a copy of this CodecOptions, overriding some options::",
" >>> from bson.codec_options import DEFAULT_CODEC_OPTIONS\n >>> DEFAULT_CODEC_OPTIONS.tz_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the advance_operation_time API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the advance_operation_time API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Update the operation time for this session.
:Parameters:
- `operation_time`: The
:data:`~pymongo.client_session.ClientSession.operation_time` from
another `ClientSession` instance. | "Update the operation time for this session.\n\n :Parameters:\n - `operation_time`: The\n :data:`~pymongo.client_session.ClientSession.operation_time` from\n another `ClientSession` instance." | 908 | false | mongodb/mongo-python-driver | advance_operation_time | 32,278 | |
LDU_FT/ilgarm/pyzimbra/build_opener | LDU_FT | [
"<BEGIN>\n## `authenticate`",
"Authenticates account, if no password given tries to pre-authenticate.\n @param transport: transport to use for method calls\n @param account_name: account name\n @param password: account password\n @return: AuthToken if authentication succeeded\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_opener API.
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 build_opener API.
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... | Builds url opener, initializing proxy.
@return: OpenerDirector | "Builds url opener, initializing proxy.\n @return: OpenerDirector" | 32 | false | ilgarm/pyzimbra | build_opener | 32,279 | |
LDU_FT/ericjang/tdb/error_rate | LDU_FT | [
"<BEGIN>\n## `s`",
"step to the next node in the execution order\n<END>",
"<BEGIN>\n## `get_values`",
"returns final values (same result as tf.Session.run())\n<END>",
"<BEGIN>\n## `_init_evals_bps`",
"HTOps may depend on tf.Tensors that are not in eval. We need to have all inputs to HTOps ready\n\t\tupon ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the error_rate API.
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 error_rate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Return the error rate based on dense predictions and 1-hot labels. | "Return the error rate based on dense predictions and 1-hot labels." | 35 | false | ericjang/tdb | error_rate | 32,280 | |
LDU_FT/pytroll/posttroll/heartbeat | LDU_FT | [
"<BEGIN>\n## `restart_listener`",
"Restart listener after configuration update.\n<END>",
"<BEGIN>\n## `create_subscriber`",
"Create a subscriber instance using specified addresses and\n message types.\n<END>",
"<BEGIN>\n## `heartbeat`",
"Send a heartbeat ... but only if *min_interval* seconds has p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the heartbeat API.
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 heartbeat API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Send a heartbeat ... but only if *min_interval* seconds has passed
since last beat. | "Send a heartbeat ... but only if *min_interval* seconds has passed\n since last beat." | 46 | false | pytroll/posttroll | heartbeat | 32,281 | |
LDU_FT/inasafe/inasafe/impact_table_extractor | LDU_FT | [
"<BEGIN>\n## `dict`",
"dictionary representation of the metadata.",
" :return: dictionary representation of the metadata\n :rtype: dict\n<END>",
"<BEGIN>\n## `xml`",
"xml representation of the metadata.",
" :return: xml representation of the metadata\n :rtype: ElementTree.Eleme... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the impact_table_extractor 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 impact_table_extractor API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Extracting impact summary of the impact layer.
:param impact_report: the impact report that acts as a proxy to fetch
all the data that extractor needed
:type impact_report: safe.report.impact_report.ImpactReport
:param component_metadata: the component metadata. Used to obtain
information ... | "Extracting impact summary of the impact layer.\n\n :param impact_report: the impact report that acts as a proxy to fetch\n all the data that extractor needed\n :type impact_report: safe.report.impact_report.ImpactReport\n\n :param component_metadata: the component metadata. Used to obtain\n info... | 4,163 | true | inasafe/inasafe | impact_table_extractor | 32,282 | |
LDU_FT/dj-stripe/dj-stripe/handle | LDU_FT | [
"<BEGIN>\n## `stripe_to_db`",
"Convert the raw value to decimal representation.\n<END>",
"<BEGIN>\n## `stripe_to_db`",
"Convert the raw timestamp value to a DateTime representation.\n<END>",
"<BEGIN>\n## `from_request`",
"Create, validate and process a WebhookEventTrigger given a Django\n\t\trequest objec... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle API.
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 handle API.
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 ... | Call sync_from_stripe_data for each plan returned by api_list. | "Call sync_from_stripe_data for each plan returned by api_list." | 300 | false | dj-stripe/dj-stripe | handle | 32,283 | |
LDU_FT/ZELLMECHANIK-DRESDEN/dclab/get_bright | LDU_FT | [
"<BEGIN>\n## `tdms2rtdc`",
"Convert .tdms datasets to the hdf5-based .rtdc file format\n<END>",
"<BEGIN>\n## `load_from_file`",
"Load the configuration from a file",
" Parameters\n ----------\n cfg_file: str\n Path to configuration file",
" Returns\n -------\n cfg : CaseInsensitiv... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_bright API.
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_bright API.
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... | Compute avg and/or std of the event brightness
The event brightness is defined by the gray-scale values of the
image data within the event mask area.
Parameters
----------
mask: ndarray or list of ndarrays of shape (M,N) and dtype bool
The mask values, True where the event is located in `i... | "Compute avg and/or std of the event brightness\n\n The event brightness is defined by the gray-scale values of the\n image data within the event mask area.\n\n Parameters\n ----------\n mask: ndarray or list of ndarrays of shape (M,N) and dtype bool\n The mask values, True where the event is loca... | 433 | false | ZELLMECHANIK-DRESDEN/dclab | get_bright | 32,284 | |
LDU_FT/jepegit/cellpy/read_VMP_modules | LDU_FT | [
"<BEGIN>\n## `search_for_files`",
"Searches for files (raw-data files and cellpy-files).",
" Args:\n run_name(str): run-file identification.\n raw_extension(str): optional, extension of run-files (without the '.').\n cellpy_file_extension(str): optional, extension for cellpy files\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_VMP_modules API.
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 read_VMP_modules API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Reads in module headers in the VMPmodule_hdr format. Yields a dict with
the headers and offset for each module.
N.B. the offset yielded is the offset to the start of the data i.e. after
the end of the header. The data runs from (offset) to (offset+length) | "Reads in module headers in the VMPmodule_hdr format. Yields a dict with\n the headers and offset for each module.\n\n N.B. the offset yielded is the offset to the start of the data i.e. after\n the end of the header. The data runs from (offset) to (offset+length)" | 393 | false | jepegit/cellpy | read_VMP_modules | 32,285 | |
LDU_FT/openspending/babbage/concepts | LDU_FT | [
"<BEGIN>\n## `count_results`",
"Get the count of records matching the query.\n<END>",
"<BEGIN>\n## `generate_results`",
"Generate the resulting records for this query, applying pagination.\n Values will be returned by their reference.\n<END>",
"<BEGIN>\n## `apply`",
"Sort on a set of field specificatio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the concepts API.
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 concepts API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Return all existing concepts, i.e. dimensions, measures and
attributes within the model. | "Return all existing concepts, i.e. dimensions, measures and\n attributes within the model." | 66 | false | openspending/babbage | concepts | 32,286 | |
LDU_FT/NetworkAutomation/jaide/lock | LDU_FT | [
"<BEGIN>\n## `check_instance`",
"Wrapper that tests the type of _session.",
" Purpose: This decorator function is used by all functions within\n | the Jaide class that interact with a device to ensure the\n | proper session type is in use. If it is not, it will\n | ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lock API.
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 lock API.
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... | Lock the candidate config. Requires ncclient.manager.Manager. | "Lock the candidate config. Requires ncclient.manager.Manager." | 191 | false | NetworkAutomation/jaide | lock | 32,287 | |
LDU_FT/jmoiron/johnny-cache/invalidate | LDU_FT | [
"<BEGIN>\n## `disallowed_table`",
"Returns True if a set of tables is in the blacklist or, if a whitelist is set,\n any of the tables is not in the whitelist. False otherwise.\n<END>",
"<BEGIN>\n## `invalidate`",
"Invalidate the current generation for one or more tables. The arguments\n can be either s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the invalidate API.
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 invalidate API.
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... | Invalidate the current generation for one or more tables. The arguments
can be either strings representing database table names or models. Pass in
kwarg ``using`` to set the database. | "Invalidate the current generation for one or more tables. The arguments\n can be either strings representing database table names or models. Pass in\n kwarg ``using`` to set the database." | 38 | false | jmoiron/johnny-cache | invalidate | 32,288 | |
LDU_FT/henrysher/kotocore/html_to_rst | LDU_FT | [
"<BEGIN>\n## `get_version`",
"Returns a string-ified version number.",
" Optionally accepts a ``full`` parameter, which if ``True``, will include\n any pre-release information. (Default: ``False``)\n<END>",
"<BEGIN>\n## `requires_loaded`",
"A decorator to ensure the resource data is loaded.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the html_to_rst API.
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 html_to_rst API.
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... | Converts the service HTML docs to reStructured Text, for use in docstrings.
:param html: The raw HTML to convert
:type html: string
:returns: A reStructured Text formatted version of the text
:rtype: string | "Converts the service HTML docs to reStructured Text, for use in docstrings.\n\n :param html: The raw HTML to convert\n :type html: string\n\n :returns: A reStructured Text formatted version of the text\n :rtype: string" | 198 | false | henrysher/kotocore | html_to_rst | 32,289 | |
LDU_FT/marrow/mongo/to_native | LDU_FT | [
"<BEGIN>\n## `process_fields`",
"Process a list of simple string field definitions and assign their order based on prefix.\n<END>",
"<BEGIN>\n## `create`",
"Create this index in the specified collection; keyword arguments are passed to PyMongo.",
"\t\thttp://api.mongodb.com/python/current/api/pymongo/collec... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_native API.
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 to_native API.
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... | Transform the MongoDB value into a Marrow Mongo value. | "Transform the MongoDB value into a Marrow Mongo value." | 175 | false | marrow/mongo | to_native | 32,290 | |
LDU_FT/Frzk/Ellis/wait | LDU_FT | [
"<BEGIN>\n## `_prepare`",
"Updates the function arguments and creates a :class:`asyncio.Task`\n from the Action.",
" *kwargs* is an optional dictionnary of additional arguments to pass to\n the Action function.",
" .. warning::\n *kwargs* will overwrite existing keys in ... | 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... | Does nothing for *sec* seconds and then prints out a message.
.. note:: This function **is not** blocking.
.. seealso:: :func:`blocking_wait`
:param sec: Time to wait, in seconds.
:param kwargs: Additional parameters. | "Does nothing for *sec* seconds and then prints out a message.\n\n .. note:: This function **is not** blocking.\n\n .. seealso:: :func:`blocking_wait`\n\n :param sec: Time to wait, in seconds.\n :param kwargs: Additional parameters." | 106 | false | Frzk/Ellis | wait | 32,291 | |
LDU_FT/thilux/tvdb_client/get_user_ratings | LDU_FT | [
"<BEGIN>\n## `__get_header_with_auth`",
"This private method returns the HTTP heder filled with the Authorization information with the user token.\n The token validity is monitored whenever this function is called, so according to the swagger page of TheTVDB\n (https://api.thetvdb.com/swagger) the t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_user_ratings API.
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_user_ratings API.
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 the ratings for the type of item provided, for the current user.
:param item_type: One of: series, episode or banner.
:return: a python dictionary with either the result of the search or an error from TheTVDB. | "Returns a list of the ratings for the type of item provided, for the current user.\n\n :param item_type: One of: series, episode or banner.\n :return: a python dictionary with either the result of the search or an error from TheTVDB." | 58 | false | thilux/tvdb_client | get_user_ratings | 32,292 | |
LDU_FT/etobella/python-xmlsig/load_pkcs12 | LDU_FT | [
"<BEGIN>\n## `sign`",
"Signs a Signature node\n :param node: Signature node \n :type node: lxml.etree.Element\n :return: None\n<END>",
"<BEGIN>\n## `fill_key_info`",
"Fills the KeyInfo node\n :param key_info: KeyInfo node \n :type key_info: lxml.etree.Element\n :param... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_pkcs12 API.
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 load_pkcs12 API.
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... | This function fills the context public_key, private_key and x509 from
PKCS12 Object
:param key: the PKCS12 Object
:type key: OpenSSL.crypto.PKCS12
:return: None | "This function fills the context public_key, private_key and x509 from \n PKCS12 Object\n :param key: the PKCS12 Object\n :type key: OpenSSL.crypto.PKCS12\n :return: None" | 36 | false | etobella/python-xmlsig | load_pkcs12 | 32,293 | |
LDU_FT/byu-dml/metalearn/profile_distribution | LDU_FT | [
"<BEGIN>\n## `get_canonical_correlations`",
"computes the correlation coefficient between each distinct pairing of columns\n preprocessing note:\n any rows with missing values (in either paired column) are dropped for that pairing\n categorical columns are replaced with one-hot encoded columns\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the profile_distribution 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 profile_distribution API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Compute the mean, standard deviation, min, quartile1, quartile2, quartile3, and max of a vector
Parameters
----------
data: array of real values
Returns
-------
features = dictionary containing the min, max, mean, and standard deviation | "Compute the mean, standard deviation, min, quartile1, quartile2, quartile3, and max of a vector\n\n Parameters\n ----------\n data: array of real values\n\n Returns\n -------\n features = dictionary containing the min, max, mean, and standard deviation" | 14 | false | byu-dml/metalearn | profile_distribution | 32,294 | |
LDU_FT/tevino/mongu/from_dict | LDU_FT | [
"<BEGIN>\n## `enable_counter`",
"Register the builtin counter model, return the registered Counter\n class and the corresponding ``CounterMixin`` class.",
" The ``CounterMixin`` automatically increases and decreases the counter\n after model creation(save without ``_id``) and deletion.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Build model object from a dict. Will be removed in v1.0 | "Build model object from a dict. Will be removed in v1.0" | 16 | false | tevino/mongu | from_dict | 32,295 | |
LDU_FT/6809/MC6809/instruction_COM_register | LDU_FT | [
"<BEGIN>\n## `instruction_RTS`",
"Program control is returned from the subroutine to the calling program.\n The return address is pulled from the stack.",
" source code forms: RTS",
" CC bits \"HNZVC\": -----\n<END>",
"<BEGIN>\n## `instruction_BSR_JSR`",
"Program control is transferre... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the instruction_COM_register 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 instruction_COM_register API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Replaces the contents of accumulator A or B with its logical complement.
source code forms: COMA; COMB | "Replaces the contents of accumulator A or B with its logical complement.\n source code forms: COMA; COMB" | 224 | false | 6809/MC6809 | instruction_COM_register | 32,296 | |
LDU_FT/globality-corp/microcosm/resolve | LDU_FT | [
"<BEGIN>\n## `get_root_path`",
"Attempt to compute a root path for a (hopefully importable) name.",
" Based in part on Flask's `root_path` calculation. See:",
" https://github.com/mitsuhiko/flask/blob/master/flask/helpers.py#L777\n<END>",
"<BEGIN>\n## `zip_dicts`",
"Modified zip through ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resolve API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resolve API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Resolve a key to a factory.
Attempts to resolve explicit bindings and entry points, preferring
explicit bindings.
:raises NotBoundError: if the key cannot be resolved | "Resolve a key to a factory.\n\n Attempts to resolve explicit bindings and entry points, preferring\n explicit bindings.\n\n :raises NotBoundError: if the key cannot be resolved" | 68 | false | globality-corp/microcosm | resolve | 32,297 | |
LDU_FT/ToFuProject/tofu/isInside | LDU_FT | [
"<BEGIN>\n## `Struct_plot`",
"Plot the projections of a list of Struct subclass instances",
" D. VEZINET, Aug. 2014\n Inputs :\n V A Ves instance\n Nstep An int (the number of points for evaluation of theta by np.linspace)\n axP A plt.Axes instance (if given) on... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the isInside API.
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 isInside API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Return an array of booleans indicating whether each point lies
inside the Struct volume
Tests for each point whether it lies inside the Struct object.
The points coordinates can be provided in 2D or 3D
You must specify which coordinate system is used with 'In' kwdarg.
An array o... | "Return an array of booleans indicating whether each point lies\n inside the Struct volume\n\n Tests for each point whether it lies inside the Struct object.\n The points coordinates can be provided in 2D or 3D\n You must specify which coordinate system is used with 'In' kwdarg.\n An ... | 424 | false | ToFuProject/tofu | isInside | 32,298 | |
LDU_FT/saulpw/visidata/expand_cols_deep | LDU_FT | [
"<BEGIN>\n## `expand_cols_deep`",
"expand all visible columns of containers to the given depth (0=fully)\n<END>",
"<BEGIN>\n## `load_pyobj`",
"Return Sheet object of appropriate type for given sources in `args`.\n<END>",
"<BEGIN>\n## `getPublicAttrs`",
"Return all public attributes (not methods or `_`-pre... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the expand_cols_deep API.
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 expand_cols_deep API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | expand all visible columns of containers to the given depth (0=fully) | "expand all visible columns of containers to the given depth (0=fully)" | 249 | false | saulpw/visidata | expand_cols_deep | 32,299 | |
LDU_FT/Carbonara-Project/Guanciale/name | LDU_FT | [
"<BEGIN>\n## `idaunpack`",
"Special data packing format, used in struct definitions, and .id2 files\r",
" sdk functions: pack_dd etc.\n<END>",
"<BEGIN>\n## `binary_search`",
"Do a binary search in an array of objects ordered by '.key'\r",
" returns the largest index for which: a[i].key <= k\r",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | resolves a name, both short and long names. | "resolves a name, both short and long names." | 44 | false | Carbonara-Project/Guanciale | name | 32,300 | |
LDU_FT/buguroo/pyknow/remove | LDU_FT | [
"<BEGIN>\n## `changes`",
"Pass the given changes to the root_node.\n<END>",
"<BEGIN>\n## `build_alpha_part`",
"Given a set of already adapted rules, build the alpha part of\n the RETE network starting at `root_node`.\n<END>",
"<BEGIN>\n## `build_beta_part`",
"Given a set of already adapted rules, a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove API.
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 remove API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Create an INVALID token and send it to all children. | "Create an INVALID token and send it to all children." | 78 | false | buguroo/pyknow | remove | 32,301 | |
LDU_FT/asascience-open/paegan-transport/cycles | LDU_FT | [
"<BEGIN>\n## `export`",
"Export particle data to CF trajectory convention\n netcdf file\n<END>",
"<BEGIN>\n## `export`",
"Export particle and datetime data to Pickled objects.\n This can be used to debug or to generate different output\n in the future.\n<END>",
"<BEGIN>\n## ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cycles API.
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 cycles API.
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 ... | Classmethod for convienence in returning both the sunrise and sunset
based on a location and date. Always calculates the sunrise and sunset on the
given date, no matter the time passed into the function in the datetime object.
Parameters:
loc = Location4D (object)
O... | "Classmethod for convienence in returning both the sunrise and sunset\n based on a location and date. Always calculates the sunrise and sunset on the\n given date, no matter the time passed into the function in the datetime object.\n\n Parameters:\n loc = Location4D (object)\n ... | 98 | false | asascience-open/paegan-transport | cycles | 32,302 | |
LDU_FT/googleapis/google-cloud-python/_do_resumable_upload | LDU_FT | [
"<BEGIN>\n## `_verify_params`",
"Verifies the parameters don't use any reserved parameter.",
" Raises:\n ValueError: If a reserved parameter is used.\n<END>",
"<BEGIN>\n## `_next_page`",
"Get the next page in the iterator.",
" Returns:\n Optional[Page]: The next page in... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _do_resumable_upload 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 _do_resumable_upload API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Perform a resumable upload.
Assumes ``chunk_size`` is not :data:`None` on the current blob.
The content type of the upload will be determined in order
of precedence:
- The value passed in to this method (if not :data:`None`)
- The value stored on the current blob
- The... | "Perform a resumable upload.\n\n Assumes ``chunk_size`` is not :data:`None` on the current blob.\n\n The content type of the upload will be determined in order\n of precedence:\n\n - The value passed in to this method (if not :data:`None`)\n - The value stored on the current blob\n ... | 7,029 | true | googleapis/google-cloud-python | _do_resumable_upload | 32,303 | |
LDU_FT/pokerregion/poker/append_note | LDU_FT | [
"<BEGIN>\n## `get_ranked_players`",
"Get the list of the first 100 ranked players.\n<END>",
"<BEGIN>\n## `difference`",
"Tells the numerical difference between two ranks.\n<END>",
"<BEGIN>\n## `range_`",
"Prints the given range in a formatted table either in a plain ASCII or HTML.\n The only required a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the append_note API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the append_note API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Append text to an already existing note. | "Append text to an already existing note." | 32 | false | pokerregion/poker | append_note | 32,304 | |
LDU_FT/stevearc/dql/format_throughput | 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 format_throughput API.
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 format_throughput API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Format the read/write throughput for display | "Format the read/write throughput for display" | 157 | false | stevearc/dql | format_throughput | 32,305 | |
LDU_FT/inveniosoftware/invenio-oauth2server/init_app | LDU_FT | [
"<BEGIN>\n## `require_api_auth`",
"Decorator to require API authentication using OAuth token.",
" :param allow_anonymous: Allow access without OAuth token\n (default: ``False``).\n<END>",
"<BEGIN>\n## `require_oauth_scopes`",
"r\"\"\"Decorator to require a list of OAuth scopes.",
" Decorator ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init_app API.
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 init_app API.
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... | Flask application initialization.
:param app: An instance of :class:`flask.Flask`. | "Flask application initialization.\n\n :param app: An instance of :class:`flask.Flask`." | 92 | false | inveniosoftware/invenio-oauth2server | init_app | 32,306 | |
LDU_FT/hufman/flask_rdf/decorate | LDU_FT | [
"<BEGIN>\n## `output`",
"Formats a response from a view to handle any RDF graphs\n\t\t If a view function returns an RDF graph, serialize it based on Accept header\n\t\t If it's not an RDF graph, return it without any special handling\n<END>",
"<BEGIN>\n## `decorate`",
"Wraps a view function to return f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decorate API.
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 decorate API.
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... | Wraps a view function to return formatted RDF graphs
Uses content negotiation to serialize the graph to the client-preferred format
Passes other content through unmodified | "Wraps a view function to return formatted RDF graphs\n\t\t Uses content negotiation to serialize the graph to the client-preferred format\n\t\t Passes other content through unmodified" | 26 | false | hufman/flask_rdf | decorate | 32,307 | |
LDU_FT/eirannejad/Revit-Journal-Maker/write_journal | LDU_FT | [
"<BEGIN>\n## `_init_journal`",
"Add the initialization lines to the journal.",
" By default adds JrnObj variable and timestamp to the journal contents.",
" Args:\n permissive (bool): if True most errors in journal will not\n cause Revit to stop journal ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_journal API.
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 write_journal API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Write the constructed journal in to the provided file.
Args:
journal_file_path (str): full path to output journal file | "Write the constructed journal in to the provided file.\n\n Args:\n journal_file_path (str): full path to output journal file" | 57 | false | eirannejad/Revit-Journal-Maker | write_journal | 32,308 | |
LDU_FT/mrcagney/make_gtfs/build_agency | LDU_FT | [
"<BEGIN>\n## `make_gtfs`",
"Create a GTFS feed from the files in the directory SOURCE_PATH.\n See the project README for a description of the required source\n files.\n Save the feed to the file or directory TARGET_PATH.\n If the target path ends in '.zip', then write the feed as a zip\n archive.\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_agency API.
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 build_agency API.
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 a ProtoFeed, return a DataFrame representing ``agency.txt`` | "Given a ProtoFeed, return a DataFrame representing ``agency.txt``" | 67 | false | mrcagney/make_gtfs | build_agency | 32,309 | |
LDU_FT/fabaff/python-mystrom/write_config | LDU_FT | [
"<BEGIN>\n## `set_color_hsv`",
"Turn the bulb on with the given values as HSV.\n<END>",
"<BEGIN>\n## `set_flashing`",
"Turn the bulb on, flashing with two colors.\n<END>",
"<BEGIN>\n## `read_config`",
"Read the current configuration of a myStrom device.\n<END>",
"<BEGIN>\n## `write_config`",
"Write th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Write the current configuration of a myStrom button. | "Write the current configuration of a myStrom button." | 14 | false | fabaff/python-mystrom | write_config | 32,310 | |
LDU_FT/rosshamish/catan-py/_get_tiles | LDU_FT | [
"<BEGIN>\n## `do`",
"Does the command using the undo_manager's stack\n :param command: Command\n<END>",
"<BEGIN>\n## `restore`",
"Restore this Game object to match the properties and state of the given Game object\n :param game: properties to restore to the current (self) Game\n<END>",
"<BEGIN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_tiles API.
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_tiles API.
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... | Generate a list of tiles using the given terrain and numbers options.
terrain options supported:
- Opt.empty -> all tiles are desert
- Opt.random -> tiles are randomized
- Opt.preset ->
- Opt.debug -> alias for Opt.random
numbers options supported:
- Opt.empty -> no tiles have numbers
... | "Generate a list of tiles using the given terrain and numbers options.\n\n terrain options supported:\n - Opt.empty -> all tiles are desert\n - Opt.random -> tiles are randomized\n - Opt.preset ->\n - Opt.debug -> alias for Opt.random\n\n numbers options supported:\n - Opt.empty -> no tiles have nu... | 52 | false | rosshamish/catan-py | _get_tiles | 32,311 | |
LDU_FT/gpennington/PyMarvel/next | LDU_FT | [
"<BEGIN>\n## `get_comics`",
"Returns a full ComicDataWrapper object for this creator.",
" /creators/{creatorId}/comics",
" :returns: ComicDataWrapper -- A new request to API. Contains full results set.\n<END>",
"<BEGIN>\n## `get_events`",
"Returns a full EventDataWrapper object for this cre... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the next API.
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 next API.
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 new CharacterDataWrapper
TODO: Don't raise offset past count - limit | "Returns new CharacterDataWrapper\n TODO: Don't raise offset past count - limit" | 109 | false | gpennington/PyMarvel | next | 32,312 | |
LDU_FT/aeguana/PyFileMaker/_setComparasionOperator | LDU_FT | [
"<BEGIN>\n## `key_dict`",
"Returns dict from_dict['unicode_save_field'] = 'original key with unicode'\n<END>",
"<BEGIN>\n## `makeFMData`",
"Returns FMData structure which is initialized by given dictionary\n<END>",
"<BEGIN>\n## `_setMaxRecords`",
"Specifies the maximum number of records you want returned ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _setComparasionOperator 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 _setComparasionOperator API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Sets correct operator for given string representation | "Sets correct operator for given string representation" | 52 | false | aeguana/PyFileMaker | _setComparasionOperator | 32,313 | |
LDU_FT/raiden-network/raiden/closing_address | LDU_FT | [
"<BEGIN>\n## `events_for_onchain_secretreveal`",
"Emits the event for revealing the secret on-chain if the transfer\n can not be settled off-chain.\n<END>",
"<BEGIN>\n## `handle_inittarget`",
"Handles an ActionInitTarget state change.\n<END>",
"<BEGIN>\n## `handle_offchain_secretreveal`",
"Validates an... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the closing_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.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the closing_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.
The e... | Returns the address of the closer, if the channel is closed and not settled. None
otherwise. | "Returns the address of the closer, if the channel is closed and not settled. None\n otherwise." | 1,120 | true | raiden-network/raiden | closing_address | 32,314 | |
LDU_FT/push-things/django-th/reset_failed | LDU_FT | [
"<BEGIN>\n## `available_services`",
"get the available services to be activated",
" read the models dir to find the services installed\n to be added to the system by the administrator\n<END>",
"<BEGIN>\n## `handle`",
"get all the triggers that need to be handled\n<END>",
"<BEGIN>\n## `read_d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reset_failed API.
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 reset_failed API.
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... | reset failed counter
:param pk:
:return: | "reset failed counter\n :param pk:\n :return:" | 277 | false | push-things/django-th | reset_failed | 32,315 | |
LDU_FT/guaix-ucm/pyemir/list_slitlets_from_string | LDU_FT | [
"<BEGIN>\n## `merge2images`",
"Merge 2 EMIR images, averaging the common region.",
" Parameters\n ----------\n hdu1 : HDUList object\n Input image #1.\n hdu2 : HDUList object\n Input image #2.\n debugplot : int\n Determines whether intermediate computations and/or plots\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_slitlets_from_string API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_slitlets_from_string API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Return list of slitlets from string specification.
Parameters
----------
s : string
String defining the slitlets. The slitlets must be specify
as a set of n1[,n2[,step]] tuples. If only n1 is provided,
the slitlet number n1 is considered. When n1 and n2 are given
but step is... | "Return list of slitlets from string specification.\n\n Parameters\n ----------\n s : string\n String defining the slitlets. The slitlets must be specify\n as a set of n1[,n2[,step]] tuples. If only n1 is provided,\n the slitlet number n1 is considered. When n1 and n2 are given\n bu... | 282 | false | guaix-ucm/pyemir | list_slitlets_from_string | 32,316 | |
LDU_FT/adamalton/django-csp-reports/get_additional_handlers | LDU_FT | [
"<BEGIN>\n## `get_root_uri`",
"Return root URI - strip query and fragment.\n<END>",
"<BEGIN>\n## `collect`",
"Collect the CSP report.",
" @returntype: CspReportSummary\n<END>",
"<BEGIN>\n## `nice_report`",
"Return a nicely formatted original report.\n<END>",
"<BEGIN>\n## `from_message`",
"Creates... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_additional_handlers API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_additional_handlers API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Returns the actual functions from the dotted paths specified in ADDITIONAL_HANDLERS. | "Returns the actual functions from the dotted paths specified in ADDITIONAL_HANDLERS." | 25 | false | adamalton/django-csp-reports | get_additional_handlers | 32,317 | |
LDU_FT/AnthonyBloomer/daftlistings/images | LDU_FT | [
"<BEGIN>\n## `set_address`",
"Set the address.\n :param address:\n<END>",
"<BEGIN>\n## `set_min_lease`",
"Set the minimum lease period in months.\n :param min_lease: int\n<END>",
"<BEGIN>\n## `set_added_since`",
"Set this to retrieve ads that are a given number of days old.\n For exam... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the images API.
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 images API.
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 ... | This method returns the listing image.
:return: | "This method returns the listing image.\n :return:" | 96 | false | AnthonyBloomer/daftlistings | images | 32,318 | |
LDU_FT/choderalab/pymbar/read_total_energies | LDU_FT | [
"<BEGIN>\n## `read_file`",
"Read contents of the specified file.",
" Parameters:\n -----------\n filename : str\n The name of the file to be read",
" Returns:\n lines : list of str\n The contents of the file, split by line\n<END>",
"<BEGIN>\n## `getFreeEnergyDifferences`",
"Get the dim... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_total_energies 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 read_total_energies 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... | Reads in the TEMP#/ener_box#.output file and parses it, returning an array of energies
ARGUMENTS
filename (string) - the path to the folder of the simulation
colnum (integer) column the energy is found in | "Reads in the TEMP#/ener_box#.output file and parses it, returning an array of energies\n\n ARGUMENTS\n filename (string) - the path to the folder of the simulation\n\tcolnum (integer) column the energy is found in" | 533 | false | choderalab/pymbar | read_total_energies | 32,319 | |
LDU_FT/ralphbean/taskw/task_done | LDU_FT | [
"<BEGIN>\n## `_stub_task`",
"Given a description, stub out a task dict.\n<END>",
"<BEGIN>\n## `_extract_annotations_from_task`",
"Removes annotations from a task and returns a list of annotations\n<END>",
"<BEGIN>\n## `task_add`",
"Add a new task.",
" Takes any of the keywords allowed by taskwarr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the task_done API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the task_done API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Marks a pending task as done, optionally specifying a completion
date with the 'end' argument. | "Marks a pending task as done, optionally specifying a completion\n date with the 'end' argument." | 62 | false | ralphbean/taskw | task_done | 32,320 | |
LDU_FT/Lagg/steamodd/equipped | LDU_FT | [
"<BEGIN>\n## `get`",
"Returns context data for a given app, can be an ID or a case insensitive name\n<END>",
"<BEGIN>\n## `hash_name`",
"The URL-friendly identifier for the item. Generates its own approximation if one isn't available\n<END>",
"<BEGIN>\n## `quality`",
"Can't really trust presence of a sche... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the equipped API.
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 equipped API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Returns a dict of classes that have the item equipped and in what slot | "Returns a dict of classes that have the item equipped and in what slot" | 49 | false | Lagg/steamodd | equipped | 32,321 | |
LDU_FT/sergiocorreia/panflute/ancestor | LDU_FT | [
"<BEGIN>\n## `gabc`",
"Handle gabc file inclusion and gabc code block.\n<END>",
"<BEGIN>\n## `load`",
"Load JSON-encoded document and return a :class:`.Doc` element.",
" The JSON input will be read from :data:`sys.stdin` unless an alternative\n text stream is given (a file handle).",
" To load fr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ancestor API.
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 ancestor API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Return the n-th ancestor.
Note that ``elem.ancestor(1) == elem.parent``
:rtype: :class:`Element` | ``None`` | "Return the n-th ancestor.\n Note that ``elem.ancestor(1) == elem.parent``\n\n :rtype: :class:`Element` | ``None``" | 120 | false | sergiocorreia/panflute | ancestor | 32,322 | |
LDU_FT/dourvaris/nano-python/blocks | LDU_FT | [
"<BEGIN>\n## `signature_unsafe`",
"Not safe to use with secret keys or secret data.\n See module docstring. This function should be used for testing only.\n<END>",
"<BEGIN>\n## `checkvalid`",
"Not safe to use when any argument is secret.\n See module docstring. This function should be used only for\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the blocks API.
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 blocks API.
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 ... | Retrieves a json representations of **blocks**
:param hashes: List of block hashes to return
:type hashes: list of str
:raises: :py:exc:`nano.rpc.RPCException`
>>> rpc.blocks(
... hashes=["000D1BAEC8EC208142C99059B393051BAC8380F9B5A2E6B2489A277D81789F3F"]
... )
... | "Retrieves a json representations of **blocks**\n\n :param hashes: List of block hashes to return\n :type hashes: list of str\n\n :raises: :py:exc:`nano.rpc.RPCException`\n\n >>> rpc.blocks(\n ... hashes=[\"000D1BAEC8EC208142C99059B393051BAC8380F9B5A2E6B2489A277D81789F3F\"]\n ... | 574 | false | dourvaris/nano-python | blocks | 32,323 | |
LDU_FT/aglie/meerkat/rotvec2mat | LDU_FT | [
"<BEGIN>\n## `rotvec2mat`",
"Convert rotation from axis and angle to matrix representation\n<END>",
"<BEGIN>\n## `det2lab_xds`",
"Converts pixels coordinates from the frame into q-vector\n<END>",
"<BEGIN>\n## `r_get_numbers`",
"A helper function which can be used similarly to fscanf(fid,'%f',num) to extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rotvec2mat API.
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 rotvec2mat API.
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... | Convert rotation from axis and angle to matrix representation | "Convert rotation from axis and angle to matrix representation" | 14 | false | aglie/meerkat | rotvec2mat | 32,324 | |
LDU_FT/earlye/nephele/do_profile | LDU_FT | [
"<BEGIN>\n## `do_mfa`",
"Enter a 6-digit MFA token. Nephele will execute the appropriate\n `aws` command line to authenticate that token. ",
" mfa -h for more details\n<END>",
"<BEGIN>\n## `do_up`",
"Navigate up by one level.",
" For example, if you are in `(aws)/stack:.../asg:.../`, ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_profile API.
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 do_profile API.
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... | Select nephele profile
profile -h for more details | "Select nephele profile\n\n profile -h for more details" | 52 | false | earlye/nephele | do_profile | 32,325 | |
LDU_FT/LionelAuroux/cnorm/type | LDU_FT | [
"<BEGIN>\n## `declfuncs`",
"generator on all declaration of functions\n<END>",
"<BEGIN>\n## `func`",
"return the first func defined named name\n<END>",
"<BEGIN>\n## `type`",
"return the first complete definition of type 'name\n<END>",
"<BEGIN>\n## `declallfuncs`",
"generator on all declaration of func... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | return the first complete definition of type 'name | "return the first complete definition of type 'name" | 10 | false | LionelAuroux/cnorm | type | 32,326 | |
LDU_FT/inveniosoftware-attic/invenio-knowledge/delete_kb | LDU_FT | [
"<BEGIN>\n## `load`",
"Load given file into knowledge base.",
" Simply load data into an existing knowledge base:",
" .. code-block:: console",
" $ inveniomanage knowledge load mykb /path/to/file.kb",
" The file is expected to have a mapping with values: ``foo<seperator>bar``\n (per lin... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_kb API.
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 delete_kb API.
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... | Delete given kb from database.
:param kb_name: knowledge base name | "Delete given kb from database.\n\n :param kb_name: knowledge base name" | 111 | false | inveniosoftware-attic/invenio-knowledge | delete_kb | 32,327 | |
LDU_FT/bioasp/iggy/get_scenfit | LDU_FT | [
"<BEGIN>\n## `readProfile`",
"input: string, name of a file containing a profile description\n output: asp.TermSet, with atoms matching the contents of the input file",
" Parses a profile description, and returns\n a TermSet object.\n<END>",
"<BEGIN>\n## `get_scenfit`",
"returns the scenfit of data and m... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_scenfit API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_scenfit API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | returns the scenfit of data and model described by the
``TermSet`` object [instance]. | "returns the scenfit of data and model described by the\n ``TermSet`` object [instance]." | 13 | false | bioasp/iggy | get_scenfit | 32,328 | |
LDU_FT/coded-by-hand/mass/get_installed_distributions | LDU_FT | [
"<BEGIN>\n## `get_requirement_from_url`",
"Get a requirement from the URL, if possible. This looks for #egg\n in the URL\n<END>",
"<BEGIN>\n## `package_to_requirement`",
"Translate a name like Foo-1.2 to Foo==1.3\n<END>",
"<BEGIN>\n## `get_mirrors`",
"Return the list of mirrors from the last record fo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_installed_distributions 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 get_installed_distributions API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Return a list of installed Distribution objects.
If ``local_only`` is True (default), only return installations
local to the current virtualenv, if in a virtualenv.
``skip`` argument is an iterable of lower-case project names to
ignore; defaults to ('setuptools', 'pip', 'python'). [FIXME also
skip... | "Return a list of installed Distribution objects.\n\n If ``local_only`` is True (default), only return installations\n local to the current virtualenv, if in a virtualenv.\n\n ``skip`` argument is an iterable of lower-case project names to\n ignore; defaults to ('setuptools', 'pip', 'python'). [FIXME also\n... | 105 | false | coded-by-hand/mass | get_installed_distributions | 32,329 | |
LDU_FT/totalgood/pugnlp/generate_files | LDU_FT | [
"<BEGIN>\n## `make_datetime`",
"Coerce a datetime or string into datetime.datetime object",
" Arguments:\n dt (str or datetime.datetime or atetime.time or numpy.Timestamp): time or date\n to be coerced into a `datetime.date` object",
" Returns:\n datetime.time: Time of day portion of a ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_files API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_files API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Recursively generate files (and thier stats) in the indicated directory
Filter by the indicated file name extension (ext)
Args:
path (str): Root/base path to search.
ext (str or list of str): File name extension(s).
Only file paths that ".endswith()" this string will be returned
... | "Recursively generate files (and thier stats) in the indicated directory\n\n Filter by the indicated file name extension (ext)\n\n Args:\n path (str): Root/base path to search.\n ext (str or list of str): File name extension(s).\n Only file paths that \".endswith()\" this string will be... | 433 | false | totalgood/pugnlp | generate_files | 32,330 | |
LDU_FT/mbj4668/pyang/process_children | LDU_FT | [
"<BEGIN>\n## `emit`",
"Main control function.",
" Set up the top-level parts of the stylesheet, then process\n recursively all nodes in all data trees, and finally emit the\n serialized stylesheet.\n<END>",
"<BEGIN>\n## `process_module`",
"Process data nodes, RPCs and notifications in a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_children API.
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 process_children API.
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 all children of `node`.
`path` is the Xpath of `node` which is used in the 'select'
attribute of XSLT templates. | "Process all children of `node`.\n\n `path` is the Xpath of `node` which is used in the 'select'\n attribute of XSLT templates." | 291 | false | mbj4668/pyang | process_children | 32,331 | |
LDU_FT/ApproxEng/approxeng.input/receive_device_value | LDU_FT | [
"<BEGIN>\n## `map_into_range`",
"Map an input function into an output value, clamping such that the magnitude of the output is at most 1.0",
" :param low:\n The value in the input range corresponding to zero.\n :param high:\n The value in the input range corresponding to 1.0 or -1.0, dependi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the receive_device_value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the receive_device_value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Set a new value, called from within the joystick implementation class when parsing the event queue.
:param raw_value: the raw value from the joystick hardware
:internal: | "Set a new value, called from within the joystick implementation class when parsing the event queue.\n\n :param raw_value: the raw value from the joystick hardware\n\n :internal:" | 86 | false | ApproxEng/approxeng.input | receive_device_value | 32,332 | |
LDU_FT/mrcagney/gtfstk/restrict_to_dates | LDU_FT | [
"<BEGIN>\n## `get_stop_times`",
"Return a subset of ``feed.stop_times``.",
" Parameters\n ----------\n feed : Feed\n date : string\n YYYYMMDD date string restricting the output to trips active\n on the date",
" Returns\n -------\n DataFrame\n Subset of ``feed.stop_tim... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the restrict_to_dates API.
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 restrict_to_dates API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Build a new feed by restricting this one to only the stops,
trips, shapes, etc. active on at least one of the given dates
(YYYYMMDD strings).
Return the resulting feed, which will have empty non-agency tables
if no trip is active on any of the given dates. | "Build a new feed by restricting this one to only the stops,\n trips, shapes, etc. active on at least one of the given dates\n (YYYYMMDD strings).\n Return the resulting feed, which will have empty non-agency tables\n if no trip is active on any of the given dates." | 474 | false | mrcagney/gtfstk | restrict_to_dates | 32,333 | |
LDU_FT/poppy-project/pypot/simxReadVisionSensor | LDU_FT | [
"<BEGIN>\n## `set_snap_server_variables`",
"Change dynamically port and host variable in xml Snap! project file\n<END>",
"<BEGIN>\n## `run`",
"Start the tornado server, run forever.\n 'quiet' and 'server' arguments are no longer used, they are keep only for backward compatibility\n<END>",
"<BEGIN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the simxReadVisionSensor 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 simxReadVisionSensor API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Please have a look at the function description/documentation in the V-REP user manual | "Please have a look at the function description/documentation in the V-REP user manual" | 371 | false | poppy-project/pypot | simxReadVisionSensor | 32,334 | |
LDU_FT/svinota/mdns/insert_short | LDU_FT | [
"<BEGIN>\n## `to_string`",
"String representation with additional information\n<END>",
"<BEGIN>\n## `answered_by`",
"Returns true if the question is answered by the record\n<END>",
"<BEGIN>\n## `reset_ttl`",
"Sets this record's TTL and created time to that of\n another record.\n<END>",
"<BEGIN>\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the insert_short API.
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 insert_short API.
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... | Inserts an unsigned short in a certain position in the packet | "Inserts an unsigned short in a certain position in the packet" | 67 | false | svinota/mdns | insert_short | 32,335 | |
LDU_FT/bitshares/uptick/importaccount | LDU_FT | [
"<BEGIN>\n## `orderbook`",
"Show the orderbook of a particular market\n<END>",
"<BEGIN>\n## `buy`",
"Buy a specific asset at a certain rate against a base asset\n<END>",
"<BEGIN>\n## `cancelall`",
"Cancel all orders of an account in a market\n<END>",
"<BEGIN>\n## `spread`",
"Place multiple orders",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the importaccount API.
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 importaccount API.
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... | Import an account using an account password | "Import an account using an account password" | 50 | false | bitshares/uptick | importaccount | 32,336 | |
LDU_FT/kajala/django-jutil/url_equals | LDU_FT | [
"<BEGIN>\n## `se_iban_load_map`",
"Loads Swedish monetary institution codes in CSV format.\n :param filename: CSV file name of the BIC definitions.\n Columns: Institution Name, Range Begin-Range End (inclusive), Account digits count\n :return: List of (bank name, clearing code begin, clearing code end, a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the url_equals API.
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 url_equals API.
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... | Compares two URLs/paths and returns True if they point to same URI.
For example, querystring parameters can be different order but URLs are still equal.
:param a: URL/path
:param b: URL/path
:return: True if URLs/paths are equal | "Compares two URLs/paths and returns True if they point to same URI.\n For example, querystring parameters can be different order but URLs are still equal.\n :param a: URL/path\n :param b: URL/path\n :return: True if URLs/paths are equal" | 110 | false | kajala/django-jutil | url_equals | 32,337 | |
LDU_FT/SuLab/WikidataIntegrator/generate_edit_credentials | LDU_FT | [
"<BEGIN>\n## `on_exception`",
"Returns decorator for backoff and retry triggered by exception.",
" Args:\n wait_gen: A generator yielding successive wait times in\n seconds.\n exception: An exception type (or tuple of types) which triggers\n backoff.\n max_tries: Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_edit_credentials API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_edit_credentials API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | request an edit token and update the cookie_jar in order to add the session cookie
:return: Returns a json with all relevant cookies, aka cookie jar | "request an edit token and update the cookie_jar in order to add the session cookie\n :return: Returns a json with all relevant cookies, aka cookie jar" | 114 | false | SuLab/WikidataIntegrator | generate_edit_credentials | 32,338 | |
LDU_FT/sassoftware/saspy/where | LDU_FT | [
"<BEGIN>\n## `submit`",
"This method is used to submit any SAS code. It returns the Log and Listing as a python dictionary.",
" - code - the SAS statements you want to execute\n - results - format of results. 'HTML' by default, alternatively 'TEXT'\n - prompt - dict of names:flags to pr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the where API.
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 where API.
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... | This method returns a clone of the SASdata object, with the where attribute set. The original SASdata object is not affected.
:param where: the where clause to apply
:return: SAS data object | "This method returns a clone of the SASdata object, with the where attribute set. The original SASdata object is not affected.\n\n :param where: the where clause to apply\n :return: SAS data object" | 469 | false | sassoftware/saspy | where | 32,339 | |
LDU_FT/moonso/loqusdb/get_case | LDU_FT | [
"<BEGIN>\n## `update_database`",
"Update a case in the database",
" Args:\n adapter: Connection to database\n variant_file(str): Path to variant file\n sv_file(str): Path to sv variant file\n family_file(str): Path to family file\n family_type(str): Format of fami... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_case API.
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_case API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Return ped_parser case from a family file
Create a dictionary with case data. If no family file is given create from VCF
Args:
family_lines (iterator): The family lines
family_type (str): The format of the family lines
vcf_path(str): Path to VCF
Returns:
family... | "Return ped_parser case from a family file\n \n Create a dictionary with case data. If no family file is given create from VCF\n \n Args:\n family_lines (iterator): The family lines\n family_type (str): The format of the family lines\n vcf_path(str): Path to VCF\n \n Returns:\n ... | 216 | false | moonso/loqusdb | get_case | 32,340 | |
LDU_FT/kislyuk/ensure/is_none_or | LDU_FT | [
"<BEGIN>\n## `ensure_annotations`",
"Decorator to be used on functions with annotations. Runs type checks to enforce annotations. Raises\n :class:`EnsureError` if any argument passed to *f* is not of the type specified by the annotation. Also raises\n :class:`EnsureError` if the return value of *f* is not o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_none_or API.
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 is_none_or API.
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... | Ensures :attr:`subject` is either ``None``, or satisfies subsequent (chained) conditions::
Ensure(None).is_none_or.is_an(int) | "Ensures :attr:`subject` is either ``None``, or satisfies subsequent (chained) conditions::\n\n Ensure(None).is_none_or.is_an(int)" | 81 | false | kislyuk/ensure | is_none_or | 32,341 | |
LDU_FT/ubccr/pinky/addHydrogens | LDU_FT | [
"<BEGIN>\n## `draw`",
"(molecule)->canonical representation of a molecule\n Well, it's only canonical if the atom symorders are\n canonical, otherwise it's arbitrary.",
" atoms must have a symorder attribute\n bonds must have a equiv_class attribute\n<END>",
"<BEGIN>\n## `getPyroleLikeAtoms`",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the addHydrogens API.
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 addHydrogens API.
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... | (molecule) -> add implicit hydrogens to a molecule.
If the atom has specified valences and the atom must be
charged then a Valence Error is raised | "(molecule) -> add implicit hydrogens to a molecule.\n If the atom has specified valences and the atom must be\n charged then a Valence Error is raised" | 63 | false | ubccr/pinky | addHydrogens | 32,342 | |
LDU_FT/graphite-project/carbonate/data | LDU_FT | [
"<BEGIN>\n## `destinations`",
"Return a list of destinations for a cluster.\n<END>",
"<BEGIN>\n## `replication_factor`",
"Return the replication factor for a cluster as an integer.\n<END>",
"<BEGIN>\n## `ssh_user`",
"Return the ssh user for a cluster or current user if undefined.\n<END>",
"<BEGIN>\n## `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Does the metric at ``path`` have any whisper data newer than ``hours``?
If ``offset`` is not None, view the ``hours`` prior to ``offset`` hours
ago, instead of from right now. | "Does the metric at ``path`` have any whisper data newer than ``hours``?\n\n If ``offset`` is not None, view the ``hours`` prior to ``offset`` hours\n ago, instead of from right now." | 15 | false | graphite-project/carbonate | data | 32,343 | |
LDU_FT/bretth/woven/install_packages | LDU_FT | [
"<BEGIN>\n## `setupnode`",
"Install a baseline host. Can be run multiple times\n<END>",
"<BEGIN>\n## `add_repositories`",
"Adds additional sources as defined in LINUX_PACKAGE_REPOSITORIES.\n<END>",
"<BEGIN>\n## `change_ssh_port`",
"For security woven changes the default ssh port.\n<END>",
"<BEGIN>\n## `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the install_packages API.
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_packages API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Install a set of baseline packages and configure where necessary | "Install a set of baseline packages and configure where necessary" | 140 | false | bretth/woven | install_packages | 32,344 | |
LDU_FT/samjabrahams/anchorhub/modify | LDU_FT | [
"<BEGIN>\n## `get`",
"Extract the specified AnchorHub tag, as well as the portion of the\n line that should be converted from the ATX style Markdown header.",
" :param file_lines: List of strings corresponding to lines in a text file\n :param index: index of file_lines corresponding to the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the modify API.
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 modify API.
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 ... | Removes the trailing AnchorHub tag from the end of the line being
examined.
:param current_modified_line: string representing the the line at
file_lines[index] _after_ any previous modifications from other
WriterStrategy objects
:param anchors: Dictionary mapping string ... | "Removes the trailing AnchorHub tag from the end of the line being\n examined.\n\n :param current_modified_line: string representing the the line at\n file_lines[index] _after_ any previous modifications from other\n WriterStrategy objects\n :param anchors: Dictionary mapping ... | 148 | false | samjabrahams/anchorhub | modify | 32,345 | |
LDU_FT/veltzer/pytconf/create_enum_subset | LDU_FT | [
"<BEGIN>\n## `array_indented`",
"return an array indented according to indent level\n :param level:\n :param l:\n :param quote_char:\n :param comma_after:\n :return:\n<END>",
"<BEGIN>\n## `config_arg_parse_and_launch`",
"backwards compatibility function\n :return:\n<END>",
"<BEGIN>\n## `re... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_enum_subset 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 create_enum_subset 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... | Create an enum config
:param enum_type:
:param help_string:
:param default:
:return: | "Create an enum config\n :param enum_type:\n :param help_string:\n :param default:\n :return:" | 32 | false | veltzer/pytconf | create_enum_subset | 32,346 | |
LDU_FT/jlmadurga/permabots/get | LDU_FT | [
"<BEGIN>\n## `process`",
"Render value_template of the parameter using context.",
" :param context: Processing context\n<END>",
"<BEGIN>\n## `post`",
"Process Telegram webhook.\n 1. Serialize Telegram message\n 2. Get an enabled Telegram bot\n 3. Create :class:`Update... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Get list of Messenger bots
---
serializer: MessengerBotSerializer
responseMessages:
- code: 401
message: Not authenticated | "Get list of Messenger bots\n ---\n serializer: MessengerBotSerializer\n responseMessages:\n - code: 401\n message: Not authenticated" | 152 | false | jlmadurga/permabots | get | 32,347 | |
LDU_FT/Frzk/Ellis/build_regex_list | LDU_FT | [
"<BEGIN>\n## `_prepare`",
"Updates the function arguments and creates a :class:`asyncio.Task`\n from the Action.",
" *kwargs* is an optional dictionnary of additional arguments to pass to\n the Action function.",
" .. warning::\n *kwargs* will overwrite existing keys in ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_regex_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 ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_regex_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 ... | Creates a list of :class:`re.RegexObject`s from the given string.
*filter_str* is a string containing the regular expressions used to
build the Filter.
If *filter_str* contains newlines chars, it is split in different
regular expressions (one per line).
If one of these strings... | "Creates a list of :class:`re.RegexObject`s from the given string.\n\n *filter_str* is a string containing the regular expressions used to\n build the Filter.\n\n If *filter_str* contains newlines chars, it is split in different\n regular expressions (one per line).\n\n If one of thes... | 106 | false | Frzk/Ellis | build_regex_list | 32,348 | |
LDU_FT/kwikteam/phy/get | LDU_FT | [
"<BEGIN>\n## `set_state`",
"Set the view state.",
" The passed object is the persisted `self.state` bunch.",
" May be overriden.\n<END>",
"<BEGIN>\n## `_fullname`",
"Return the fully-qualified name of a function.\n<END>",
"<BEGIN>\n## `_get_default_grid`",
"In the grid specification, 0 c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Get a transform in the chain from its name. | "Get a transform in the chain from its name." | 346 | false | kwikteam/phy | get | 32,349 | |
LDU_FT/Karaage-Cluster/python-tldap/validate | LDU_FT | [
"<BEGIN>\n## `check_password`",
"Check a plaintext password against a hashed password.\n<END>",
"<BEGIN>\n## `reset`",
"Reset transaction back to original state, discarding all\n uncompleted transactions.\n<END>",
"<BEGIN>\n## `_cache_get_for_dn`",
"Object state is cached. When an update is require... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate API.
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 validate API.
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... | Validates value and throws ValidationError. Subclasses should override
this to provide validation logic. | "Validates value and throws ValidationError. Subclasses should override\n this to provide validation logic." | 151 | false | Karaage-Cluster/python-tldap | validate | 32,350 | |
LDU_FT/chop-dbhi/varify-data-warehouse/calculate_priority | LDU_FT | [
"<BEGIN>\n## `read`",
"Reads up to size bytes, but always completes the last line.\n<END>",
"<BEGIN>\n## `readline`",
"The size is ignored since a complete line must be read.\n<END>",
"<BEGIN>\n## `process_line`",
"Process a single record. This assumes only a single sample output.\n<END>",
"<BEGIN>\n## ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calculate_priority 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 calculate_priority 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... | Calculates a priority score based on a number of attributes. | "Calculates a priority score based on a number of attributes." | 53 | false | chop-dbhi/varify-data-warehouse | calculate_priority | 32,351 | |
LDU_FT/ariebovenberg/snug/execute | LDU_FT | [
"<BEGIN>\n## `check_response`",
"raise a descriptive exception on a \"bad request\" response\n<END>",
"<BEGIN>\n## `_urllib_send`",
"Send a request with an :mod:`urllib` opener\n<END>",
"<BEGIN>\n## `handle_errors`",
"raise a descriptive exception on a \"bad request\" response\n<END>",
"<BEGIN>\n## `exe... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the execute API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the execute API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Execute a query, returning its result
Parameters
----------
query: Query[T]
The query to resolve
auth: ~typing.Tuple[str, str] \
or ~typing.Callable[[Request], Request] or None
This may be:
* A (username, password)-tuple for basic authentication
* A callable to ... | "Execute a query, returning its result\n\n Parameters\n ----------\n query: Query[T]\n The query to resolve\n auth: ~typing.Tuple[str, str] \\\n or ~typing.Callable[[Request], Request] or None\n This may be:\n\n * A (username, password)-tuple for basic authentication\n * A... | 37 | false | ariebovenberg/snug | execute | 32,352 | |
LDU_FT/Adarnof/adarnauth-esi/cleanup_callbackredirect | LDU_FT | [
"<BEGIN>\n## `sso_redirect`",
"Generates a :model:`esi.CallbackRedirect` for the specified request.\n Redirects to EVE for login.\n Accepts a view or URL name as a redirect after SSO.\n<END>",
"<BEGIN>\n## `receive_callback`",
"Parses SSO callback, validates, retrieves :model:`esi.Token`, and internally... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cleanup_callbackredirect 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 cleanup_callbackredirect API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Delete old :model:`esi.CallbackRedirect` models.
Accepts a max_age parameter, in seconds (default 300). | "Delete old :model:`esi.CallbackRedirect` models.\n Accepts a max_age parameter, in seconds (default 300)." | 45 | false | Adarnof/adarnauth-esi | cleanup_callbackredirect | 32,353 | |
LDU_FT/Samreay/ChainConsumer/comparison_table | LDU_FT | [
"<BEGIN>\n## `dic`",
"r\"\"\" Returns the corrected Deviance Information Criterion (DIC) for all chains loaded into ChainConsumer.",
" If a chain does not have a posterior, this method will return `None` for that chain. **Note that\n the DIC metric is only valid on posterior surfaces which closely... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the comparison_table API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the comparison_table API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Return a LaTeX ready table of model comparisons.
Parameters
----------
caption : str, optional
The table caption to insert.
label : str, optional
The table label to insert.
hlines : bool, optional
Whether to insert hlines in the table or not.
... | "Return a LaTeX ready table of model comparisons.\n\n Parameters\n ----------\n caption : str, optional\n The table caption to insert.\n label : str, optional\n The table label to insert.\n hlines : bool, optional\n Whether to insert hlines in the tabl... | 155 | false | Samreay/ChainConsumer | comparison_table | 32,354 | |
LDU_FT/adaptive-learning/proso-apps/group_keys_by_values | LDU_FT | [
"<BEGIN>\n## `process_answer`",
"This method is used during the answer streaming and is called after the\n predictive model for each answer.",
" Args:\n user (int):\n identifier of ther user answering the question\n asked (int):\n identifier of t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the group_keys_by_values API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the group_keys_by_values API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Take a dict (A -> B( and return another one (B -> [A]). It groups keys
from the original dict by their values.
.. testsetup::
from proso.dict import group_keys_by_values
from pprint import pprint
.. doctest::
>>> pprint(group_keys_by_values({1: True, 2: False, 3: True, 4: True}))... | "Take a dict (A -> B( and return another one (B -> [A]). It groups keys\n from the original dict by their values.\n\n .. testsetup::\n\n from proso.dict import group_keys_by_values\n from pprint import pprint\n\n .. doctest::\n\n >>> pprint(group_keys_by_values({1: True, 2: False, 3: True,... | 276 | false | adaptive-learning/proso-apps | group_keys_by_values | 32,355 | |
LDU_FT/yhat/db.py/unique | LDU_FT | [
"<BEGIN>\n## `all`",
"Returns entire table as a DataFrame. This is executing:\n SELECT\n *\n FROM\n <name_of_the_table>",
" Examples\n --------\n >>> from db import DemoDB\n >>> db = DemoDB()\n >>> len(db.tables.Track.all())\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unique API.
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 unique API.
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 all unique values as a DataFrame. This is executing:
SELECT
DISTINCT
<name_of_the_column_1>
, <name_of_the_column_2>
, <name_of_the_column_3>
...
FROM
<name_of_the_table>
... | "Returns all unique values as a DataFrame. This is executing:\n SELECT\n DISTINCT\n <name_of_the_column_1>\n , <name_of_the_column_2>\n , <name_of_the_column_3>\n ...\n FROM\n <name_of_the_tab... | 89 | false | yhat/db.py | unique | 32,356 | |
LDU_FT/rm-hull/luma.led_matrix/show | LDU_FT | [
"<BEGIN>\n## `rainbow`",
"A generator that yields 'n' hues from the rainbow in the hex format #RRGGBB.\n By default the saturation and value (from HSV) are both set to 1.\n<END>",
"<BEGIN>\n## `minute_change`",
"When we reach a minute change, animate it.\n<END>",
"<BEGIN>\n## `animation`",
"Animate the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the show API.
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 show API.
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... | Simulates switching the display mode ON; this is achieved by restoring
the contrast to the level prior to the last time hide() was called. | "Simulates switching the display mode ON; this is achieved by restoring\n the contrast to the level prior to the last time hide() was called." | 29 | false | rm-hull/luma.led_matrix | show | 32,357 | |
LDU_FT/coopernurse/barrister/_call | LDU_FT | [
"<BEGIN>\n## `get_checksum`",
"Returns a checksum based on the IDL that ignores comments and \n ordering, but detects changes to types, parameter order, \n and enum values.\n<END>",
"<BEGIN>\n## `contract_from_file`",
"Loads a Barrister IDL JSON from the given file and returns a Contract class",... | 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 d... | 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 d... | Executes a single request against a handler. If the req.method == 'barrister-idl', the
Contract IDL JSON structure is returned. Otherwise the method is resolved to a handler
based on the interface name, and the appropriate function is called on the handler.
:Parameter:
req
... | "Executes a single request against a handler. If the req.method == 'barrister-idl', the\n Contract IDL JSON structure is returned. Otherwise the method is resolved to a handler\n based on the interface name, and the appropriate function is called on the handler.\n\n :Parameter:\n req\n ... | 126 | false | coopernurse/barrister | _call | 32,358 | |
LDU_FT/drdoctr/doctr/commit_docs | LDU_FT | [
"<BEGIN>\n## `encrypt_variable`",
"Encrypt an environment variable for ``build_repo`` for Travis",
" ``variable`` should be a bytes object, of the form ``b'ENV=value'``.",
" ``build_repo`` is the repo that ``doctr deploy`` will be run from. It\n should be like 'drdoctr/doctr'.",
" ``tld`` should... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the commit_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 commit_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... | Commit the docs to the current branch
Assumes that :func:`setup_GitHub_push`, which sets up the ``doctr_remote``
remote, has been run.
Returns True if changes were committed and False if no changes were
committed. | "Commit the docs to the current branch\n\n Assumes that :func:`setup_GitHub_push`, which sets up the ``doctr_remote``\n remote, has been run.\n\n Returns True if changes were committed and False if no changes were\n committed." | 128 | false | drdoctr/doctr | commit_docs | 32,359 | |
LDU_FT/smartmob-project/strawboss/main | LDU_FT | [
"<BEGIN>\n## `now`",
"Returns the current time.",
" :param utc: If ``True``, returns a timezone-aware ``datetime`` object in\n UTC. When ``False`` (the default), returns a naive ``datetime`` object\n in local time.\n :return: A ``datetime`` object representing the current time at the time of\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Command-line entry point.
:param arguments: List of strings that contain the command-line arguments.
When ``None``, the command-line arguments are looked up in ``sys.argv``
(``sys.argv[0]`` is ignored).
:return: This function has no return value.
:raise SystemExit: The command-line arguments ... | "Command-line entry point.\n\n :param arguments: List of strings that contain the command-line arguments.\n When ``None``, the command-line arguments are looked up in ``sys.argv``\n (``sys.argv[0]`` is ignored).\n :return: This function has no return value.\n :raise SystemExit: The command-line arg... | 25 | false | smartmob-project/strawboss | main | 32,360 | |
LDU_FT/tansey/gfl/decompose_delta | LDU_FT | [
"<BEGIN>\n## `solve_gfl`",
"A very easy-to-use version of GFL solver that just requires the data and\n the edges.\n<END>",
"<BEGIN>\n## `sample_gtf`",
"Generate samples from the generalized graph trend filtering distribution via a modified Swendsen-Wang slice sampling algorithm.\n Options for likelihood... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decompose_delta API.
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 decompose_delta API.
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... | Decomposes the k-th order trend filtering matrix into a c-compatible set
of arrays. | "Decomposes the k-th order trend filtering matrix into a c-compatible set\n of arrays." | 50 | false | tansey/gfl | decompose_delta | 32,361 | |
LDU_FT/cni/MRS/_xval_model_error | LDU_FT | [
"<BEGIN>\n## `fetch_data`",
"Downloads files to folder and checks their md5 checksums",
" Parameters\n ----------\n files : dictionary\n For each file in `files` the value should be (url, md5). The file will\n be downloaded from url if the file does not already exist or if the\n fi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _xval_model_error API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _xval_model_error API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Helper function for calculation of split-half cross-validation model
error and signal reliability. | "Helper function for calculation of split-half cross-validation model\n error and signal reliability." | 328 | false | cni/MRS | _xval_model_error | 32,362 | |
LDU_FT/tkf/python-epc/call | LDU_FT | [
"<BEGIN>\n## `register_function`",
"Register function to be called from EPC client.",
" :type function: callable\n :arg function: Function to publish.\n :type name: str\n :arg name: Name by which function is published.",
" This method returns the given `functio... | 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... | Call method connected to this handler.
:type name: str
:arg name: Method name to call.
:type args: list
:arg args: Arguments for remote method to call.
:type callback: callable
:arg callback: A function to be called with returned value of
... | "Call method connected to this handler.\n\n :type name: str\n :arg name: Method name to call.\n :type args: list\n :arg args: Arguments for remote method to call.\n :type callback: callable\n :arg callback: A function to be called with returned value of\n ... | 37 | false | tkf/python-epc | call | 32,363 | |
LDU_FT/dcramer/django-data-tools/handle | LDU_FT | [
"<BEGIN>\n## `queryset_to_dict`",
"Given a queryset will transform it into a dictionary based on ``key``.\n<END>",
"<BEGIN>\n## `attach_foreignkey`",
"Shortcut method which handles a pythonic LEFT OUTER JOIN.",
" ``attach_foreignkey(posts, Post.thread)``",
" Works with both ForeignKey and OneToOne (... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle API.
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 handle API.
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 ... | Serializes objects from the database.
Works much like Django's ``manage.py dumpdata``, except that it allows you to
limit and sort the apps that you're pulling in, as well as automatically follow
the dependency graph to pull in related objects. | "Serializes objects from the database.\n\n Works much like Django's ``manage.py dumpdata``, except that it allows you to\n limit and sort the apps that you're pulling in, as well as automatically follow\n the dependency graph to pull in related objects." | 16 | false | dcramer/django-data-tools | handle | 32,364 | |
LDU_FT/v1k45/python-qBittorrent/set_torrent_upload_limit | LDU_FT | [
"<BEGIN>\n## `_post`",
"Method to perform POST request on the API.",
" :param endpoint: Endpoint of the API.\n :param data: POST DATA for the request.\n :param kwargs: Other keyword arguments for requests.",
" :return: Response of the POST request.\n<END>",
"<BEGIN>\n## `_request... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_torrent_upload_limit 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 set_torrent_upload_limit API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Set upload speed limit of the supplied torrents.
:param infohash_list: Single or list() of infohashes.
:param limit: Speed limit in bytes. | "Set upload speed limit of the supplied torrents.\n\n :param infohash_list: Single or list() of infohashes.\n :param limit: Speed limit in bytes." | 98 | false | v1k45/python-qBittorrent | set_torrent_upload_limit | 32,365 | |
LDU_FT/SwoopSearch/pyaddress/full_address | LDU_FT | [
"<BEGIN>\n## `post_multipart`",
"Post fields and files to an http host as multipart/form-data.\n fields is a sequence of (name, value) elements for regular form fields.\n files is a sequence of (name, filename, value) elements for data to be uploaded as files\n Return the server's response page.\n<END>",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the full_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.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the full_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.
The extr... | Print the address in a human readable format | "Print the address in a human readable format" | 45 | false | SwoopSearch/pyaddress | full_address | 32,366 | |
LDU_FT/ilgarm/pyzimbra/invoke | LDU_FT | [
"<BEGIN>\n## `authenticate`",
"Authenticates account, if no password given tries to pre-authenticate.\n @param transport: transport to use for method calls\n @param account_name: account name\n @param password: account password\n @return: AuthToken if authentication succeeded\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the invoke API.
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 invoke API.
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 ... | Invokes zimbra method using established authentication session.
@param req: zimbra request
@parm params: request params
@param simplify: True to return python object, False to return xml struct
@return: zimbra response
@raise AuthException: if authentication fails
@raise ... | "Invokes zimbra method using established authentication session.\n @param req: zimbra request\n @parm params: request params\n @param simplify: True to return python object, False to return xml struct\n @return: zimbra response\n @raise AuthException: if authentication fails\n ... | 32 | false | ilgarm/pyzimbra | invoke | 32,367 | |
LDU_FT/ozgurgunes/django-manifest/authenticate | LDU_FT | [
"<BEGIN>\n## `create_user`",
"A simple wrapper that creates a new :class:`User`.",
" :param username:\n String containing the username of the new user.",
" :param email:\n String containing the email address of the new user.",
" :param password:\n String... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the authenticate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the authenticate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Authenticates a user through the combination email/username with
password.
:param identification:
A string containing the username or email of the user that is
trying to authenticate.
:password:
Optional string containing the password for the user.
... | "Authenticates a user through the combination email/username with\n password.\n\n :param identification:\n A string containing the username or email of the user that is\n trying to authenticate.\n\n :password:\n Optional string containing the password for the user.\... | 121 | false | ozgurgunes/django-manifest | authenticate | 32,368 | |
LDU_FT/iDigBio/idigbio-python-client/search_records | LDU_FT | [
"<BEGIN>\n## `get_media_with_naming`",
"Download a media file to a directory and name it based on the input parameters.",
" 'output_dir' controls where the download is placed.",
" 'media_url' is the url / link to the media that will be downloaded.",
" 'uuid' is used to uniquely identify the output filename.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search_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 ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search_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 ex... | rq Search Query in iDigBio Query Format, using Record Query Fields
sort field to sort on, pick from Record Query Fields
fields a list of fields to return, specified using the fieldName parameter from Fields with type records
fields_exclude a list of fields to exclude, specified... | "rq Search Query in iDigBio Query Format, using Record Query Fields\n sort field to sort on, pick from Record Query Fields\n fields a list of fields to return, specified using the fieldName parameter from Fields with type records\n fields_exclude a list of fields to exclude, speci... | 18 | false | iDigBio/idigbio-python-client | search_records | 32,369 | |
LDU_FT/benhoff/pluginmanager/add_file_filters | LDU_FT | [
"<BEGIN>\n## `collect_directories`",
"Collects all the directories into a `set` object.",
" If `self.recursive` is set to `True` this method will iterate through\n and return all of the directories and the subdirectories found from\n `directories` that are not blacklisted.",
" if `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_file_filters API.
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 add_file_filters API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Adds `file_filters` to the internal file filters.
`file_filters` can be single object or iterable. | "Adds `file_filters` to the internal file filters.\n `file_filters` can be single object or iterable." | 161 | false | benhoff/pluginmanager | add_file_filters | 32,370 | |
LDU_FT/ajk8/hatchery/string_is_url | LDU_FT | [
"<BEGIN>\n## `value_of_named_argument_in_function`",
"Parse an arbitrary block of python code to get the value of a named argument\n from inside a function call\n<END>",
"<BEGIN>\n## `regex_in_file`",
"Search for a regex in a file",
" If return_match is True, return the found object instead of a b... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the string_is_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the string_is_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Test to see if a string is a URL or not, defined in this case as a string for which
urlparse returns a scheme component
>>> string_is_url('somestring')
False
>>> string_is_url('https://some.domain.org/path')
True | "Test to see if a string is a URL or not, defined in this case as a string for which\n urlparse returns a scheme component\n\n >>> string_is_url('somestring')\n False\n >>> string_is_url('https://some.domain.org/path')\n True" | 49 | false | ajk8/hatchery | string_is_url | 32,371 | |
LDU_FT/influxdata/influxdb-python/create_retention_policy | LDU_FT | [
"<BEGIN>\n## `_get_unicode`",
"Try to return a text aka unicode object from the given data.\n<END>",
"<BEGIN>\n## `make_lines`",
"Extract points from given dict.",
" Extracts the points from the given dict and returns a Unicode string\n matching the line protocol introduced in InfluxDB 0.9.0.\n<END>",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_retention_policy API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_retention_policy API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Create a retention policy for a database.
:param name: the name of the new retention policy
:type name: str
:param duration: the duration of the new retention policy.
Durations such as 1h, 90m, 12h, 7d, and 4w, are all supported
and mean 1 hour, 90 minutes, 12 hours, 7 d... | "Create a retention policy for a database.\n\n :param name: the name of the new retention policy\n :type name: str\n :param duration: the duration of the new retention policy.\n Durations such as 1h, 90m, 12h, 7d, and 4w, are all supported\n and mean 1 hour, 90 minutes, 12 hou... | 205 | false | influxdata/influxdb-python | create_retention_policy | 32,372 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.