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/michaeljoseph/changes/install_package
LDU_FT
[ "<BEGIN>\n## `initialise`", "Detects, prompts and initialises the project.", " Stores project and tool configuration in the `changes` module.\n<END>", "<BEGIN>\n## `install_package`", "Attempts to install the sdist and wheel.\n<END>", "<BEGIN>\n## `upload_package`", "Uploads your project packages to ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the install_package API. 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 install_package API. 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...
Attempts to install the sdist and wheel.
"Attempts to install the sdist and wheel."
39
false
michaeljoseph/changes
install_package
33,573
LDU_FT/mdickinson/bigfloat/_format_to_fixed_precision
LDU_FT
[ "<BEGIN>\n## `build`", "Build the bigfloat library for in-place testing.\n<END>", "<BEGIN>\n## `_quotient_exponent`", "Given two positive finite MPFR instances x and y,\n find the exponent of x / y; that is, the unique\n integer e such that 2**(e-1) <= x / y < 2**e.\n<END>", "<BEGIN>\n## `mpfr_floordi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _format_to_fixed_precision 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 _format_to_fixed_precision API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
Format 'self' to a given number of digits after the decimal point. Returns a triple (negative, digits, exp) where: - negative is a boolean, True for a negative number, else False - digits is a string giving the digits of the output - exp represents the exponent of the output ...
"Format 'self' to a given number of digits after the decimal point.\n\n Returns a triple (negative, digits, exp) where:\n\n - negative is a boolean, True for a negative number, else False\n - digits is a string giving the digits of the output\n - exp represents the exponent of the outp...
273
false
mdickinson/bigfloat
_format_to_fixed_precision
33,574
LDU_FT/learningequality/iceqube/schedule_job
LDU_FT
[ "<BEGIN>\n## `wait_for_job_update`", "Blocks until a job given by job_id has updated its state (canceled, completed, progress updated, etc.)\n if timeout is not None, then this function raises iceqube.exceptions.TimeoutError.", " :param job_id: the job's job_id to monitor for changes.\n :pa...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the schedule_job API. 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 schedule_job API. 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...
schedule a job to the type of workers spawned by self.start_workers. :param job: the job to schedule for running. :return:
"schedule a job to the type of workers spawned by self.start_workers.\n\n\n :param job: the job to schedule for running.\n :return:"
93
false
learningequality/iceqube
schedule_job
33,575
LDU_FT/openai/universe/setIV
LDU_FT
[ "<BEGIN>\n## `send_KeyEvent`", "For most ordinary keys, the \"keysym\" is the same as the\n corresponding ASCII value. Other common keys are shown in the\n KEY_ constants.\n<END>", "<BEGIN>\n## `send_PointerEvent`", "Indicates either pointer movement or a pointer button press or\n rel...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setIV API. Each 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 setIV API. Each 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...
Will set the Initial Value, used in conjunction with CBC mode
"Will set the Initial Value, used in conjunction with CBC mode"
126
false
openai/universe
setIV
33,576
LDU_FT/m32/endesive/normalize_text
LDU_FT
[ "<BEGIN>\n## `load_elements`", "Initialize the internal element structures\n<END>", "<BEGIN>\n## `parse_csv`", "Parse template format csv file and create elements dict\n<END>", "<BEGIN>\n## `split_multicell`", "Divide (\\n) a string using a given element width\n<END>", "<BEGIN>\n## `set_auto_page_break`...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the normalize_text API. 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 normalize_text API. 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...
Check that text input is in the correct format/encoding
"Check that text input is in the correct format/encoding"
23
false
m32/endesive
normalize_text
33,577
LDU_FT/emory-libraries/eulxml/_get_xmlparser
LDU_FT
[ "<BEGIN>\n## `_serialize`", "Generate token strings which, when joined together, form a valid\n XPath serialization of the AST.\n<END>", "<BEGIN>\n## `download_schema`", "Download a schema from a specified URI and save it locally.", " :param uri: url where the schema should be downloaded\n :param p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_xmlparser API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_xmlparser API. 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...
Initialize an instance of :class:`lxml.etree.XMLParser` with appropriate settings for validation. If validation is requested and the specified instance of :class:`XmlObject` has an XSD_SCHEMA defined, that will be used. Otherwise, uses DTD validation. Switched resolver to None to skip validation.
"Initialize an instance of :class:`lxml.etree.XMLParser` with appropriate\n settings for validation. If validation is requested and the specified\n instance of :class:`XmlObject` has an XSD_SCHEMA defined, that will be used.\n Otherwise, uses DTD validation. Switched resolver to None to skip validation."
109
false
emory-libraries/eulxml
_get_xmlparser
33,578
LDU_FT/mayhewj/greenstalk/delete
LDU_FT
[ "<BEGIN>\n## `put`", "Inserts a job into the currently used tube and returns the job ID.", " :param body: The data representing the job.\n :param priority: An integer between 0 and 4,294,967,295 where 0 is the\n most urgent.\n :param delay: The number of seconds to d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Deletes a job. :param job: The job or job ID to delete.
"Deletes a job.\n\n :param job: The job or job ID to delete."
45
false
mayhewj/greenstalk
delete
33,579
LDU_FT/robotframework/Rammbock/client_receives_message
LDU_FT
[ "<BEGIN>\n## `log_background_messages`", "Forwards messages logged on background to Robot Framework log.", " By default forwards all messages logged by all threads, but can be\n limited to a certain thread by passing thread's name as an argument.", " Logged messages are removed from the m...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the client_receives_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 client_receives_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...
Receive a message with template defined using `New Message` and validate field values. Message template has to be defined with `New Message` before calling this. Optional parameters: - `name` the client name (default is the latest used) example: `name=Client 1` - `timeo...
"Receive a message with template defined using `New Message` and\n validate field values.\n\n Message template has to be defined with `New Message` before calling\n this.\n\n Optional parameters:\n - `name` the client name (default is the latest used) example: `name=Client 1`\n ...
234
false
robotframework/Rammbock
client_receives_message
33,580
LDU_FT/atmos-python/atmos/ddx
LDU_FT
[ "<BEGIN>\n## `assumes`", "Stores a function's assumptions as an attribute.\n<END>", "<BEGIN>\n## `overridden_by_assumptions`", "Stores what assumptions a function is overridden by as an attribute.\n<END>", "<BEGIN>\n## `equation_docstring`", "Creates a decorator that adds a docstring to an equation functi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ddx API. Each 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 ddx API. Each 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...
Calculates a second-order centered finite difference derivative of data along the specified axis. Parameters ---------- data : ndarray Data on which we are taking a derivative. axis : int Index of the data array on which to take the derivative. dx : float, optional Constant grid spacing value. Will assume...
"Calculates a second-order centered finite difference derivative of data\nalong the specified axis.\n\nParameters\n----------\n\ndata : ndarray\n Data on which we are taking a derivative.\naxis : int\n Index of the data array on which to take the derivative.\ndx : float, optional\n Constant grid spacing value....
126
false
atmos-python/atmos
ddx
33,581
LDU_FT/rfosterslo/wagtailplus/form_valid
LDU_FT
[ "<BEGIN>\n## `add_panel_to_edit_handler`", "Adds specified panel class to model class.", " :param model: the model class.\n :param panel_cls: the panel class.\n :param heading: the panel heading.\n :param index: the index position to insert at.\n<END>", "<BEGIN>\n## `get_context_data`", "Returns...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the form_valid API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the form_valid API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Processes a valid form submittal. :param form: the form instance. :rtype: django.http.HttpResponse.
"Processes a valid form submittal.\n\n :param form: the form instance.\n :rtype: django.http.HttpResponse."
128
false
rfosterslo/wagtailplus
form_valid
33,582
LDU_FT/inveniosoftware/invenio-records-rest/default_sorter_factory
LDU_FT
[ "<BEGIN>\n## `build_default_endpoint_prefixes`", "Build the default_endpoint_prefixes map.\n<END>", "<BEGIN>\n## `obj_or_import_string`", "Import string or return object.", " :params value: Import path or class object to instantiate.\n :params default: Default object to return if the import fails.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the default_sorter_factory 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 default_sorter_factory API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Default sort query factory. :param query: Search query. :param index: Index to search in. :returns: Tuple of (query, URL arguments).
"Default sort query factory.\n\n :param query: Search query.\n :param index: Index to search in.\n :returns: Tuple of (query, URL arguments)."
165
false
inveniosoftware/invenio-records-rest
default_sorter_factory
33,583
LDU_FT/RLBot/RLBot/setup_manager_context
LDU_FT
[ "<BEGIN>\n## `configure_processes`", "This will update the priority and CPU affinity of the processes owned by bots to try to achieve fairness and\n good performance.", " :param agent_metadata_map: A mapping of player index to agent metadata, including a list of owned process ids.\n<END>", "<BEGIN>\n## ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setup_manager_context 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 setup_manager_context API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Creates a initialized context manager which shuts down at the end of the `with` block. usage: >>> with setup_manager_context() as setup_manager: ... setup_manager.load_config(...) ... # ... Run match
"Creates a initialized context manager which shuts down at the end of the\n `with` block.\n\n usage:\n >>> with setup_manager_context() as setup_manager:\n ... setup_manager.load_config(...)\n ... # ... Run match"
181
false
RLBot/RLBot
setup_manager_context
33,584
LDU_FT/coded-by-hand/mass/open_logfile
LDU_FT
[ "<BEGIN>\n## `get_requirement_from_url`", "Get a requirement from the URL, if possible. This looks for #egg\n in the URL\n<END>", "<BEGIN>\n## `package_to_requirement`", "Translate a name like Foo-1.2 to Foo==1.3\n<END>", "<BEGIN>\n## `get_mirrors`", "Return the list of mirrors from the last record fo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the open_logfile API. 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 open_logfile API. 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...
Open the named log file in append mode. If the file already exists, a separator will also be printed to the file to separate past activity from current activity.
"Open the named log file in append mode.\n\n If the file already exists, a separator will also be printed to\n the file to separate past activity from current activity."
105
false
coded-by-hand/mass
open_logfile
33,585
LDU_FT/aamalev/aiohttp_apiset/validate_name
LDU_FT
[ "<BEGIN>\n## `url_for`", "Construct url for route with additional params.\n<END>", "<BEGIN>\n## `deref`", "Return dereference data\n :param data:\n :param spec:\n :return:\n<END>", "<BEGIN>\n## `build_swagger_data`", "Prepare data when schema loaded", " :param swagger_schema: loaded sche...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_name API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_name API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Fragment aiohttp.web_urldispatcher.UrlDispatcher#_reg_resource
"Fragment aiohttp.web_urldispatcher.UrlDispatcher#_reg_resource"
48
false
aamalev/aiohttp_apiset
validate_name
33,586
LDU_FT/envi-idl/envipyengine/remove
LDU_FT
[ "<BEGIN>\n## `task`", "Returns an ENVI Py Engine Task object. See ENVI Py Engine Task for examples.", " :param task_name: The name of the task to retrieve.\n :return: An ENVI Py Engine Task object.\n<END>", "<BEGIN>\n## `tasks`", "Returns a list of all tasks known to the engine.", " :...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Remove a configuration property/value setting from the config file. :param property_name: The name of the property to remove. :keyword system: Set to True to modify the system configuration file. If not set, the user config file will be modified.
"Remove a configuration property/value setting from the config file.\n\n :param property_name: The name of the property to remove.\n :keyword system: Set to True to modify the system configuration file.\n If not set, the user config file will be modified."
42
false
envi-idl/envipyengine
remove
33,587
LDU_FT/mdscruggs/ga/run
LDU_FT
[ "<BEGIN>\n## `eval_fitness`", "Convert a 1-gene chromosome into an integer and calculate its fitness\n by checking it against each required factor.", " return: fitness value\n<END>", "<BEGIN>\n## `translate_chromosome`", "Translate all the genes in a chromosome.", " chromosome: a ``...
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...
Run a standard genetic algorithm simulation for a set number of generations (iterations), each consisting of the following ordered steps: 1. competition/survival of the fittest (``compete`` method) 2. reproduction (``reproduce`` method) 3. mutation (``mutate`` me...
"Run a standard genetic algorithm simulation for a set number\n of generations (iterations), each consisting of the following\n ordered steps:\n \n 1. competition/survival of the fittest (``compete`` method)\n 2. reproduction (``reproduce`` method)\n 3. mutation (``muta...
94
false
mdscruggs/ga
run
33,588
LDU_FT/skyfielders/python-skyfield/_derive_stereographic
LDU_FT
[ "<BEGIN>\n## `add_deflection`", "Update `position` for how solar system masses will deflect its light.", " Given the ICRS `position` [x,y,z] of an object (au) that is being\n viewed from the `observer` also expressed as [x,y,z], and given an\n ephemeris that can be used to determine solar system body p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _derive_stereographic 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 _derive_stereographic API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Compute the formulae to cut-and-paste into the routine below.
"Compute the formulae to cut-and-paste into the routine below."
392
false
skyfielders/python-skyfield
_derive_stereographic
33,589
LDU_FT/hydpy-dev/hydpy/update
LDU_FT
[ "<BEGIN>\n## `xml_replace`", "Read the content of an XML template file (XMLT), apply the given\n `replacements` to its substitution markers, and write the result into\n an XML file with the same name but ending with `xml` instead of `xmlt`.", " First, we write an XMLT file, containing a regular HTML c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Determine the total number of AR coefficients. >>> from hydpy.models.arma import * >>> parameterstep('1d') >>> responses(((1., 2.), (1.,)), th_3=((1.,), (1., 2., 3.))) >>> derived.ar_order.update() >>> derived.ar_order ar_order(2, 1)
"Determine the total number of AR coefficients.\n\n >>> from hydpy.models.arma import *\n >>> parameterstep('1d')\n >>> responses(((1., 2.), (1.,)), th_3=((1.,), (1., 2., 3.)))\n >>> derived.ar_order.update()\n >>> derived.ar_order\n ar_order(2, 1)"
3,847
true
hydpy-dev/hydpy
update
33,590
LDU_FT/buzzfeed/caliendo/__store_nonprimitive
LDU_FT
[ "<BEGIN>\n## `increment`", "Static method used to increment the depth of a context belonging to 'method'", " :param function method: A method with a context", " :rtype: caliendo.hooks.Context\n :returns: The context instance for the method.\n<END>", "<BEGIN>\n## `skip_once`", "Indicat...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __store_nonprimitive 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 __store_nonprimitive API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Stores any 'non-primitive'. A primitive is in ( float, long, str, int, dict, list, unicode, tuple, set, frozenset, datetime.datetime, datetime.timedelta ) :param mixed o: The non-primitive to store :param str method_name: The name of the attribute :param mixed member: The reference to the non-p...
"Stores any 'non-primitive'. A primitive is in ( float, long, str, int, dict, list, unicode, tuple, set, frozenset, datetime.datetime, datetime.timedelta )\n\n :param mixed o: The non-primitive to store\n :param str method_name: The name of the attribute\n :param mixed member: The reference to the ...
177
false
buzzfeed/caliendo
__store_nonprimitive
33,591
LDU_FT/pythonkc/pythonkc-meetups/get_events_attendees
LDU_FT
[ "<BEGIN>\n## `parse_event`", "Parse a ``MeetupEvent`` from the given response data.", " Returns\n -------\n A ``pythonkc_meetups.types.MeetupEvent``.\n<END>", "<BEGIN>\n## `parse_venue`", "Parse a ``MeetupVenue`` from the given response data.", " Returns\n -------\n A `pythonkc_meetups.t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_events_attendees API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_events_attendees 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 attendees of the identified events. Parameters ---------- event_ids List of IDs of events to get attendees for. Returns ------- List of tuples of (event id, ``pythonkc_meetups.types.MeetupMember``). Exceptions ---------- * Py...
"Get the attendees of the identified events.\n\n Parameters\n ----------\n event_ids\n List of IDs of events to get attendees for.\n\n Returns\n -------\n List of tuples of (event id, ``pythonkc_meetups.types.MeetupMember``).\n\n Exceptions\n ----------...
54
false
pythonkc/pythonkc-meetups
get_events_attendees
33,592
LDU_FT/romana/multi-ping/_open_icmp_socket
LDU_FT
[ "<BEGIN>\n## `multi_ping`", "Combine send and receive measurement into single function.", " This offers a retry mechanism: Overall timeout time is divided by\n number of retries. Additional ICMPecho packets are sent to those\n addresses from which we have not received answers, yet.", " The retry m...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _open_icmp_socket API. 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 _open_icmp_socket API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Opens a socket suitable for sending/receiving ICMP echo requests/responses.
"Opens a socket suitable for sending/receiving ICMP echo\n requests/responses."
28
false
romana/multi-ping
_open_icmp_socket
33,593
LDU_FT/OnroerendErfgoed/crabpy/get_huisnummer_by_id
LDU_FT
[ "<BEGIN>\n## `crab_gateway_request`", "Utility function that helps making requests to the CRAB service.", " This is a specialised version of :func:`crabpy.client.crab_request` that\n allows adding extra functionality for the calls made by the gateway.", " :param client: A :class:`suds.client.Client` ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_huisnummer_by_id API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_huisnummer_by_id API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Retrieve a `huisnummer` by the Id. :param integer id: the Id of the `huisnummer` :rtype: :class:`Huisnummer`
"Retrieve a `huisnummer` by the Id.\n\n :param integer id: the Id of the `huisnummer`\n :rtype: :class:`Huisnummer`"
196
false
OnroerendErfgoed/crabpy
get_huisnummer_by_id
33,594
LDU_FT/rbarrois/mpdlcd/auto_retry
LDU_FT
[ "<BEGIN>\n## `auto_retry`", "Decorator for retrying method calls, based on instance parameters.\n<END>", "<BEGIN>\n## `extract_pattern`", "Extracts used strings from a %(foo)s pattern.\n<END>", "<BEGIN>\n## `parse`", "Parse the lines, and fill self.line_fields accordingly.\n<END>", "<BEGIN>\n## `compute...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the auto_retry API. 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 auto_retry API. 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...
Decorator for retrying method calls, based on instance parameters.
"Decorator for retrying method calls, based on instance parameters."
65
false
rbarrois/mpdlcd
auto_retry
33,595
LDU_FT/mirceaulinic/pypluribus/load_candidate
LDU_FT
[ "<BEGIN>\n## `open`", "Opens a SSH connection with a Pluribus machine.\n<END>", "<BEGIN>\n## `close`", "Closes the SSH connection if the connection is UP.\n<END>", "<BEGIN>\n## `cli`", "Executes a command and returns raw output from the CLI.", " :param command: Command to be executed on the CLI.\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_candidate API. 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 load_candidate API. 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...
Loads a candidate configuration on the device. In case the load fails at any point, will automatically rollback to last working configuration. :param filename: Specifies the name of the file with the configuration content. :param config: New configuration to be uploaded on the device. :...
"Loads a candidate configuration on the device.\n In case the load fails at any point, will automatically rollback to last working configuration.\n\n :param filename: Specifies the name of the file with the configuration content.\n :param config: New configuration to be uploaded on the device.\n ...
35
false
mirceaulinic/pypluribus
load_candidate
33,596
LDU_FT/google/transitfeed/AddStopObject
LDU_FT
[ "<BEGIN>\n## `GetClosestPoint`", "Returns the point on the great circle segment ab closest to x.\n<END>", "<BEGIN>\n## `Norm2`", "Returns the L_2 (Euclidean) norm of self.\n<END>", "<BEGIN>\n## `Plus`", "Returns a new point which is the pointwise sum of self and other.\n<END>", "<BEGIN>\n## `Minus`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the AddStopObject API. 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 AddStopObject API. 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...
Add Stop object to this schedule if stop_id is non-blank.
"Add Stop object to this schedule if stop_id is non-blank."
708
false
google/transitfeed
AddStopObject
33,597
LDU_FT/anjishnu/ask-alexa-pykit/read_out_tweets
LDU_FT
[ "<BEGIN>\n## `read_from_user`", "Helper function to prompt user for input of a specific type \n e.g. float, str, int \n Designed to work with both python 2 and 3 \n Yes I know this is ugly.\n<END>", "<BEGIN>\n## `load_builtin_slots`", "Helper function to load builtin slots from the data location\n<EN...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_out_tweets API. 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 read_out_tweets API. 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...
Input - list of processed 'Tweets' output - list of spoken responses
"Input - list of processed 'Tweets'\n output - list of spoken responses"
32
false
anjishnu/ask-alexa-pykit
read_out_tweets
33,598
LDU_FT/FutunnOpen/futuquant/get_autype_list
LDU_FT
[ "<BEGIN>\n## `unpack_rsp`", "Convert from PLS response to user response\n<END>", "<BEGIN>\n## `getJsonPath`", "获取JSON配置文件的路径:\n 1. 优先从当前工作目录查找JSON文件\n 2. 若无法找到则前往模块所在目录查找\n<END>", "<BEGIN>\n## `set_client_info`", ".. py:function:: set_client_info(cls, client_id, client_ver)", " 设置调用api的客户端...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_autype_list API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_autype_list API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
获取给定股票列表的复权因子 :param code_list: 股票列表,例如['HK.00700'] :return: (ret, data) ret == RET_OK 返回pd dataframe数据,data.DataFrame数据, 数据列格式如下 ret != RET_OK 返回错误字符串 ===================== =========== ==============================================================...
"获取给定股票列表的复权因子\n\n :param code_list: 股票列表,例如['HK.00700']\n :return: (ret, data)\n\n ret == RET_OK 返回pd dataframe数据,data.DataFrame数据, 数据列格式如下\n\n ret != RET_OK 返回错误字符串\n\n ===================== =========== ====================================================...
288
false
FutunnOpen/futuquant
get_autype_list
33,599
LDU_FT/sbarham/dsrt/dataset_list
LDU_FT
[ "<BEGIN>\n## `predict`", "Take in an integer-vectorized (i.e., index) vector, and predict the maximally\n likely response, returning it as an integer-vectorized (i.e., index) vector.\n<END>", "<BEGIN>\n## `pad_dialogues`", "Pad the entire dataset.\n This involves adding padding at the end of eac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dataset_list API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dataset_list API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Subcommand of dataset for listing available datasets
"Subcommand of dataset for listing available datasets"
77
false
sbarham/dsrt
dataset_list
33,600
LDU_FT/PSPC-SPAC-buyandsell/von_anchor/send_schema
LDU_FT
[ "<BEGIN>\n## `least_role`", "Return the TRUSTEE indy-sdk role for an anchor acting in an AnchorSmith capacity.", " :return: TRUSTEE role\n<END>", "<BEGIN>\n## `send_nym`", "Send input anchor's cryptonym (including DID, verification key, plus optional alias and role)\n to the distributed ledger...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_schema API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_schema API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Send schema to ledger, then retrieve it as written to the ledger and return it. Raise BadLedgerTxn on failure. Raise BadAttribute for attribute name with spaces or reserved for indy-sdk. If schema already exists on ledger, log error and return schema. :param schema_data_json: schema da...
"Send schema to ledger, then retrieve it as written to the ledger and return it.\n Raise BadLedgerTxn on failure. Raise BadAttribute for attribute name with spaces or\n reserved for indy-sdk.\n\n If schema already exists on ledger, log error and return schema.\n\n :param schema_data_json: sc...
734
false
PSPC-SPAC-buyandsell/von_anchor
send_schema
33,601
LDU_FT/seung-lab/cloud-volume/ndarray
LDU_FT
[ "<BEGIN>\n## `decode_kempressed`", "subvol not bytestring since numpy conversion is done inside fpzip extension.\n<END>", "<BEGIN>\n## `bbox2array`", "Convenince method for creating a \n shared memory numpy array based on a CloudVolume\n and Bbox. c.f. sharedmemory.ndarray for information\n on the optional...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ndarray API. Each 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 ndarray API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Create a shared memory numpy array. Lock is only necessary while doing multiprocessing on platforms without /dev/shm type shared memory as filesystem emulation will be used instead. Allocating the shared array requires cleanup on your part. A shared memory file will be located at sharedmemory.PLATFORM_SH...
"Create a shared memory numpy array. \n Lock is only necessary while doing multiprocessing on \n platforms without /dev/shm type shared memory as \n filesystem emulation will be used instead.\n\n Allocating the shared array requires cleanup on your part.\n A shared memory file will be located at sharedmemory.PLAT...
237
false
seung-lab/cloud-volume
ndarray
33,602
LDU_FT/shapiromatron/bmds/to_dict
LDU_FT
[ "<BEGIN>\n## `as_dfile`", "Return the dataset representation in BMDS .(d) file.", " Example\n -------\n >>> print(dataset.as_dfile())\n Dose Incidence NEGATIVE_RESPONSE\n 0.000000 5 70\n 1.960000 1 48\n 5.690000 3 47\n 29.750000 14 35\n<END>", "<BEGIN>\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_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 extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_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 extracted...
Return a dictionary representation of the dataset.
"Return a dictionary representation of the dataset."
113
false
shapiromatron/bmds
to_dict
33,603
LDU_FT/kolypto/py-flask-jsontools/get_entity_propnames
LDU_FT
[ "<BEGIN>\n## `jsonapi`", "Declare the view as a JSON API method", " This converts view return value into a :cls:JsonResponse.", " The following return types are supported:\n - tuple: a tuple of (response, status, headers)\n - any other object is converted to JSON\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_entity_propnames API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_entity_propnames 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 entity property names :param entity: Entity :type entity: sqlalchemy.ext.declarative.api.DeclarativeMeta :returns: Set of entity property names :rtype: set
"Get entity property names\n\n :param entity: Entity\n :type entity: sqlalchemy.ext.declarative.api.DeclarativeMeta\n :returns: Set of entity property names\n :rtype: set"
22
false
kolypto/py-flask-jsontools
get_entity_propnames
33,604
LDU_FT/driftx/Telephus/atomic_batch_mutate
LDU_FT
[ "<BEGIN>\n## `set_keyspace`", "switch all connections to another keyspace\n<END>", "<BEGIN>\n## `retry`", "Retry this factory's connection. It is assumed that a previous\n connection was attempted and failed- either before or after a\n successful connection.\n<END>", "<BEGIN>\n## `prep_connect...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the atomic_batch_mutate 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 atomic_batch_mutate 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...
Atomically mutate many columns or super columns for many row keys. See also: Mutation. mutation_map maps key to column family to a list of Mutation objects to take place at that scope. * Parameters: - mutation_map - consistency_level
"Atomically mutate many columns or super columns for many row keys. See also: Mutation.\n\n mutation_map maps key to column family to a list of Mutation objects to take place at that scope.\n *\n\n Parameters:\n - mutation_map\n - consistency_level"
132
false
driftx/Telephus
atomic_batch_mutate
33,605
LDU_FT/SeattleTestbed/seash/_get_clearinghouse_vessel_handle
LDU_FT
[ "<BEGIN>\n## `_bind_key`", "u\"\"\"setup the mapping from key to call the function.\n<END>", "<BEGIN>\n## `_bind_exit_key`", "u\"\"\"setup the mapping from key to call the function.\n<END>", "<BEGIN>\n## `_get_completions`", "Return a list of possible completions for the string ending at the point.\r\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_clearinghouse_vessel_handle API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_clearinghouse_vessel_handle API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c...
<Purpose> Acquires the unique vessel identifier for a given vesselhandle. <Arguments> vesselhandle: A vessel handle expressed in the form node_ip:node_port:vesselname. <Side Effects> Opens a connection to the vessel to retrieve its nodekey. <Exceptions> None <Returns> A list of Cle...
"<Purpose>\n Acquires the unique vessel identifier for a given vesselhandle.\n\n <Arguments>\n vesselhandle:\n A vessel handle expressed in the form node_ip:node_port:vesselname.\n\n <Side Effects>\n Opens a connection to the vessel to retrieve its nodekey.\n\n <Exceptions>\n None\n\n <Returns>\n ...
281
false
SeattleTestbed/seash
_get_clearinghouse_vessel_handle
33,606
LDU_FT/mikusjelly/apkutils/pretty_print
LDU_FT
[ "<BEGIN>\n## `skipNullPadding`", "不断地寻找 CHUNK_STRINGPOOL_TYPE,目前暂时没有遇到这种样本。\n<END>", "<BEGIN>\n## `is_zipfile`", "Quickly see if a file is a ZIP file by checking the magic number.", " The filename argument may be a file or file-like object too.\n<END>", "<BEGIN>\n## `readline`", "Read and return a li...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pretty_print API. 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 pretty_print API. 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...
漂亮地打印一个节点 Args: node (TYPE): Description
"漂亮地打印一个节点\n\n Args:\n node (TYPE): Description"
48
false
mikusjelly/apkutils
pretty_print
33,607
LDU_FT/thewca/wca-regulations-compiler/p_regularsec
LDU_FT
[ "<BEGIN>\n## `parse`", "Parse an input string, and return an AST\n doctype must have WCADocument as a baseclass\n<END>", "<BEGIN>\n## `_act_on_list`", "Act on the following rule :\n items : items item\n | item\n<END>", "<BEGIN>\n## `p_content`", "content : TITLE opttexts...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the p_regularsec API. 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 p_regularsec API. 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...
regularsec : HEADERSEC opttexts optsubsections
"regularsec : HEADERSEC opttexts optsubsections"
36
false
thewca/wca-regulations-compiler
p_regularsec
33,608
LDU_FT/dbrattli/OSlash/lift
LDU_FT
[ "<BEGIN>\n## `map`", "r\"\"\"Map a function over the Reader.", " Haskell:\n fmap f m = Reader $ \\r -> f (runReader m r).\n fmap f g = (\\x -> f (g x))\n<END>", "<BEGIN>\n## `bind`", "r\"\"\"Bind a monadic function to the Reader.", " Haskell:\n Reader: m >>= k = Reader ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lift API. Each 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 lift API. Each 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...
Map function over monadic value. Takes a function and a monadic value and maps the function over the monadic value Haskell: liftM :: (Monad m) => (a -> b) -> m a -> m b This is really the same function as Functor.fmap, but is instead implemented using bind, and does not rely o...
"Map function over monadic value.\n\n Takes a function and a monadic value and maps the function over the\n monadic value\n\n Haskell: liftM :: (Monad m) => (a -> b) -> m a -> m b\n\n This is really the same function as Functor.fmap, but is instead\n implemented using bind, and does n...
76
false
dbrattli/OSlash
lift
33,609
LDU_FT/CodeReclaimers/neat-python/plot_species
LDU_FT
[ "<BEGIN>\n## `eval_genome`", "This function will be run in parallel by ParallelEvaluator. It takes two\n arguments (a single genome and the genome class configuration data) and\n should return one float (that genome's fitness).", " Note that this function needs to be in module scope for multiprocessin...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot_species API. 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 plot_species API. 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...
Visualizes speciation throughout evolution.
"Visualizes speciation throughout evolution."
121
false
CodeReclaimers/neat-python
plot_species
33,610
LDU_FT/cvxopt/chompack/embed
LDU_FT
[ "<BEGIN>\n## `symb_to_block`", "Maps a symbolic factorization to a block-diagonal structure with\n coupling constraints.", " :param symb: :py:class:`symbolic`\n :param coupling: optional \n :return dims: list of block dimensions\n :return sparse_to_block: di...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the embed API. Each 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 embed API. Each 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...
Compute filled pattern. colptr, rowidx = embed(A, colcount, snode, snptr, snpar, snpost) PURPOSE Computes rowindices and column pointer for representative vertices in supernodes. ARGUMENTS A sparse matrix colcount vector with column counts snode vector with supernodes ...
"Compute filled pattern.\n\n colptr, rowidx = embed(A, colcount, snode, snptr, snpar, snpost)\n\n PURPOSE\n Computes rowindices and column pointer for representative vertices in supernodes.\n\n ARGUMENTS\n A sparse matrix\n\n colcount vector with column counts\n\n snode vector with ...
215
false
cvxopt/chompack
embed
33,611
LDU_FT/marrow/mongo/near
LDU_FT
[ "<BEGIN>\n## `process_fields`", "Process a list of simple string field definitions and assign their order based on prefix.\n<END>", "<BEGIN>\n## `create`", "Create this index in the specified collection; keyword arguments are passed to PyMongo.", "\t\thttp://api.mongodb.com/python/current/api/pymongo/collec...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the near API. Each 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 near API. Each 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...
Order results by their distance from the given point, optionally with range limits in meters. Geospatial operator: {$near: {...}} Documentation: https://docs.mongodb.com/manual/reference/operator/query/near/#op._S_near { $near: { $geometry: <center; Point or (long, lat)>, $minDistance: <min; ...
"Order results by their distance from the given point, optionally with range limits in meters.\n\t\t\n\t\tGeospatial operator: {$near: {...}}\n\t\tDocumentation: https://docs.mongodb.com/manual/reference/operator/query/near/#op._S_near\n\t\t\n\t\t\t{\n\t\t\t\t$near: {\n\t\t\t\t\t$geometry: <center; Point or (long, lat)...
175
false
marrow/mongo
near
33,612
LDU_FT/justquick/django-activity-stream/handle_token
LDU_FT
[ "<BEGIN>\n## `timesince`", "Shortcut for the ``django.utils.timesince.timesince`` function of the\n current timestamp.\n<END>", "<BEGIN>\n## `respond`", "Responds to the request with the given response code.\n If ``next`` is in the form, it will redirect instead.\n<END>", "<BEGIN>\n## `follow_unfo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_token API. 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 handle_token API. 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...
Class method to parse and return a Node.
"Class method to parse and return a Node."
105
false
justquick/django-activity-stream
handle_token
33,613
LDU_FT/calmjs/calmjs.parse/declare
LDU_FT
[ "<BEGIN>\n## `optimize_structure_handler`", "Produce an \"optimized\" version of handler for the dispatcher to\n limit reference lookups.\n<END>", "<BEGIN>\n## `optimize_layout_handler`", "Produce an \"optimized\" version of handler for the dispatcher to\n limit reference lookups.\n<END>", "<BEGIN>\n#...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the declare API. Each 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 declare API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Nothing gets declared here - it's the parents problem, except for the case where the symbol is the one we have here.
"Nothing gets declared here - it's the parents problem, except\n for the case where the symbol is the one we have here."
253
false
calmjs/calmjs.parse
declare
33,614
LDU_FT/facebook/pyre-check/is_capable_terminal
LDU_FT
[ "<BEGIN>\n## `log_time`", "Log the time it takes to run a function. It's sort of like timeit, but\n prettier.\n<END>", "<BEGIN>\n## `daemonize`", "We double-fork here to detach the daemon process from the parent.\n If we were to just fork the child as a daemon, we'd have to worry about the\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_capable_terminal 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 is_capable_terminal 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...
Determine whether we are connected to a capable terminal.
"Determine whether we are connected to a capable terminal."
150
false
facebook/pyre-check
is_capable_terminal
33,615
LDU_FT/MIT-LCP/wfdb-python/_mwi
LDU_FT
[ "<BEGIN>\n## `find_peaks`", "Find hard peaks and soft peaks in a signal, defined as follows:", " - Hard peak: a peak that is either /\\ or \\/\n - Soft peak: a peak that is either /-*\\ or \\-*/\n In this case we define the middle as the peak", " Parameters\n ----------\n sig : np array\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _mwi API. Each 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 _mwi API. Each 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...
Apply moving wave integration (mwi) with a ricker (Mexican hat) wavelet onto the filtered signal, and save the square of the integrated signal. The width of the hat is equal to the qrs width After integration, find all local peaks in the mwi signal.
"Apply moving wave integration (mwi) with a ricker (Mexican hat)\n wavelet onto the filtered signal, and save the square of the\n integrated signal.\n\n The width of the hat is equal to the qrs width\n\n After integration, find all local peaks in the mwi signal."
538
false
MIT-LCP/wfdb-python
_mwi
33,616
LDU_FT/mila-iqia/fuel/do_not_pickle_attributes
LDU_FT
[ "<BEGIN>\n## `convert_mnist`", "Converts the MNIST dataset to HDF5.", " Converts the MNIST dataset to an HDF5 dataset compatible with\n :class:`fuel.datasets.MNIST`. The converted dataset is\n saved as 'mnist.hdf5'.", " This method assumes the existence of the following files:\n `train-images-i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_not_pickle_attributes 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 do_not_pickle_attributes API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
r"""Decorator to assign non-pickable properties. Used to assign properties which will not be pickled on some class. This decorator creates a series of properties whose values won't be serialized; instead, their values will be reloaded (e.g. from disk) by the :meth:`load` function after deserializing th...
"r\"\"\"Decorator to assign non-pickable properties.\n\n Used to assign properties which will not be pickled on some class.\n This decorator creates a series of properties whose values won't be\n serialized; instead, their values will be reloaded (e.g. from disk) by\n the :meth:`load` function after deseria...
358
false
mila-iqia/fuel
do_not_pickle_attributes
33,617
LDU_FT/maciejkula/glove-python/add_dictionary
LDU_FT
[ "<BEGIN>\n## `read_analogy_file`", "Read the analogy task test set from a file.\n<END>", "<BEGIN>\n## `analogy_rank_score`", "Calculate the analogy rank score for the given set of analogies.", " A rank of zero denotes a perfect score; with random word vectors\n we would expect a rank of 0.5.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_dictionary API. 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_dictionary API. 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...
Supply a word-id dictionary to allow similarity queries.
"Supply a word-id dictionary to allow similarity queries."
27
false
maciejkula/glove-python
add_dictionary
33,618
LDU_FT/wtsi-hgi/python-baton-wrapper/remove
LDU_FT
[ "<BEGIN>\n## `validate_baton_binaries_location`", "Validates that the given directory contains the baton binaries required to use the runner.\n :param baton_binaries_directory: the directory to check\n :return: exception that describes the issue else `None` if no issues\n<END>", "<BEGIN>\n## `_rai...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Removes a data object from this collection that has the given unique identifier. A `ValueError` will be raised if a data object with the given identifier does not exist. :param identifier: the identifier of the data object
"Removes a data object from this collection that has the given unique identifier. A `ValueError` will be raised\n if a data object with the given identifier does not exist.\n :param identifier: the identifier of the data object"
71
false
wtsi-hgi/python-baton-wrapper
remove
33,619
LDU_FT/linkhub-sdk/popbill.py/getInfos
LDU_FT
[ "<BEGIN>\n## `getSenderNumberMgtURL`", "팩스 전송내역 팝업 URL\n args\n CorpNum : 회원 사업자번호\n UserID : 회원 팝빌아이디\n return\n 30초 보안 토큰을 포함한 url\n raise\n PopbillException\n<END>", "<BEGIN>\n## `getUnitCost`", "팩스 전송 단가 확인\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getInfos API. 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 getInfos API. 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...
상태정보 다량 확인, 최대 1000건 args CorpNum : 회원 사업자 번호 MgtKeyList : 문서관리번호 목록 return 상태정보 목록 as List raise PopbillException
"상태정보 다량 확인, 최대 1000건\r\n args\r\n CorpNum : 회원 사업자 번호\r\n MgtKeyList : 문서관리번호 목록\r\n return\r\n 상태정보 목록 as List\r\n raise\r\n PopbillException"
216
false
linkhub-sdk/popbill.py
getInfos
33,620
LDU_FT/rasguanabana/ytfs/read
LDU_FT
[ "<BEGIN>\n## `__getChannelId`", "Obtain channel id for channel name, if present in ``self.search_params``.\n<END>", "<BEGIN>\n## `__searchParser`", "Parse `query` for advanced search options.", " Parameters\n ----------\n query : str\n Search query to parse. Besides a search ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Read from a file. Data is obtained from ``YTStor`` object (which is kept under `fh` descriptor) using its ``read`` method. Parameters ---------- tid : str Path to file. Original `path` argument is converted to tuple identifier by ``_pathdec`` decorator. length : int ...
"Read from a file. Data is obtained from ``YTStor`` object (which is kept under `fh` descriptor) using its\n ``read`` method.\n\n Parameters\n ----------\n tid : str\n Path to file. Original `path` argument is converted to tuple identifier by ``_pathdec`` decorator.\n lengt...
109
false
rasguanabana/ytfs
read
33,621
LDU_FT/quantmind/dynts/get_git_changeset
LDU_FT
[ "<BEGIN>\n## `jstimestamp_slow`", "Convert a date or datetime object into a javsacript timestamp\n<END>", "<BEGIN>\n## `jstimestamp`", "Convert a date or datetime object into a javsacript timestamp.\n<END>", "<BEGIN>\n## `rolling`", "Fast rolling operation with O(log n) updates where n is the\n win...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_git_changeset API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_git_changeset API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Returns a numeric identifier of the latest git changeset. The result is the UTC timestamp of the changeset in YYYYMMDDHHMMSS format. This value isn't guaranteed to be unique, but collisions are very unlikely, so it's sufficient for generating the development version numbers.
"Returns a numeric identifier of the latest git changeset.\r\n\r\n The result is the UTC timestamp of the changeset in YYYYMMDDHHMMSS format.\r\n This value isn't guaranteed to be unique, but collisions are very unlikely,\r\n so it's sufficient for generating the development version numbers."
159
false
quantmind/dynts
get_git_changeset
33,622
LDU_FT/timothycrosley/isort/file_should_be_skipped
LDU_FT
[ "<BEGIN>\n## `iter_source_code`", "Iterate over all Python source files defined in paths.\n<END>", "<BEGIN>\n## `file_should_be_skipped`", "Returns True if the file and/or folder should be skipped based on the passed in settings.\n<END>", "<BEGIN>\n## `chdir`", "Context manager for changing dir and restor...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the file_should_be_skipped 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 file_should_be_skipped 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 if the file and/or folder should be skipped based on the passed in settings.
"Returns True if the file and/or folder should be skipped based on the passed in settings."
44
false
timothycrosley/isort
file_should_be_skipped
33,623
LDU_FT/ska-sa/katversion/get_version_from_unpacked_sdist
LDU_FT
[ "<BEGIN>\n## `patch_init_py`", "Patch __init__.py to remove version check and append hard-coded version.\n<END>", "<BEGIN>\n## `setuptools_entry`", "Setuptools entry point for setting version and baking it into package.\n<END>", "<BEGIN>\n## `date_version`", "Generate a version string based on the SCM typ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_version_from_unpacked_sdist 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 get_version_from_unpacked_sdist API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co...
Assume path points to unpacked source distribution and get version.
"Assume path points to unpacked source distribution and get version."
41
false
ska-sa/katversion
get_version_from_unpacked_sdist
33,624
LDU_FT/ebroecker/canmatrix/pack_bitstring
LDU_FT
[ "<BEGIN>\n## `unpack_bitstring`", "returns a value calculated from bits\n :param length: length of signal in bits\n :param is_float: value is float\n :param bits: value as bits (array/iterable)\n :param is_signed: value is signed\n :return:\n<END>", "<BEGIN>\n## `pack_bitstring`", "returns a va...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pack_bitstring API. 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 pack_bitstring API. 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...
returns a value in bits :param length: length of signal in bits :param is_float: value is float :param value: value to encode :param signed: value is signed :return:
"returns a value in bits\n :param length: length of signal in bits\n :param is_float: value is float\n :param value: value to encode\n :param signed: value is signed\n :return:"
51
false
ebroecker/canmatrix
pack_bitstring
33,625
LDU_FT/nornir-automation/nornir/write_file
LDU_FT
[ "<BEGIN>\n## `start`", "Run the task for the given host.", " Arguments:\n host (:obj:`nornir.core.inventory.Host`): Host we are operating with. Populated right\n before calling the ``task``\n nornir(:obj:`nornir.core.Nornir`): Populated right before calling\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_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 extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_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 extrac...
Write contents to a file (locally) Arguments: dry_run: Whether to apply changes or not filename: file you want to write into content: content you want to write append: whether you want to replace the contents or append to it Returns: Result object with the following att...
"Write contents to a file (locally)\n\n Arguments:\n dry_run: Whether to apply changes or not\n filename: file you want to write into\n content: content you want to write\n append: whether you want to replace the contents or append to it\n\n Returns:\n Result object with the fol...
175
false
nornir-automation/nornir
write_file
33,626
LDU_FT/AtteqCom/zsl/route
LDU_FT
[ "<BEGIN>\n## `_nested_transactional`", "In a transactional method create a nested transaction.\n<END>", "<BEGIN>\n## `exec_task`", "Execute task.", " :param task_path: task path\n :type task_path: str|Callable\n :param data: task's data\n :type data: Any\n :return:\n<END>", "<BEGIN>\n## `ap...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the route API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the route API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Returns the task handling the given request path.
"Returns the task handling the given request path."
292
false
AtteqCom/zsl
route
33,627
LDU_FT/sphinx-contrib/paverutils/pdf
LDU_FT
[ "<BEGIN>\n## `pdf`", "Generate PDF output.", " Use Sphinx to produce LaTeX, then use external tools such as\n TeXLive to convert the .tex file to a PDF.", " This task uses the following options, searching first in the\n \"pdf\" then \"sphinx\" section of the options.", " docroot\n the ro...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pdf API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pdf API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Generate PDF output. Use Sphinx to produce LaTeX, then use external tools such as TeXLive to convert the .tex file to a PDF. This task uses the following options, searching first in the "pdf" then "sphinx" section of the options. docroot the root under which Sphinx will be working. de...
"Generate PDF output.\n\n Use Sphinx to produce LaTeX, then use external tools such as\n TeXLive to convert the .tex file to a PDF.\n\n This task uses the following options, searching first in the\n \"pdf\" then \"sphinx\" section of the options.\n\n docroot\n the root under which Sphinx will be wor...
38
false
sphinx-contrib/paverutils
pdf
33,628
LDU_FT/scivision/histutils/whichframes
LDU_FT
[ "<BEGIN>\n## `cp_parents`", "This function requires Python >= 3.6.", " This acts like bash cp --parents in Python\n inspiration from\n http://stackoverflow.com/questions/15329223/copy-a-file-into-a-directory-with-its-original-leading-directories-appended", " example\n source: /tmp/e/f\n dest...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the whichframes API. 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 whichframes API. 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...
if no requested frames were specified, read all frames. Otherwise, just return the requested frames Assignments have to be "int64", not just python "int". Windows python 2.7 64-bit on files >2.1GB, the bytes will wrap
"if no requested frames were specified, read all frames. Otherwise, just\n return the requested frames\n Assignments have to be \"int64\", not just python \"int\".\n Windows python 2.7 64-bit on files >2.1GB, the bytes will wrap"
58
false
scivision/histutils
whichframes
33,629
LDU_FT/aewallin/allantools/mtie
LDU_FT
[ "<BEGIN>\n## `set_input`", "Set inputs after initialization", " Parameters\n -------\n nr: integer\n length of generated time-series\n number must be power of two\n qd: float\n discrete variance\n b: float\n noise type:\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mtie API. Each 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 mtie API. Each 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...
Maximum Time Interval Error. Parameters ---------- data: np.array Input data. Provide either phase or frequency (fractional, adimensional). rate: float The sampling rate for data, in Hz. Defaults to 1.0 data_type: {'phase', 'freq'} Data type, i.e. phase or frequency....
"Maximum Time Interval Error.\n\n Parameters\n ----------\n data: np.array\n Input data. Provide either phase or frequency (fractional,\n adimensional).\n rate: float\n The sampling rate for data, in Hz. Defaults to 1.0\n data_type: {'phase', 'freq'}\n Data type, i.e. phase or...
273
false
aewallin/allantools
mtie
33,630
LDU_FT/MLAB-project/pymlab/write_wdata
LDU_FT
[ "<BEGIN>\n## `Move`", "Move some distance units from current position\n<END>", "<BEGIN>\n## `SPI_write_byte`", "Writes a data to a SPI device selected by chipselect bit.\n<END>", "<BEGIN>\n## `SPI_write`", "Writes data to SPI device selected by chipselect bit.\n<END>", "<BEGIN>\n## `GPIO_read`", "Read...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_wdata API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_wdata API. 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...
Write a word (two bytes) value to a device's register.
"Write a word (two bytes) value to a device's register."
99
false
MLAB-project/pymlab
write_wdata
33,631
LDU_FT/gvanderheide/discreteMarkovChain/getTransitionMatrix
LDU_FT
[ "<BEGIN>\n## `uniqueStates`", "Returns unique states and sums up the corresponding rates.\n States should be a 2d numpy array with on each row a state, and rates a 1d numpy array with length equal to the number of rows in states. ", " This may be helpful in the transition function for summing up the ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getTransitionMatrix 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 getTransitionMatrix 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...
If self.P has been given already, we will reuse it and convert it to a sparse csr matrix if needed. Otherwise, we will generate it using the direct or indirect method. Since most solution methods use a probability matrix, this is the default setting. By setting probabilities=False we c...
"If self.P has been given already, we will reuse it and convert it to a sparse csr matrix if needed.\n Otherwise, we will generate it using the direct or indirect method. \n Since most solution methods use a probability matrix, this is the default setting. \n By setting probabilities=False ...
68
false
gvanderheide/discreteMarkovChain
getTransitionMatrix
33,632
LDU_FT/alvinwan/tex2py/fromLatex
LDU_FT
[ "<BEGIN>\n## `findHierarchy`", "Find hierarchy for the LaTeX source.", " >>> TOC.fromLatex(r'\\subsection{yo}\\section{hello}').findHierarchy()\n ('section', 'subsection')\n >>> TOC.fromLatex(\n ... r'\\subsubsubsection{huh}\\subsubsection{hah}').findHierarchy()\n ('subsubsect...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fromLatex API. 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 fromLatex API. 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...
Creates abstraction using Latex :param str tex: Latex :return: TreeOfContents object
"Creates abstraction using Latex\n\n :param str tex: Latex\n :return: TreeOfContents object"
18
false
alvinwan/tex2py
fromLatex
33,633
LDU_FT/jgillick/LendingClub/execute
LDU_FT
[ "<BEGIN>\n## `set_logger`", "Set a logger to send debug messages to", " Parameters\n ----------\n logger : `Logger <http://docs.python.org/2/library/logging.html>`_\n A python logger used to get debugging output from this module.\n<END>", "<BEGIN>\n## `version`", "Return the ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the execute API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the execute API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Place the order with LendingClub Parameters ---------- portfolio_name : string The name of the portfolio to add the invested loan notes to. This can be a new or existing portfolio name. Raises ------ LendingClubError Returns ----...
"Place the order with LendingClub\n\n Parameters\n ----------\n portfolio_name : string\n The name of the portfolio to add the invested loan notes to.\n This can be a new or existing portfolio name.\n\n Raises\n ------\n LendingClubError\n\n Returns...
133
false
jgillick/LendingClub
execute
33,634
LDU_FT/itamarst/crochet/log_errors
LDU_FT
[ "<BEGIN>\n## `register`", "Register an EventualResult.", " May be called in any thread.\n<END>", "<BEGIN>\n## `stop`", "Indicate no more results will get pushed into EventualResults, since\n the reactor has stopped.", " This should be called in the reactor thread.\n<END>", "<BEGIN>\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the log_errors API. 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 log_errors API. 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...
Log errors for all stored EventualResults that have error results.
"Log errors for all stored EventualResults that have error results."
61
false
itamarst/crochet
log_errors
33,635
LDU_FT/clld/cdstarcat/create
LDU_FT
[ "<BEGIN>\n## `add`", "Add an existing CDSTAR object to the catalog.", " :param obj: A pycdstar.resource.Object instance\n<END>", "<BEGIN>\n## `delete`", "Delete an object in CDSTAR and remove it from the catalog.", " :param obj: An object ID or an Object instance.\n<END>", "<BEGIN>\n## `cr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
cdstarcat create PATH Create objects in CDSTAR specified by PATH. When PATH is a file, a single object (possibly with multiple bitstreams) is created; When PATH is a directory, an object will be created for each file in the directory (recursing into subdirectories).
"cdstarcat create PATH\n\n Create objects in CDSTAR specified by PATH.\n When PATH is a file, a single object (possibly with multiple bitstreams) is created;\n When PATH is a directory, an object will be created for each file in the directory\n (recursing into subdirectories)."
28
false
clld/cdstarcat
create
33,636
LDU_FT/coreGreenberet/homematicip-rest-api/set_rgb_dim_level_with_time
LDU_FT
[ "<BEGIN>\n## `from_json`", "this function will load the functional channel object \r\n from a json object and the given groups \r", " Args:\r\n js(dict): the json object\r\n groups(Iterable[Group]): the groups for referencing\n<END>", "<BEGIN>\n## `download_configuration`",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_rgb_dim_level_with_time 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 set_rgb_dim_level_with_time API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
sets the color and dimlevel of the lamp Args: channelIndex(int): the channelIndex of the lamp. Use self.topLightChannelIndex or self.bottomLightChannelIndex rgb(RGBColorState): the color of the lamp dimLevel(float): the dimLevel of the lamp. 0.0 = off, 1.0 = MAX ...
"sets the color and dimlevel of the lamp\n\n Args:\n channelIndex(int): the channelIndex of the lamp. Use self.topLightChannelIndex or self.bottomLightChannelIndex\n rgb(RGBColorState): the color of the lamp\n dimLevel(float): the dimLevel of the lamp. 0.0 = off, 1.0 = MAX\n ...
84
false
coreGreenberet/homematicip-rest-api
set_rgb_dim_level_with_time
33,637
LDU_FT/Datary/scrapbag/pdf_to_text
LDU_FT
[ "<BEGIN>\n## `parse_spss_headerfile`", "Parse spss header file", " Arguments:\n path {str} -- path al fichero de cabecera.\n leyend_position -- posicion del la leyenda en el header.\n<END>", "<BEGIN>\n## `parse_spss_datafile`", "Parse spss data file", " Arguments:\n path {str} -...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pdf_to_text API. 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 pdf_to_text API. 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...
Parse pdf to a list of strings using the pdfminer lib. Args: no_laparams=False, all_texts=None, detect_vertical=None, word_margin=None, char_margin=None, line_margin=None, boxes_flow=None, codec='utf-8', strip_control=False, maxpages=0, page_numbers=None, password="", ...
"Parse pdf to a list of strings using the pdfminer lib.\n\n Args:\n no_laparams=False,\n all_texts=None,\n detect_vertical=None, word_margin=None, char_margin=None,\n line_margin=None, boxes_flow=None, codec='utf-8',\n strip_control=False, maxpages=0, page_numbers=None, password=\"...
119
false
Datary/scrapbag
pdf_to_text
33,638
LDU_FT/openclimatedata/pymagicc/read_parameters
LDU_FT
[ "<BEGIN>\n## `get_magicc_region_to_openscm_region_mapping`", "Get the mappings from MAGICC to OpenSCM regions.", " This is not a pure inverse of the other way around. For example, we never provide\n \"GLOBAL\" as a MAGICC return value because it's unnecesarily confusing when we also\n have \"World\". F...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_parameters API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_parameters API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Read a parameters.out file Returns ------- dict A dictionary containing all the configuration used by MAGICC
"Read a parameters.out file\n\n Returns\n -------\n dict\n A dictionary containing all the configuration used by MAGICC"
245
false
openclimatedata/pymagicc
read_parameters
33,639
LDU_FT/anchore/anchore/kubesync
LDU_FT
[ "<BEGIN>\n## `get_current_user_info`", "Return the metadata about the current user as supplied by the anchore.io service. Includes permissions and tier access.", " :return: Dict of user metadata\n<END>", "<BEGIN>\n## `sync`", "Sync (download) latest policies from the Anchore.io service.\n<END>", "<BEGI...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the kubesync API. 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 kubesync API. 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...
Communicate with kubernetes deployment via kubectl and save image names/IDs to local files
"Communicate with kubernetes deployment via kubectl and save image names/IDs to local files"
151
false
anchore/anchore
kubesync
33,640
LDU_FT/CI-WATER/mapkit/mapColorRampToValues
LDU_FT
[ "<BEGIN>\n## `getAsKmlGrid`", "Creates a KML file with each cell in the raster represented by a polygon. The result is a vector grid representation of the raster.\n Note that pixels with values between -1 and 0 are omitted as no data values. Also note that this method only works on the first band.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mapColorRampToValues 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 mapColorRampToValues API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Creates color ramp based on min and max values of all the raster pixels from all rasters. If pixel value is one of the no data values it will be excluded in the color ramp interpolation. Returns colorRamp, slope, intercept :param colorRamp: A list of RGB tuples representing a color ramp (e.g.: results ...
"Creates color ramp based on min and max values of all the raster pixels from all rasters. If pixel value is one\n of the no data values it will be excluded in the color ramp interpolation. Returns colorRamp, slope, intercept\n\n :param colorRamp: A list of RGB tuples representing a color ramp (e.g.: resu...
62
false
CI-WATER/mapkit
mapColorRampToValues
33,641
LDU_FT/paulgb/penkit/turtle_to_texture
LDU_FT
[ "<BEGIN>\n## `rotate_texture`", "Rotates the given texture by a given angle.", " Args:\n texture (texture): the texture to rotate\n rotation (float): the angle of rotation in degrees\n x_offset (float): the x component of the center of rotation (optional)\n y_offset (float): the y...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the turtle_to_texture API. 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 turtle_to_texture API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Makes a texture from a turtle program. Args: turtle_program (str): a string representing the turtle program; see the docstring of `branching_turtle_generator` for more details turn_amount (float): amount to turn in degrees initial_angle (float): initial orientation of the turtle...
"Makes a texture from a turtle program.\n\n Args:\n turtle_program (str): a string representing the turtle program; see the\n docstring of `branching_turtle_generator` for more details\n turn_amount (float): amount to turn in degrees\n initial_angle (float): initial orientation of the...
134
false
paulgb/penkit
turtle_to_texture
33,642
LDU_FT/robdmc/behold/stash
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 stash API. Each 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 stash API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
The stash method allows you to stash values for later analysis. The arguments are identical to the ``show()`` method. Instead of writing outpout, however, the ``stash()`` method populates a global list with the values that would have been printed. This allows them to be accessed later...
"The stash method allows you to stash values for later analysis. The\n arguments are identical to the ``show()`` method. Instead of writing\n outpout, however, the ``stash()`` method populates a global list with\n the values that would have been printed. This allows them to be\n accessed ...
49
false
robdmc/behold
stash
33,643
LDU_FT/SpikeInterface/spikeextractors/copy_unit_properties
LDU_FT
[ "<BEGIN>\n## `write_recording`", "Save recording extractor to MEArec format.\n Parameters\n ----------\n recording: RecordingExtractor\n Recording extractor object to be saved\n save_path: str\n .h5 or .hdf5 path\n<END>", "<BEGIN>\n## `write_sorting`", "Save s...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the copy_unit_properties API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the copy_unit_properties API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Copy unit properties from another sorting extractor to the current sorting extractor. Parameters ---------- sorting: SortingExtractor The sorting extractor from which the properties will be copied unit_ids: (array_like, int) The list (or single value) of ...
"Copy unit properties from another sorting extractor to the current\n sorting extractor.\n\n Parameters\n ----------\n sorting: SortingExtractor\n The sorting extractor from which the properties will be copied\n unit_ids: (array_like, int)\n The list (or single v...
115
false
SpikeInterface/spikeextractors
copy_unit_properties
33,644
LDU_FT/hkff/FodtlMon/_set_color
LDU_FT
[ "<BEGIN>\n## `eval`", "This method should be always called by subclasses\n :param valuation\n :param trace\n :return: Arguments evaluation\n<END>", "<BEGIN>\n## `eval`", "This method should be override to return some value\n :param valuation\n :param trace\n :return:\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _set_color API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _set_color API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Changes the foreground and background colors for subsequently printed characters. Since setting a color requires including both foreground and background codes (merged), setting just the foreground color resets the background color to black, and vice versa. This function first gets the current...
"Changes the foreground and background colors for subsequently printed characters.\n\n Since setting a color requires including both foreground and background codes (merged), setting just the\n foreground color resets the background color to black, and vice versa.\n\n This function first gets the c...
51
false
hkff/FodtlMon
_set_color
33,645
LDU_FT/manns/pyspread/cell_key_val_gen
LDU_FT
[ "<BEGIN>\n## `add_tools`", "Adds tools from self.toolbardata to self\n<END>", "<BEGIN>\n## `_get_button_label`", "Gets Button label from user and returns string\n<END>", "<BEGIN>\n## `OnButtonCell`", "Event handler for cell button toggle button\n<END>", "<BEGIN>\n## `OnVideoCell`", "Event handler for ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cell_key_val_gen API. 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 cell_key_val_gen API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Generator of row, col, value tuple from iterable of iterables it: Iterable of iterables \tMatrix that shall be mapped on target grid shape: Tuple of Integer \tShape of target grid topleft: 2-tuple of Integer \tTop left cell for insertion of it
"Generator of row, col, value tuple from iterable of iterables\n\n it: Iterable of iterables\n \\tMatrix that shall be mapped on target grid\n shape: Tuple of Integer\n \\tShape of target grid\n topleft: 2-tuple of Integer\n \\tTop left cell for insertion of it"
1,275
true
manns/pyspread
cell_key_val_gen
33,646
LDU_FT/pystorm/pystorm/emit
LDU_FT
[ "<BEGIN>\n## `emit`", "Emit a spout Tuple message.", " :param tup: the Tuple to send to Storm, should contain only\n JSON-serializable data.\n :type tup: list or tuple\n :param tup_id: the ID for the Tuple. Leave this blank for an\n unreliable emit.\...
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...
Modified emit that will not return task IDs after emitting. See :class:`pystorm.component.Bolt` for more information. :returns: ``None``.
"Modified emit that will not return task IDs after emitting.\n\n See :class:`pystorm.component.Bolt` for more information.\n\n :returns: ``None``."
103
false
pystorm/pystorm
emit
33,647
LDU_FT/pytorch/ignite/run
LDU_FT
[ "<BEGIN>\n## `add_event_handler`", "Add an event handler to be executed when the specified event is fired.", " Args:\n event_name: An event to attach the handler to. Valid events are from :class:`~ignite.engine.Events`\n or any `event_name` added by :meth:`~ignite.engine.Engine....
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...
Runs the process_function over the passed data. Args: data (Iterable): Collection of batches allowing repeated iteration (e.g., list or `DataLoader`). max_epochs (int, optional): max epochs to run for (default: 1). Returns: State: output state.
"Runs the process_function over the passed data.\n\n Args:\n data (Iterable): Collection of batches allowing repeated iteration (e.g., list or `DataLoader`).\n max_epochs (int, optional): max epochs to run for (default: 1).\n\n Returns:\n State: output state."
110
false
pytorch/ignite
run
33,648
LDU_FT/smarie/python-valid8/assert_valid
LDU_FT
[ "<BEGIN>\n## `instance_of`", "This type validation function can be used in two modes:\n * providing two arguments (x, ref_type), it returns `True` if isinstance(x, ref_type) and raises a HasWrongType\n error if not. If ref_type is a set of types, any match with one of the included types will do\n * pr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the assert_valid API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the assert_valid API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Validates value `value` using validation function(s) `base_validator_s`. As opposed to `is_valid`, this function raises a `ValidationError` if validation fails. It is therefore designed to be used for defensive programming, in an independent statement before the code that you intent to protect. ```pyt...
"Validates value `value` using validation function(s) `base_validator_s`.\n As opposed to `is_valid`, this function raises a `ValidationError` if validation fails.\n\n It is therefore designed to be used for defensive programming, in an independent statement before the code that you\n intent to protect.\n\n ...
229
false
smarie/python-valid8
assert_valid
33,649
LDU_FT/edublancas/sklearn-evaluation/learning_curve
LDU_FT
[ "<BEGIN>\n## `feature_importances`", "Get and order feature importances from a scikit-learn model\n or from an array-like structure.", " If data is a scikit-learn model with sub-estimators (e.g. RandomForest,\n AdaBoost) the function will compute the standard deviation of each\n feature.", " Pa...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the learning_curve API. 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 learning_curve API. 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...
Plot a learning curve Plot a metric vs number of examples for the training and test set Parameters ---------- train_scores : array-like Scores for the training set test_scores : array-like Scores for the test set train_sizes : array-like Relative or absolute numbers of ...
"Plot a learning curve\n\n Plot a metric vs number of examples for the training and test set\n\n Parameters\n ----------\n train_scores : array-like\n Scores for the training set\n test_scores : array-like\n Scores for the test set\n train_sizes : array-like\n Relative or absolute...
104
false
edublancas/sklearn-evaluation
learning_curve
33,650
LDU_FT/tbobm/etnawrapper/get_notifications
LDU_FT
[ "<BEGIN>\n## `_request_api`", "Wrap the calls the url, with the given arguments.", " :param str url: Url to call with the given arguments\n :param str method: [POST | GET] Method to use on the request\n :param int status: Expected status code\n<END>", "<BEGIN>\n## `get_infos_with_id`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_notifications API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_notifications API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Get the current notifications of a user. :return: JSON
"Get the current notifications of a user.\n\n :return: JSON"
39
false
tbobm/etnawrapper
get_notifications
33,651
LDU_FT/SFDO-Tooling/CumulusCI/_include_pull_request
LDU_FT
[ "<BEGIN>\n## `_download_file`", "Download the bulk API result file for a single batch\n<END>", "<BEGIN>\n## `_create_job`", "Initiate a bulk insert and upload batches to run in parallel.\n<END>", "<BEGIN>\n## `_query_db`", "Build a query to retrieve data from the local db.", " Includes columns fr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _include_pull_request API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _include_pull_request API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Checks if the given pull_request was merged to the default branch between self.start_date and self.end_date
"Checks if the given pull_request was merged to the default branch\n between self.start_date and self.end_date"
165
false
SFDO-Tooling/CumulusCI
_include_pull_request
33,652
LDU_FT/rckclmbr/pyportify/bezout
LDU_FT
[ "<BEGIN>\n## `perform_master_login`", "Perform a master login, which is what Android does when you first add a\n Google account.", " Return a dict, eg::", " {\n 'Auth': '...',\n 'Email': 'email@gmail.com',\n 'GooglePlusUpgrade': '1',\n 'LSID': '...',\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bezout API. Each 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 bezout API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Compute the bezout algorithm of a and b, i.e. it returns u, v, p such as: p = GCD(a,b) a * u + b * v = p Copied from http://www.labri.fr/perso/betrema/deug/poly/euclide.html.
"Compute the bezout algorithm of a and b, i.e. it returns u, v, p such as:\n\n p = GCD(a,b)\n a * u + b * v = p\n\n Copied from http://www.labri.fr/perso/betrema/deug/poly/euclide.html."
57
false
rckclmbr/pyportify
bezout
33,653
LDU_FT/sixty-north/asq/repeat
LDU_FT
[ "<BEGIN>\n## `add_method`", "Add an existing function to a class as a method.\r", " Note: Consider using the extend decorator as a more readable alternative\r\n to using this function directly.\r", " Args:\r\n function: The function to be added to the class klass.\r", " klass: The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the repeat API. Each 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 repeat API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Generate a sequence with one repeated value. Note: This method uses deferred execution. Args: element: The value to be repeated. count: The number of times to repeat the value. Raises: ValueError: If the count is negative.
"Generate a sequence with one repeated value.\r\n\r\n Note: This method uses deferred execution.\r\n\r\n Args:\r\n element: The value to be repeated.\r\n count: The number of times to repeat the value.\r\n\r\n Raises:\r\n ValueError: If the count is negative."
407
false
sixty-north/asq
repeat
33,654
LDU_FT/cobrateam/splinter/drag_and_drop
LDU_FT
[ "<BEGIN>\n## `Browser`", "Returns a driver instance for the given name.", " When working with ``firefox``, it's possible to provide a profile name\n and a list of extensions.", " If you don't provide any driver_name, then ``firefox`` will be used.", " If there is no driver registered with the pr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the drag_and_drop API. 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 drag_and_drop API. 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...
Performs drag a element to another elmenet. Currently works only on Chrome driver.
"Performs drag a element to another elmenet.\n\n Currently works only on Chrome driver."
22
false
cobrateam/splinter
drag_and_drop
33,655
LDU_FT/project-ncl/pnc-cli/update_build_configuration_sets
LDU_FT
[ "<BEGIN>\n## `get_environment`", "Get a specific Environment by name or ID\n<END>", "<BEGIN>\n## `create_new`", "Creates a new License", " This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please define a `callback` function\n to be invoked...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_build_configuration_sets 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 update_build_configuration_sets API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co...
This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.update_build_co...
"This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please define a `callback` function\n to be invoked when receiving the response.\n >>> def callback_function(response):\n >>> pprint(response)\n >>>\n >>> thread = api.update_b...
527
false
project-ncl/pnc-cli
update_build_configuration_sets
33,656
LDU_FT/tylertreat/BigQuery-Python/get_query_results
LDU_FT
[ "<BEGIN>\n## `get_client`", "Return a singleton instance of BigQueryClient. Either\n AssertionCredentials or a service account and private key combination need\n to be provided in order to authenticate requests to BigQuery.", " Parameters\n ----------\n project_id : str, optional\n The Big...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_query_results API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_query_results API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Execute the query job indicated by the given job id. This is direct mapping to bigquery api https://cloud.google.com/bigquery/docs/reference/v2/jobs/getQueryResults Parameters ---------- job_id : str The job id of the query to check offset : optional ...
"Execute the query job indicated by the given job id. This is direct\n mapping to bigquery api\n https://cloud.google.com/bigquery/docs/reference/v2/jobs/getQueryResults\n\n Parameters\n ----------\n job_id : str\n The job id of the query to check\n offset : optional...
227
false
tylertreat/BigQuery-Python
get_query_results
33,657
LDU_FT/sjkingo/virtualenv-api/search
LDU_FT
[ "<BEGIN>\n## `_python_rpath`", "The relative path (from environment root) to python.\n<END>", "<BEGIN>\n## `_create`", "Executes `virtualenv` to create a new environment.\n<END>", "<BEGIN>\n## `_execute_pip`", "Executes pip commands.", " :param args: Arguments to pass to pip (list[str])\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search API. Each 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 search API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Searches the PyPi repository for the given `term` and returns a dictionary of results. New in 2.1.5: returns a dictionary instead of list of tuples
"Searches the PyPi repository for the given `term` and returns a\n dictionary of results.\n\n New in 2.1.5: returns a dictionary instead of list of tuples"
38
false
sjkingo/virtualenv-api
search
33,658
LDU_FT/lqdc/pysimstr/retrieve
LDU_FT
[ "<BEGIN>\n## `make_unique_ngrams`", "Make a set of unique n-grams from a string.\n<END>", "<BEGIN>\n## `check`", "Check if a string is in the DB.", " :param s: str, string to check against the DB.\n :param instant_exact: bool, look up exact matches with a hash lookup.\n :return: True or...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the retrieve API. 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 retrieve API. 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...
Retrieve all similar strings from the DB. :param s: str, string to check against the DB. :return: list of all similar strings. :rtype: list
"Retrieve all similar strings from the DB.\n\n :param s: str, string to check against the DB.\n :return: list of all similar strings.\n :rtype: list"
14
false
lqdc/pysimstr
retrieve
33,659
LDU_FT/jaraco/path.py/rmdir_p
LDU_FT
[ "<BEGIN>\n## `load`", "If the supplied parameter is a string, assum it's a simple\n pattern.\n<END>", "<BEGIN>\n## `simple_cache`", "Save results for the :meth:'path.using_module' classmethod.\n When Python 3.2 is available, use functools.lru_cache instead.\n<END>", "<BEGIN>\n## `only_newer`", "Wrap...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rmdir_p API. Each 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 rmdir_p API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Like :meth:`rmdir`, but does not raise an exception if the directory is not empty or does not exist.
"Like :meth:`rmdir`, but does not raise an exception if the\n directory is not empty or does not exist."
158
false
jaraco/path.py
rmdir_p
33,660
LDU_FT/openpermissions/perch/all
LDU_FT
[ "<BEGIN>\n## `collect`", "Import all modules inside the perch.migrations package and return the\n registered migrations\n<END>", "<BEGIN>\n## `run_migrations`", "Run migrations for a resource type", " :param: a dicitionary of migrations\n<END>", "<BEGIN>\n## `_migrate_resource`", "Migrate a resour...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the all API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the all API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Get all sub-resources :param include_deactivated: Include deactivated resources in response :returns: list of SubResource instances :raises: SocketError, CouchException
"Get all sub-resources\n :param include_deactivated: Include deactivated resources in response\n\n :returns: list of SubResource instances\n :raises: SocketError, CouchException"
177
false
openpermissions/perch
all
33,661
LDU_FT/jborean93/smbprotocol/close
LDU_FT
[ "<BEGIN>\n## `unpack_multiple`", "Get's a list of SMB2NetworkInterfaceInfo messages from the byte value\n passed in. This is the raw buffer value that is set on the\n SMB2IOCTLResponse message.", " :param data: bytes of the messages\n :return: List of SMB2NetworkInterfaceInfo message...
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 d...
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 d...
Closes an opened file. Supports out of band send function, call this function with send=False to return a tuple of (SMB2CloseRequest, receive_func) instead of sending the the request and waiting for the response. The receive_func can be used to get the response from the server by passin...
"Closes an opened file.\n\n Supports out of band send function, call this function with send=False\n to return a tuple of (SMB2CloseRequest, receive_func) instead of\n sending the the request and waiting for the response. The receive_func\n can be used to get the response from the server by ...
106
false
jborean93/smbprotocol
close
33,662
LDU_FT/rfk/tnetstring/_rdumpq
LDU_FT
[ "<BEGIN>\n## `dumps`", "dumps(object,encoding=None) -> string", " This function dumps a python object as a tnetstring.\n<END>", "<BEGIN>\n## `_rdumpq`", "Dump value as a tnetstring, to a deque instance, last chunks first.", " This function generates the tnetstring representation of the given value,\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _rdumpq API. Each 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 _rdumpq API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Dump value as a tnetstring, to a deque instance, last chunks first. This function generates the tnetstring representation of the given value, pushing chunks of the output onto the given deque instance. It pushes the last chunk first, then recursively generates more chunks. When passed in the current ...
"Dump value as a tnetstring, to a deque instance, last chunks first.\n\n This function generates the tnetstring representation of the given value,\n pushing chunks of the output onto the given deque instance. It pushes\n the last chunk first, then recursively generates more chunks.\n\n When passed in the c...
18
false
rfk/tnetstring
_rdumpq
33,663
LDU_FT/spacetelescope/stsci.tools/as_bool
LDU_FT
[ "<BEGIN>\n## `stsci`", "For STScI GEIS files, need to do extra steps.\n<END>", "<BEGIN>\n## `stsci2`", "For STScI GEIS files, need to do extra steps.\n<END>", "<BEGIN>\n## `readgeis`", "Input GEIS files \"input\" will be read and a HDUList object will\n be returned.", " The user can use the ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the as_bool API. Each 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 as_bool API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Accepts a key as input. The corresponding value must be a string or the objects (``True`` or 1) or (``False`` or 0). We allow 0 and 1 to retain compatibility with Python 2.2. If the string is one of ``True``, ``On``, ``Yes``, or ``1`` it returns ``True``. If the string is one ...
"Accepts a key as input. The corresponding value must be a string or\n the objects (``True`` or 1) or (``False`` or 0). We allow 0 and 1 to\n retain compatibility with Python 2.2.\n\n If the string is one of ``True``, ``On``, ``Yes``, or ``1`` it returns\n ``True``.\n\n If the string...
917
false
spacetelescope/stsci.tools
as_bool
33,664
LDU_FT/androguard/androguard/parse_id
LDU_FT
[ "<BEGIN>\n## `go`", "Launch the analysis.", " this will start a total of `max_fetcher` threads.\n<END>", "<BEGIN>\n## `filter_file`", "This method is called in order to filer a specific app", " :param log: an object which corresponds to a unique app\n :param bytes fileraw: the raw fil...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_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 parse_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...
Resolves an id from a binary XML file in the form "@[package:]DEADBEEF" and returns a tuple of package name and resource id. If no package name was given, i.e. the ID has the form "@DEADBEEF", the package name is set to None. Raises a ValueError if the id is malformed. :param n...
"Resolves an id from a binary XML file in the form \"@[package:]DEADBEEF\"\n and returns a tuple of package name and resource id.\n If no package name was given, i.e. the ID has the form \"@DEADBEEF\",\n the package name is set to None.\n\n Raises a ValueError if the id is malformed.\n\n ...
823
false
androguard/androguard
parse_id
33,665
LDU_FT/closeio/quotequail/unindent_tree
LDU_FT
[ "<BEGIN>\n## `quote`", "Takes a plain text message as an argument, returns a list of tuples. The\n first argument of the tuple denotes whether the text should be expanded by\n default. The second argument is the unmodified corresponding text.", " Example: [(True, 'expanded text'), (False, '> Some quote...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unindent_tree API. 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 unindent_tree API. 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...
Removes the outermost indent. For example, the tree "<div>A<blockqote>B<div>C<blockquote>D</blockquote>E</div>F</blockquote>G</div>" is transformed to "<div>A<div>B<div>C<blockquote>D</blockquote>E</div>F</div>G</div>"
"Removes the outermost indent. For example, the tree\n \"<div>A<blockqote>B<div>C<blockquote>D</blockquote>E</div>F</blockquote>G</div>\"\n is transformed to\n \"<div>A<div>B<div>C<blockquote>D</blockquote>E</div>F</div>G</div>\""
65
false
closeio/quotequail
unindent_tree
33,666
LDU_FT/desbma/sacad/guessImageMetadataFromHttpData
LDU_FT
[ "<BEGIN>\n## `waitAccessAsync`", "Wait the needed time before sending a request to honor rate limit.\n<END>", "<BEGIN>\n## `aiohttp_socket_timeout`", "Return a aiohttp.ClientTimeout object with only socket timeouts set.\n<END>", "<BEGIN>\n## `query`", "Send a GET/POST request or get data from cache, retry...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the guessImageMetadataFromHttpData API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the guessImageMetadataFromHttpData API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con...
Identify an image format and size from the beginning of its HTTP data.
"Identify an image format and size from the beginning of its HTTP data."
63
false
desbma/sacad
guessImageMetadataFromHttpData
33,667
LDU_FT/philklei/tahoma-api/_get_events
LDU_FT
[ "<BEGIN>\n## `get_user`", "Get the user informations from the server.", " :return: a dict with all the informations\n :rtype: dict", " raises ValueError in case of protocol issues", " :Example:", " >>> \"creationTime\": <time>,\n >>> \"lastUpdateTime\": <time>,\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_events API. 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_events API. 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...
Internal method for being able to run unit tests.
"Internal method for being able to run unit tests."
37
false
philklei/tahoma-api
_get_events
33,668
LDU_FT/justquick/django-native-tags/do_block
LDU_FT
[ "<BEGIN>\n## `calendar`", "Creates a formatted ``HTMLCalendar``. \n Argument ``format`` can be one of ``month``, ``year``, or ``yearpage``\n Keyword arguments are collected and passed into ``HTMLCalendar.formatmonth``, \n ``HTMLCalendar.formatyear``, and ``HTMLCalendar.formatyearpage``", " Synta...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_block API. 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 do_block API. 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...
Process several nodes inside a single block Block functions take ``context``, ``nodelist`` as first arguments If the second to last argument is ``as``, the rendered result is stored in the context and is named whatever the last argument is. Syntax:: {% [block] [var args...] [name=value kwargs...] ...
"Process several nodes inside a single block\n Block functions take ``context``, ``nodelist`` as first arguments\n If the second to last argument is ``as``, the rendered result is stored in the context and is named whatever the last argument is.\n\n Syntax::\n\n {% [block] [var args...] [name=value kwar...
161
false
justquick/django-native-tags
do_block
33,669
LDU_FT/Syndace/python-omemo/no_coroutine
LDU_FT
[ "<BEGIN>\n## `coroutine`", "Implementation of a coroutine.", " Use as a decorator:\n @coroutine\n def foo():\n result = yield somePromise", " The function passed should be a generator yielding instances of the Promise class\n (or compatible).\n The coroutine waits for the Promise to r...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the no_coroutine API. 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 no_coroutine API. 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 is not a coroutine ;) Use as a decorator: @no_coroutine def foo(): five = yield 5 print(yield "hello") The function passed should be a generator yielding whatever you feel like. The yielded values instantly get passed back into the generator. It's basically the same as if ...
"This is not a coroutine ;)\n\n Use as a decorator:\n @no_coroutine\n def foo():\n five = yield 5\n print(yield \"hello\")\n\n The function passed should be a generator yielding whatever you feel like.\n The yielded values instantly get passed back into the generator.\n It's basically th...
45
false
Syndace/python-omemo
no_coroutine
33,670
LDU_FT/grycap/RADL/p_system_sentence
LDU_FT
[ "<BEGIN>\n## `parse_radl`", "Parse a RADL document in JSON.", " Args.:\n - data(str or list): document to parse.", " Return(RADL): RADL object.\n<END>", "<BEGIN>\n## `radlToSimple`", "Return a list of maps whose values are only other maps or lists.\n<END>", "<BEGIN>\n## `getValue`", "Return t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the p_system_sentence API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the p_system_sentence API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
system_sentence : SYSTEM VAR | SYSTEM VAR LPAREN features RPAREN
"system_sentence : SYSTEM VAR\n | SYSTEM VAR LPAREN features RPAREN"
121
false
grycap/RADL
p_system_sentence
33,671
LDU_FT/MycroftAI/mycroft-precise/samples_to_batches
LDU_FT
[ "<BEGIN>\n## `load_precise_model`", "Loads a Keras model from file, handling custom loss function\n<END>", "<BEGIN>\n## `create_model`", "Load or create a precise model", " Args:\n model_name: Name of model\n params: Parameters used to create the model", " Returns:\n model: Load...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the samples_to_batches 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 samples_to_batches 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...
Chunk a series of network inputs and outputs into larger batches
"Chunk a series of network inputs and outputs into larger batches"
79
false
MycroftAI/mycroft-precise
samples_to_batches
33,672