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/heuer/cablemap/header_body_from_content
LDU_FT
[ "<BEGIN>\n## `cable_to_text`", "\\\n Returns the header/content of the cable as text.\n<END>", "<BEGIN>\n## `generate_text_files`", "\\\n Walks through the `in_dir` and generates text versions of\n the cables in the `out_dir`.\n<END>", "<BEGIN>\n## `generate_csv`", "\\\n Walks through the `pat...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the header_body_from_content 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 header_body_from_content API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
\ Tries to extract the header and the message from the cable content. The header is something like UNCLASSIFIED ... SUBJECT ... REF ... while the message begins usually with a summary 1. SUMMARY ... ... 10. ... Returns (header, msg) or (None, None...
"\\\n Tries to extract the header and the message from the cable content.\n\n The header is something like\n\n UNCLASSIFIED ...\n SUBJECT ...\n REF ...\n\n while the message begins usually with a summary\n\n 1. SUMMARY ...\n ...\n 10. ...\n \n Returns (header, ms...
206
false
heuer/cablemap
header_body_from_content
36,873
LDU_FT/eventbrite/pysoa/call_actions
LDU_FT
[ "<BEGIN>\n## `dict_to_hashable`", "Takes a dict and returns an immutable, hashable version of that dict that can be used as a key in dicts or as a\n set value. Any two dicts passed in with the same content are guaranteed to return the same value. Any two dicts\n passed in with different content are guarante...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the call_actions API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the call_actions API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Build and send a single job request with one or more actions. Returns a list of action responses, one for each action in the same order as provided, or raises an exception if any action response is an error (unless `raise_action_errors` is passed as `False`) or if the job response is an error (...
"Build and send a single job request with one or more actions.\n\n Returns a list of action responses, one for each action in the same order as provided, or raises an exception\n if any action response is an error (unless `raise_action_errors` is passed as `False`) or if the job response\n is an er...
178
false
eventbrite/pysoa
call_actions
36,874
LDU_FT/millar/provstore-api/url
LDU_FT
[ "<BEGIN>\n## `create`", "Create a document on ProvStore.", " :param prov_document: The document to be stored\n :param prov_format: The format of the document provided\n :param bool refresh: Whether or not to load back the document after saving\n :param dict props: Properties for this...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the url API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the url API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
URL of document on ProvStore :Example: >>> stored_document.url 'https://provenance.ecs.soton.ac.uk/store/documents/148'
"URL of document on ProvStore\n\n :Example:\n >>> stored_document.url\n 'https://provenance.ecs.soton.ac.uk/store/documents/148'"
34
false
millar/provstore-api
url
36,875
LDU_FT/miguelgrinberg/Flask-SocketIO/emit
LDU_FT
[ "<BEGIN>\n## `emit`", "Emit a SocketIO event.", " This function emits a SocketIO event to one or more connected clients. A\n JSON blob can be attached to the event as payload. This is a function that\n can only be called from a SocketIO event handler, as in obtains some\n information from the curren...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the emit API. 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 emit API. 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...
Emit a SocketIO event. This function emits a SocketIO event to one or more connected clients. A JSON blob can be attached to the event as payload. This is a function that can only be called from a SocketIO event handler, as in obtains some information from the current client context. Example:: ...
"Emit a SocketIO event.\n\n This function emits a SocketIO event to one or more connected clients. A\n JSON blob can be attached to the event as payload. This is a function that\n can only be called from a SocketIO event handler, as in obtains some\n information from the current client context. Example::\n\...
87
false
miguelgrinberg/Flask-SocketIO
emit
36,876
LDU_FT/gbowerman/azurerm/list_storage_accounts_rg
LDU_FT
[ "<BEGIN>\n## `get_rg_from_id`", "get a resource group name from a VMSS ID string\n<END>", "<BEGIN>\n## `get_user_agent`", "User-Agent Header. Sends library identification to Azure endpoint.\n<END>", "<BEGIN>\n## `do_get`", "Do an HTTP GET request and return JSON.", " Args:\n endpoint (str): Az...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_storage_accounts_rg 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 list_storage_accounts_rg API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
List the storage accounts in the specified resource group. Args: access_token (str): A valid Azure authentication token. subscription_id (str): Azure subscription id. rgname (str): Azure resource group name. Returns: HTTP response. JSON body list of storage accounts.
"List the storage accounts in the specified resource group.\n\n Args:\n access_token (str): A valid Azure authentication token.\n subscription_id (str): Azure subscription id.\n rgname (str): Azure resource group name.\n\n Returns:\n HTTP response. JSON body list of storage accounts."
605
false
gbowerman/azurerm
list_storage_accounts_rg
36,877
LDU_FT/klmitch/appathy/dispatch
LDU_FT
[ "<BEGIN>\n## `_translators`", "Decorator which associates a set of translators (serializers or\n deserializers) with a given method. The `attr` parameter\n identifies which attribute is being updated.\n<END>", "<BEGIN>\n## `register_types`", "Register a short name for one or more content types.\n<END>"...
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...
Called by the Routes middleware to dispatch the request to the appropriate controller. If a webob exception is raised, it is returned; if some other exception is raised, the webob `HTTPInternalServerError` exception is raised. Otherwise, the return value of the controller is returned.
"Called by the Routes middleware to dispatch the request to the\n appropriate controller. If a webob exception is raised, it is\n returned; if some other exception is raised, the webob\n `HTTPInternalServerError` exception is raised. Otherwise, the\n return value of the controller is retur...
48
false
klmitch/appathy
dispatch
36,878
LDU_FT/sarugaku/requirementslib/get_contained_pyversions
LDU_FT
[ "<BEGIN>\n## `pep517_subprocess_runner`", "The default method of calling the wrapper subprocess.\n<END>", "<BEGIN>\n## `run_setup`", "Run a `setup.py` script with a target **egg_base** if provided.", " :param S script_path: The path to the `setup.py` script to run\n :param Optional[S] egg_base: The me...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_contained_pyversions API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_contained_pyversions API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Collect all `python_version` operands from a marker.
"Collect all `python_version` operands from a marker."
26
false
sarugaku/requirementslib
get_contained_pyversions
36,879
LDU_FT/openai/pachi-py/propertySearch
LDU_FT
[ "<BEGIN>\n## `writesgf`", "Write the game to an SGF file after a game\n<END>", "<BEGIN>\n## `sort`", "Sorts 'self.data' in-place. Argument:\n\t\t- func : optional, default 'None' --\n\t\t\t- If 'func' not given, sorting will be in ascending\n\t\t\t order.\n\t\t\t- If 'func' given, it will determine the sort ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the propertySearch API. 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 propertySearch API. 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...
Searches this 'GameTree' for nodes containing matching properties. Returns a 'GameTree' containing the matched node(s). Arguments: - pid : string -- ID of properties to search for. - getall : boolean -- Set to true (1) to return all 'Node''s that match, or to false (0) to return only the first match.
"Searches this 'GameTree' for nodes containing matching properties.\n\t\t\tReturns a 'GameTree' containing the matched node(s). Arguments:\n\t\t\t- pid : string -- ID of properties to search for.\n\t\t\t- getall : boolean -- Set to true (1) to return all 'Node''s that\n\t\t\t match, or to false (0) to return only the ...
34
false
openai/pachi-py
propertySearch
36,880
LDU_FT/eventbrite/eventbrite-sdk-python/get_event_public_discounts
LDU_FT
[ "<BEGIN>\n## `objectify`", "Converts the returned value from a models.Payload to\n a models.EventbriteObject. Used by the access methods\n of the client.Eventbrite object\n<END>", "<BEGIN>\n## `get_category`", "GET /categories/:id/\n Gets a :format:`category` by ID as ``category``.\n<END>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_event_public_discounts API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_event_public_discounts API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
GET /events/:id/public_discounts/ Returns a :ref:`paginated <pagination>` response with a key of ``discounts``, containing a list of public :format:`discounts <discount>` available on this event. Note that public discounts and discounts have exactly the same form and structure; they're just namespaced s...
"GET /events/:id/public_discounts/\n Returns a :ref:`paginated <pagination>` response with a key of ``discounts``, containing a list of public :format:`discounts <discount>` available on this event.\n Note that public discounts and discounts have exactly the same form and structure; they're just namespace...
194
false
eventbrite/eventbrite-sdk-python
get_event_public_discounts
36,881
LDU_FT/resync/resync/write_zip
LDU_FT
[ "<BEGIN>\n## `read`", "Read sitemap from a URI including handling sitemapindexes.", " If index_only is True then individual sitemaps references in a sitemapindex\n will not be read. This will result in no resources being returned and is\n useful only to read the metadata and links listed in...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_zip API. 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 write_zip API. 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...
Write a ZIP format dump file. Writes a ZIP file containing the resources in the iterable resources along with a manifest file manifest.xml (written first). No checks on the size of files or total size are performed, this is expected to have been done beforehand.
"Write a ZIP format dump file.\n\n Writes a ZIP file containing the resources in the iterable resources along with\n a manifest file manifest.xml (written first). No checks on the size of files\n or total size are performed, this is expected to have been done beforehand."
322
false
resync/resync
write_zip
36,882
LDU_FT/daler/gffutils/tsses
LDU_FT
[ "<BEGIN>\n## `to_bedtool`", "Convert any iterator into a pybedtools.BedTool object.", " Note that the supplied iterator is not consumed by this function. To save\n to a temp file or to a known location, use the `.saveas()` method of the\n returned BedTool object.\n<END>", "<BEGIN>\n## `tsses`", "Cr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tsses API. 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 tsses API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Create 1-bp transcription start sites for all transcripts in the database and return as a sorted pybedtools.BedTool object pointing to a temporary file. To save the file to a known location, use the `.moveto()` method on the resulting `pybedtools.BedTool` object. To extend regions upstream/downstr...
"Create 1-bp transcription start sites for all transcripts in the database\n and return as a sorted pybedtools.BedTool object pointing to a temporary\n file.\n\n To save the file to a known location, use the `.moveto()` method on the\n resulting `pybedtools.BedTool` object.\n\n To extend regions upstream...
366
false
daler/gffutils
tsses
36,883
LDU_FT/bradmontgomery/django-blargg/mail2blogger
LDU_FT
[ "<BEGIN>\n## `entry_archive_year_url`", "Renders the ``entry_archive_year`` URL for the latest ``Entry``.\n<END>", "<BEGIN>\n## `mail2blogger`", "This signal handler cross-posts published ``Entry``'s to Blogger. For\n this to work, the following settings must be non-False; e.g.:", " BLARGG = {\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mail2blogger API. 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 mail2blogger API. 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...
This signal handler cross-posts published ``Entry``'s to Blogger. For this to work, the following settings must be non-False; e.g.: BLARGG = { 'mail2blogger': True, 'mail2blogger_email': 'user@example.com', }
"This signal handler cross-posts published ``Entry``'s to Blogger. For\n this to work, the following settings must be non-False; e.g.:\n\n BLARGG = {\n 'mail2blogger': True,\n 'mail2blogger_email': 'user@example.com',\n }"
19
false
bradmontgomery/django-blargg
mail2blogger
36,884
LDU_FT/Kaggle/kaggle-api/read_config_file
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 read_config_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_config_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
read_config_file is the first effort to get a username and key to authenticate to the Kaggle API. Since we can get the username and password from the environment, it's not required. Parameters ========== config_data: the Configuration object to save a username and...
"read_config_file is the first effort to get a username\n and key to authenticate to the Kaggle API. Since we can get the\n username and password from the environment, it's not required.\n\n Parameters\n ==========\n config_data: the Configuration object to save a usern...
304
false
Kaggle/kaggle-api
read_config_file
36,885
LDU_FT/intake/intake/load_env
LDU_FT
[ "<BEGIN>\n## `expand_defaults`", "Compile env, client_env, shell and client_shell commands\n<END>", "<BEGIN>\n## `get`", "Instantiate the DataSource for the given parameters\n<END>", "<BEGIN>\n## `_load`", "Load text of fcatalog file and pass to parse", " Will do nothing if autoreload is off and ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_env API. 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 load_env API. 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...
Analyse enviroment variables and update conf accordingly
"Analyse enviroment variables and update conf accordingly"
280
false
intake/intake
load_env
36,886
LDU_FT/PyFilesystem/pyfilesystem2/get_matcher
LDU_FT
[ "<BEGIN>\n## `install`", "Install an opener.", " Arguments:\n opener (`Opener`): an `Opener` instance, or a callable that\n returns an opener instance.", " Note:\n May be used as a class decorator. For example::\n registry = Registry()\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_matcher API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_matcher API. 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...
Get a callable that matches names against the given patterns. Arguments: patterns (list): A list of wildcard pattern. e.g. ``["*.py", "*.pyc"]`` case_sensitive (bool): If ``True``, then the callable will be case sensitive, otherwise it will be case insensitive. Returns:...
"Get a callable that matches names against the given patterns.\n\n Arguments:\n patterns (list): A list of wildcard pattern. e.g. ``[\"*.py\",\n \"*.pyc\"]``\n case_sensitive (bool): If ``True``, then the callable will be case\n sensitive, otherwise it will be case insensitive.\n\...
320
false
PyFilesystem/pyfilesystem2
get_matcher
36,887
LDU_FT/MaxHalford/prince/build_ellipse
LDU_FT
[ "<BEGIN>\n## `row_contributions`", "Returns the row contributions towards each principal component.\n<END>", "<BEGIN>\n## `partial_row_coordinates`", "Returns the row coordinates for each group.\n<END>", "<BEGIN>\n## `transform`", "Computes the row principal coordinates of a dataset.", " Same as ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_ellipse API. 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 build_ellipse API. 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...
Construct ellipse coordinates from two arrays of numbers. Args: X (1D array_like) Y (1D array_like) Returns: float: The mean of `X`. float: The mean of `Y`. float: The width of the ellipse. float: The height of the ellipse. float: The angle of orientatio...
"Construct ellipse coordinates from two arrays of numbers.\n\n Args:\n X (1D array_like)\n Y (1D array_like)\n\n Returns:\n float: The mean of `X`.\n float: The mean of `Y`.\n float: The width of the ellipse.\n float: The height of the ellipse.\n float: The angle o...
36
false
MaxHalford/prince
build_ellipse
36,888
LDU_FT/PeerAssets/pypeerassets/unflushable_parser
LDU_FT
[ "<BEGIN>\n## `parse_vote_info`", "decode vote init tx op_return protobuf message and validate it.\n<END>", "<BEGIN>\n## `vote_init`", "initialize vote transaction, must be signed by the deck_issuer privkey\n<END>", "<BEGIN>\n## `find_vote_casts`", "find and verify vote_casts on this vote_choice_address\n<...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unflushable_parser API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unflushable_parser API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
parser for UNFLUSHABLE [16] issue mode No card transfer transactions allowed except for the card-issue transaction
"parser for UNFLUSHABLE [16] issue mode\n No card transfer transactions allowed except for the card-issue transaction"
86
false
PeerAssets/pypeerassets
unflushable_parser
36,889
LDU_FT/nephila/python-taiga/add_user_story
LDU_FT
[ "<BEGIN>\n## `list`", "Retrieves a list of objects.", " By default uses local cache and remote pagination", " If pagination is used and no page is requested (the default), all the\n remote objects are retrieved and appended in a single list.", " If pagination is disabled, all the...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_user_story API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_user_story API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Adds a :class:`UserStory` and returns a :class:`UserStory` resource. :param subject: subject of the :class:`UserStory` :param attrs: other :class:`UserStory` attributes
"Adds a :class:`UserStory` and returns a :class:`UserStory` resource.\n\n :param subject: subject of the :class:`UserStory`\n :param attrs: other :class:`UserStory` attributes"
162
false
nephila/python-taiga
add_user_story
36,890
LDU_FT/pyokagan/pyglreg/get_supports
LDU_FT
[ "<BEGIN>\n## `import_type`", "Import Type `name` and its dependencies from Registry `src`\n to Registry `dest`.", " :param Registry dest: Destination Registry\n :param Registry src: Source Registry\n :param str name: Name of type to import\n :param str api: Prefer to import Types with api Name `a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_supports API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_supports API. 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...
Returns set of extension support strings referenced in this Registry :return: set of extension support strings
"Returns set of extension support strings referenced in this Registry\n\n :return: set of extension support strings"
84
false
pyokagan/pyglreg
get_supports
36,891
LDU_FT/wdecoster/nanoplotter/violin_or_box_plot
LDU_FT
[ "<BEGIN>\n## `check_valid_color`", "Check if the color provided by the user is valid.", " If color is invalid the default is returned.\n<END>", "<BEGIN>\n## `check_valid_format`", "Check if the specified figure format is valid.", " If format is invalid the default is returned.\n Probably installa...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the violin_or_box_plot 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 violin_or_box_plot API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
Create a violin or boxplot from the received DataFrame. The x-axis should be divided based on the 'dataset' column, the y-axis is specified in the arguments
"Create a violin or boxplot from the received DataFrame.\n\n The x-axis should be divided based on the 'dataset' column,\n the y-axis is specified in the arguments"
36
false
wdecoster/nanoplotter
violin_or_box_plot
36,892
LDU_FT/ckan/ckan-service-provider/_init_metadata_table
LDU_FT
[ "<BEGIN>\n## `init`", "Initialise and configure the app, database, scheduler, etc.", " This should be called once at application startup or at tests startup\n (and not e.g. called once for each test case).\n<END>", "<BEGIN>\n## `_init_login_manager`", "Initialise and configure the login manager.\n<END...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _init_metadata_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. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _init_metadata_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. ...
Initialise the "metadata" table in the db.
"Initialise the \"metadata\" table in the db."
117
false
ckan/ckan-service-provider
_init_metadata_table
36,893
LDU_FT/nwilming/ocupy/parameter_to_field
LDU_FT
[ "<BEGIN>\n## `path`", "Constructs the path to categories, images and features.", " This path function assumes that the following storage scheme is used on\n the hard disk to access categories, images and features:\n - categories: /impath/category\n - images: /impath/categ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parameter_to_field API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parameter_to_field API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
Promotes a parameter to a field by creating a new array of same size as the other existing fields, filling it with the current value of the parameter, and then removing that parameter.
"Promotes a parameter to a field by creating a new array of same\n size as the other existing fields, filling it with the current\n value of the parameter, and then removing that parameter."
310
false
nwilming/ocupy
parameter_to_field
36,894
LDU_FT/MakerReduxCorp/PLOD/returnString
LDU_FT
[ "<BEGIN>\n## `dropKey`", "Drop an attribute/element/key-value pair from all the dictionaries.", " If the dictionary key does not exist in a particular dictionary, then\n that dictionary is left unchanged.", " Side effect: if the key is a number and it matches a list (interpreted\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the returnString API. 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 returnString API. 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 a string containing the list of dictionaries in easy human-readable read format. Each entry is on one line. Key/value pairs are 'spaced' in such a way as to have them all line up vertically if using a monospace font. The fields are normalized to alphabetical order. Missing keys i...
"Return a string containing the list of dictionaries in easy\n human-readable read format.\n\n Each entry is on one line. Key/value pairs are 'spaced' in such a way\n as to have them all line up vertically if using a monospace font. The\n fields are normalized to alphabetical order. Missing ...
199
false
MakerReduxCorp/PLOD
returnString
36,895
LDU_FT/walkr/oi/run
LDU_FT
[ "<BEGIN>\n## `new_parser`", "Create a command line argument parser", " Add a few default flags, such as --version\n for displaying the program version when invoked\n<END>", "<BEGIN>\n## `add_command`", "Register a new function with a the name `command` and\n `description` (which will be...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API. 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 run API. 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...
Parse comand line arguments/flags and run program
"Parse comand line arguments/flags and run program"
22
false
walkr/oi
run
36,896
LDU_FT/carlthome/python-audio-effects/bandpass
LDU_FT
[ "<BEGIN>\n## `equalizer`", "equalizer takes three parameters: filter center frequency in Hz, \"q\"\n or band-width (default=1.0), and a signed number for gain or\n attenuation in dB.", " Beware of clipping when using positive gain.\n<END>", "<BEGIN>\n## `bandpass`", "bandpass takes 2 pa...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bandpass API. 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 bandpass API. 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...
bandpass takes 2 parameters: filter center frequency in Hz and "q" or band-width (default=1.0). It gradually removes frequencies outside the band specified.
"bandpass takes 2 parameters: filter center frequency in Hz and \"q\"\n or band-width (default=1.0).\n\n It gradually removes frequencies outside the band specified."
53
false
carlthome/python-audio-effects
bandpass
36,897
LDU_FT/mozilla/mozilla-django-oidc/retrieve_matching_jwk
LDU_FT
[ "<BEGIN>\n## `get_next_url`", "Retrieves next url from request", " Note: This verifies that the url is safe before returning it. If the url\n is not safe, this returns None.", " :arg HttpRequest request: the http request\n :arg str redirect_field_name: the name of the field holding the next url", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the retrieve_matching_jwk 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 retrieve_matching_jwk API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Get the signing key by exploring the JWKS endpoint of the OP.
"Get the signing key by exploring the JWKS endpoint of the OP."
49
false
mozilla/mozilla-django-oidc
retrieve_matching_jwk
36,898
LDU_FT/inonit/drf-haystack/get_object
LDU_FT
[ "<BEGIN>\n## `download_setuptools`", "Download distribute from a specified location and return its filename", " `version` should be a valid distribute version number that is available\n as an egg for download under the `download_base` URL (which should end\n with a '/'). `to_dir` is the directory where...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_object API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_object API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Fetch a single document from the data store according to whatever unique identifier is available for that document in the SearchIndex. In cases where the view has multiple ``index_models``, add a ``model`` query parameter containing a single `app_label.model` name to the request in orde...
"Fetch a single document from the data store according to whatever\n unique identifier is available for that document in the\n SearchIndex.\n\n In cases where the view has multiple ``index_models``, add a ``model`` query\n parameter containing a single `app_label.model` name to the request i...
77
false
inonit/drf-haystack
get_object
36,899
LDU_FT/ldomic/lintools/analyse_hydrogen_bonds_traj
LDU_FT
[ "<BEGIN>\n## `draw_hydrogen_bonds`", "For each bond that has been determined to be important, a line gets drawn.\n<END>", "<BEGIN>\n## `draw_salt_bridges`", "For each bond that has been determined to be important, a line gets drawn.\n<END>", "<BEGIN>\n## `change_lines_in_svg`", "Used to change lines in an...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the analyse_hydrogen_bonds_traj API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the analyse_hydrogen_bonds_traj API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
MDAnalysis.analysis.hbonds module is used to analyse hydrogen bonds formed between protein and ligand for each submitted trajectory. The hydrogen bonds are then counted by total value per frame (count_by_time), as well as obtaining the frequency of each individual hydrogen bond (count_by_type). ...
"MDAnalysis.analysis.hbonds module is used to analyse hydrogen bonds formed between protein\n and ligand for each submitted trajectory. The hydrogen bonds are then counted by total value\n per frame (count_by_time), as well as obtaining the frequency of each individual hydrogen\n bond (count_by_typ...
117
false
ldomic/lintools
analyse_hydrogen_bonds_traj
36,900
LDU_FT/opennode/waldur-core/_resource_deletion
LDU_FT
[ "<BEGIN>\n## `subfield_get`", "Verbatim copy from:\n https://github.com/django/django/blob/1.9.13/django/db/models/fields/subclassing.py#L38\n<END>", "<BEGIN>\n## `_preprocess_kwargs`", "Replace generic key related attribute with filters by object_id and content_type fields\n<END>", "<BEGIN>\n## `list`",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _resource_deletion 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 _resource_deletion 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...
Recalculate consumption details and save resource details
"Recalculate consumption details and save resource details"
526
false
opennode/waldur-core
_resource_deletion
36,901
LDU_FT/singnet/snet-cli/_transform_call_params
LDU_FT
[ "<BEGIN>\n## `list_my`", "Find organization that has the current identity as the owner or as the member\n<END>", "<BEGIN>\n## `is_group_name_exists`", "check if group with given name is already exists\n<END>", "<BEGIN>\n## `get_group_by_group_id`", "return group with given group_id (return None if doesn't...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _transform_call_params API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _transform_call_params API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
possible modifiers: file, b64encode, b64decode format: modifier1@modifier2@...modifierN@k_final
"possible modifiers: file, b64encode, b64decode\n format: modifier1@modifier2@...modifierN@k_final"
65
false
singnet/snet-cli
_transform_call_params
36,902
LDU_FT/AlecAivazis/graphql-over-kafka/stop
LDU_FT
[ "<BEGIN>\n## `roll_call_handler`", "This action handler responds to the \"roll call\" emitted by the api\n gateway when it is brought up with the normal summary produced by\n the service.\n<END>", "<BEGIN>\n## `flexible_api_handler`", "This query handler builds the dynamic picture of availible s...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stop API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stop API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
This method stops the brokers interaction with the kafka stream
"This method stops the brokers interaction with the kafka stream"
145
false
AlecAivazis/graphql-over-kafka
stop
36,903
LDU_FT/rackerlabs/simpl/paginated
LDU_FT
[ "<BEGIN>\n## `scrub`", "Verify and clean data. Raise error if input fails.\n<END>", "<BEGIN>\n## `build_text_search`", "Build mongodb query that performs text search for string(s).", " This is the backend implementation of the front-end search box on a list.\n It performs text search on a text index a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the paginated API. 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 paginated API. 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...
Decorator that handles pagination headers, params, and links. This accepts, parses, validates, and handles `limit` and `offset` optional query params according to common Rackspace APIs and passes them as kwargs to the decorated function. offset: The pagination offset. limit: The pagination...
"Decorator that handles pagination headers, params, and links.\n\n This accepts, parses, validates, and handles `limit` and `offset` optional\n query params according to common Rackspace APIs and passes them as kwargs\n to the decorated function.\n\n offset: The pagination offset.\n limit: The pa...
313
false
rackerlabs/simpl
paginated
36,904
LDU_FT/guma44/GEOparse/parse_GPL
LDU_FT
[ "<BEGIN>\n## `download`", "Download SRA files.", " Returns:\n :obj:`list` of :obj:`str`: List of downloaded files.\n<END>", "<BEGIN>\n## `add_log_file`", "Add log file.", " Args:\n path (:obj:`str`): Path to the log file.\n<END>", "<BEGIN>\n## `_sra_download_worker`", "A wo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_GPL API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_GPL API. 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...
Parse GPL entry from SOFT file. Args: filepath (:obj:`str` or :obj:`Iterable`): Path to file with 1 GPL entry or list of lines representing GPL from GSE file. entry_name (:obj:`str`, optional): Name of the entry. By default it is inferred from the data. partial (:obj...
"Parse GPL entry from SOFT file.\n\n Args:\n filepath (:obj:`str` or :obj:`Iterable`): Path to file with 1 GPL entry\n or list of lines representing GPL from GSE file.\n entry_name (:obj:`str`, optional): Name of the entry. By default it is\n inferred from the data.\n parti...
142
false
guma44/GEOparse
parse_GPL
36,905
LDU_FT/QuantEcon/QuantEcon.py/_populate_ranking_payoff_arrays
LDU_FT
[ "<BEGIN>\n## `backward_induction`", "r\"\"\"\n Solve by backward induction a :math:`T`-period finite horizon\n discrete dynamic program with stationary reward and transition\n probability functions :math:`r` and :math:`q` and discount factor\n :math:`\\beta \\in [0, 1]`.", " The optimal value fun...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _populate_ranking_payoff_arrays API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _populate_ranking_payoff_arrays API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co...
Populate the ndarrays in `payoff_arrays` with the payoff values of the ranking game given `scores` and `costs`. Parameters ---------- payoff_arrays : tuple(ndarray(float, ndim=2)) Tuple of 2 ndarrays of shape (n, n). Modified in place. scores : ndarray(int, ndim=2) ndarray of shape ...
"Populate the ndarrays in `payoff_arrays` with the payoff values of\n the ranking game given `scores` and `costs`.\n\n Parameters\n ----------\n payoff_arrays : tuple(ndarray(float, ndim=2))\n Tuple of 2 ndarrays of shape (n, n). Modified in place.\n scores : ndarray(int, ndim=2)\n ndarray ...
1,292
true
QuantEcon/QuantEcon.py
_populate_ranking_payoff_arrays
36,906
LDU_FT/gophish/api-client-python/put
LDU_FT
[ "<BEGIN>\n## `get`", "Gets the details for one or more resources by ID", " Args:\n cls - gophish.models.Model - The resource class\n resource_id - str - The endpoint (URL path) for the resource\n resource_action - str - An action to perform on the resource\n re...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the put API. 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 put API. 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...
Edits an existing resource Args: resource - gophish.models.Model - The resource instance
"Edits an existing resource\n\n Args:\n resource - gophish.models.Model - The resource instance"
21
false
gophish/api-client-python
put
36,907
LDU_FT/signalfx/signalfx-python/search_metric_time_series
LDU_FT
[ "<BEGIN>\n## `gauge`", "Adds gauge with dimensions to the global pyformance registry\n<END>", "<BEGIN>\n## `count_calls_with_dims`", "Decorator to track the number of times a function is called\n with with dimensions.\n<END>", "<BEGIN>\n## `meter_calls_with_dims`", "Decorator to track the rate at which...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search_metric_time_series 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 search_metric_time_series API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Args: query (string): elasticsearch string query order_by (optional[string]): property by which to order results offset (optional[int]): number of results to skip for pagination (default=0) limit (optional[int]): how many results to return (default=50) ...
"Args:\n query (string): elasticsearch string query\n order_by (optional[string]): property by which to order results\n offset (optional[int]): number of results to skip for pagination\n (default=0)\n limit (optional[int]): how many results to return (default=5...
139
false
signalfx/signalfx-python
search_metric_time_series
36,908
LDU_FT/nitmir/django-cas-server/post
LDU_FT
[ "<BEGIN>\n## `clean_deleted_sessions`", "remove old :class:`FederateSLO` object for which the session do not exists anymore\n<END>", "<BEGIN>\n## `send_mails`", "For each new django-cas-server version, if the current instance is not up to date\n send one mail to ``settings.ADMINS``.\n<END>", "<BE...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the post API. 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 post API. 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...
method called on POST request :param django.http.HttpRequest request: The current request object :param unicode provider: Optional parameter. The user provider suffix.
"method called on POST request\n\n :param django.http.HttpRequest request: The current request object\n :param unicode provider: Optional parameter. The user provider suffix."
182
false
nitmir/django-cas-server
post
36,909
LDU_FT/biolink/ontobio/is_cellular_component
LDU_FT
[ "<BEGIN>\n## `extract_subset`", "Find all nodes in a subset.", " We assume the oboInOwl encoding of subsets, and subset IDs are IRIs\n<END>", "<BEGIN>\n## `sparql`", "Execute a SPARQL query.", " The query is specified using `select` and `body` parameters.\n The argument for the Named ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_cellular_component 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 is_cellular_component API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Returns True is go_term has is_a, part_of ancestor of cellular component GO:0005575
"Returns True is go_term has is_a, part_of ancestor of cellular component GO:0005575"
526
false
biolink/ontobio
is_cellular_component
36,910
LDU_FT/cablehead/vanilla/map
LDU_FT
[ "<BEGIN>\n## `Queue`", "::", " +----------+\n send --> | Queue |\n | (buffer) | --> recv\n +----------+", " A Queue may also only have exactly one sender and recver. A Queue however\n has a fifo buffer of a custom size. Sends to the Queue won't b...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the map API. 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 map API. 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...
Maps this Pair with *f*'; see :meth:`vanilla.core.Recver.map` Returns a new Pair of our current Sender and the mapped target's Recver.
"Maps this Pair with *f*'; see :meth:`vanilla.core.Recver.map`\n\n Returns a new Pair of our current Sender and the mapped target's\n Recver."
81
false
cablehead/vanilla
map
36,911
LDU_FT/dfujim/bdata/_rebin
LDU_FT
[ "<BEGIN>\n## `_get_area_data`", "Get histogram list based on area type. \n List pattern: [type1_hel+,type2_hel+,type1_hel-,type2_hel-]\n where type1/2 = F/B or R/L in that order.\n<END>", "<BEGIN>\n## `_get_asym_comb`", "Find the combined asymmetry for slr runs. Elegant 4-counter method.\n<END>"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _rebin API. 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 _rebin API. 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 ...
Rebin array x with weights 1/dx**2 by factor rebin. Inputs: xdx = [x,dx] rebin = int Returns [x,dx] after rebinning.
"Rebin array x with weights 1/dx**2 by factor rebin.\n \n Inputs: \n xdx = [x,dx]\n rebin = int\n Returns [x,dx] after rebinning."
58
false
dfujim/bdata
_rebin
36,912
LDU_FT/coursera-dl/coursera-dl/print_ssl_error_message
LDU_FT
[ "<BEGIN>\n## `parse_args`", "Parse the arguments/options passed to the program on the command line.\n<END>", "<BEGIN>\n## `random_string`", "Return a pseudo-random string of specified length.\n<END>", "<BEGIN>\n## `clean_filename`", "Sanitize a string to be used as a filename.", " If minimal_change i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the print_ssl_error_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...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the print_ssl_error_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...
Print SSLError message with URL to instructions on how to fix it.
"Print SSLError message with URL to instructions on how to fix it."
246
false
coursera-dl/coursera-dl
print_ssl_error_message
36,913
LDU_FT/matttproud/python_quantile_estimation/query
LDU_FT
[ "<BEGIN>\n## `observe`", "Samples an observation's value.", " Args:\n value: A numeric value signifying the value to be sampled.\n<END>", "<BEGIN>\n## `query`", "Retrieves the value estimate for the requested quantile rank.", " The requested quantile rank must be registered in the...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the query API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the query API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Retrieves the value estimate for the requested quantile rank. The requested quantile rank must be registered in the estimator's invariants a priori! Args: rank: A floating point quantile rank along the interval [0, 1]. Returns: A numeric value for the quantile ...
"Retrieves the value estimate for the requested quantile rank.\n\n The requested quantile rank must be registered in the estimator's\n invariants a priori!\n\n Args:\n rank: A floating point quantile rank along the interval [0, 1].\n\n Returns:\n A numeric value for the...
14
false
matttproud/python_quantile_estimation
query
36,914
LDU_FT/materialsproject/custodian/file_create
LDU_FT
[ "<BEGIN>\n## `from_spec`", "Load a Custodian instance where the jobs are specified from a\n structure and a spec dict. This allows simple\n custom job sequences to be constructed quickly via a YAML file.", " Args:\n spec (dict): A dict specifying job. A sample of the dict in\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the file_create API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the file_create API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Creates a file. Args: filename (str): Filename. settings (dict): Must be {"content": actual_content}
"Creates a file.\n\n Args:\n filename (str): Filename.\n settings (dict): Must be {\"content\": actual_content}"
90
false
materialsproject/custodian
file_create
36,915
LDU_FT/iansf/qj/_findlinestarts
LDU_FT
[ "<BEGIN>\n## `qj`", "A combined logging and debugging function.", " Arguments:\n x: The thing to log. x is also the return value. Defaults to '', although\n it's somewhat odd to call this function without passing x.\n s: Optional string to prefix the log message with. Defaults to '', which\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _findlinestarts API. 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 _findlinestarts API. 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...
Find the offsets in a byte code which are start of lines in the source. Generate pairs (offset, lineno) as described in Python/compile.c. Arguments: code: code object. Yields: Address and line number pairs.
"Find the offsets in a byte code which are start of lines in the source.\n\n Generate pairs (offset, lineno) as described in Python/compile.c.\n\n Arguments:\n code: code object.\n\n Yields:\n Address and line number pairs."
28
false
iansf/qj
_findlinestarts
36,916
LDU_FT/ff0000/scarlet/publish
LDU_FT
[ "<BEGIN>\n## `get_add_link`", "Appends the popup=1 query string to the url so the\n destination url treats it as a popup.\n<END>", "<BEGIN>\n## `render_view`", "Return an string version of a View with as_string method.\n First argument is the name of the view. Any other arguments\n should be keyw...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the publish API. 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 publish API. 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...
Publishes a item and any sub items. A new transaction will be started if we aren't already in a transaction. Should only be run on draft items
"Publishes a item and any sub items.\n A new transaction will be started if\n we aren't already in a transaction.\n\n Should only be run on draft items"
548
false
ff0000/scarlet
publish
36,917
LDU_FT/fusepy/fusepy/readdir
LDU_FT
[ "<BEGIN>\n## `fuse_exit`", "This will shutdown the FUSE mount and cause the call to FUSE(...) to\n return, similar to sending SIGINT to the process.", " Flags the native FUSE session as terminated and will cause any running FUSE\n event loops to exit on the next opportunity. (see fuse.c::fuse_exit)\n<E...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the readdir API. 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 readdir API. 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...
Read directory Valid replies: reply_readdir reply_err
"Read directory\n\n Valid replies:\n reply_readdir\n reply_err"
68
false
fusepy/fusepy
readdir
36,918
LDU_FT/hph/mov/prefix_size
LDU_FT
[ "<BEGIN>\n## `get_size`", "Return the size of path in bytes if it exists and can be determined.\n<END>", "<BEGIN>\n## `local_data`", "Return tuples of names, directories, total sizes and files. Each\n directory represents a single film and the files are the files contained\n in the directory, such...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prefix_size API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prefix_size API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Return size in B (bytes), kB, MB, GB or TB.
"Return size in B (bytes), kB, MB, GB or TB."
12
false
hph/mov
prefix_size
36,919
LDU_FT/rq/Flask-RQ2/exception_handler
LDU_FT
[ "<BEGIN>\n## `shared_options`", "Default class options to pass to the CLI commands.\n<END>", "<BEGIN>\n## `queue`", "A function to queue a RQ job, e.g.::", " @rq.job(timeout=60)\n def add(x, y):\n return x + y", " add.queue(1, 2, timeout=30)", " :pa...
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...
Decorator to add an exception handler to the worker, e.g.:: rq = RQ() @rq.exception_handler def my_custom_handler(job, *exc_info): # do custom things here ...
"Decorator to add an exception handler to the worker, e.g.::\n\n rq = RQ()\n\n @rq.exception_handler\n def my_custom_handler(job, *exc_info):\n # do custom things here\n ..."
80
false
rq/Flask-RQ2
exception_handler
36,920
LDU_FT/theiviaxx/Frog/commentList
LDU_FT
[ "<BEGIN>\n## `export`", "The export function needs to:\n - Move source image to asset folder\n - Rename to guid.ext\n - Save thumbnail, small, and image versions\n<END>", "<BEGIN>\n## `export`", "The export function needs to:\n - Move source image to asset folder\n - Rename ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the commentList API. 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 commentList API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Returns a rendered list of comments :returns: html
"Returns a rendered list of comments\n :returns: html"
101
false
theiviaxx/Frog
commentList
36,921
LDU_FT/juergberinger/cmdhelper/emit
LDU_FT
[ "<BEGIN>\n## `getLogLevelNo`", "Return numerical log level or raise ValueError.", " A valid level is either an integer or a string such as WARNING etc.\n<END>", "<BEGIN>\n## `cmdLine`", "Return full command line with any necessary quoting.\n<END>", "<BEGIN>\n## `handleError`", "Error handling utility...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the emit API. 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 emit API. 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...
Emit a record. Unless record.terminator is set, a trailing newline will be written to the output stream.
"Emit a record. Unless record.terminator is set, a trailing\n newline will be written to the output stream."
43
false
juergberinger/cmdhelper
emit
36,922
LDU_FT/cloudmesh/cloudmesh-common/attribute
LDU_FT
[ "<BEGIN>\n## `names`", "The names defined in ~/.ssh/config\n :return: the names\n<END>", "<BEGIN>\n## `load`", "list the hosts defined in the ssh config file\n<END>", "<BEGIN>\n## `execute`", "execute the command on the named host\n :param name: the name of the host in config\n :param...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the attribute API. 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 attribute API. 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...
TODO: document this method :param keys:
"TODO: document this method\n\n :param keys:"
203
false
cloudmesh/cloudmesh-common
attribute
36,923
LDU_FT/Shizmob/pydle/_sasl_respond
LDU_FT
[ "<BEGIN>\n## `on_ctcp_version`", "Built-in CTCP version as some networks seem to require it.\n<END>", "<BEGIN>\n## `on_raw_privmsg`", "Modify PRIVMSG to redirect CTCP messages.\n<END>", "<BEGIN>\n## `on_raw_notice`", "Modify NOTICE to redirect CTCP messages.\n<END>", "<BEGIN>\n## `_register`", "Hijack...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _sasl_respond API. 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 _sasl_respond API. 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...
Respond to SASL challenge with response.
"Respond to SASL challenge with response."
96
false
Shizmob/pydle
_sasl_respond
36,924
LDU_FT/vertexproject/synapse/wasAdded
LDU_FT
[ "<BEGIN>\n## `openDatFile`", "Open a file-like object using a pkg relative path.", " Example:", " fd = openDatFile('foopkg.barpkg/wootwoot.bin')\n<END>", "<BEGIN>\n## `scrape`", "Scrape types from a blob of text and return node tuples.", " Args:\n text (str): Text to scrape.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wasAdded API. 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 wasAdded API. 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...
Fire the onAdd() callbacks for node creation.
"Fire the onAdd() callbacks for node creation."
1,135
true
vertexproject/synapse
wasAdded
36,925
LDU_FT/TUNE-Archive/freight_forwarder/start
LDU_FT
[ "<BEGIN>\n## `commercial_invoice`", ":param action:\n :param data_center:\n :param environment:\n :param transport_service:\n :param tagging_scheme:\n :return:\n<END>", "<BEGIN>\n## `deploy_containers`", "Deploy containers to specific container ship.\n 'restart_policy...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Start a container. If the container is running it will return itself. returns a running Container.
"Start a container. If the container is running it will return itself.\n\n returns a running Container."
132
false
TUNE-Archive/freight_forwarder
start
36,926
LDU_FT/samghelms/mathviz/patch
LDU_FT
[ "<BEGIN>\n## `get_next_token`", "\"eats\" up the string until it hits an ending character to get valid leaf expressions.\n For example, given \\\\Phi_{z}(L) = \\\\sum_{i=1}^{N} \\\\frac{1}{C_{i} \\\\times V_{\\\\rm max, i}},\n this function would pull out \\\\Phi, stopping at _\n @ string: str\n retur...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the patch API. 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 patch API. 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...
Equals :meth:`route` with a ``PATCH`` method parameter.
"Equals :meth:`route` with a ``PATCH`` method parameter."
116
false
samghelms/mathviz
patch
36,927
LDU_FT/ajdavis/GreenletProfiler/convert2pstats
LDU_FT
[ "<BEGIN>\n## `convert2pstats`", "Converts the internal stat type of yappi(which is returned by a call to YFuncStats.get())\n as pstats object.\n<END>", "<BEGIN>\n## `set_clock_type`", "Sets the internal clock type for timing. Profiler shall not have any previous stats.\n Otherwise an exception is thrown...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert2pstats API. 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 convert2pstats API. 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...
Converts the internal stat type of yappi(which is returned by a call to YFuncStats.get()) as pstats object.
"Converts the internal stat type of yappi(which is returned by a call to YFuncStats.get())\n as pstats object."
16
false
ajdavis/GreenletProfiler
convert2pstats
36,928
LDU_FT/coghost/izen/debug
LDU_FT
[ "<BEGIN>\n## `encrypt`", "简单封装系统加密", " :param plain: 待加密内容\n :type plain: ``str/bytes``\n :param algorithm: 加密算法\n :type algorithm: str\n :return:\n :rtype:\n<END>", "<BEGIN>\n## `aes_obj`", "生成aes加密所需要的 ``key, iv``", " .. warning:: 每个AES.new对象, 只能使用一次", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the debug API. 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 debug API. 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...
是一种方便的测试模式, 用于 ``全局开启`` 或者关闭测试功能 - 如果当前用户存在在users列表中, 则设定程序运行于debug模式
"是一种方便的测试模式, 用于 ``全局开启`` 或者关闭测试功能\n\n - 如果当前用户存在在users列表中, 则设定程序运行于debug模式"
273
false
coghost/izen
debug
36,929
LDU_FT/bsolomon1124/pyfinance/random_weights
LDU_FT
[ "<BEGIN>\n## `value`", "Compute option value according to BSM model.\n<END>", "<BEGIN>\n## `implied_vol`", "Get implied vol at the specified price using an iterative approach.\r", " There is no closed-form inverse of BSM-value as a function of sigma,\r\n so start at an anchoring volatility lev...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the random_weights API. 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 random_weights API. 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...
Generate an array of random weights that sum to `sumto`. The result may be of arbitrary dimensions. `size` is passed to the `size` parameter of `np.random.random`, which acts as a shape parameter in this case. Note that `sumto` is subject to typical Python floating point limitations. This ...
"Generate an array of random weights that sum to `sumto`.\r\n\r\n The result may be of arbitrary dimensions. `size` is passed to\r\n the `size` parameter of `np.random.random`, which acts as a shape\r\n parameter in this case.\r\n\r\n Note that `sumto` is subject to typical Python floating point limitation...
372
false
bsolomon1124/pyfinance
random_weights
36,930
LDU_FT/CodyKochmann/generators/side_task
LDU_FT
[ "<BEGIN>\n## `first`", "first is essentially the next() function except it's second argument\n determines how many of the first items you want. If items is more than\n 1 the output is an islice of the generator. If items is 1, the first\n item is returned\n<END>", "<BEGIN>\n## `timed_pipe`"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the side_task API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the side_task API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
allows you to run a function in a pipeline without affecting the data
"allows you to run a function in a pipeline without affecting the data"
71
false
CodyKochmann/generators
side_task
36,931
LDU_FT/ryanjdillon/pyotelem/dens2lip
LDU_FT
[ "<BEGIN>\n## `plot_lf_hf`", "Plot original signal, low-pass filtered, and high-pass filtered signals", " Args\n ----\n x: ndarray\n Signal data array\n xlf: ndarray\n Low-pass filtered signal\n xhf: ndarray\n High-pass filtered signal\n title: str\n Main title of pl...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dens2lip API. 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 dens2lip API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Get percent composition of animal from body density The equation calculating animal density is from Biuw et al. (2003), and default values for component densities are from human studies collected in the book by Moore et al. (1963). Args ---- dens_gcm3: float or ndarray An array of seal...
"Get percent composition of animal from body density\n\n The equation calculating animal density is from Biuw et al. (2003), and\n default values for component densities are from human studies collected in\n the book by Moore et al. (1963).\n\n Args\n ----\n dens_gcm3: float or ndarray\n An arr...
268
false
ryanjdillon/pyotelem
dens2lip
36,932
LDU_FT/Karaage-Cluster/python-tldap/value_to_python
LDU_FT
[ "<BEGIN>\n## `check_password`", "Check a plaintext password against a hashed password.\n<END>", "<BEGIN>\n## `reset`", "Reset transaction back to original state, discarding all\n uncompleted transactions.\n<END>", "<BEGIN>\n## `_cache_get_for_dn`", "Object state is cached. When an update is require...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the value_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 e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the value_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 e...
Converts the input single value into the expected Python data type, raising django.core.exceptions.ValidationError if the data can't be converted. Returns the converted value. Subclasses should override this.
"Converts the input single value into the expected Python data type,\n raising django.core.exceptions.ValidationError if the data can't be\n converted. Returns the converted value. Subclasses should override\n this."
151
false
Karaage-Cluster/python-tldap
value_to_python
36,933
LDU_FT/robdmc/behold/when
LDU_FT
[ "<BEGIN>\n## `get_version`", "Obtain the packge version from a python file e.g. pkg/__init__.py\n See <https://packaging.python.org/en/latest/single_source_version.html>.\n<END>", "<BEGIN>\n## `when`", ":type bools: bool\n :param bools: Boolean arguments", " All boolean arguments passed to ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the when API. 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 when API. 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...
:type bools: bool :param bools: Boolean arguments All boolean arguments passed to this method must evaluate to `True` for printing to be enabled. So for example, the following code would print ``x: 1`` .. code-block:: python for x in range(10): Behol...
":type bools: bool\n :param bools: Boolean arguments\n\n All boolean arguments passed to this method must evaluate to `True` for\n printing to be enabled.\n\n So for example, the following code would print ``x: 1``\n\n .. code-block:: python\n\n for x in range(10):\n ...
49
false
robdmc/behold
when
36,934
LDU_FT/discontinue/django-secure-js-login/check_secure_js_login
LDU_FT
[ "<BEGIN>\n## `get_salt`", "return the user password salt.\n If the user doesn't exist return a pseudo salt.\n<END>", "<BEGIN>\n## `display_login_info`", "Create a message, after login.", " Because this signal receiver will be called **after** auth.models.update_last_login(), the\n user.last_login i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_secure_js_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. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_secure_js_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. ...
first_pbkdf2_part = xor_decrypt(encrypted_part, key=second_pbkdf2_part) test_hash = pbkdf2(first_pbkdf2_part, key=cnonce + server_challenge) compare test_hash with transmitted pbkdf2_hash
"first_pbkdf2_part = xor_decrypt(encrypted_part, key=second_pbkdf2_part)\n test_hash = pbkdf2(first_pbkdf2_part, key=cnonce + server_challenge)\n compare test_hash with transmitted pbkdf2_hash"
30
false
discontinue/django-secure-js-login
check_secure_js_login
36,935
LDU_FT/frc1418/tbapy/delete_event_matches
LDU_FT
[ "<BEGIN>\n## `_get`", "Helper method: GET data from given URL on TBA's API.", " :param url: URL string to get data from.\n :return: Requested data in JSON format.\n<END>", "<BEGIN>\n## `_post`", "Helper method: POST data to a given URL on TBA's API.", " :param url: URL string to post ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_event_matches 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 delete_event_matches API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Delete an event's matches on The Blue Alliance. :param data: List of match keys to delete, can be ommited if you would like to delete all matches.
"Delete an event's matches on The Blue Alliance.\n\n :param data: List of match keys to delete, can be ommited if you would like to delete all matches."
66
false
frc1418/tbapy
delete_event_matches
36,936
LDU_FT/lokhman/pydbal/locked
LDU_FT
[ "<BEGIN>\n## `locked`", "Context generator for `with` statement, yields thread-safe connection.", " :return: thread-safe connection\n :rtype: pydbal.connection.Connection\n<END>", "<BEGIN>\n## `query`", "Executes an SQL SELECT query and returns rows generator.", " :param sql: query to...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the locked API. 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 locked API. 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 ...
Context generator for `with` statement, yields thread-safe connection. :return: thread-safe connection :rtype: pydbal.connection.Connection
"Context generator for `with` statement, yields thread-safe connection.\n\n :return: thread-safe connection\n :rtype: pydbal.connection.Connection"
84
false
lokhman/pydbal
locked
36,937
LDU_FT/liamw9534/bt-manager/set_property
LDU_FT
[ "<BEGIN>\n## `translate_to_dbus_type`", "Helper function to map values from their native Python types\n to Dbus types.", " :param type typeof: Target for type conversion e.g., 'dbus.Dictionary'\n :param value: Value to assign using type 'typeof'\n :return: 'value' converted to type 'typeof'\n :rt...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_property API. 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 set_property API. 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...
Helper to set a property value by name, translating to correct dbus type See also :py:meth:`get_property` :param str name: The property name in the object's dictionary whose value shall be set. :param value: Properties new value to be assigned. :return: :rai...
"Helper to set a property value by name, translating to correct\n dbus type\n\n See also :py:meth:`get_property`\n\n :param str name: The property name in the object's dictionary\n whose value shall be set.\n :param value: Properties new value to be assigned.\n :return:\n ...
66
false
liamw9534/bt-manager
set_property
36,938
LDU_FT/DeepHorizons/iarm/BLO
LDU_FT
[ "<BEGIN>\n## `ADR`", "ADR Ra, [PC, #imm10_4]\n ADR Ra, label", " Load the address of label or the PC offset into Ra\n Ra must be a low register\n<END>", "<BEGIN>\n## `LDR`", "LDR Ra, [PC, #imm10_4]\n LDR Ra, label\n LDR Ra, =equate\n LDR Ra, [Rb, Rc]\n LDR Ra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the BLO API. 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 BLO API. 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...
BLO label Branch to the instruction at label if the C flag is not set
"BLO label\n\n Branch to the instruction at label if the C flag is not set"
253
false
DeepHorizons/iarm
BLO
36,939
LDU_FT/omederos/pyspinner/unique
LDU_FT
[ "<BEGIN>\n## `override_params`", "Override some character settings", " @type opening_char: str\n @param opening_char: Opening character. Default: '{'\n @type closing_char: str\n @param closing_char: Closing character. Default: '}'\n @type separator_char: str\n @param separator_char: Separator ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unique API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unique API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Return an unique text @type text: str @param text: Text written used spin syntax. @return: An unique text # Generate an unique sentence >>> unique('The {quick|fast} {brown|gray|red} fox jumped over the lazy dog.') 'The quick red fox jumped over the lazy dog'
"Return an unique text\n\n @type text: str\n @param text: Text written used spin syntax.\n @return: An unique text\n\n # Generate an unique sentence\n >>> unique('The {quick|fast} {brown|gray|red} fox jumped over the lazy dog.')\n 'The quick red fox jumped over the lazy dog'"
20
false
omederos/pyspinner
unique
36,940
LDU_FT/QualiSystems/cloudshell-networking-devices/remove_vlan
LDU_FT
[ "<BEGIN>\n## `create_networking_resource_from_context`", "Creates an instance of Networking Resource by given context\n :param shell_name: Shell Name\n :type shell_name: str\n :param supported_os: list of supported OS\n :type supported_os: list\n :param context: cloudshell.shell.core.driver_context...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_vlan API. 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 remove_vlan API. 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...
Run flow to remove VLAN(s) from interface :param vlan_id: Already validated number of VLAN(s) :param full_name: Full interface name. Example: 2950/Chassis 0/FastEthernet0-23 :param port_mode: port mode type. Should be trunk or access
"Run flow to remove VLAN(s) from interface\n :param vlan_id: Already validated number of VLAN(s)\n :param full_name: Full interface name. Example: 2950/Chassis 0/FastEthernet0-23\n :param port_mode: port mode type. Should be trunk or access"
87
false
QualiSystems/cloudshell-networking-devices
remove_vlan
36,941
LDU_FT/vladsaveliev/TargQC/expand
LDU_FT
[ "<BEGIN>\n## `main`", "Annotating BED file based on reference features annotations.\n<END>", "<BEGIN>\n## `downsample`", "get N random headers from a fastq file without reading the\n whole thing into memory\n modified from: http://www.biostars.org/p/6544/\n<END>", "<BEGIN>\n## `AddIndex`", "Recursiv...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the expand API. 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 expand API. 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 ...
Expands the template with the given data dictionary, returning a string. This is a small wrapper around execute(), and is the most convenient interface. Args: data_dict: The JSON data dictionary. Like the builtin dict() constructor, it can take a single dictionary as a positional argument...
"Expands the template with the given data dictionary, returning a string.\n\n This is a small wrapper around execute(), and is the most convenient\n interface.\n\n Args:\n data_dict: The JSON data dictionary. Like the builtin dict() constructor,\n it can take a single dictionary as a positional ...
184
false
vladsaveliev/TargQC
expand
36,942
LDU_FT/TomasTomecek/sen/setup_dirs
LDU_FT
[ "<BEGIN>\n## `quit`", "This could be called from another thread, so let's do this via alarm\n<END>", "<BEGIN>\n## `_set_main_widget`", "add provided widget to widget list and display it", " :param widget:\n :return:\n<END>", "<BEGIN>\n## `display_buffer`", "display provided buffer", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setup_dirs API. 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 setup_dirs API. 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...
Make required directories to hold logfile. :returns: str
"Make required directories to hold logfile.\n\n :returns: str"
85
false
TomasTomecek/sen
setup_dirs
36,943
LDU_FT/marcomusy/vtkplotter/loadGmesh
LDU_FT
[ "<BEGIN>\n## `add_particle`", "Adds a new particle with specified properties (in SI units)\n<END>", "<BEGIN>\n## `simulate`", "Runs the particle simulation. Simulates one time step, dt, of the particle motion.\n Calculates the force between each pair of particles and updates particles' motion accor...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the loadGmesh API. 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 loadGmesh API. 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...
Reads a `gmesh` file format. Return an ``Actor(vtkActor)`` object.
"Reads a `gmesh` file format. Return an ``Actor(vtkActor)`` object."
801
false
marcomusy/vtkplotter
loadGmesh
36,944
LDU_FT/pazz/alot/buffer_open
LDU_FT
[ "<BEGIN>\n## `determine_sender`", "Inspect a given mail to reply/forward/bounce and find the most appropriate\n account to act from and construct a suitable From-Header to use.", " :param mail: the email to inspect\n :type mail: `email.message.Message`\n :param action: intended use case: one of \"re...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the buffer_open API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the buffer_open API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
register and focus new :class:`~alot.buffers.Buffer`.
"register and focus new :class:`~alot.buffers.Buffer`."
454
false
pazz/alot
buffer_open
36,945
LDU_FT/mozilla/DeepSpeech/calculate_mean_edit_distance_and_loss
LDU_FT
[ "<BEGIN>\n## `reduce_filename`", "r'''\n Expects something like /tmp/tmpAjry4Gdsbench/test.weights.e5.XXX.YYY.pb\n Where XXX is a variation on the model size for example\n And where YYY is a const related to the training dataset\n<END>", "<BEGIN>\n## `keep_only_digits`", "r'''\n local helper to ju...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calculate_mean_edit_distance_and_loss API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calculate_mean_edit_distance_and_loss API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates ...
r''' This routine beam search decodes a mini-batch and calculates the loss and mean edit distance. Next to total and average loss it returns the mean edit distance, the decoded result and the batch's original Y.
"r'''\n This routine beam search decodes a mini-batch and calculates the loss and mean edit distance.\n Next to total and average loss it returns the mean edit distance,\n the decoded result and the batch's original Y."
98
false
mozilla/DeepSpeech
calculate_mean_edit_distance_and_loss
36,946
LDU_FT/YuriyGuts/pygoose/load_feature_lists
LDU_FT
[ "<BEGIN>\n## `split_into_batches`", "Break the input data into smaller batches, optionally saving each one to disk.", " Args:\n input_list: An input object that has a list-like interface (indexing and slicing).\n batch_size: The maximum number of input items in each batch.\n batch_storag...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_feature_lists 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 load_feature_lists 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...
Load pickled features for train and test sets, assuming they are saved in the `features` folder along with their column names. Args: feature_lists: A list containing the names of the feature lists to load. Returns: A tuple containing 3 items: train dataframe, test dataf...
"Load pickled features for train and test sets, assuming they are saved\n in the `features` folder along with their column names.\n\n Args:\n feature_lists: A list containing the names of the feature lists to load.\n\n Returns:\n A tuple containing 3 items: train dataframe, te...
72
false
YuriyGuts/pygoose
load_feature_lists
36,947
LDU_FT/emc-openstack/storops/luns
LDU_FT
[ "<BEGIN>\n## `attach`", "Attaches lun, snap or member snap of cg snap to host.", " Don't pass cg snapshot in as `lun_or_snap`.", " :param lun_or_snap: the lun, snap, or a member snap of cg snap\n :param skip_hlu_0: whether to skip hlu 0\n :return: the hlu number\n<END>", "<BEGIN>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the luns API. 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 luns API. 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...
Aggregator for ioclass_luns and ioclass_snapshots.
"Aggregator for ioclass_luns and ioclass_snapshots."
222
false
emc-openstack/storops
luns
36,948
LDU_FT/nicferrier/md/_list_remote
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 _list_remote API. 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 _list_remote API. 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...
List the a maildir. store is an abstract representation of the source maildir. maildir is the local maildir to which mail will be pulled. This is a generator for a reason. Because of the way ssh multi-mastering works a single open TCP connection allows multiple virtual ssh connections. So the en...
"List the a maildir.\n\n store is an abstract representation of the source maildir. \n\n maildir is the local maildir to which mail will be pulled.\n\n This is a generator for a reason. Because of the way ssh\n multi-mastering works a single open TCP connection allows multiple\n virtual ssh connections. ...
135
false
nicferrier/md
_list_remote
36,949
LDU_FT/artefactual-labs/agentarchives/find_collection_ids
LDU_FT
[ "<BEGIN>\n## `edit_record`", "Update a record in Archivist's Toolkit using the provided new_record.", " The format of new_record is identical to the format returned by get_resource_component_and_children and related methods.\n This means it's possible, for example, to request a record, modify the ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_collection_ids 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 find_collection_ids 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...
Fetches a list of resource URLs for every resource in the database. :param string search_pattern: A search pattern to use in looking up resources by title or resourceid. The search will match any title containing this string; for example, "text" will match "this title has this text in i...
"Fetches a list of resource URLs for every resource in the database.\n\n :param string search_pattern: A search pattern to use in looking up resources by title or resourceid.\n The search will match any title containing this string;\n for example, \"text\" will match \"this title has this t...
122
false
artefactual-labs/agentarchives
find_collection_ids
36,950
LDU_FT/coderholic/pyradio/_buildStartOpts
LDU_FT
[ "<BEGIN>\n## `toggleTransparency`", "Toggles theme trasparency.", " force_value will set trasparency if True or False,\n or toggle trasparency if None\n<END>", "<BEGIN>\n## `keypress`", "returns theme_id, save_theme\n return_id\n 0-.. : id in self._theme\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _buildStartOpts API. 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 _buildStartOpts API. 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...
Builds the options to pass to subprocess.
"Builds the options to pass to subprocess."
65
false
coderholic/pyradio
_buildStartOpts
36,951
LDU_FT/geographika/mappyfile/comparison
LDU_FT
[ "<BEGIN>\n## `standardise_quotes`", "Change the quotes used to wrap a value to the pprint default\n E.g. \"val\" to 'val' or 'val' to \"val\"\n<END>", "<BEGIN>\n## `process_key_dict`", "Process key value dicts e.g. METADATA \"key\" \"value\"\n<END>", "<BEGIN>\n## `process_repeated_list`", "Process ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the comparison API. 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 comparison API. 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...
<PropertyIsEqualTo> <PropertyName>NAME</PropertyName> <Literal>Sydney</Literal> </PropertyIsEqualTo>
"<PropertyIsEqualTo>\n <PropertyName>NAME</PropertyName>\n <Literal>Sydney</Literal>\n </PropertyIsEqualTo>"
184
false
geographika/mappyfile
comparison
36,952
LDU_FT/hvac/hvac/tune_mount_configuration
LDU_FT
[ "<BEGIN>\n## `read_init_status`", "Read the initialization status of Vault.", " Supported methods:\n GET: /sys/init. Produces: 200 application/json", " :return: The JSON response of the request.\n :rtype: dict\n<END>", "<BEGIN>\n## `initialize`", "Initialize a new Vault.", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tune_mount_configuration 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 tune_mount_configuration API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Tune configuration parameters for a given mount point. Supported methods: POST: /sys/mounts/{path}/tune. Produces: 204 (empty body) :param path: Specifies the path where the secrets engine will be mounted. This is specified as part of the URL. :type path: str | unicode :par...
"Tune configuration parameters for a given mount point.\n\n Supported methods:\n POST: /sys/mounts/{path}/tune. Produces: 204 (empty body)\n\n :param path: Specifies the path where the secrets engine will be mounted. This is specified as part of the URL.\n :type path: str | unicode\n ...
856
false
hvac/hvac
tune_mount_configuration
36,953
LDU_FT/SwissDataScienceCenter/renku-python/asjsonld
LDU_FT
[ "<BEGIN>\n## `_jsonld`", "Return formatted graph in JSON-LD ``format`` function.\n<END>", "<BEGIN>\n## `_rdf2dot_simple`", "Create a simple graph of processes and artifacts.\n<END>", "<BEGIN>\n## `_rdf2dot_reduced`", "A reduced dot graph.", " Adapted from original source:\n https://rdflib.readthed...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the asjsonld API. 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 asjsonld API. 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...
Create JSON-LD with the original source data.
"Create JSON-LD with the original source data."
121
false
SwissDataScienceCenter/renku-python
asjsonld
36,954
LDU_FT/crackinglandia/pype32/parse
LDU_FT
[ "<BEGIN>\n## `showSectionsHeaders`", "Prints IMAGE_SECTION_HEADER for every section present in the file.\n<END>", "<BEGIN>\n## `getFields`", "Returns all the class attributues.", " @rtype: dict\n @return: A dictionary containing all the class attributes.\n<END>", "<BEGIN>\n## `parse`", "Re...
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 new L{ImageBaseRelocationEntry} object. @type readDataInstance: L{ReadData} @param readDataInstance: A L{ReadData} object with data to parse as a L{ImageBaseRelocationEntry} object. @rtype: L{ImageBaseRelocationEntry} @return: A new L{ImageBaseRelocationEntry}...
"Returns a new L{ImageBaseRelocationEntry} object.\n \n @type readDataInstance: L{ReadData}\n @param readDataInstance: A L{ReadData} object with data to parse as a L{ImageBaseRelocationEntry} object.\n \n @rtype: L{ImageBaseRelocationEntry}\n @return: A new L{ImageBaseRelocatio...
428
false
crackinglandia/pype32
parse
36,955
LDU_FT/barryp/py-amqplib/_close
LDU_FT
[ "<BEGIN>\n## `_textlist`", "Returns a list of text strings contained within an element and its sub-elements.", " Helpful for extracting text from prose-oriented XML (such as XHTML or DocBook).\n<END>", "<BEGIN>\n## `_reindent`", "Remove the existing indentation from each line of a chunk of\n text, s, ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _close API. 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 _close API. 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 ...
request a channel close This method indicates that the sender wants to close the channel. This may be due to internal conditions (e.g. a forced shut-down) or due to an error handling a specific method, i.e. an exception. When a close is due to an exception, the sender provides ...
"request a channel close\n\n This method indicates that the sender wants to close the\n channel. This may be due to internal conditions (e.g. a forced\n shut-down) or due to an error handling a specific method, i.e.\n an exception. When a close is due to an exception, the sender\n pr...
449
false
barryp/py-amqplib
_close
36,956
LDU_FT/FNNDSC/med2image/attributes_strToDict
LDU_FT
[ "<BEGIN>\n## `verbosity`", "get/set the verbosity level.", " The verbosity level filters messages that are output\n to the console. Only messages tagged with a verbosity\n less-than-or-equal-to the class verbosity are output.", " This does not affect output to non-console devices\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the attributes_strToDict 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 attributes_strToDict API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
This is logical inverse of the dictToStr method. The <astr_attributes> string *MUST* have <key>=<value> tuples separated by <astr_separator>.
"This is logical inverse of the dictToStr method. The <astr_attributes>\n string *MUST* have <key>=<value> tuples separated by <astr_separator>."
131
false
FNNDSC/med2image
attributes_strToDict
36,957
LDU_FT/vtkiorg/vtki/set_plot_theme
LDU_FT
[ "<BEGIN>\n## `extract_geometry`", "Combines the geomertry of all blocks into a single ``PolyData``\n object. Place this filter at the end of a pipeline before a polydata\n consumer such as a polydata mapper to extract geometry from all blocks\n and append them to one polydata object.\n<END>",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_plot_theme API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_plot_theme API. 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...
Set the plotting parameters to a predefined theme
"Set the plotting parameters to a predefined theme"
1,121
true
vtkiorg/vtki
set_plot_theme
36,958
LDU_FT/FNNDSC/pfmisc/mkdir
LDU_FT
[ "<BEGIN>\n## `authorizeClientRequest`", "Checks the authorization permissions of the bearer token passed, and determines whether the sender is permitted to make the request housed in the payload.\n Usage:\n request = The header object from pfioh, or the whole request from pman. This is parsed fo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mkdir API. 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 mkdir API. 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...
Given an <astr_dirSpec> in form '/a/b/c/d/.../f', create that path in the internal stree, creating all intermediate nodes as necessary :param astr_dirSpec: :return:
"Given an <astr_dirSpec> in form '/a/b/c/d/.../f',\n create that path in the internal stree, creating all\n intermediate nodes as necessary\n\n :param astr_dirSpec:\n :return:"
165
false
FNNDSC/pfmisc
mkdir
36,959
LDU_FT/matplotlib/cmocean/get_dict
LDU_FT
[ "<BEGIN>\n## `read`", "Read in dataset for variable var", " :param varin: Variable for which to read in data.\n<END>", "<BEGIN>\n## `show`", "Show a colormap for a chosen input variable var side by side with\n black and white and jet colormaps.", " :param cmap: Colormap instance\n :param var: ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_dict API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_dict API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Change from rgb to dictionary that LinearSegmentedColormap expects. Code from https://mycarta.wordpress.com/2014/04/25/convert-color-palettes-to-python-matplotlib-colormaps/ and http://nbviewer.ipython.org/github/kwinkunks/notebooks/blob/master/Matteo_colourmaps.ipynb
"Change from rgb to dictionary that LinearSegmentedColormap expects.\n Code from https://mycarta.wordpress.com/2014/04/25/convert-color-palettes-to-python-matplotlib-colormaps/\n and http://nbviewer.ipython.org/github/kwinkunks/notebooks/blob/master/Matteo_colourmaps.ipynb"
43
false
matplotlib/cmocean
get_dict
36,960
LDU_FT/exosite-labs/pyonep/writegroup
LDU_FT
[ "<BEGIN>\n## `request`", "Wraps HTTPConnection.request. On exception it calls exception_fn\n with the exception object. If exception_fn is None, it re-raises the\n exception. If notimeout is True, create a new connection (regardless of\n self.reuseconnection setting) that uses the global defa...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the writegroup API. 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 writegroup API. 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...
Writes the given values for the respective resources in the list, all writes have same timestamp. Args: auth: cik for authentication. entries: List of key, value lists. eg. [[key, value], [k,v],,,]
"Writes the given values for the respective resources in the list, all writes have same\n timestamp.\n\n Args:\n auth: cik for authentication.\n entries: List of key, value lists. eg. [[key, value], [k,v],,,]"
199
false
exosite-labs/pyonep
writegroup
36,961
LDU_FT/wikimedia/ores/process_model_scores
LDU_FT
[ "<BEGIN>\n## `redis_from_url`", "Converts a redis URL used by celery into a `redis.Redis` object.\n<END>", "<BEGIN>\n## `process_model_scores`", "Generates a score map for a set of models based on a `root_cache`.\n This method performs no substantial IO, but may incur substantial CPU\n usage.", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_model_scores 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 process_model_scores API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Generates a score map for a set of models based on a `root_cache`. This method performs no substantial IO, but may incur substantial CPU usage. :Parameters: model_names : `set` ( `str` ) A set of models to score root_cache : `dict` ( `str` --> `mixed` ) ...
"Generates a score map for a set of models based on a `root_cache`.\n This method performs no substantial IO, but may incur substantial CPU\n usage.\n\n :Parameters:\n model_names : `set` ( `str` )\n A set of models to score\n root_cache : `dict` ( `str` --> `mi...
52
false
wikimedia/ores
process_model_scores
36,962
LDU_FT/KnuVerse/knuverse-sdk-python/client_count
LDU_FT
[ "<BEGIN>\n## `_auth`", "Makes sure the request has a valid authorization jwt before calling the wrapped function.\n It does this by checking the timestamp of the last jwt and if > 10 minutes have elapsed,\n it refreshes it's existing jwt from the server.\n Args:\n f: Function to wr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the client_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. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the client_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. The extr...
Get number of clients. Uses HEAD to /clients interface. :Returns: (int) Number of clients
"Get number of clients. Uses HEAD to /clients interface.\n\n :Returns: (int) Number of clients"
138
false
KnuVerse/knuverse-sdk-python
client_count
36,963
LDU_FT/rjw57/starman/generate_states
LDU_FT
[ "<BEGIN>\n## `as_square_array`", "Return arr massaged into a square array. Raises ValueError if arr cannot be\n so massaged.\n<END>", "<BEGIN>\n## `clone`", "Return a new :py:class:`.KalmanFilter` instance which is a shallow\n clone of this one. By \"shallow\", although the lists of measurements,\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_states API. 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_states API. 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 states by simulating a linear system with constant process matrix and process noise covariance. Args: state_count (int): Number of states to generate. process_matrix (array): Square array process_covariance (array): Square array specifying process noise covariance. ...
"Generate states by simulating a linear system with constant process matrix\n and process noise covariance.\n\n Args:\n state_count (int): Number of states to generate.\n process_matrix (array): Square array\n process_covariance (array): Square array specifying process noise\n cova...
36
false
rjw57/starman
generate_states
36,964
LDU_FT/toumorokoshi/transmute-core/add_swagger_api_route
LDU_FT
[ "<BEGIN>\n## `from_argspec`", "retrieve a FunctionSignature object\n from the argspec and the annotations passed.\n<END>", "<BEGIN>\n## `split_args`", "given a dictionary of arguments, split them into\n args and kwargs", " note: this destroys the arg_dict passed. if you need it,\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_swagger_api_route API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_swagger_api_route API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
mount a swagger statics page. app: the aiohttp app object target_route: the path to mount the statics page. swagger_json_route: the path where the swagger json definitions is expected to be.
"mount a swagger statics page.\n\n app: the aiohttp app object\n target_route: the path to mount the statics page.\n swagger_json_route: the path where the swagger json definitions is\n expected to be."
100
false
toumorokoshi/transmute-core
add_swagger_api_route
36,965
LDU_FT/jrief/djangocms-cascade/parse_responsive_length
LDU_FT
[ "<BEGIN>\n## `_enrich_link`", "Enrich the dict glossary['link'] with an identifier onto the model\n<END>", "<BEGIN>\n## `get_form`", "Extend the form for the given plugin with the form SharableCascadeForm\n<END>", "<BEGIN>\n## `get_picture_elements`", "Create a context, used to render a <picture> together...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_responsive_length 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 parse_responsive_length API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
Takes a string containing a length definition in pixels or percent and parses it to obtain a computational length. It returns a tuple where the first element is the length in pixels and the second element is its length in percent divided by 100. Note that one of both returned elements is None.
"Takes a string containing a length definition in pixels or percent and parses it to obtain\n a computational length. It returns a tuple where the first element is the length in pixels and\n the second element is its length in percent divided by 100.\n Note that one of both returned elements is None."
78
false
jrief/djangocms-cascade
parse_responsive_length
36,966
LDU_FT/ChristopherRabotin/bungiesearch/_clone
LDU_FT
[ "<BEGIN>\n## `update_index`", "Updates the index for the provided model_items.\n :param model_items: a list of model_items (django Model instances, or proxy instances) which are to be indexed/updated or deleted.\n If action is 'index', the model_items must be serializable objects. If action is 'delete', the...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _clone API. 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 _clone API. 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 ...
Must clone additional fields to those cloned by elasticsearch-dsl-py.
"Must clone additional fields to those cloned by elasticsearch-dsl-py."
46
false
ChristopherRabotin/bungiesearch
_clone
36,967
LDU_FT/ehansis/ozelot/_query
LDU_FT
[ "<BEGIN>\n## `_query`", "Base query for an url and xpath", " Args:\n url (str): URL to search\n xpath (str): xpath to search (may be ``None``)\n<END>", "<BEGIN>\n## `get`", "Get a URL via the cache.", " If the URL exists in the cache, return the cached value. Otherwise ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _query API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _query API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Base query for an url and xpath Args: url (str): URL to search xpath (str): xpath to search (may be ``None``)
"Base query for an url and xpath\n\n Args:\n url (str): URL to search\n xpath (str): xpath to search (may be ``None``)"
203
false
ehansis/ozelot
_query
36,968
LDU_FT/christophercrouzet/gorilla/apply
LDU_FT
[ "<BEGIN>\n## `apply`", "Apply a patch.", " The patch's :attr:`~Patch.obj` attribute is injected into the patch's\n :attr:`~Patch.destination` under the patch's :attr:`~Patch.name`.", " This is a wrapper around calling\n ``setattr(patch.destination, patch.name, patch.obj)``.", " Parameters\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...
Apply a patch. The patch's :attr:`~Patch.obj` attribute is injected into the patch's :attr:`~Patch.destination` under the patch's :attr:`~Patch.name`. This is a wrapper around calling ``setattr(patch.destination, patch.name, patch.obj)``. Parameters ---------- patch : gorilla.Patch ...
"Apply a patch.\n\n The patch's :attr:`~Patch.obj` attribute is injected into the patch's\n :attr:`~Patch.destination` under the patch's :attr:`~Patch.name`.\n\n This is a wrapper around calling\n ``setattr(patch.destination, patch.name, patch.obj)``.\n\n Parameters\n ----------\n patch : gorilla.P...
67
false
christophercrouzet/gorilla
apply
36,969
LDU_FT/artefactual-labs/mets-reader-writer/group_id
LDU_FT
[ "<BEGIN>\n## `register_id`", "Register a manually assigned id as used, to avoid collisions.\n<END>", "<BEGIN>\n## `parse`", "Create a new AMDSec by parsing root.", " :param root: Element or ElementTree to be parsed into an object.\n<END>", "<BEGIN>\n## `serialize`", "Serialize this amdSec and all...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the group_id API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the group_id API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Returns the @GROUPID. If derived_from is set, returns that group_id.
"Returns the @GROUPID.\n\n If derived_from is set, returns that group_id."
179
false
artefactual-labs/mets-reader-writer
group_id
36,970
LDU_FT/cebel/pyctd/get_index_and_columns_order
LDU_FT
[ "<BEGIN>\n## `set_mysql`", "Set the SQLAlchemy connection string with MySQL settings\n<END>", "<BEGIN>\n## `_limit_and_df`", "adds a limit (limit==None := no limit) to any query and allow a return as pandas.DataFrame", " :param bool as_df: if is set to True results return as pandas.DataFrame\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_index_and_columns_order API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_index_and_columns_order API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
:param columns_in_file_expected: :param columns_dict: :param file_path: :rtype: tuple[list,list]
":param columns_in_file_expected: \n :param columns_dict: \n :param file_path: \n :rtype: tuple[list,list]"
126
false
cebel/pyctd
get_index_and_columns_order
36,971
LDU_FT/sci-bots/serial-device/_publish_status
LDU_FT
[ "<BEGIN>\n## `_comports`", "Returns\n -------\n pandas.DataFrame\n Table containing descriptor, and hardware ID of each available COM\n port, indexed by port (e.g., \"COM4\").\n<END>", "<BEGIN>\n## `comports`", ".. versionchanged:: 0.9\n Add :data:`check_available` keyword argument ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _publish_status API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _publish_status API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Publish status for specified port. Parameters ---------- port : str Device name/port.
"Publish status for specified port.\n\n Parameters\n ----------\n port : str\n Device name/port."
63
false
sci-bots/serial-device
_publish_status
36,972