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/readbeyond/aeneas/logspec2s2mfc | LDU_FT | [
"<BEGIN>\n## `pretty_print`",
"Return a Unicode string pretty print of the log entries.",
" :param bool as_list: if ``True``, return a list of Unicode strings,\n one for each entry, instead of a Unicode string\n :param bool show_datetime: if ``True``, show the date and ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the logspec2s2mfc API.
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 logspec2s2mfc API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Convert log-power-spectrum bins to MFCC using the 'legacy'
Sphinx transform | "Convert log-power-spectrum bins to MFCC using the 'legacy'\n Sphinx transform" | 1,097 | true | readbeyond/aeneas | logspec2s2mfc | 34,773 | |
LDU_FT/drastus/unicover/dispatch | LDU_FT | [
"<BEGIN>\n## `dispatch`",
"Calls proper method depending on command-line arguments.\n<END>",
"<BEGIN>\n## `chars`",
"Analyses characters in single font or all fonts.\n<END>",
"<BEGIN>\n## `char`",
"Shows all system fonts that contain given character.\n<END>",
"<BEGIN>\n## `fontChar`",
"Checks if chara... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dispatch API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dispatch API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Calls proper method depending on command-line arguments. | "Calls proper method depending on command-line arguments." | 20 | false | drastus/unicover | dispatch | 34,774 | |
LDU_FT/project-ncl/pnc-cli/match | LDU_FT | [
"<BEGIN>\n## `get_environment`",
"Get a specific Environment by name or ID\n<END>",
"<BEGIN>\n## `create_new`",
"Creates a new License",
" This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please define a `callback` function\n to be invoked... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the match API.
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 match API.
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... | Searches for Repository Configurations based on internal or external url, ignoring the protocol and \".git\" suffix. Only exact matches are returned.
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be ... | "Searches for Repository Configurations based on internal or external url, ignoring the protocol and \\\".git\\\" suffix. Only exact matches are returned.\n \n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please define a `callback` function\n ... | 527 | false | project-ncl/pnc-cli | match | 34,775 | |
LDU_FT/thespacedoctor/sherlock/_update_github | LDU_FT | [
"<BEGIN>\n## `ingest`",
"ingest the veron catalogue into the catalogues database",
" See class docstring for usage.\n<END>",
"<BEGIN>\n## `_create_dictionary_of_veron`",
"create a list of dictionaries containing all the rows in the veron catalogue",
" **Return:**\n - ``dictList`` ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _update_github API.
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 _update_github API.
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... | commit the changes and push them to github | "commit the changes and push them to github" | 348 | false | thespacedoctor/sherlock | _update_github | 34,776 | |
LDU_FT/sampottinger/pycotracer/update_contribution_entry | LDU_FT | [
"<BEGIN>\n## `parse_yes_no_str`",
"Parse a string serialization of boolean data as yes (Y) or no (N).",
" Prase a string serialization of boolean data where True is \"Y\" and False is\n \"N\" case-insensitive.",
" @param bool_str: The string to parse.\n @type bool_str: str\n @return: The interp... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_contribution_entry 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 update_contribution_entry API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Update a record of a contribution report in the provided database.
@param database: The MongoDB database to operate on. The contributions
collection will be used from this database.
@type db: pymongo.database.Database
@param entry: The entry to insert into the database, updating the entry with
... | "Update a record of a contribution report in the provided database.\n\n @param database: The MongoDB database to operate on. The contributions\n collection will be used from this database.\n @type db: pymongo.database.Database\n @param entry: The entry to insert into the database, updating the entry wit... | 71 | false | sampottinger/pycotracer | update_contribution_entry | 34,777 | |
LDU_FT/yangl1996/libpagure/list_issues | LDU_FT | [
"<BEGIN>\n## `_call_api`",
"Method used to call the API.\n It returns the raw JSON returned by the API or raises an exception\n if something goes wrong.",
" :arg url: the URL to call\n :kwarg method: the HTTP method to use when calling the specified\n URL, can be GET, POST... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_issues API.
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 list_issues API.
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... | List all issues of a project.
:param status: filters the status of the issues
:param tags: filers the tags of the issues
:param assignee: filters the assignee of the issues
:param author: filters the author of the issues
:param milestones: filters the milestones of the issues (li... | "List all issues of a project.\n :param status: filters the status of the issues\n :param tags: filers the tags of the issues\n :param assignee: filters the assignee of the issues\n :param author: filters the author of the issues\n :param milestones: filters the milestones of the issu... | 62 | false | yangl1996/libpagure | list_issues | 34,778 | |
LDU_FT/daskos/mentor/accept | LDU_FT | [
"<BEGIN>\n## `remote_exception`",
"Metaclass that wraps exception type in RemoteException\n<END>",
"<BEGIN>\n## `ff`",
"First-Fit",
" This is perhaps the simplest packing heuristic;\n it simply packs items in the next available bin.",
" Complexity O(n^2)\n<END>",
"<BEGIN>\n## `ffd`",
"First-F... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the accept API.
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 accept API.
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 ... | Accepts the given offers and performs a sequence of operations
on those accepted offers.
See Offer.Operation in mesos.proto for the set of available operations.
Available resources are aggregated when multiple offers are provided.
Note that all offers must belong to the same slave. ... | "Accepts the given offers and performs a sequence of operations\n on those accepted offers.\n\n See Offer.Operation in mesos.proto for the set of available operations.\n Available resources are aggregated when multiple offers are provided.\n\n Note that all offers must belong to the same ... | 51 | false | daskos/mentor | accept | 34,779 | |
LDU_FT/Hrabal/TemPy/render | LDU_FT | [
"<BEGIN>\n## `render_attrs`",
"Renders the tag's attributes using the formats and performing special attributes name substitution.\n<END>",
"<BEGIN>\n## `toggle_class`",
"Same as jQuery's toggleClass function. It toggles the css class on this element.\n<END>",
"<BEGIN>\n## `remove_class`",
"Removes the gi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the render API.
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 render API.
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 ... | Renders the element and all his childrens. | "Renders the element and all his childrens." | 80 | false | Hrabal/TemPy | render | 34,780 | |
LDU_FT/inveniosoftware/invenio-access/load_entry_point_system_roles | LDU_FT | [
"<BEGIN>\n## `removed_or_inserted_action`",
"Remove the action from cache when an item is inserted or deleted.\n<END>",
"<BEGIN>\n## `changed_action`",
"Remove the action from cache when an item is updated.\n<END>",
"<BEGIN>\n## `create`",
"Create new database row using the provided action need.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_entry_point_system_roles API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_entry_point_system_roles API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | Load system roles from an entry point group.
:param entry_point_group: The entrypoint for extensions. | "Load system roles from an entry point group.\n\n :param entry_point_group: The entrypoint for extensions." | 64 | false | inveniosoftware/invenio-access | load_entry_point_system_roles | 34,781 | |
LDU_FT/arneb/django-messages/do_print_inbox_count | LDU_FT | [
"<BEGIN>\n## `save_model`",
"Saves the message for the recipient and looks in the form instance\n for other possible recipients. Prevents duplication by excludin the\n original recipient from the list of optional recipients.",
" When changing an existing message and choosing optional recipi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_print_inbox_count API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_print_inbox_count API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | A templatetag to show the unread-count for a logged in user.
Returns the number of unread messages in the user's inbox.
Usage::
{% load inbox %}
{% inbox_count %}
{# or assign the value to a variable: #}
{% inbox_count as my_var %}
{{ my_var }} | "A templatetag to show the unread-count for a logged in user.\n Returns the number of unread messages in the user's inbox.\n Usage::\n\n {% load inbox %}\n {% inbox_count %}\n\n {# or assign the value to a variable: #}\n\n {% inbox_count as my_var %}\n {{ my_var }}" | 35 | false | arneb/django-messages | do_print_inbox_count | 34,782 | |
LDU_FT/aio-libs/aioredis/zrevrange | LDU_FT | [
"<BEGIN>\n## `create_sentinel`",
"Creates Redis Sentinel client.",
" `sentinels` is a list of sentinel nodes.\n<END>",
"<BEGIN>\n## `execute`",
"Execute Sentinel command.",
" It will be prefixed with SENTINEL automatically.\n<END>",
"<BEGIN>\n## `master`",
"Returns a dictionary containing th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the zrevrange API.
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 zrevrange API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Return a range of members in a sorted set, by index,
with scores ordered from high to low.
:raises TypeError: if start or stop is not int | "Return a range of members in a sorted set, by index,\n with scores ordered from high to low.\n\n :raises TypeError: if start or stop is not int" | 496 | false | aio-libs/aioredis | zrevrange | 34,783 | |
LDU_FT/dnephin/PyStaticConfiguration/build_list_type_validator | LDU_FT | [
"<BEGIN>\n## `build_attributes`",
"Return an attributes dictionary with ValueTokens replaced by a\n property which returns the config value.\n<END>",
"<BEGIN>\n## `cache_as_field`",
"Cache a functions return value as the field 'cache_name'.\n<END>",
"<BEGIN>\n## `extract_value`",
"Given a value pro... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_list_type_validator 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 build_list_type_validator 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 a function which validates that the value is a list of items
which are validated using item_validator. | "Return a function which validates that the value is a list of items\n which are validated using item_validator." | 49 | false | dnephin/PyStaticConfiguration | build_list_type_validator | 34,784 | |
LDU_FT/pyvisa/pyvisa/out_8 | LDU_FT | [
"<BEGIN>\n## `pass_control`",
"Tell the GPIB device at the specified address to become controller in charge (CIC).",
" Corresponds to viGpibPassControl function of the VISA library.",
" :param primary_address: Primary address of the GPIB device to which you want to pass control.\n :param ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the out_8 API.
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 out_8 API.
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... | Write in an 8-bit value from the specified memory space and offset.
Corresponds to viOut8* functions of the VISA library.
:param library: the visa library wrapped by ctypes.
:param session: Unique logical identifier to a session.
:param space: Specifies the address space. (Constants.*SPACE*)
:para... | "Write in an 8-bit value from the specified memory space and offset.\n\n Corresponds to viOut8* functions of the VISA library.\n\n :param library: the visa library wrapped by ctypes.\n :param session: Unique logical identifier to a session.\n :param space: Specifies the address space. (Constants.*SPACE*)\n ... | 529 | false | pyvisa/pyvisa | out_8 | 34,785 | |
LDU_FT/django-getpaid/django-getpaid/register_to_payment | LDU_FT | [
"<BEGIN>\n## `new_payment_query_listener`",
"Here we fill only two obligatory fields of payment, and leave signal handler\n<END>",
"<BEGIN>\n## `payment_status_changed_listener`",
"Here we will actually do something, when payment is accepted.\n E.g. lets change an order status.\n<END>",
"<BEGIN>\n## `reg... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_to_payment 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 register_to_payment 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... | A function for registering unaware order class to ``getpaid``. This will
generate a ``Payment`` model class that will store payments with
ForeignKey to original order class
This also will build a model class for every enabled backend. | "A function for registering unaware order class to ``getpaid``. This will\n generate a ``Payment`` model class that will store payments with\n ForeignKey to original order class\n\n This also will build a model class for every enabled backend." | 20 | false | django-getpaid/django-getpaid | register_to_payment | 34,786 | |
LDU_FT/European-XFEL/karabo-bridge-py/print_one_train | LDU_FT | [
"<BEGIN>\n## `gen_filename`",
"Generate a filename from endpoint with timestamp.",
" return: str\n hostname_port_YearMonthDay_HourMinSecFrac.h5\n<END>",
"<BEGIN>\n## `hdf5_to_dict`",
"load the content of an hdf5 file to a dict.",
" # TODO: how to split domain_type_dev : parameter : value ?\n<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the print_one_train API.
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 print_one_train API.
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... | Retrieve data for one train and print it.
Returns the (data, metadata) dicts from the client.
This is used by the -glimpse and -monitor command line tools. | "Retrieve data for one train and print it.\n\n Returns the (data, metadata) dicts from the client.\n\n This is used by the -glimpse and -monitor command line tools." | 22 | false | European-XFEL/karabo-bridge-py | print_one_train | 34,787 | |
LDU_FT/tumblr/pytumblr/submission | LDU_FT | [
"<BEGIN>\n## `new_oauth`",
"Return the consumer and oauth tokens with three-legged OAuth process and\n save in a yaml file in the user's home directory.\n<END>",
"<BEGIN>\n## `validate_params`",
"Helps us validate the parameters for the request",
" :param valid_options: a list of strings of valid opti... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the submission API.
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 submission API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Gets posts that are currently in the blog's queue
:param offset: an int, the post you want to start at, for pagination.
:param filter: the post format that you want returned: HTML, text, raw.
:returns: a dict created from the JSON response | "Gets posts that are currently in the blog's queue\n\n :param offset: an int, the post you want to start at, for pagination.\n :param filter: the post format that you want returned: HTML, text, raw.\n\n :returns: a dict created from the JSON response" | 126 | false | tumblr/pytumblr | submission | 34,788 | |
LDU_FT/Kane610/axis/get_event_list | LDU_FT | [
"<BEGIN>\n## `session_request`",
"Do HTTP/S request and return response as a string.\n<END>",
"<BEGIN>\n## `get_event_list`",
"Get a dict of supported events from device.\n<END>",
"<BEGIN>\n## `_prepare_event`",
"Converts event instances to a relevant dictionary.\n<END>",
"<BEGIN>\n## `process_raw`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_event_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 ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_event_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 ex... | Get a dict of supported events from device. | "Get a dict of supported events from device." | 55 | false | Kane610/axis | get_event_list | 34,789 | |
LDU_FT/ministryofjustice/money-to-prisoners-common/login | LDU_FT | [
"<BEGIN>\n## `get_form_errors`",
"Django form errors do not obey natural field order,\n this template tag returns non-field and field-specific errors\n :param form: the form instance\n<END>",
"<BEGIN>\n## `sub_nav`",
"Sub-nav displayed below proposition header\n - creates alternate language links if ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the login API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the login API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Persist a user id and a backend in the request. This way a user doesn't
have to reauthenticate on every request. Note that data set during
the anonymous session is retained when the user logs in. | "Persist a user id and a backend in the request. This way a user doesn't\n have to reauthenticate on every request. Note that data set during\n the anonymous session is retained when the user logs in." | 84 | false | ministryofjustice/money-to-prisoners-common | login | 34,790 | |
LDU_FT/vladimarius/pyap/parse | LDU_FT | [
"<BEGIN>\n## `parse`",
"Returns a list of addresses found in text\n together with parsed address parts\n<END>",
"<BEGIN>\n## `_combine_results`",
"Combine results from different parsed parts:\n we look for non-empty results in values like\n 'postal_code_b' or 'postal_code_c' and s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Returns a list of addresses found in text
together with parsed address parts | "Returns a list of addresses found in text\n together with parsed address parts" | 11 | false | vladimarius/pyap | parse | 34,791 | |
LDU_FT/nccgroup/Scout2/fetch_all | LDU_FT | [
"<BEGIN>\n## `get_keys`",
"Copies the value of keys from source object to dest object",
" :param src:\n :param dst:\n :param keys:\n :return:\n<END>",
"<BEGIN>\n## `no_camel`",
"Converts CamelCase to camel_case",
" :param name:\n :return:\n<END>",
"<BEGIN>\n## `is_throttled`",
"Deter... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetch_all API.
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 fetch_all API.
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... | Generic fetching function that iterates through all of the service's targets
:param credentials: F
:param service: Name of the service
:param regions: Name of regions to fetch data from
:param partition_name: AWS partition to connect ... | "Generic fetching function that iterates through all of the service's targets\n\n :param credentials: F\n :param service: Name of the service\n :param regions: Name of regions to fetch data from\n :param partition_name: AWS partition to co... | 166 | false | nccgroup/Scout2 | fetch_all | 34,792 | |
LDU_FT/Hundemeier/sacn/convert_raw_data_to_universes | LDU_FT | [
"<BEGIN>\n## `activate_output`",
"Activates a universe that's then starting to sending every second.\n See http://tsp.esta.org/tsp/documents/docs/E1-31-2016.pdf for more information\n :param universe: the universe to activate\n<END>",
"<BEGIN>\n## `deactivate_output`",
"Deactivates an existing s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_raw_data_to_universes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_raw_data_to_universes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | converts the raw data to a readable universes tuple. The raw_data is scanned from index 0 and has to have
16-bit numbers with high byte first. The data is converted from the start to the beginning!
:param raw_data: the raw data to convert
:return: tuple full with 16-bit numbers | "converts the raw data to a readable universes tuple. The raw_data is scanned from index 0 and has to have\n 16-bit numbers with high byte first. The data is converted from the start to the beginning!\n :param raw_data: the raw data to convert\n :return: tuple full with 16-bit numbers" | 32 | false | Hundemeier/sacn | convert_raw_data_to_universes | 34,793 | |
LDU_FT/thespacedoctor/polyglot/_request_parsed_article_from_mercury | LDU_FT | [
"<BEGIN>\n## `create`",
"*create the webarchive object*",
" **Key Arguments:**\n - ``url`` -- the url of the webpage to generate the webarchive for\n - ``pathToWebarchive`` -- tthe path to output the the webarchive file to ",
" **Return:**\n - ``webarchive`` -- t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _request_parsed_article_from_mercury API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _request_parsed_article_from_mercury API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates i... | * request parsed article from mercury*
**Key Arguments:**
- ``url`` -- the URL to the HTML page to parse and clean
**Return:**
- None
**Usage:**
.. todo::
- add usage info
- create a sublime snippet for usage
... | "* request parsed article from mercury*\n\n **Key Arguments:**\n - ``url`` -- the URL to the HTML page to parse and clean\n\n **Return:**\n - None\n\n **Usage:**\n .. todo::\n\n - add usage info\n - create a sublime snippet for usage\n... | 170 | false | thespacedoctor/polyglot | _request_parsed_article_from_mercury | 34,794 | |
LDU_FT/wdm0006/sklearn-extensions/fit | LDU_FT | [
"<BEGIN>\n## `fit`",
"Fit the model",
" Parameters\n ----------\n X : array-like of shape = [n_samples, n_features]\n The training input samples.",
" y : array-like, shape = [n_samples]\n The target values",
" Returns\n -------\n self : ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fit API.
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 fit API.
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... | Fit the model using X, y as training data.
Parameters
----------
X : {array-like, sparse matrix} of shape [n_samples, n_features]
Training vectors, where n_samples is the number of samples
and n_features is the number of features.
y : array-like of shape [n_samp... | "Fit the model using X, y as training data.\n\n Parameters\n ----------\n X : {array-like, sparse matrix} of shape [n_samples, n_features]\n Training vectors, where n_samples is the number of samples\n and n_features is the number of features.\n\n y : array-like of shap... | 60 | false | wdm0006/sklearn-extensions | fit | 34,795 | |
LDU_FT/dschep/ntfy/notify | LDU_FT | [
"<BEGIN>\n## `notify`",
"Required parameters:\n * ``user_key``",
" Optional parameters:\n * ``sound``\n * ``priority``\n * ``expire``\n * ``retry``\n * ``callback``\n * ``api_token`` - use your own application token\n * ``device`` - target a device, if ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the notify API.
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 notify API.
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 ... | Required parameters:
* ``auth_token``
Optional parameters:
* ``source``
* ``url``
* ``url_title``
* ``image``
* ``ttl``
* ``important``
* ``silent`` | "Required parameters:\n * ``auth_token``\n\n Optional parameters:\n * ``source``\n * ``url``\n * ``url_title``\n * ``image``\n * ``ttl``\n * ``important``\n * ``silent``" | 44 | false | dschep/ntfy | notify | 34,796 | |
LDU_FT/cltrudeau/wrench/rows_to_columns | LDU_FT | [
"<BEGIN>\n## `configure_file_logger`",
"Configures logging to use the :class:`SizeRotatingFileHandler`\n<END>",
"<BEGIN>\n## `default_logging_dict`",
"Returns a logging configuration dictionary with reasonable defaults.\n Defines two handlers: \"default\" and \"file\", that go to STDOUT and a\n :class:`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rows_to_columns API.
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 rows_to_columns API.
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... | Takes a two dimensional array and returns an new one where rows in the
first become columns in the second. | "Takes a two dimensional array and returns an new one where rows in the\n first become columns in the second." | 27 | false | cltrudeau/wrench | rows_to_columns | 34,797 | |
LDU_FT/limix/limix-core/jitEigh | LDU_FT | [
"<BEGIN>\n## `addFixedEffect`",
"set sample and trait designs\n F: NxK sample design\n A: LxP sample design\n REML: REML for this term?\n index: index of which fixed effect to replace. If None, just append.\n<END>",
"<BEGIN>\n## `removeFixedEffect`",
"set sample and tr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the jitEigh API.
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 jitEigh API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Do a Eigenvalue Decomposition with Jitter,
works as jitChol | "Do a Eigenvalue Decomposition with Jitter,\n\n works as jitChol" | 61 | false | limix/limix-core | jitEigh | 34,798 | |
LDU_FT/CenterForOpenScience/sharepa/add_category_labels | LDU_FT | [
"<BEGIN>\n## `bucket_to_dataframe`",
"A function that turns elasticsearch aggregation buckets into dataframes",
" :param name: The name of the bucket (will be a column in the dataframe)\n :type name: str\n :param bucket: a bucket from elasticsearch results\n :type bucket: list[dict]\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_category_labels 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_category_labels 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... | A function that adds a category name column to a pandas dataframe
:param level_name: an aggregation from elasticsearch results with nesting
:type level_name: elasticsearch response.aggregation object
:param cat_name: an aggregation from elasticsearch results with nesting
:type cat_name:... | "A function that adds a category name column to a pandas dataframe\n\n :param level_name: an aggregation from elasticsearch results with nesting\n :type level_name: elasticsearch response.aggregation object\n :param cat_name: an aggregation from elasticsearch results with nesting\n :type cat... | 19 | false | CenterForOpenScience/sharepa | add_category_labels | 34,799 | |
LDU_FT/mosdef-hub/mbuild/apply | LDU_FT | [
"<BEGIN>\n## `calc_dihedral`",
"Calculates a dihedral angle",
" Here, two planes are defined by (point1, point2, point3) and\n (point2, point3, point4). The angle between them is returned.",
" Parameters\n ----------\n point1, point2, point3, point4 : array-like, shape=(3,), dtype=float\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the apply API.
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 apply API.
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... | Arrange copies of a Compound as specified by the Pattern.
Parameters
----------
compound
orientation
Returns
------- | "Arrange copies of a Compound as specified by the Pattern.\n\n Parameters\n ----------\n compound\n orientation\n\n Returns\n -------" | 463 | false | mosdef-hub/mbuild | apply | 34,800 | |
LDU_FT/gr33ndata/dysl/classify | LDU_FT | [
"<BEGIN>\n## `get_ngram_counts`",
"Returns a list of n-gram counts\n Array of classes counts and last item is for corpus\n<END>",
"<BEGIN>\n## `to_ngrams`",
"Converts terms to all possibe ngrams \n terms: list of terms\n<END>",
"<BEGIN>\n## `lr_padding`",
"Pad doc from the left and r... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the classify API.
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 classify API.
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... | Predicts the Language of a given text.
:param text: Unicode text to be classified. | "Predicts the Language of a given text.\n\n :param text: Unicode text to be classified." | 48 | false | gr33ndata/dysl | classify | 34,801 | |
LDU_FT/serkanyersen/underscore.py/template | LDU_FT | [
"<BEGIN>\n## `obj`",
"Returns passed object but if chain method is used\n returns the last processed result\n<END>",
"<BEGIN>\n## `_wrap`",
"Returns result but ig chain method is used\n returns the object itself so we can chain\n<END>",
"<BEGIN>\n## `_toOriginal`",
"Pitty attempt to convert ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the template API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the template API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Python micro-templating, similar to John Resig's implementation.
Underscore templating handles arbitrary delimiters, preserves
whitespace, and correctly escapes quotes within interpolated code. | "Python micro-templating, similar to John Resig's implementation.\n Underscore templating handles arbitrary delimiters, preserves\n whitespace, and correctly escapes quotes within interpolated code." | 130 | false | serkanyersen/underscore.py | template | 34,802 | |
LDU_FT/Kortemme-Lab/pull_into_place/load_loops | LDU_FT | [
"<BEGIN>\n## `make_command_table`",
"Return a nicely formatted table of all the PIP commands installed on this \n system to incorporate into the help text. The table will have two columns. \n The first will list the commands that comprise the main pipeline and the \n second will list all the other misc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_loops API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_loops API.
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 a list of tuples indicating the start and end points of the loops
that were sampled in the given directory. | "Return a list of tuples indicating the start and end points of the loops\n that were sampled in the given directory." | 75 | false | Kortemme-Lab/pull_into_place | load_loops | 34,803 | |
LDU_FT/BlackEarth/bl/make_basename | LDU_FT | [
"<BEGIN>\n## `random_id`",
"Creates a random id with the given length and charset.\r\n ## Parameters\r\n * length the number of characters in the id\r\n * charset what character set to use (a list of characters)\r\n * first_charset what character set for the first character\r\n *... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_basename API.
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 make_basename API.
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... | make a filesystem-compliant basename for this file | "make a filesystem-compliant basename for this file" | 54 | false | BlackEarth/bl | make_basename | 34,804 | |
LDU_FT/openspending/os-package-registry/has_model | LDU_FT | [
"<BEGIN>\n## `save_model`",
"Save a model in the registry\n :param name: name for the model\n :param datapackage_url: origin URL for the datapackage which is the\n source for this model\n :param datapackage: datapackage object from which this model was\n derived\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the has_model API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the has_model API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Check if a model exists in the registry
:param name: model name to test
:return: True if yes | "Check if a model exists in the registry\n :param name: model name to test\n :return: True if yes" | 16 | false | openspending/os-package-registry | has_model | 34,805 | |
LDU_FT/consbio/ncdjango/to_python | LDU_FT | [
"<BEGIN>\n## `p_binary_operators`",
"conditional : conditional AND condition\n | conditional OR condition\n condition : condition LTE expression\n | condition GTE expression\n | condition LT expression\n | condition GT expression... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_python API.
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_python API.
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... | This assumes the value has been preprocessed into a dictionary of the form:
{'type': <geometry_type>, 'geometry': <raw_geometry>} | "This assumes the value has been preprocessed into a dictionary of the form:\n {'type': <geometry_type>, 'geometry': <raw_geometry>}" | 146 | false | consbio/ncdjango | to_python | 34,806 | |
LDU_FT/rtfd/sphinx-autoapi/include_path | LDU_FT | [
"<BEGIN>\n## `load`",
"Load objects from the filesystem into the ``paths`` dictionary.\n<END>",
"<BEGIN>\n## `read_file`",
"Read file input into memory, returning deserialized objects",
" :param path: Path of file to read\n :param \\**kwargs:\n * ignore (``list``): List of file patt... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the include_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the include_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Return 'absolute' path without regarding OS path separator
This is used in ``toctree`` directives, as Sphinx always expects Unix
path separators | "Return 'absolute' path without regarding OS path separator\n\n This is used in ``toctree`` directives, as Sphinx always expects Unix\n path separators" | 169 | false | rtfd/sphinx-autoapi | include_path | 34,807 | |
LDU_FT/jessevdk/cldoc/visit | LDU_FT | [
"<BEGIN>\n## `disable_option`",
"The command-line option that disables this diagnostic.\n<END>",
"<BEGIN>\n## `format`",
"Format this diagnostic for display. The options argument takes\n Diagnostic.Display* flags, which can be combined using bitwise OR. If\n the options argument is not provided,... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the visit API.
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 visit API.
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... | visit iterates over the provided cursor iterator and creates nodes
from the AST cursors. | "visit iterates over the provided cursor iterator and creates nodes\n from the AST cursors." | 35 | false | jessevdk/cldoc | visit | 34,808 | |
LDU_FT/blackecho/Deep-Learning-TensorFlow/predict | LDU_FT | [
"<BEGIN>\n## `fit`",
"Fit the model to the given data.",
" :param train_set: training data\n :param test_set: test data\n<END>",
"<BEGIN>\n## `_run_train_step`",
"Run a single training step.",
" :param data: input data\n :param mode: 'train' or 'test'.\n<END>",
"<BEGIN>\n## `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the predict API.
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 predict API.
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... | Predict the labels for the test set.
Parameters
----------
test_X : array_like, shape (n_samples, n_features)
Test data.
Returns
-------
array_like, shape (n_samples,) : predicted labels. | "Predict the labels for the test set.\n\n Parameters\n ----------\n\n test_X : array_like, shape (n_samples, n_features)\n Test data.\n\n Returns\n -------\n\n array_like, shape (n_samples,) : predicted labels." | 284 | false | blackecho/Deep-Learning-TensorFlow | predict | 34,809 | |
LDU_FT/jason-weirather/py-seq-tools/junction_overlap | LDU_FT | [
"<BEGIN>\n## `sort_ranges`",
"from an array of ranges, make a sorted array of ranges",
" :param inranges: List of GenomicRange data\n :type inranges: GenomicRange[]\n :returns: a new sorted GenomicRange list\n :rtype: GenomicRange[]\n<END>",
"<BEGIN>\n## `merge_ranges`",
"from a list of genomic range or... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the junction_overlap API.
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 junction_overlap API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Calculate the junction overlap between two transcripts
:param tx: Other transcript
:type tx: Transcript
:param tolerance: how close to consider two junctions as overlapped (default=0)
:type tolerance: int
:return: Junction Overlap Report
:rtype: Transcript.JunctionOverlap | "Calculate the junction overlap between two transcripts\n\n :param tx: Other transcript\n :type tx: Transcript\n :param tolerance: how close to consider two junctions as overlapped (default=0)\n :type tolerance: int\n :return: Junction Overlap Report\n :rtype: Transcript.JunctionOverlap" | 449 | false | jason-weirather/py-seq-tools | junction_overlap | 34,810 | |
LDU_FT/szastupov/aiotg/send_message | LDU_FT | [
"<BEGIN>\n## `loop`",
"Return bot's main loop as coroutine. Use with asyncio.",
" :Example:",
" >>> loop = asyncio.get_event_loop()\n >>> loop.run_until_complete(bot.loop())",
" or",
" >>> loop = asyncio.get_event_loop()\n >>> loop.create_task(bot.loop())\n<END>",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_message API.
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 send_message API.
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... | Send a text message to chat
:param int chat_id: ID of the chat to send the message to
:param str text: Text to send
:param options: Additional sendMessage options
(see https://core.telegram.org/bots/api#sendmessage) | "Send a text message to chat\n\n :param int chat_id: ID of the chat to send the message to\n :param str text: Text to send\n :param options: Additional sendMessage options\n (see https://core.telegram.org/bots/api#sendmessage)" | 134 | false | szastupov/aiotg | send_message | 34,811 | |
LDU_FT/nicferrier/md/option | LDU_FT | [
"<BEGIN>\n## `_list`",
"Do structured list output.",
" Sorts the list by date, possibly reversed, filtered from 'since'.",
" The returned list is: foldername, message key, message object\n<END>",
"<BEGIN>\n## `ls`",
"Do standard text list of the folder to the stream.",
" 'foldername... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the option API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the option API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Decorator to add an option to the optparser argument of a Cmdln
subcommand
To add a toplevel option, apply the decorator on the class itself. (see
p4.py for an example)
Example:
@cmdln.option("-E", dest="environment_path")
class MyShell(cmdln.Cmdln):
@cmdln.option("-f",... | "Decorator to add an option to the optparser argument of a Cmdln\n subcommand\n\n To add a toplevel option, apply the decorator on the class itself. (see\n p4.py for an example)\n \n Example:\n @cmdln.option(\"-E\", dest=\"environment_path\")\n class MyShell(cmdln.Cmdln):\n @cmdl... | 135 | false | nicferrier/md | option | 34,812 | |
LDU_FT/Kaggle/kaggle-api/upload_files | LDU_FT | [
"<BEGIN>\n## `language`",
"Sets the language of this KernelPushRequest.",
" The language that the kernel is written in # noqa: E501",
" :param language: The language of this KernelPushRequest. # noqa: E501\n :type: str\n<END>",
"<BEGIN>\n## `kernel_type`",
"Sets the kernel_type of t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the upload_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 extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the upload_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 extr... | upload files in a folder
Parameters
==========
request: the prepared request
resources: the files to upload
folder: the folder to upload from
quiet: suppress verbose output (default is False) | "upload files in a folder\n Parameters\n ==========\n request: the prepared request\n resources: the files to upload\n folder: the folder to upload from\n quiet: suppress verbose output (default is False)" | 304 | false | Kaggle/kaggle-api | upload_files | 34,813 | |
LDU_FT/django-salesforce/django-salesforce/allow_migrate | LDU_FT | [
"<BEGIN>\n## `db_for_write`",
"If given some hints['instance'] that is saved in a db, use related\n fields from the same db. Otherwise if passed a class or instance to\n model, return the salesforce alias if it's a subclass of SalesforceModel.\n<END>",
"<BEGIN>\n## `allow_migrate`",
"Don't attem... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the allow_migrate API.
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 allow_migrate API.
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... | Don't attempt to sync SF models to non SF databases and vice versa. | "Don't attempt to sync SF models to non SF databases and vice versa." | 138 | false | django-salesforce/django-salesforce | allow_migrate | 34,814 | |
LDU_FT/maximtrp/scikit-posthocs/sign_table | LDU_FT | [
"<BEGIN>\n## `outliers_iqr`",
"Simple detection of potential outliers based on interquartile range (IQR).",
" Data that lie within the lower and upper limits are considered\n non-outliers. The lower limit is the number that lies 1.5 IQRs below\n (coefficient may be changed with an argument, see Paramet... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sign_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 extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sign_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 extrac... | Significance table
Returns table that can be used in a publication. P values are replaced
with asterisks: \* - p < 0.05, \*\* - p < 0.01, \*\*\* - p < 0.001.
Parameters
----------
p_values : array_like, or ndarray, or pandas DataFrame
An array, any object exposing the array interface, cont... | "Significance table\n\n Returns table that can be used in a publication. P values are replaced\n with asterisks: \\* - p < 0.05, \\*\\* - p < 0.01, \\*\\*\\* - p < 0.001.\n\n Parameters\n ----------\n p_values : array_like, or ndarray, or pandas DataFrame\n An array, any object exposing the array ... | 285 | false | maximtrp/scikit-posthocs | sign_table | 34,815 | |
LDU_FT/diging/tethne/extract_pdf | LDU_FT | [
"<BEGIN>\n## `to_dxgmml`",
"Writes a :class:`.GraphCollection` to\n `dynamic XGMML. <https://code.google.com/p/dynnetwork/wiki/DynamicXGMML>`_.",
" Dynamic XGMML is a schema for describing dynamic networks in Cytoscape 3.0.\n This method assumes that `Graph` indices are orderable points in time\n (e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_pdf API.
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 extract_pdf API.
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... | Extracts structured text content from a PDF at ``fpath``.
Parameters
----------
fpath : str
Path to the PDF.
Returns
-------
:class:`.StructuredFeature`
A :class:`.StructuredFeature` that contains page and sentence contexts. | "Extracts structured text content from a PDF at ``fpath``.\n\n Parameters\n ----------\n fpath : str\n Path to the PDF.\n\n Returns\n -------\n :class:`.StructuredFeature`\n A :class:`.StructuredFeature` that contains page and sentence contexts." | 497 | false | diging/tethne | extract_pdf | 34,816 | |
LDU_FT/thiagokokada/livedumper/_load_config | LDU_FT | [
"<BEGIN>\n## `open`",
"Attempt to open stream from *url*.",
" Exits with '-1' (using self.exit()) in case of error, including\n an error msg.\n<END>",
"<BEGIN>\n## `_load_config`",
"Load and parse config file, pass options to livestreamer\n<END>",
"<BEGIN>\n## `get_title`",
"Returns the fi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _load_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 _load_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... | Load and parse config file, pass options to livestreamer | "Load and parse config file, pass options to livestreamer" | 18 | false | thiagokokada/livedumper | _load_config | 34,817 | |
LDU_FT/diffeo/rejester/scram | LDU_FT | [
"<BEGIN>\n## `dump_queue`",
"Debug-log some of the queues.",
" ``names`` may include any of \"worker\", \"available\", \"priorities\",\n \"expiration\", \"workers\", or \"reservations_ITEM\" filling in some\n specific item.\n<END>",
"<BEGIN>\n## `worker_id`",
"A unique identifier for th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the scram API.
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 scram API.
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... | Kill all workers and die ourselves.
This runs in response to SIGABRT, from a specific invocation
of the ``kill`` command. It also runs if
:meth:`stop_gracefully` is called more than once. | "Kill all workers and die ourselves.\n\n This runs in response to SIGABRT, from a specific invocation\n of the ``kill`` command. It also runs if\n :meth:`stop_gracefully` is called more than once." | 391 | false | diffeo/rejester | scram | 34,818 | |
LDU_FT/SecurityInnovation/PGPy/encrypters | LDU_FT | [
"<BEGIN>\n## `decrypt_sk`",
"The value \"m\" in the above formulas is derived from the session key\n as follows. First, the session key is prefixed with a one-octet\n algorithm identifier that specifies the symmetric encryption\n algorithm used to encrypt the following Symmetrically Encrypte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the encrypters API.
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 encrypters API.
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... | A ``set`` containing all key ids (if any) to which this message was encrypted. | "A ``set`` containing all key ids (if any) to which this message was encrypted." | 197 | false | SecurityInnovation/PGPy | encrypters | 34,819 | |
LDU_FT/christophertbrown/bioscripts/setup_markers | LDU_FT | [
"<BEGIN>\n## `six_frame`",
"translate each sequence into six reading frames\n<END>",
"<BEGIN>\n## `best_model`",
"determine the best model: archaea, bacteria, eukarya (best score)\n<END>",
"<BEGIN>\n## `check_gaps`",
"check for large gaps between alignment windows\n<END>",
"<BEGIN>\n## `check_overlap`",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setup_markers API.
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 setup_markers API.
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... | setup unique marker for every orf annotation
- change size if necessary | "setup unique marker for every orf annotation\n - change size if necessary" | 219 | false | christophertbrown/bioscripts | setup_markers | 34,820 | |
LDU_FT/btrevizan/pystrct/write | LDU_FT | [
"<BEGIN>\n## `size`",
"Calculate and return the file size in bytes.\n<END>",
"<BEGIN>\n## `prev`",
"Get the previous n data from file.",
" Keyword argument:\n n -- number of structs to be retrieved (default 1)\n Must be greater than 0.",
" Return:\n A da... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write API.
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 write API.
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... | Write value in ith position in file.
Keyword arguments:
i -- position in file
value -- value to be packed (tuple) | "Write value in ith position in file.\n\n Keyword arguments:\n i -- position in file\n value -- value to be packed (tuple)" | 22 | false | btrevizan/pystrct | write | 34,821 | |
LDU_FT/gbiggs/rtctree/loaded_modules | LDU_FT | [
"<BEGIN>\n## `build_attr_string`",
"Build a string that will turn any ANSI shell output the desired\r\n colour.\r",
" attrs should be a list of keys into the term_attributes table.\n<END>",
"<BEGIN>\n## `get_num_columns_and_rows`",
"Given a list of string widths, a width of the minimum gap to place\r\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the loaded_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 ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the loaded_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 ex... | The list of loaded module profile dictionaries. | "The list of loaded module profile dictionaries." | 285 | false | gbiggs/rtctree | loaded_modules | 34,822 | |
LDU_FT/jedie/PyHardLinkBackup/scandir_limited | LDU_FT | [
"<BEGIN>\n## `human_filesize`",
"'human-readable' file size (i.e. 13 KB, 4.1 MB, 102 bytes, etc).\n<END>",
"<BEGIN>\n## `dt2naturaltimesince`",
"datetime to a human readable representation with how old this entry is information\n e.g.:\n Jan. 27, 2016, 9:04 p.m. (31 minutes ago)\n<END>",
"<BEGIN>\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the scandir_limited API.
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 scandir_limited API.
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... | yields only directories with the given deep limit
:param top: source path
:param limit: how deep should be scanned?
:param deep: internal deep number
:return: yields os.DirEntry() instances | "yields only directories with the given deep limit\n\n :param top: source path\n :param limit: how deep should be scanned?\n :param deep: internal deep number\n :return: yields os.DirEntry() instances" | 44 | false | jedie/PyHardLinkBackup | scandir_limited | 34,823 | |
LDU_FT/openfisca/openfisca-web-api/ensure_json_content_type | LDU_FT | [
"<BEGIN>\n## `ensure_json_content_type`",
"ErrorMiddleware returns hard-coded content-type text/html.\n Here we force it to be application/json.\n<END>",
"<BEGIN>\n## `make_app`",
"Create a WSGI application and return it",
" ``global_conf``\n The inherited configuration for this application. No... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ensure_json_content_type 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 ensure_json_content_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | ErrorMiddleware returns hard-coded content-type text/html.
Here we force it to be application/json. | "ErrorMiddleware returns hard-coded content-type text/html.\n Here we force it to be application/json." | 29 | false | openfisca/openfisca-web-api | ensure_json_content_type | 34,824 | |
LDU_FT/campbellr/smashrun-client/create_activity | LDU_FT | [
"<BEGIN>\n## `to_timestamp`",
"Convert a datetime object to a unix timestamp.",
" Note that unlike a typical unix timestamp, this is seconds since 1970\n *local time*, not UTC.",
" If the passed in object is already a timestamp, then that value is\n simply returned unmodified.\n<END>",
"<BEGIN>\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_activity API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_activity API.
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... | Create a new activity (run).
:param data: The data representing the activity you want to upload.
May be either JSON, GPX, or TCX. | "Create a new activity (run).\n\n :param data: The data representing the activity you want to upload.\n May be either JSON, GPX, or TCX." | 41 | false | campbellr/smashrun-client | create_activity | 34,825 | |
LDU_FT/olt/scriptine/write_bytes | LDU_FT | [
"<BEGIN>\n## `autocmds`",
"Parse and run commands.",
" Will search ``namespace`` for functions that end with ``command_suffix``.",
" :param namespace: the namespace/module to search for commands\n :param args: the arguments for the command parser. defaults to\n :data:`sys.argv`\n :param com... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_bytes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_bytes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Open this file and write the given bytes to it.
Default behavior is to overwrite any existing file.
Call p.write_bytes(bytes, append=True) to append instead. | "Open this file and write the given bytes to it.\n\n Default behavior is to overwrite any existing file.\n Call p.write_bytes(bytes, append=True) to append instead." | 84 | false | olt/scriptine | write_bytes | 34,826 | |
LDU_FT/Locu/chronology/get | LDU_FT | [
"<BEGIN>\n## `is_remote_allowed`",
"Check if `remote` is allowed to make a CORS request.\n<END>",
"<BEGIN>\n## `endpoint`",
"Returns a decorator which when applied a function, causes that function to\n serve `url` and only allows the HTTP methods in `methods`\n<END>",
"<BEGIN>\n## `get_seconds`",
"Conver... | 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... | Queries a stream with name `stream` for all events between `start_time` and
`end_time` (both inclusive). An optional `start_id` allows the client to
restart from a failure, specifying the last ID they read; all events that
happened after that ID will be returned. An optional `limit` limits the
maximum ... | "Queries a stream with name `stream` for all events between `start_time` and\n `end_time` (both inclusive). An optional `start_id` allows the client to\n restart from a failure, specifying the last ID they read; all events that\n happened after that ID will be returned. An optional `limit` limits the\n max... | 156 | false | Locu/chronology | get | 34,827 | |
LDU_FT/BeyondTheClouds/enoslib/check_network | LDU_FT | [
"<BEGIN>\n## `_build_g5k_conf`",
"Build the conf of the g5k provider from the vmong5k conf.\n<END>",
"<BEGIN>\n## `cached`",
"Decorator for caching/retrieving api calls request.",
" Many calls to the API are getter on static parts (e.g site of a given\n cluster name won't change). By caching some resp... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_network API.
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 check_network API.
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... | Check the network status for the deployment.
If needed, it creates a dedicated :
* private network /subnet
* router between this network and the external network | "Check the network status for the deployment.\n\n If needed, it creates a dedicated :\n * private network /subnet\n * router between this network and the external network" | 229 | false | BeyondTheClouds/enoslib | check_network | 34,828 | |
LDU_FT/turicas/rows/generate_schema | LDU_FT | [
"<BEGIN>\n## `import_from_json`",
"Import a JSON file or file-like object into a `rows.Table`.",
" If a file-like object is provided it MUST be open in text (non-binary) mode\n on Python 3 and could be open in both binary or text mode on Python 2.\n<END>",
"<BEGIN>\n## `export_to_json`",
"Export a `ro... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_schema API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_schema API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Generate table schema for a specific output format and write
Current supported output formats: 'txt', 'sql' and 'django'.
The table name and all fields names pass for a slugifying process (table
name is taken from file name). | "Generate table schema for a specific output format and write\n\n Current supported output formats: 'txt', 'sql' and 'django'.\n The table name and all fields names pass for a slugifying process (table\n name is taken from file name)." | 123 | false | turicas/rows | generate_schema | 34,829 | |
LDU_FT/bastikr/boolean.py/_rdistributive | LDU_FT | [
"<BEGIN>\n## `definition`",
"Return a tuple of this algebra defined elements and types as:\n (TRUE, FALSE, NOT, AND, OR, Symbol)\n<END>",
"<BEGIN>\n## `parse`",
"Return a boolean expression parsed from `expr` either a unicode string\n or tokens iterable.",
" Optionally simplify the expr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _rdistributive API.
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 _rdistributive API.
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 flatten the `expr` expression for the `op_example`
AND or OR operation instance exmaple. | "Recursively flatten the `expr` expression for the `op_example`\n AND or OR operation instance exmaple." | 71 | false | bastikr/boolean.py | _rdistributive | 34,830 | |
LDU_FT/alexa/alexa-skills-kit-sdk-for-python/_validate_certificate_url | LDU_FT | [
"<BEGIN>\n## `invoke`",
"Invokes the dispatcher, to handle the request envelope and\n return a response envelope.",
" :param request_envelope: Request Envelope instance containing\n request information\n :type request_envelope: RequestEnvelope\n :param context: Context pas... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _validate_certificate_url 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 _validate_certificate_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Validate the URL containing the certificate chain.
This method validates if the URL provided adheres to the format
mentioned here :
https://developer.amazon.com/docs/custom-skills/host-a-custom-skill-as-a-web-service.html#cert-verify-signature-certificate-url
:param cert_url: URL for r... | "Validate the URL containing the certificate chain.\n\n This method validates if the URL provided adheres to the format\n mentioned here :\n https://developer.amazon.com/docs/custom-skills/host-a-custom-skill-as-a-web-service.html#cert-verify-signature-certificate-url\n\n :param cert_url: UR... | 285 | false | alexa/alexa-skills-kit-sdk-for-python | _validate_certificate_url | 34,831 | |
LDU_FT/gmichaeljaison/cv-utils/feature_match | LDU_FT | [
"<BEGIN>\n## `match_one`",
"Match template and find exactly one match in the Image using specified features.",
" :param template: Template Image\n :param image: Search Image\n :param options: Options include\n - features: List of options for each feature\n :return: (Box, Score) Bounding box o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the feature_match API.
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 feature_match API.
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... | Match template and image by extracting specified feature
:param template: Template image
:param image: Search image
:param options: Options include
- feature: Feature extractor to use. Default is 'rgb'. Available options are:
'hog', 'lab', 'rgb', 'gray'
:return: Heatmap | "Match template and image by extracting specified feature\n\n :param template: Template image\n :param image: Search image\n :param options: Options include\n - feature: Feature extractor to use. Default is 'rgb'. Available options are:\n 'hog', 'lab', 'rgb', 'gray'\n :return: Heatmap" | 91 | false | gmichaeljaison/cv-utils | feature_match | 34,832 | |
LDU_FT/fabioz/PyDev.Debugger/suspend | LDU_FT | [
"<BEGIN>\n## `convert`",
"Note:",
" If the shellcode starts with '66' controls, it needs to be changed to add [BITS 32] or\n [BITS 64] to the start.",
" To use:",
" convert(\"\"\"\n 55\n 53\n 50\n BDE97F071E\n FFD5\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the suspend API.
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 suspend API.
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... | Suspends the thread execution.
@rtype: int
@return: Suspend count. If zero, the thread is running. | "Suspends the thread execution.\n\n @rtype: int\n @return: Suspend count. If zero, the thread is running." | 3,640 | true | fabioz/PyDev.Debugger | suspend | 34,833 | |
LDU_FT/phenomecentre/isaExplorer/appendAssayToStudy | LDU_FT | [
"<BEGIN>\n## `exploreISA`",
"This function loops through the ISATAB file and lists its Studies and their associated Assays.\n :param pathToISATABFile: The path to the ISATAB file.\n :type xpathToISATABFile: str\n :param verbose: Whether (or not) to print out details of Studies and Assays (default: True)\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the appendAssayToStudy 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 appendAssayToStudy 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... | This function appends an Assay object to a study in an ISA file
Typically, you should use the exploreISA function to check the contents
of the ISA file and retrieve the assay and study number you are interested in!
:param assay: The Assay
:type assay: ISA Assay object
:param studyNum: The Study numb... | "This function appends an Assay object to a study in an ISA file\n Typically, you should use the exploreISA function to check the contents\n of the ISA file and retrieve the assay and study number you are interested in!\n :param assay: The Assay\n :type assay: ISA Assay object\n :param studyNum: The Stud... | 14 | false | phenomecentre/isaExplorer | appendAssayToStudy | 34,834 | |
LDU_FT/RJT1990/pyflux/_sim_prediction_bayes | LDU_FT | [
"<BEGIN>\n## `_get_scale_and_shape`",
"Obtains model scale, shape and skewness latent variables",
" Parameters\n ----------\n transformed_lvs : np.array\n Transformed latent variable vector",
" Returns\n ----------\n - Tuple of model scale, model shape, mod... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _sim_prediction_bayes 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 _sim_prediction_bayes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Simulates a h-step ahead mean prediction
Parameters
----------
h : int
How many steps ahead for the prediction
simulations : int
How many simulations to perform
Returns
----------
Matrix of simulations | "Simulates a h-step ahead mean prediction\n\n Parameters\n ----------\n h : int\n How many steps ahead for the prediction\n\n simulations : int\n How many simulations to perform\n\n Returns\n ----------\n Matrix of simulations" | 1,462 | true | RJT1990/pyflux | _sim_prediction_bayes | 34,835 | |
LDU_FT/programa-stic/barf-project/resolve_memory_access | LDU_FT | [
"<BEGIN>\n## `translate`",
"Return the SMT representation of a REIL instruction.\n<END>",
"<BEGIN>\n## `_translate_src_oprnd`",
"Translate source operand to a SMT expression.\n<END>",
"<BEGIN>\n## `_translate_dst_oprnd`",
"Translate destination operand to a SMT expression.\n<END>",
"<BEGIN>\n## `_transl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resolve_memory_access 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 resolve_memory_access API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Return operand memory access translation. | "Return operand memory access translation." | 148 | false | programa-stic/barf-project | resolve_memory_access | 34,836 | |
LDU_FT/BreakingBytes/simkit/load | LDU_FT | [
"<BEGIN>\n## `register`",
"Register outputs and metadata.",
" * ``initial_value`` - used in dynamic calculations\n * ``size`` - number of elements per timestep\n * ``uncertainty`` - in percent of nominal value\n * ``variance`` - dictionary of covariances, diagonal is square of\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Load or update a model or layers in a model.
:param modelfile: The name of the json file to load.
:type modelfile: str
:param layer: Optionally load only specified layer.
:type layer: str | "Load or update a model or layers in a model.\n\n :param modelfile: The name of the json file to load.\n :type modelfile: str\n :param layer: Optionally load only specified layer.\n :type layer: str" | 227 | false | BreakingBytes/simkit | load | 34,837 | |
LDU_FT/pyqg/pyqg/set_U1U2 | LDU_FT | [
"<BEGIN>\n## `run_with_snapshots`",
"Run the model forward, yielding to user code at specified intervals.",
" Parameters\n ----------",
" tsnapstart : int\n The timestep at which to begin yielding.\n tstapint : int\n The interval at which to yield.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_U1U2 API.
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 set_U1U2 API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Set background zonal flow.
Parameters
----------
U1 : number
Upper layer flow. Units: m/s
U2 : number
Lower layer flow. Units: m/s | "Set background zonal flow.\n\n Parameters\n ----------\n\n U1 : number\n Upper layer flow. Units: m/s\n U2 : number\n Lower layer flow. Units: m/s" | 56 | false | pyqg/pyqg | set_U1U2 | 34,838 | |
LDU_FT/airspeed-velocity/asv/args | LDU_FT | [
"<BEGIN>\n## `get_graph_data`",
"Iterator over graph data sets",
" Yields\n ------\n param_idx\n Flat index to parameter permutations for parameterized benchmarks.\n None if benchmark is not parameterized.\n entry_name\n Name for the data set. If benc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the args API.
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 args API.
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 all attributes as arguments tuple. | "Return all attributes as arguments tuple." | 256 | false | airspeed-velocity/asv | args | 34,839 | |
LDU_FT/Riparo/nougat/handler | LDU_FT | [
"<BEGIN>\n## `is_middleware`",
"test whether it is a middleware\n :return: Boolean\n<END>",
"<BEGIN>\n## `set_header`",
"set response header\n :param key: the key of header\n :param value: the value of header\n<END>",
"<BEGIN>\n## `send_http_response`",
"generate http response payload and... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handler API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handler API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | The handler handling each request
:param request: the Request instance
:return: The Response instance | "The handler handling each request\n :param request: the Request instance\n :return: The Response instance" | 16 | false | Riparo/nougat | handler | 34,840 | |
LDU_FT/tobgu/pyrsistent/update | LDU_FT | [
"<BEGIN>\n## `pdeque`",
"Return deque containing the elements of iterable. If maxlen is specified then\n len(iterable) - maxlen elements are discarded from the left to if len(iterable) > maxlen.",
" >>> pdeque([1, 2, 3])\n pdeque([1, 2, 3])\n >>> pdeque([1, 2, 3, 4], maxlen=2)\n pdeque([3, 4], ma... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Update bag with all elements in iterable.
>>> s = pbag([1])
>>> s.update([1, 2])
pbag([1, 1, 2]) | "Update bag with all elements in iterable.\n\n >>> s = pbag([1])\n >>> s.update([1, 2])\n pbag([1, 1, 2])" | 130 | false | tobgu/pyrsistent | update | 34,841 | |
LDU_FT/niolabs/python-xbee/halt | LDU_FT | [
"<BEGIN>\n## `_write`",
"_write: binary data -> None",
" Packages the given binary data in an API frame and writes the\n result to the serial port\n<END>",
"<BEGIN>\n## `_build_command`",
"_build_command: string (binary data) ... -> binary data",
" _build_command will construct a comm... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the halt API.
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 halt API.
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... | halt: None -> None
If this instance has a separate thread running, it will be
halted. This method will wait until the thread has cleaned
up before returning. | "halt: None -> None\n\n If this instance has a separate thread running, it will be\n halted. This method will wait until the thread has cleaned\n up before returning." | 91 | false | niolabs/python-xbee | halt | 34,842 | |
LDU_FT/wheeler-microfluidics/dmf-control-board-firmware/c_filler | LDU_FT | [
"<BEGIN>\n## `swap_default`",
"Given a `sympy` equation or equality, along with a list of symbol names,\n substitute the specified default value for each symbol for which a value is\n not provided through a keyword argument.",
" For example, consider the following equality:",
" >>> sp.pprint(H)\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the c_filler API.
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 c_filler API.
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... | Capacitance of an electrode covered in filler media (e.g., air or oil),
normalized per unit area (i.e., units are F/mm^2). | "Capacitance of an electrode covered in filler media (e.g., air or oil),\n normalized per unit area (i.e., units are F/mm^2)." | 206 | false | wheeler-microfluidics/dmf-control-board-firmware | c_filler | 34,843 | |
LDU_FT/delicb/mvvm/subscribe | LDU_FT | [
"<BEGIN>\n## `instance`",
"Returns existing instance of messenger. If one does not exist it will\n be created and returned.",
" :param int interval:\n Number of miliseconds that represents interval when messages will\n be processed.\n Note that this parameter will ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the subscribe API.
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 subscribe API.
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... | Adds hander for specified message.
:param str message:
Name of message to subscribe to.
:param callable handler:
Handler for this message type. Handler must receive single parameter
and that parameter will be instance of sent message. | "Adds hander for specified message.\n\n :param str message:\n Name of message to subscribe to.\n\n :param callable handler:\n Handler for this message type. Handler must receive single parameter\n and that parameter will be instance of sent message." | 21 | false | delicb/mvvm | subscribe | 34,844 | |
LDU_FT/bkjones/pyrabbit/set_vhost_permissions | LDU_FT | [
"<BEGIN>\n## `do_call`",
"Send an HTTP request to the REST API.",
" :param string path: A URL\n :param string method: The HTTP method (GET, POST, etc.) to use\n in the request.\n :param string body: A string representing any data to be sent in the\n body of the HTTP re... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_vhost_permissions 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 set_vhost_permissions 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 permissions for a given username on a given vhost. Both
must already exist.
:param string vname: Name of the vhost to set perms on.
:param string username: User to set permissions for.
:param string config: Permission pattern for configuration operations
for this user in... | "Set permissions for a given username on a given vhost. Both\n must already exist.\n\n :param string vname: Name of the vhost to set perms on.\n :param string username: User to set permissions for.\n :param string config: Permission pattern for configuration operations\n for this ... | 112 | false | bkjones/pyrabbit | set_vhost_permissions | 34,845 | |
LDU_FT/treasure-data/pandas-td/read_td_table | LDU_FT | [
"<BEGIN>\n## `create_engine`",
"Create a handler for query engine based on a URL.",
" The following environment variables are used for default connection:",
" TD_API_KEY API key\n TD_API_SERVER API server (default: api.treasuredata.com)\n HTTP_PROXY HTTP proxy (optional)",
" Pa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_td_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 ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_td_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 ext... | Read Treasure Data table into a DataFrame.
The number of returned rows is limited by "limit" (default 10,000).
Setting limit=None means all rows. Be careful when you set limit=None
because your table might be very large and the result does not fit into memory.
Parameters
----------
table_name ... | "Read Treasure Data table into a DataFrame.\n\n The number of returned rows is limited by \"limit\" (default 10,000).\n Setting limit=None means all rows. Be careful when you set limit=None\n because your table might be very large and the result does not fit into memory.\n\n Parameters\n ----------\n ... | 29 | false | treasure-data/pandas-td | read_td_table | 34,846 | |
LDU_FT/ismms-himc/clustergrammer2/viz_json | LDU_FT | [
"<BEGIN>\n## `run_norm`",
"A dataframe (more accurately a dictionary of dataframes, e.g. mat,\n mat_up...) can be passed to run_norm and a normalization will be run (\n e.g. zscore) on either the rows or columns\n<END>",
"<BEGIN>\n## `qn_df`",
"do quantile normalization of a dataframe dictionary, does not w... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the viz_json API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the viz_json API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | make the dictionary for the clustergram.js visualization | "make the dictionary for the clustergram.js visualization" | 90 | false | ismms-himc/clustergrammer2 | viz_json | 34,847 | |
LDU_FT/tshlabs/tunic/_get_file_from_url | LDU_FT | [
"<BEGIN>\n## `_is_iterable`",
"Ensure that a value is iterable and not some sort of string\n<END>",
"<BEGIN>\n## `download_url`",
"Download the given URL with wget to the provided path. The command is\n run via Fabric on the current remote machine. Therefore, the destination\n path should be for the rem... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_file_from_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.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_file_from_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.
Th... | Get the filename part of the path component from a URL. | "Get the filename part of the path component from a URL." | 73 | false | tshlabs/tunic | _get_file_from_url | 34,848 | |
LDU_FT/childsish/lhc-python/window | LDU_FT | [
"<BEGIN>\n## `_get_sorted_iterator`",
"Get the iterator over the sorted items.",
" This function decides whether the items can be sorted in memory or on disk.\n :return:\n<END>",
"<BEGIN>\n## `_split`",
"Splits the file into several chunks.",
" If the original file is too big to fit i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the window API.
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 window API.
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 function passes a running window along the length of the given
iterable. By default, the return value is a tuple, but the cast
parameter can be used to change the final result. | "This function passes a running window along the length of the given\n iterable. By default, the return value is a tuple, but the cast\n parameter can be used to change the final result." | 76 | false | childsish/lhc-python | window | 34,849 | |
LDU_FT/oasiswork/zimsoap/get_preferences | LDU_FT | [
"<BEGIN>\n## `from_dict`",
"Given a dict in python-zimbra format or XML, generate\n a Python object.\n<END>",
"<BEGIN>\n## `property`",
"Returns a property value",
" :param: default will return that value if the property is not found,\n else, will raise a KeyError.\n<END>",
"<B... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_preferences API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_preferences API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Gets all the preferences of the current user
:returns: a dict presenting the preferences by name, values are
typed to str/bool/int/float regarding their content. | "Gets all the preferences of the current user\n\n :returns: a dict presenting the preferences by name, values are\n typed to str/bool/int/float regarding their content." | 242 | false | oasiswork/zimsoap | get_preferences | 34,850 | |
LDU_FT/sludgedesk/metoffer/parse_sitelist | LDU_FT | [
"<BEGIN>\n## `guidance_UV`",
"Return Met Office guidance regarding UV exposure based on UV index\n<END>",
"<BEGIN>\n## `parse_sitelist`",
"Return list of Site instances from retrieved sitelist data\n<END>",
"<BEGIN>\n## `get_nearest_site`",
"Return a string which can be used as \"request\" in calls to loc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_sitelist API.
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 parse_sitelist API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Return list of Site instances from retrieved sitelist data | "Return list of Site instances from retrieved sitelist data" | 33 | false | sludgedesk/metoffer | parse_sitelist | 34,851 | |
LDU_FT/gitpython-developers/GitPython/from_path | LDU_FT | [
"<BEGIN>\n## `new_from_sha`",
":return: new object instance of a type appropriate to represent the given\n binary sha1\n :param sha1: 20 byte binary sha1\n<END>",
"<BEGIN>\n## `stream_data`",
"Writes our data directly to the given output stream\n :param ostream: File object compatible... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | :param path: full .git-directory-relative path name to the Reference to instantiate
:note: use to_full_path() if you only have a partial path of a known Reference Type
:return:
Instance of type Reference, Head, or Tag
depending on the given path | ":param path: full .git-directory-relative path name to the Reference to instantiate\n :note: use to_full_path() if you only have a partial path of a known Reference Type\n :return:\n Instance of type Reference, Head, or Tag\n depending on the given path" | 741 | false | gitpython-developers/GitPython | from_path | 34,852 | |
LDU_FT/brandon-rhodes/uncommitted/find_repositories_by_walking_and_following_symlinks | LDU_FT | [
"<BEGIN>\n## `run`",
"Run `command`, catch any exception, and return lines of output.\n<END>",
"<BEGIN>\n## `find_repositories_with_locate`",
"Use locate to return a sequence of (directory, dotdir) pairs.\n<END>",
"<BEGIN>\n## `find_repositories_by_walking_without_following_symlinks`",
"Walk a tree and re... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_repositories_by_walking_and_following_symlinks API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <E... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_repositories_by_walking_and_following_symlinks API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <E... | Walk a tree and return a sequence of (directory, dotdir) pairs. | "Walk a tree and return a sequence of (directory, dotdir) pairs." | 19 | false | brandon-rhodes/uncommitted | find_repositories_by_walking_and_following_symlinks | 34,853 | |
LDU_FT/aichaos/rivescript-python/set_person | LDU_FT | [
"<BEGIN>\n## `format_message`",
"Format a user's message for safe processing.",
" This runs substitutions on the message and strips out any remaining\n symbols (depending on UTF-8 mode).",
" :param str msg: The user's message.\n :param bool botreply: Whether this formatting is bein... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_person API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_person API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Set a person substitution.
Equivalent to ``! person`` in RiveScript code.
:param str what: The original text to replace.
:param str rep: The text to replace it with.
Set this to ``None`` to delete the substitution. | "Set a person substitution.\n\n Equivalent to ``! person`` in RiveScript code.\n\n :param str what: The original text to replace.\n :param str rep: The text to replace it with.\n Set this to ``None`` to delete the substitution." | 218 | false | aichaos/rivescript-python | set_person | 34,854 | |
LDU_FT/vertica/vertica-python/date_parse | LDU_FT | [
"<BEGIN>\n## `__setkey`",
"Set up the key schedule from the encryption key.\n<END>",
"<BEGIN>\n## `date_parse`",
"Parses value of a DATE type.\n :param s: string to parse into date\n :return: an instance of datetime.date\n :raises NotSupportedError when a date Before Christ is encountered\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the date_parse API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the date_parse API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Parses value of a DATE type.
:param s: string to parse into date
:return: an instance of datetime.date
:raises NotSupportedError when a date Before Christ is encountered | "Parses value of a DATE type.\n :param s: string to parse into date\n :return: an instance of datetime.date\n :raises NotSupportedError when a date Before Christ is encountered" | 41 | false | vertica/vertica-python | date_parse | 34,855 | |
LDU_FT/NiklasRosenstein-Python/nr-deprecated/result | LDU_FT | [
"<BEGIN>\n## `skip`",
"Must be called from within `__enter__()`. Performs some magic to have a\n #ContextSkipped exception be raised the moment the with context is entered.\n The #ContextSkipped must then be handled in `__exit__()` to suppress the\n propagation of the exception.",
" > Important: This functi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the result API.
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 result API.
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 ... | Retrieve the result of the future, waiting for it to complete or at
max *timeout* seconds.
:param timeout: The number of maximum seconds to wait for the result.
:param do_raise: Set to False to prevent any of the exceptions below
to be raised and return :const:`None` instead.
:raise Cancelled: If... | "Retrieve the result of the future, waiting for it to complete or at\n max *timeout* seconds.\n\n :param timeout: The number of maximum seconds to wait for the result.\n :param do_raise: Set to False to prevent any of the exceptions below\n to be raised and return :const:`None` instead.\n :raise Cancel... | 305 | false | NiklasRosenstein-Python/nr-deprecated | result | 34,856 | |
LDU_FT/jdoda/sdl2hl/draw_color | LDU_FT | [
"<BEGIN>\n## `was_init`",
"This function returns the subsystems which have previously been initialized.",
" Returns:\n Set[InitFlag]: Flags indicating which subsystems have been initialized.\n<END>",
"<BEGIN>\n## `load_bmp`",
"Load a surface from a file.",
" Args:\n path (str):... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the draw_color API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the draw_color API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Tuple[int, int, int, int]: The color used for drawing operations in (red, green, blue, alpha) format. | "Tuple[int, int, int, int]: The color used for drawing operations in (red, green, blue, alpha) format." | 134 | false | jdoda/sdl2hl | draw_color | 34,857 | |
LDU_FT/emory-libraries/eulfedora/setDatastreamVersionable | LDU_FT | [
"<BEGIN>\n## `file_md5sum`",
"Calculate and returns an MD5 checksum for the specified file. Any file\n errors (non-existent file, read error, etc.) are not handled here but should\n be caught where this method is called.",
" :param filename: full path to the file for which a checksum should be calcula... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setDatastreamVersionable 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 setDatastreamVersionable API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Update datastream versionable setting.
:param pid: object pid
:param dsID: datastream id
:param versionable: boolean
:returns: boolean success | "Update datastream versionable setting.\n\n :param pid: object pid\n :param dsID: datastream id\n :param versionable: boolean\n :returns: boolean success" | 312 | false | emory-libraries/eulfedora | setDatastreamVersionable | 34,858 | |
LDU_FT/mikeywaites/flask-arrested/make_response | LDU_FT | [
"<BEGIN>\n## `process`",
"Process the provided data and invoke :meth:`Handler.handle` method for this\n Handler class.",
" :params data: The data being processed.\n :returns: self\n :rtype: :class:`Handler`",
" .. code-block:: python",
" def post(self, *args, **... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_response API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_response API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Create a response object using the :class:`flask.Response` class.
:param rv: Response value. If the value is not an instance
of :class:`werkzeug.wrappers.Response` it will be converted
into a Response object.
:param status: specify the HTTP status code for this response.
... | "Create a response object using the :class:`flask.Response` class.\n\n :param rv: Response value. If the value is not an instance\n of :class:`werkzeug.wrappers.Response` it will be converted\n into a Response object.\n :param status: specify the HTTP status code for this response.\... | 99 | false | mikeywaites/flask-arrested | make_response | 34,859 | |
LDU_FT/django-parler/django-parler/_get_any_translated_model | LDU_FT | [
"<BEGIN>\n## `objectlanguage`",
"Template tag to switch an object language\n Example::",
" {% objectlanguage object \"en\" %}\n {{ object.title }}\n {% endobjectlanguage %}",
" A TranslatedObject is not affected by the ``{% language .. %}`` tag\n as it maintains it's own state.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_any_translated_model API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_any_translated_model 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 any available translation.
Returns None if there are no translations at all. | "Return any available translation.\n Returns None if there are no translations at all." | 163 | false | django-parler/django-parler | _get_any_translated_model | 34,860 | |
LDU_FT/ronaldguillen/wave/exception_handler | LDU_FT | [
"<BEGIN>\n## `template_render`",
"Passing Context or RequestContext to Template.render is deprecated in 1.9+,\n see https://github.com/django/django/pull/3883 and\n https://github.com/django/django/blob/1.9rc1/django/template/backends/django.py#L82-L84",
" :param template: Template instance\n :param... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the exception_handler API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the exception_handler API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Returns the response that should be used for any given exception.
By default we handle the REST framework `APIException`, and also
Django's built-in `Http404` and `PermissionDenied` exceptions.
Any unhandled exceptions may return `None`, which will cause a 500 error
to be raised. | "Returns the response that should be used for any given exception.\n\n By default we handle the REST framework `APIException`, and also\n Django's built-in `Http404` and `PermissionDenied` exceptions.\n\n Any unhandled exceptions may return `None`, which will cause a 500 error\n to be raised." | 296 | false | ronaldguillen/wave | exception_handler | 34,861 | |
LDU_FT/carpyncho/feets/lorenz_animation | LDU_FT | [
"<BEGIN>\n## `basic_animation`",
"Plot a basic sine wave with oscillating amplitude\n<END>",
"<BEGIN>\n## `lorenz_animation`",
"Plot a 3D visualization of the dynamics of the Lorenz system\n<END>",
"<BEGIN>\n## `_included_frames`",
"frame_list should be a list of filenames\n<END>",
"<BEGIN>\n## `_embedd... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lorenz_animation API.
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 lorenz_animation API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Plot a 3D visualization of the dynamics of the Lorenz system | "Plot a 3D visualization of the dynamics of the Lorenz system" | 111 | false | carpyncho/feets | lorenz_animation | 34,862 | |
LDU_FT/CygnusNetworks/pypureomapi/receive_response | LDU_FT | [
"<BEGIN>\n## `parse_chain`",
"Creates a new parser that executes the passed parsers (args) with the\n\tprevious results and yields a tuple of the results.",
"\t>>> list(parse_chain(lambda: (None, 1), lambda one: (None, 2)))\n\t[None, None, (1, 2)]",
"\t@param args: parsers\n\t@returns: parser\n<END>",
"<BEG... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the receive_response API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the receive_response API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Read the response for the given message.
@type message: OmapiMessage
@type insecure: bool
@param insecure: avoid an OmapiError about a wrong authenticator
@rtype: OmapiMessage
@raises OmapiError:
@raises socket.error: | "Read the response for the given message.\n\t\t@type message: OmapiMessage\n\t\t@type insecure: bool\n\t\t@param insecure: avoid an OmapiError about a wrong authenticator\n\t\t@rtype: OmapiMessage\n\t\t@raises OmapiError:\n\t\t@raises socket.error:" | 114 | false | CygnusNetworks/pypureomapi | receive_response | 34,863 | |
LDU_FT/inveniosoftware-attic/invenio-utils/download_external_url | LDU_FT | [
"<BEGIN>\n## `get_callable_signature_as_string`",
"Return a string representing a callable.",
" It is executed as if it would have been declared on the prompt.",
" >>> def foo(arg1, arg2, arg3='val1', arg4='val2', *args, **argd):\n ... pass\n >>> get_callable_signature_as_string(foo)\n def ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download_external_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.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download_external_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.
... | Download a url (if it corresponds to a remote file) and return a
local url to it. If format is specified, a check will be performed
in order to make sure that the format of the downloaded file is equal
to the expected format.
@param url: the URL to download
@type url: string
@param download_to... | "Download a url (if it corresponds to a remote file) and return a\n local url to it. If format is specified, a check will be performed\n in order to make sure that the format of the downloaded file is equal\n to the expected format.\n\n @param url: the URL to download\n @type url: string\n\n @param do... | 424 | false | inveniosoftware-attic/invenio-utils | download_external_url | 34,864 | |
LDU_FT/juiceinc/recipe/from_yaml | LDU_FT | [
"<BEGIN>\n## `cauldron_extras`",
"Yield extra tuples containing a field name and a callable that takes\n a row\n<END>",
"<BEGIN>\n## `make_column_suffixes`",
"Make sure we have the right column suffixes. These will be appended\n to `id` when generating the query.\n<END>",
"<BEGIN>\n## `parse_c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_yaml API.
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_yaml API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Create a shelf using a yaml shelf definition.
:param yaml_str: A string containing yaml ingredient definitions.
:param selectable: A SQLAlchemy Table, a Recipe, or a SQLAlchemy
join to select from.
:return: A shelf that contains the ingredients defined in yaml_str. | "Create a shelf using a yaml shelf definition.\n\n :param yaml_str: A string containing yaml ingredient definitions.\n :param selectable: A SQLAlchemy Table, a Recipe, or a SQLAlchemy\n join to select from.\n :return: A shelf that contains the ingredients defined in yaml_str." | 129 | false | juiceinc/recipe | from_yaml | 34,865 | |
LDU_FT/sporsh/carnifex/receiveError | LDU_FT | [
"<BEGIN>\n## `attr_string`",
"Build a string consisting of 'key=value' substrings for each keyword\n argument in :kwargs:",
" @param filterKeys: list of key names to ignore\n @param filterValues: list of values to ignore (e.g. None will ignore all\n key=value pairs that has that... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the receiveError API.
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 receiveError API.
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... | Called when we receive a disconnect error message from the other
side. | "Called when we receive a disconnect error message from the other\n side." | 61 | false | sporsh/carnifex | receiveError | 34,866 | |
LDU_FT/bulkan/robotframework-requests/delete_request | LDU_FT | [
"<BEGIN>\n## `_create_session`",
"Create Session: create a HTTP session to a server",
" ``url`` Base url of the server",
" ``alias`` Robot Framework alias to identify the session",
" ``headers`` Dictionary of default headers",
" ``cookies`` Dictionary of cookies",
" ``... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Send a DELETE request on the session object found using the
given `alias`
``alias`` that will be used to identify the Session object in the cache
``uri`` to send the DELETE request to
``json`` a value that will be json encoded
and sent as request data if data is not spe... | "Send a DELETE request on the session object found using the\n given `alias`\n\n ``alias`` that will be used to identify the Session object in the cache\n\n ``uri`` to send the DELETE request to\n\n ``json`` a value that will be json encoded\n and sent as request data if data i... | 151 | false | bulkan/robotframework-requests | delete_request | 34,867 | |
LDU_FT/orb-framework/orb/default | LDU_FT | [
"<BEGIN>\n## `virtual`",
"Allows for defining virtual columns and collectors on models -- these\n are objects that are defined in code and not directly in a data store.",
" :param cls:\n :param options:\n :return:\n<END>",
"<BEGIN>\n## `dict_factory`",
"Converts the cursor information from a SQL... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the default API.
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 default API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Returns the default value for this column to return
when generating new instances.
:return <variant> | "Returns the default value for this column to return\n when generating new instances.\n\n :return <variant>" | 608 | false | orb-framework/orb | default | 34,868 | |
LDU_FT/todddeluca/python-vagrant/_call_vagrant_command | LDU_FT | [
"<BEGIN>\n## `which`",
"Emulate unix 'which' command. If program is a path to an executable file\n (i.e. it contains any directory components, like './myscript'), return\n program. Otherwise, if an executable file matching program is found in one\n of the directories in the PATH environment variable, r... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _call_vagrant_command API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _call_vagrant_command API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Run a vagrant command. Return None.
args: A sequence of arguments to a vagrant command line. | "Run a vagrant command. Return None.\n args: A sequence of arguments to a vagrant command line." | 94 | false | todddeluca/python-vagrant | _call_vagrant_command | 34,869 | |
LDU_FT/madedotcom/photon-pump/iter_all | LDU_FT | [
"<BEGIN>\n## `NewEvent`",
"Build the data structure for a new event.",
" Args:\n type: An event type.\n id: The uuid identifier for the event.\n data: A dict containing data for the event. These data\n must be json serializable.\n metadata: A dict containing metadata ab... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iter_all API.
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 iter_all API.
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... | Read through all the events in the database.
Args:
direction (optional): Controls whether to read forward or backward
through the events. Defaults to StreamDirection.Forward
from_position (optional): The position to start reading from.
Defaults to photonpump... | "Read through all the events in the database.\n\n Args:\n direction (optional): Controls whether to read forward or backward\n through the events. Defaults to StreamDirection.Forward\n from_position (optional): The position to start reading from.\n Defaults to pho... | 94 | false | madedotcom/photon-pump | iter_all | 34,870 | |
LDU_FT/MostAwesomeDude/gentleman/prepare_query | LDU_FT | [
"<BEGIN>\n## `request`",
"Sends an HTTP request.",
" This constructs a full URL, encodes and decodes HTTP bodies, and\n handles invalid responses in a pythonic way.",
" @type method: string\n @param method: HTTP method to use\n @type path: string\n @param path: HTTP U... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prepare_query API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prepare_query API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Prepare a query object for the RAPI.
RAPI has lots of curious rules for coercing values.
This function operates on dicts in-place and has no return value.
@type query: dict
@param query: Query arguments | "Prepare a query object for the RAPI.\n\n RAPI has lots of curious rules for coercing values.\n\n This function operates on dicts in-place and has no return value.\n\n @type query: dict\n @param query: Query arguments" | 173 | false | MostAwesomeDude/gentleman | prepare_query | 34,871 | |
LDU_FT/ska-sa/purr/setbb | LDU_FT | [
"<BEGIN>\n## `rotate`",
"Rotate a coordinate around point (0,0).\n - x and y specify the coordinate.\n - degree is a number from 0 to 360.\n Returns a new coordinate.\n<END>",
"<BEGIN>\n## `_compute_bounding_box`",
"Given the list of coordinates (x,y), this procedure computes\n the smallest rectan... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setbb API.
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 setbb API.
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... | Call this method when point (X,Y) is to be drawn in the
canvas. This methods expands the bounding box to include
this point. | "Call this method when point (X,Y) is to be drawn in the\n canvas. This methods expands the bounding box to include\n this point." | 265 | false | ska-sa/purr | setbb | 34,872 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.