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/cognitect/transit-python/dispatch_map
LDU_FT
[ "<BEGIN>\n## `register`", "Register a custom transit tag and decoder/parser function for use\n during reads.\n<END>", "<BEGIN>\n## `readeach`", "Temporary hook for API while streaming reads are in experimental\n phase. Read each object from stream as available with generator.\n JSON block...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dispatch_map API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dispatch_map API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Used to determine and dipatch the writing of a map - a simple map with strings as keys, or a complex map, whose keys are also compound types.
"Used to determine and dipatch the writing of a map - a simple\n map with strings as keys, or a complex map, whose keys are also\n compound types."
29
false
cognitect/transit-python
dispatch_map
16,073
LDU_FT/kapot65/python-df-parser/serialise_to_rsh
LDU_FT
[ "<BEGIN>\n## `serialise_to_rsh`", "Преобразование конфигурационного файла в формате JSON в текстовый хедер.", " rsh. Хедер можно использовать как конфигурационный файл для lan10-12base\n @params -- параметры в формате JSON (dfparser.def_values.DEF_RSH_PARAMS)\n @return -- текстовый хедер\n<END>", "<B...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the serialise_to_rsh API. 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 serialise_to_rsh API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Преобразование конфигурационного файла в формате JSON в текстовый хедер. rsh. Хедер можно использовать как конфигурационный файл для lan10-12base @params -- параметры в формате JSON (dfparser.def_values.DEF_RSH_PARAMS) @return -- текстовый хедер
"Преобразование конфигурационного файла в формате JSON в текстовый хедер.\n\n rsh. Хедер можно использовать как конфигурационный файл для lan10-12base\n @params -- параметры в формате JSON (dfparser.def_values.DEF_RSH_PARAMS)\n @return -- текстовый хедер"
28
false
kapot65/python-df-parser
serialise_to_rsh
16,074
LDU_FT/praw-dev/prawcore/receive_connection
LDU_FT
[ "<BEGIN>\n## `receive_connection`", "Wait for and then return a connected socket..", " Opens a TCP connection on port 8080, and waits for a single client.\n<END>", "<BEGIN>\n## `send_message`", "Send message to client and close the connection.\n<END>", "<BEGIN>\n## `main`", "Provide the program's ent...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the receive_connection 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 receive_connection 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...
Wait for and then return a connected socket.. Opens a TCP connection on port 8080, and waits for a single client.
"Wait for and then return a connected socket..\n\n Opens a TCP connection on port 8080, and waits for a single client."
51
false
praw-dev/prawcore
receive_connection
16,075
LDU_FT/mkouhei/tonicdnscli/create
LDU_FT
[ "<BEGIN>\n## `check_infile`", "Check text file exisitense.", " Argument:", " filename: text file of bulk updating\n<END>", "<BEGIN>\n## `set_json`", "Convert text file to JSON.", " Arguments:", " domain: domain name of updating target\n action: True ; for PUT/POST HTTP m...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Create records. Argument: args: arguments object
"Create records.\n\n Argument:\n\n args: arguments object"
192
false
mkouhei/tonicdnscli
create
16,076
LDU_FT/saxix/django-concurrency/conflict
LDU_FT
[ "<BEGIN>\n## `identity`", "returns a string representing \"<pk>,<version>\" of the passed object\n<END>", "<BEGIN>\n## `deprecated`", "A decorator which can be used to mark functions as deprecated.\n replacement is a callable that will be called with the same args\n as the decorated function.\n >>> i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the conflict API. 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 conflict API. 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...
409 error handler. :param request: Request :param template_name: `409.html` :param target: The model to save
"409 error handler.\n\n :param request: Request\n\n :param template_name: `409.html`\n\n :param target: The model to save"
42
false
saxix/django-concurrency
conflict
16,077
LDU_FT/ninuxorg/nodeshot/clean
LDU_FT
[ "<BEGIN>\n## `get_formset`", "Load Synchronizer schema to display specific fields in admin\n<END>", "<BEGIN>\n## `public_broadcaster`", "Thread which runs in parallel and constantly checks for new messages\n in the public pipe and broadcasts them publicly to all connected clients.\n<END>", "<BEGIN>\n## `...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clean API. Each 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 clean API. Each 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...
Check if votes can be inserted for parent node or parent layer
"Check if votes can be inserted for parent node or parent layer"
261
false
ninuxorg/nodeshot
clean
16,078
LDU_FT/postmanlabs/httpbin/basic_auth
LDU_FT
[ "<BEGIN>\n## `json_safe`", "Returns JSON-safe version of `string`.", " If `string` is a Unicode string or a valid UTF-8, it is returned unmodified,\n as it can safely be encoded to JSON string.", " If `string` contains raw/binary data, it is Base64-encoded, formatted and\n returned according to \"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the basic_auth API. 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 basic_auth API. 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...
Prompts the user for authorization using HTTP Basic Auth. --- tags: - Auth parameters: - in: path name: user type: string - in: path name: passwd type: string produces: - application/json responses: 200: description: Sucessful aut...
"Prompts the user for authorization using HTTP Basic Auth.\n ---\n tags:\n - Auth\n parameters:\n - in: path\n name: user\n type: string\n - in: path\n name: passwd\n type: string\n produces:\n - application/json\n responses:\n 200:\n descriptio...
86
false
postmanlabs/httpbin
basic_auth
16,079
LDU_FT/gwpy/gwpy/get_default_gwf_api
LDU_FT
[ "<BEGIN>\n## `canonical_name`", "Find the canonical name for the given window in scipy.signal", " Parameters\n ----------\n name : `str`\n the name of the window you want", " Returns\n -------\n realname : `str`\n the name of the window as implemented in `scipy.signal.window`",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_default_gwf_api 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 get_default_gwf_api API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Return the preferred GWF library Examples -------- If you have |LDAStools.frameCPP|_ installed: >>> from gwpy.timeseries.io.gwf import get_default_gwf_api >>> get_default_gwf_api() 'framecpp' Or, if you don't have |lalframe|_: >>> get_default_gwf_api() 'lalframe' Otherwise: ...
"Return the preferred GWF library\n\n Examples\n --------\n If you have |LDAStools.frameCPP|_ installed:\n\n >>> from gwpy.timeseries.io.gwf import get_default_gwf_api\n >>> get_default_gwf_api()\n 'framecpp'\n\n Or, if you don't have |lalframe|_:\n\n >>> get_default_gwf_api()\n 'lalframe'\n\...
2,764
true
gwpy/gwpy
get_default_gwf_api
16,080
LDU_FT/msfrank/cifparser/get
LDU_FT
[ "<BEGIN>\n## `make_path`", ":param path_or_str_or_segments:\n :return:\n :rtype: cifparser.path.Path\n<END>", "<BEGIN>\n## `print_ast`", ":param f:\n :type f: file\n :return:\n<END>", "<BEGIN>\n## `pop_frame`", "Remove and return the frame at the top of the stack.", " :returns: The to...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
:param path: str or Path instance :param name: :type name: str :return:
":param path: str or Path instance\n :param name:\n :type name: str\n :return:"
67
false
msfrank/cifparser
get
16,081
LDU_FT/hearsaycorp/normalize/compare_dict_iter
LDU_FT
[ "<BEGIN>\n## `path`", "The path attribute returns a stringified, concise representation of\n the MultiFieldSelector. It can be reversed by the ``from_path``\n constructor.\n<END>", "<BEGIN>\n## `get`", "Creates a copy of the passed object which only contains the parts\n which are pointed...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compare_dict_iter API. 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 compare_dict_iter API. 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 for comparing 'simple' dicts when they are encountered. This does not currently recurse further. Arguments are as per other ``compare_``\ *X* functions.
"Generator for comparing 'simple' dicts when they are encountered. This\n does not currently recurse further. Arguments are as per other\n ``compare_``\\ *X* functions."
210
false
hearsaycorp/normalize
compare_dict_iter
16,082
LDU_FT/staggerpkg/stagger/gen_decode
LDU_FT
[ "<BEGIN>\n## `_in_version`", "Returns true if this frame is in any of the specified versions of ID3.\n<END>", "<BEGIN>\n## `check_tag_data`", "Raise a ValueError if DATA doesn't seem to be a well-formed ID3 tag.\n<END>", "<BEGIN>\n## `get_raw_tag_data`", "Return the ID3 tag in FILENAME as a raw byte strin...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gen_decode API. 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 gen_decode API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
A generator for de-unsynchronizing a byte iterable.
"A generator for de-unsynchronizing a byte iterable."
47
false
staggerpkg/stagger
gen_decode
16,083
LDU_FT/sighingnow/parsec.py/mark
LDU_FT
[ "<BEGIN>\n## `joint`", "Joint two or more parsers, implements the operator of `(+)`.\n<END>", "<BEGIN>\n## `times`", "Repeat a parser between `mint` and `maxt` times. DO AS MUCH MATCH AS IT CAN.\n Return a list of values.\n<END>", "<BEGIN>\n## `optional`", "`Make a parser as optional. If success, retur...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mark API. Each 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 mark API. Each 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...
Mark the line and column information of the result of this parser.
"Mark the line and column information of the result of this parser."
50
false
sighingnow/parsec.py
mark
16,084
LDU_FT/treethought/flask-assistant/_context_views
LDU_FT
[ "<BEGIN>\n## `build_item`", "Builds an item that may be added to List or Carousel\n<END>", "<BEGIN>\n## `suggest`", "Use suggestion chips to hint at responses to continue or pivot the conversation\n<END>", "<BEGIN>\n## `link_out`", "Presents a chip similar to suggestion, but instead links to a url\n<END>"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _context_views API. 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 _context_views API. 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 view functions for which the context requirements are met
"Returns view functions for which the context requirements are met"
65
false
treethought/flask-assistant
_context_views
16,085
LDU_FT/CCareaga/scum/escape_filename_sh_ansic
LDU_FT
[ "<BEGIN>\n## `rgb_to_short`", "Find the closest xterm-256 approximation to the given RGB value.\n<END>", "<BEGIN>\n## `get_flagged_names`", "Return a list of all filenames marked as flagged.\n<END>", "<BEGIN>\n## `starts_expanded`", "Return True if directory is a parent of initial cwd.\n<END>", "<BEGIN>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the escape_filename_sh_ansic 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 escape_filename_sh_ansic API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Return an ansi-c shell-escaped version of a filename.
"Return an ansi-c shell-escaped version of a filename."
18
false
CCareaga/scum
escape_filename_sh_ansic
16,086
LDU_FT/square/connect-python-sdk/__deserialize
LDU_FT
[ "<BEGIN>\n## `attribute_name`", "Sets the attribute_name of this CatalogQueryRange.\n The name of the attribute to be searched.", " :param attribute_name: The attribute_name of this CatalogQueryRange.\n :type: str\n<END>", "<BEGIN>\n## `idempotency_key`", "Sets the idempotency_key of th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __deserialize API. 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 __deserialize API. 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...
Deserializes dict, list, str into an object. :param data: dict, list or str. :param klass: class literal, or string of class name. :return: object.
"Deserializes dict, list, str into an object.\n\n :param data: dict, list or str.\n :param klass: class literal, or string of class name.\n\n :return: object."
148
false
square/connect-python-sdk
__deserialize
16,087
LDU_FT/viewflow/django-fsm/has_transition
LDU_FT
[ "<BEGIN>\n## `get_available_FIELD_transitions`", "List of transitions available in current model state\n with all conditions met\n<END>", "<BEGIN>\n## `get_available_user_FIELD_transitions`", "List of transitions available in current model state\n with all conditions met and user have rights on it\n<END...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the has_transition API. 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 has_transition API. 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...
Lookup if any transition exists from current model state using current method
"Lookup if any transition exists from current model state using current method"
16
false
viewflow/django-fsm
has_transition
16,088
LDU_FT/opencobra/memote/load_cobra_model
LDU_FT
[ "<BEGIN>\n## `validate`", "Use a defined schema to validate the medium table format.\n<END>", "<BEGIN>\n## `apply`", "Set the defined medium on the given model.\n<END>", "<BEGIN>\n## `find_transported_elements`", "Return a dictionary showing the amount of transported elements of a rxn.", " Collects t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_cobra_model API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_cobra_model API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Load a COBRA model with meta information from an SBML document.
"Load a COBRA model with meta information from an SBML document."
508
false
opencobra/memote
load_cobra_model
16,089
LDU_FT/carta/ldap_tools/show
LDU_FT
[ "<BEGIN>\n## `create`", "Create an LDAP Group.", " Raises:\n ldap3.core.exceptions.LDAPNoSuchObjectResult:\n an object involved with the request is missing", " ldap3.core.exceptions.LDAPEntryAlreadyExistsResult:\n the entity being created already exis...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the show API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the show API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Return a specific user's info in LDIF format.
"Return a specific user's info in LDIF format."
65
false
carta/ldap_tools
show
16,090
LDU_FT/filestack/filestack-python/zip
LDU_FT
[ "<BEGIN>\n## `to_filelink`", "Checks is the status of the conversion is complete and, if so, converts to a Filelink", " *returns* [Filestack.Filelink]", " ```python\n filelink = av_convert.to_filelink()\n ```\n<END>", "<BEGIN>\n## `url`", "Returns the URL for the instance, whic...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the zip API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the zip API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Returns a zip file of the current transformation. This is different from the zip function that lives on the Filestack Client *returns* [Filestack.Transform]
"Returns a zip file of the current transformation. This is different from\n the zip function that lives on the Filestack Client\n\n *returns* [Filestack.Transform]"
82
false
filestack/filestack-python
zip
16,091
LDU_FT/tumblr/pytumblr/blog_info
LDU_FT
[ "<BEGIN>\n## `new_oauth`", "Return the consumer and oauth tokens with three-legged OAuth process and\n save in a yaml file in the user's home directory.\n<END>", "<BEGIN>\n## `validate_params`", "Helps us validate the parameters for the request", " :param valid_options: a list of strings of valid opti...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the blog_info API. 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 blog_info API. 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...
Gets the information of the given blog :param blogname: the name of the blog you want to information on. eg: codingjester.tumblr.com :returns: a dict created from the JSON response of information
"Gets the information of the given blog\n\n :param blogname: the name of the blog you want to information\n on. eg: codingjester.tumblr.com\n\n :returns: a dict created from the JSON response of information"
126
false
tumblr/pytumblr
blog_info
16,092
LDU_FT/seomoz/qless-py/import_class
LDU_FT
[ "<BEGIN>\n## `clone`", "Clone the redis client to be slowlog-compatible\n<END>", "<BEGIN>\n## `stop`", "Set everything back to normal and collect our data\n<END>", "<BEGIN>\n## `class_string`", "Return a string representative of the class\n<END>", "<BEGIN>\n## `put`", "Either create a new job in the p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the import_class API. 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 import_class API. 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...
Import the named class and return that class
"Import the named class and return that class"
66
false
seomoz/qless-py
import_class
16,093
LDU_FT/vxgmichel/aiostream/range
LDU_FT
[ "<BEGIN>\n## `base_combine`", "Base operator for managing an asynchronous sequence of sequences.", " The sequences are awaited concurrently, although it's possible to limit\n the amount of running sequences using the `task_limit` argument.", " The ``switch`` argument enables the switch mecanism, whic...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the range API. Each 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 range API. Each 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...
Generate a given range of numbers. It supports the same arguments as the builtin function. An optional interval can be given to space the values out.
"Generate a given range of numbers.\n\n It supports the same arguments as the builtin function.\n An optional interval can be given to space the values out."
154
false
vxgmichel/aiostream
range
16,094
LDU_FT/jhuapl-boss/intern/add_group_member
LDU_FT
[ "<BEGIN>\n## `list_groups`", "Get the groups the logged in user is a member of.", " Optionally filter by 'member' or 'maintainer'.", " Args:\n filtr (string|None): ['member'|'maintainer'] or defaults to None.\n url_prefix (string): Protocol + host such as https://api.thebos...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_group_member API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_group_member API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Add the given user to the named group. Both group and user must already exist for this to succeed. Args: name (string): Name of group. user_name (string): User to add to group. Raises: requests.HTTPError on failure.
"Add the given user to the named group.\n\n Both group and user must already exist for this to succeed.\n\n Args:\n name (string): Name of group.\n user_name (string): User to add to group.\n\n Raises:\n requests.HTTPError on failure."
451
false
jhuapl-boss/intern
add_group_member
16,095
LDU_FT/amol-/depot/set_default
LDU_FT
[ "<BEGIN>\n## `set_default`", "Replaces the current application default depot\n<END>", "<BEGIN>\n## `get`", "Gets the application wide depot instance.", " Might return ``None`` if :meth:`configure` has not been\n called yet.\n<END>", "<BEGIN>\n## `get_file`", "Retrieves a file by storage na...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_default API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_default API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Replaces the current application default depot
"Replaces the current application default depot"
51
false
amol-/depot
set_default
16,096
LDU_FT/Yubico/python-pyhsm/main
LDU_FT
[ "<BEGIN>\n## `hexdump`", "Produce a string hexdump of src, for debug output.\n<END>", "<BEGIN>\n## `group`", "Split data into chunks of num chars each\n<END>", "<BEGIN>\n## `key_handle_to_int`", "Turn \"123\" into 123 and \"KSM1\" into 827151179\n (0x314d534b, 'K' = 0x4b, S = '0x53', M = 0x4d).", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
What will be executed when running as a stand alone program.
"What will be executed when running as a stand alone program."
310
false
Yubico/python-pyhsm
main
16,097
LDU_FT/9b/google-alerts/authenticate
LDU_FT
[ "<BEGIN>\n## `obfuscate`", "Obfuscate the auth details to avoid easy snatching.", " It's best to use a throw away account for these alerts to avoid having\n your authentication put at risk by storing it locally.\n<END>", "<BEGIN>\n## `_config_bootstrap`", "Go through and establish the defaults on the ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the authenticate API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the authenticate API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Authenticate the user and setup our state.
"Authenticate the user and setup our state."
23
false
9b/google-alerts
authenticate
16,098
LDU_FT/Alir3z4/django-databrowse/root
LDU_FT
[ "<BEGIN>\n## `field_dict`", "Helper function that returns a dictionary of all fields in the given\n model. If self.field_filter is set, it only includes the fields that\n match the filter.\n<END>", "<BEGIN>\n## `root`", "Handles main URL routing for the databrowse app.", " `url` is the ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the root API. Each 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 root API. Each 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...
Handles main URL routing for the databrowse app. `url` is the remainder of the URL -- e.g. 'objects/3'.
"Handles main URL routing for the databrowse app.\n\n `url` is the remainder of the URL -- e.g. 'objects/3'."
22
false
Alir3z4/django-databrowse
root
16,099
LDU_FT/roamanalytics/mittens/_build_graph
LDU_FT
[ "<BEGIN>\n## `_apply_updates`", "Apply AdaGrad update to parameters.", " Parameters\n ----------\n gradients", " Returns\n -------\n<END>", "<BEGIN>\n## `get_step`", "Computes the 'step' to take for the next gradient descent update.", " Returns the step rather t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _build_graph API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _build_graph API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Builds the computatation graph. Parameters ------------ vocab : Iterable initial_embedding_dict : dict
"Builds the computatation graph.\n\n Parameters\n ------------\n vocab : Iterable\n initial_embedding_dict : dict"
47
false
roamanalytics/mittens
_build_graph
16,100
LDU_FT/gristlabs/asttokens/visit_tree
LDU_FT
[ "<BEGIN>\n## `get_token_from_offset`", "Returns the token containing the given character offset (0-based position in source text),\n or the preceeding token if the position is between tokens.\n<END>", "<BEGIN>\n## `get_token`", "Returns the token containing the given (lineno, col_offset) position, or the p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the visit_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 extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the visit_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 extrac...
Scans the tree under the node depth-first using an explicit stack. It avoids implicit recursion via the function call stack to avoid hitting 'maximum recursion depth exceeded' error. It calls ``previsit()`` and ``postvisit()`` as follows: * ``previsit(node, par_value)`` - should return ``(par_value, value)`` ...
"Scans the tree under the node depth-first using an explicit stack. It avoids implicit recursion\n via the function call stack to avoid hitting 'maximum recursion depth exceeded' error.\n\n It calls ``previsit()`` and ``postvisit()`` as follows:\n\n * ``previsit(node, par_value)`` - should return ``(par_value, value...
46
false
gristlabs/asttokens
visit_tree
16,101
LDU_FT/ThreatResponse/margaritashotgun/mem_size
LDU_FT
[ "<BEGIN>\n## `configure`", "Connect paramiko transport", " :type auth: :py:class`margaritashotgun.auth.AuthMethods`\n :param auth: authentication object\n :type address: str\n :param address: remote server ip or hostname\n :type port: int\n :param port: remote server po...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mem_size API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mem_size API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Returns the memory size in bytes of the remote host
"Returns the memory size in bytes of the remote host"
134
false
ThreatResponse/margaritashotgun
mem_size
16,102
LDU_FT/cloudera/impyla/alter_table
LDU_FT
[ "<BEGIN>\n## `drop_database`", "Parameters:\n - name\n - deleteData\n - cascade\n<END>", "<BEGIN>\n## `get_fields`", "Parameters:\n - db_name\n - table_name\n<END>", "<BEGIN>\n## `get_fields_with_environment_context`", "Parameters:\n - db_name\n - table_name\n - environment...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the alter_table API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the alter_table API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Parameters: - dbname - tbl_name - new_tbl
"Parameters:\n - dbname\n - tbl_name\n - new_tbl"
206
false
cloudera/impyla
alter_table
16,103
LDU_FT/dhylands/rshell/do_filetype
LDU_FT
[ "<BEGIN>\n## `add_device`", "Adds a device to the list of devices we know about.\n<END>", "<BEGIN>\n## `is_micropython_usb_device`", "Checks a USB device to see if it looks like a MicroPython device.\n<END>", "<BEGIN>\n## `is_micropython_usb_port`", "Checks to see if the indicated portname is a MicroPytho...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_filetype API. 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 do_filetype API. 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...
filetype FILE Prints the type of file (dir or file). This function is primarily for testing.
"filetype FILE\n\n Prints the type of file (dir or file). This function is primarily\n for testing."
159
false
dhylands/rshell
do_filetype
16,104
LDU_FT/scikit-hep/root_numpy/array2tree
LDU_FT
[ "<BEGIN>\n## `matrix`", "Convert a ROOT TMatrix into a NumPy matrix.", " Parameters\n ----------\n mat : ROOT TMatrixT\n A ROOT TMatrixD or TMatrixF", " Returns\n -------\n mat : numpy.matrix\n A NumPy matrix", " Examples\n --------\n >>> from root_numpy import matri...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the array2tree API. 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 array2tree API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Convert a numpy structured array into a ROOT TTree. Fields of basic types, strings, and fixed-size subarrays of basic types are supported. ``np.object`` and ``np.float16`` are currently not supported. Parameters ---------- arr : array A numpy structured array name : str (optional, defa...
"Convert a numpy structured array into a ROOT TTree.\n\n Fields of basic types, strings, and fixed-size subarrays of basic types are\n supported. ``np.object`` and ``np.float16`` are currently not supported.\n\n Parameters\n ----------\n arr : array\n A numpy structured array\n name : str (opti...
180
false
scikit-hep/root_numpy
array2tree
16,105
LDU_FT/cuihantao/andes/get_times
LDU_FT
[ "<BEGIN>\n## `check`", "Check config data consistency", " Returns\n -------\n<END>", "<BEGIN>\n## `read`", "Read a dm format file and elem_add to system\n<END>", "<BEGIN>\n## `register_element`", "Register a device element to the group list", " Parameters\n ----------\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_times API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_times API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Return all the action times and times-1e-6 in a list
"Return all the action times and times-1e-6 in a list"
614
false
cuihantao/andes
get_times
16,106
LDU_FT/fbcotter/py3nvml/nvmlDeviceGetHandleByUUID
LDU_FT
[ "<BEGIN>\n## `grab_gpus`", "Checks for gpu availability and sets CUDA_VISIBLE_DEVICES as such.", " Note that this function does not do anything to 'reserve' gpus, it only\n limits what GPUS your program can see by altering the CUDA_VISIBLE_DEVICES\n variable. Other programs can still come along and sna...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the nvmlDeviceGetHandleByUUID API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the nvmlDeviceGetHandleByUUID API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
r""" /** * Acquire the handle for a particular device, based on its globally unique immutable UUID associated with each device. * * For all products. * * @param uuid The UUID of the target GPU * @param device Reference in wh...
"r\"\"\"\n /**\n * Acquire the handle for a particular device, based on its globally unique immutable UUID associated with each device.\n *\n * For all products.\n *\n * @param uuid The UUID of the target GPU\n * @param device Refe...
336
false
fbcotter/py3nvml
nvmlDeviceGetHandleByUUID
16,107
LDU_FT/ucsb-cs-education/hairball/hairball_files
LDU_FT
[ "<BEGIN>\n## `main`", "The entrypoint for the hairball command installed via setup.py.\n<END>", "<BEGIN>\n## `path_to_key`", "Return the sha1sum (key) belonging to the file at filepath.\n<END>", "<BEGIN>\n## `key_to_path`", "Return the fullpath to the file with sha1sum key.\n<END>", "<BEGIN>\n## `load`"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hairball_files API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hairball_files API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Yield filepath to files with the proper extension within paths.
"Yield filepath to files with the proper extension within paths."
90
false
ucsb-cs-education/hairball
hairball_files
16,108
LDU_FT/GuiltyTargets/ppi-network-annotation/set_up_network
LDU_FT
[ "<BEGIN>\n## `get_neighborhood_network`", "Get the neighborhood graph of a node.", " :param str node_name: Node whose neighborhood graph is requested.\n :return Graph: Neighborhood graph\n<END>", "<BEGIN>\n## `get_neighbor_names`", "Get the names of all neighbors of a node, and the node itself...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_up_network API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_up_network API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Set up the network. Filter genes out if requested and add attributes to the vertices. :param genes: A list of Gene objects. :param gene_filter: Removes all genes that are not in list <genes> if True. :param disease_associations: Diseases associated with genes.
"Set up the network.\n\n Filter genes out if requested and add attributes to the vertices.\n\n :param genes: A list of Gene objects.\n :param gene_filter: Removes all genes that are not in list <genes> if True.\n :param disease_associations: Diseases associated with genes."
105
false
GuiltyTargets/ppi-network-annotation
set_up_network
16,109
LDU_FT/addisonlynch/iexfinance/get_all
LDU_FT
[ "<BEGIN>\n## `_sanitize_dates`", "Return (datetime_start, datetime_end) tuple\r\n if start is None - default is 2015/01/01\r\n if end is None - default is today\n<END>", "<BEGIN>\n## `get_social_sentiment`", "Social Sentiment", " .. warning:: Unstable endpoint. May return unexpected results.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_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...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_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...
Returns all endpoints, indexed by endpoint title for each symbol Notes ----- Only allows JSON format (pandas not supported).
"Returns all endpoints, indexed by endpoint title for each symbol\r\n\r\n Notes\r\n -----\r\n Only allows JSON format (pandas not supported)."
129
false
addisonlynch/iexfinance
get_all
16,110
LDU_FT/inveniosoftware/invenio-openaire/harvest_openaire_projects
LDU_FT
[ "<BEGIN>\n## `get_text_node`", "Return a text node from given XML tree given an lxml XPath.\n<END>", "<BEGIN>\n## `iter_grants`", "Fetch grants from a remote OAI-PMH endpoint.", " Return the Sickle-provided generator object.\n<END>", "<BEGIN>\n## `dump`", "Dump the grant information to a local st...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the harvest_openaire_projects API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the harvest_openaire_projects API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Harvest grants from OpenAIRE and store as authority records.
"Harvest grants from OpenAIRE and store as authority records."
33
false
inveniosoftware/invenio-openaire
harvest_openaire_projects
16,111
LDU_FT/log2timeline/dfvfs/_GetDisplayPath
LDU_FT
[ "<BEGIN>\n## `comparable`", "str: comparable representation of the path specification.\n<END>", "<BEGIN>\n## `GetFormatSpecification`", "Retrieves the format specification.", " Returns:\n FormatSpecification: format specification or None if the format cannot\n be defined by a specification ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _GetDisplayPath API. 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 _GetDisplayPath API. 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...
Retrieves a path to display. Args: path_spec (dfvfs.PathSpec): path specification of the file entry. full_path (str): full path of the file entry. data_stream_name (str): name of the data stream. Returns: str: path to display.
"Retrieves a path to display.\n\n Args:\n path_spec (dfvfs.PathSpec): path specification of the file entry.\n full_path (str): full path of the file entry.\n data_stream_name (str): name of the data stream.\n\n Returns:\n str: path to display."
1,933
true
log2timeline/dfvfs
_GetDisplayPath
16,112
LDU_FT/JensAstrup/pyOutlook/api_representation
LDU_FT
[ "<BEGIN>\n## `auto_reply_message`", "The account's Internal auto reply message. Setting the value will change the auto reply message of the\n account, automatically setting the status to enabled (but not altering the schedule).\n<END>", "<BEGIN>\n## `set_auto_reply`", "Set an automatic reply for the a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the api_representation 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 api_representation 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...
Returns the JSON representation of this message required for making requests to the API. Args: content_type (str): Either 'HTML' or 'Text'
"Returns the JSON representation of this message required for making requests to the API.\n\n Args:\n content_type (str): Either 'HTML' or 'Text'"
99
false
JensAstrup/pyOutlook
api_representation
16,113
LDU_FT/bachiraoun/pysimplelog/set_log_file_extension
LDU_FT
[ "<BEGIN>\n## `__stream_format_allowed`", "Check whether a stream allows formatting such as coloring.\n Inspired from Python cookbook, #475186\n<END>", "<BEGIN>\n## `lastLogged`", "Get a dictionary of last logged messages.\n Keys are log types and values are the the last messages.\n<END>", "<BE...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_log_file_extension API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_log_file_extension API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Set the log file extension. :Parameters: #. logFileExtension (string): Logging file extension. A logging file full name is set as logFileBasename.logFileExtension
"Set the log file extension.\n\n :Parameters:\n #. logFileExtension (string): Logging file extension. A logging file full name is\n set as logFileBasename.logFileExtension"
56
false
bachiraoun/pysimplelog
set_log_file_extension
16,114
LDU_FT/erikrose/peep/_project_name
LDU_FT
[ "<BEGIN>\n## `activate`", "Make a compatible version of pip importable. Raise a RuntimeError if we\n couldn't.\n<END>", "<BEGIN>\n## `path_and_line`", "Return the path and line number of the file from which an\n InstallRequirement came.\n<END>", "<BEGIN>\n## `hashes_above`", "Yield hashes from conti...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _project_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 _project_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...
Return the inner Requirement's "unsafe name". Raise ValueError if there is no name.
"Return the inner Requirement's \"unsafe name\".\n\n Raise ValueError if there is no name."
53
false
erikrose/peep
_project_name
16,115
LDU_FT/tylucaskelley/licenser/get_license
LDU_FT
[ "<BEGIN>\n## `find_in_matrix_2d`", "Returns a tuple representing the index of an item in a 2D matrix.", " Arguments:\n - val (str) Value to look for\n - matrix (list) 2D matrix to search for val in", " Returns:\n - (tuple) Ordered pair representing location of val\n<END>", "<BEGIN...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_license API. 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_license API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Returns the closest match to the requested license. Arguments: - name (str) License to use Returns: - (str) License that most closely matches the 'name' parameter
"Returns the closest match to the requested license.\n\n Arguments:\n - name (str) License to use\n\n Returns:\n - (str) License that most closely matches the 'name' parameter"
31
false
tylucaskelley/licenser
get_license
16,116
LDU_FT/resync/resync/default_capability
LDU_FT
[ "<BEGIN>\n## `read`", "Read sitemap from a URI including handling sitemapindexes.", " If index_only is True then individual sitemaps references in a sitemapindex\n will not be read. This will result in no resources being returned and is\n useful only to read the metadata and links listed in...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the default_capability 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 default_capability 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...
Set capability name in md. Every ResourceSync document should have the top-level capability attributes.
"Set capability name in md.\n\n Every ResourceSync document should have the top-level\n capability attributes."
322
false
resync/resync
default_capability
16,117
LDU_FT/jldantas/libmft/create_from_binary
LDU_FT
[ "<BEGIN>\n## `apply_fixup_array`", "This function reads the fixup array and apply the correct values\n to the underlying binary stream. This function changes the bin_view\n in memory.", " Args:\n bin_view (memoryview of bytearray) - The binary stream\n fx_offset (int) - Offset to the fixu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_from_binary API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_from_binary 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...
Creates a new object DataRuns from a binary stream. The binary stream can be represented by a byte string, bytearray or a memoryview of the bytearray. Args: binary_view (memoryview of bytearray) - A binary stream with the information of the attribute Returns...
"Creates a new object DataRuns from a binary stream. The binary\n stream can be represented by a byte string, bytearray or a memoryview of the\n bytearray.\n\n Args:\n binary_view (memoryview of bytearray) - A binary stream with the\n information of the attribute\n\n ...
107
false
jldantas/libmft
create_from_binary
16,118
LDU_FT/eaton-lab/toytree/get_consensus_tree
LDU_FT
[ "<BEGIN>\n## `_translate_nodes`", "Convert node names into node instances...\n<END>", "<BEGIN>\n## `add_child`", "Adds a new child to this node. If child node is not suplied\n as an argument, a new node instance will be created.", " Parameters\n ----------", " child: \n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_consensus_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. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_consensus_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. Th...
Returns an extended majority rule consensus tree as a Toytree object. Node labels include 'support' values showing the occurrence of clades in the consensus tree across trees in the input treelist. Clades with support below 'cutoff' are collapsed into polytomies. If you enter an option...
"Returns an extended majority rule consensus tree as a Toytree object.\n Node labels include 'support' values showing the occurrence of clades \n in the consensus tree across trees in the input treelist. \n Clades with support below 'cutoff' are collapsed into polytomies.\n If you enter an o...
332
false
eaton-lab/toytree
get_consensus_tree
16,119
LDU_FT/mlperf/training/replay_sgf
LDU_FT
[ "<BEGIN>\n## `sorted_product_set`", "Compute the product set of array_a and array_b and sort it.\n<END>", "<BEGIN>\n## `set_low_quality_matches_`", "Produce additional matches for predictions that have only low-quality matches.\n Specifically, for each ground-truth find the set of predictions that have...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the replay_sgf API. 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 replay_sgf API. 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...
Wrapper for sgf files, returning go.PositionWithContext instances. It does NOT return the very final position, as there is no follow up. To get the final position, call pwc.position.play_move(pwc.next_move) on the last PositionWithContext returned. Example usage: with open(filename) as f: ...
"Wrapper for sgf files, returning go.PositionWithContext instances.\n\n It does NOT return the very final position, as there is no follow up.\n To get the final position, call pwc.position.play_move(pwc.next_move)\n on the last PositionWithContext returned.\n\n Example usage:\n with open(filename) as f:\...
1,285
true
mlperf/training
replay_sgf
16,120
LDU_FT/sthysel/knobs/load_dotenv
LDU_FT
[ "<BEGIN>\n## `load_dotenv`", "Read a .env file and load into os.environ.", " :param dotenv_path:\n :type dotenv_path: str\n :param verbose: verbosity flag, raise warning if path does not exist\n :return: success flag\n<END>", "<BEGIN>\n## `get_key`", "Gets the value of a given key from the given...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_dotenv API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_dotenv API. 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...
Read a .env file and load into os.environ. :param dotenv_path: :type dotenv_path: str :param verbose: verbosity flag, raise warning if path does not exist :return: success flag
"Read a .env file and load into os.environ.\n\n :param dotenv_path:\n :type dotenv_path: str\n :param verbose: verbosity flag, raise warning if path does not exist\n :return: success flag"
33
false
sthysel/knobs
load_dotenv
16,121
LDU_FT/tgsmith61591/pmdarima/fit
LDU_FT
[ "<BEGIN>\n## `nsdiffs`", "Estimate the seasonal differencing term, ``D``.", " Perform a test of seasonality for different levels of ``D`` to\n estimate the number of seasonal differences required to make a given time\n series stationary. Will select the maximum value of ``D`` for which\n the time se...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fit API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fit API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Fit the transformer Learns the value of ``lmbda``, if not specified in the constructor. If defined in the constructor, is not re-learned. Parameters ---------- y : array-like or None, shape=(n_samples,) The endogenous (time-series) array. exogenous : array-...
"Fit the transformer\n\n Learns the value of ``lmbda``, if not specified in the constructor.\n If defined in the constructor, is not re-learned.\n\n Parameters\n ----------\n y : array-like or None, shape=(n_samples,)\n The endogenous (time-series) array.\n\n exogeno...
356
false
tgsmith61591/pmdarima
fit
16,122
LDU_FT/fakedrake/overlay_parse/overlay
LDU_FT
[ "<BEGIN>\n## `rx_int_extra`", "We didn't just match an int but the int is what we need.\n<END>", "<BEGIN>\n## `offset_overlays`", "Generate overlays after offset.\n :param text: The text to be searched.\n :param offset: Match starting that index. If none just search.\n :returns: An overla...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the overlay API. Each 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 overlay API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Given a list of matchers create overlays based on them. Normally I will remember what overlays were run this way and will avoid re-running them but you can `force` me to. This is the recommended way of running overlays.c
"Given a list of matchers create overlays based on them. Normally I\n will remember what overlays were run this way and will avoid\n re-running them but you can `force` me to. This is the\n recommended way of running overlays.c"
35
false
fakedrake/overlay_parse
overlay
16,123
LDU_FT/hammerlab/cohorts/_get_function_name
LDU_FT
[ "<BEGIN>\n## `download_to_path`", "This method is analogous to \"gsutil cp gsuri localpath\", but in a\n programatically accesible way. The only difference is that we\n have to make a guess about the encoding of the file to not upset\n downstream file operations. If you are downloading a VCF,...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_function_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. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_function_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. Th...
Return name of function, using default value if function not defined
"Return name of function, using default value if function not defined"
230
false
hammerlab/cohorts
_get_function_name
16,124
LDU_FT/nicolargo/glances/msg_curse
LDU_FT
[ "<BEGIN>\n## `msg_curse`", "Return the string to display in the curse interface.\n<END>", "<BEGIN>\n## `load`", "Load the web list from the configuration file.\n<END>", "<BEGIN>\n## `set_server`", "Set the key to the value for the pos (position in the list).\n<END>", "<BEGIN>\n## `update`", "Update se...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the msg_curse API. 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 msg_curse API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Return the dict to display in the curse interface.
"Return the dict to display in the curse interface."
678
false
nicolargo/glances
msg_curse
16,125
LDU_FT/dossier/dossier.fc/from_dict
LDU_FT
[ "<BEGIN>\n## `uni`", "as a crutch, we allow str-type keys, but they really should be\n unicode.\n<END>", "<BEGIN>\n## `loads`", "Create a feature collection from a CBOR byte string.\n<END>", "<BEGIN>\n## `dumps`", "Create a CBOR byte string from a feature collection.\n<END>", "<BEGIN>\n## `from_dict`...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_dict API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_dict API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Recreate a feature collection from a dictionary. The dictionary is of the format dumped by :meth:`to_dict`. Additional information, such as whether the feature collection should be read-only, is not included in this dictionary, and is instead passed as parameters to this function.
"Recreate a feature collection from a dictionary.\n\n The dictionary is of the format dumped by :meth:`to_dict`.\n Additional information, such as whether the feature collection\n should be read-only, is not included in this dictionary, and\n is instead passed as parameters to this function....
44
false
dossier/dossier.fc
from_dict
16,126
LDU_FT/BYU-PCCL/holodeck/to_json
LDU_FT
[ "<BEGIN>\n## `malloc`", "Allocates a block of shared memory, and returns a numpy array whose data corresponds with that block.", " Args:\n key (str): The key to identify the block.\n shape (list of int): The shape of the numpy array to allocate.\n dtype (type): The numpy ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_json API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_json API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Returns: str: Json for commands array object and all of the commands inside the array.
"Returns:\n str: Json for commands array object and all of the commands inside the array."
111
false
BYU-PCCL/holodeck
to_json
16,127
LDU_FT/Cadasta/django-tutelary/make_regex
LDU_FT
[ "<BEGIN>\n## `permission_required`", "Permission checking decorator -- works like the\n ``permission_required`` decorator in the default Django\n authentication system, except that it takes a sequence of actions\n to check, an object must be supplied, and the user must have\n permission to perform all...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_regex API. 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 make_regex API. 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...
Utility function to create regexp for matching escaped separators in strings.
"Utility function to create regexp for matching escaped separators\n in strings."
50
false
Cadasta/django-tutelary
make_regex
16,128
LDU_FT/rapidpro/expressions/to_same
LDU_FT
[ "<BEGIN>\n## `_read_requirements`", "Returns a list of package requirements read from the file.\n<END>", "<BEGIN>\n## `field`", "Reference a field in string separated by a delimiter\n<END>", "<BEGIN>\n## `epoch`", "Converts the given date to the number of seconds since January 1st, 1970 UTC\n<END>", "<B...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_same API. Each 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_same API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Converts a pair of arguments to their most-likely types. This deviates from Excel which doesn't auto convert values but is necessary for us to intuitively handle contact fields which don't use the correct value type
"Converts a pair of arguments to their most-likely types. This deviates from Excel which doesn't auto convert values\n but is necessary for us to intuitively handle contact fields which don't use the correct value type"
124
false
rapidpro/expressions
to_same
16,129
LDU_FT/tkem/uritools/uridecode
LDU_FT
[ "<BEGIN>\n## `urijoin`", "Convert a URI reference relative to a base URI to its target URI\n string.\n<END>", "<BEGIN>\n## `uridefrag`", "Remove an existing fragment component from a URI reference string.\n<END>", "<BEGIN>\n## `geturi`", "Return the recombined version of the original URI as a string.\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the uridecode API. 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 uridecode API. 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...
Decode a URI string or string component.
"Decode a URI string or string component."
45
false
tkem/uritools
uridecode
16,130
LDU_FT/pallets/werkzeug/_find_observable_paths
LDU_FT
[ "<BEGIN>\n## `mimetype`", "The mimetype (content type without charset etc.)\n<END>", "<BEGIN>\n## `mimetype_params`", "The mimetype parameters as dict. For example if the\n content type is ``text/html; charset=utf-8`` the params would be\n ``{'charset': 'utf-8'}``.", " .. versionadded::...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _find_observable_paths API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _find_observable_paths API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Finds all paths that should be observed.
"Finds all paths that should be observed."
541
false
pallets/werkzeug
_find_observable_paths
16,131
LDU_FT/peterldowns/djoauth2/validate
LDU_FT
[ "<BEGIN>\n## `update_parameters`", "Updates a URL's existing GET parameters.", " :param url: a base URL to which to add additional parameters.\n :param parameters: a dictionary of parameters, any mix of\n unicode and string objects as the parameters and the values.\n :parameter encoding: the byte encoding...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Checks a request for proper authentication details. Returns a tuple of ``(access_token, error_response_arguments)``, which are designed to be passed to the :py:meth:`make_error_response` method. For example, to restrict access to a given endpoint: .. code-block:: python def foo_bar_resource(...
"Checks a request for proper authentication details.\n\n Returns a tuple of ``(access_token, error_response_arguments)``, which are\n designed to be passed to the :py:meth:`make_error_response` method.\n\n For example, to restrict access to a given endpoint:\n\n .. code-block:: python\n\n def foo_bar...
70
false
peterldowns/djoauth2
validate
16,132
LDU_FT/EventRegistry/event-registry-python/semanticSimilarity
LDU_FT
[ "<BEGIN>\n## `compute`", "compute the list of most similar events for the given text\n<END>", "<BEGIN>\n## `getUpdates`", "Get the latest new or updated events from Event Registry\n NOTE: call this method exactly once per minute - calling it more frequently will return the same results multiple times,\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the semanticSimilarity 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 semanticSimilarity 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...
determine the semantic similarity of the two provided documents @param text1: first document to analyze @param text2: second document to analyze @param distanceMeasure: distance measure to use for comparing two documents. Possible values are "cosine" (default) or "jaccard" @returns: dict
"determine the semantic similarity of the two provided documents\n @param text1: first document to analyze\n @param text2: second document to analyze\n @param distanceMeasure: distance measure to use for comparing two documents. Possible values are \"cosine\" (default) or \"jaccard\"\n @retu...
89
false
EventRegistry/event-registry-python
semanticSimilarity
16,133
LDU_FT/mozillazg/baidu-pcs-python-sdk/thumbnail
LDU_FT
[ "<BEGIN>\n## `upload`", "上传单个文件(<2G).", " | 百度PCS服务目前支持最大2G的单个文件上传。\n | 如需支持超大文件(>2G)的断点续传,请参考下面的“分片文件上传”方法。", " :param remote_path: 网盘中文件的保存路径(包含文件名)。\n 必须以 /apps/ 开头。", " .. warning::\n * 路径长度限制为1000;...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the thumbnail API. 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 thumbnail API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
获取指定图片文件的缩略图. :param remote_path: 源图片的路径,路径必须以 /apps/ 开头。 .. warning:: * 路径长度限制为1000; * 径中不能包含以下字符:``\\\\ ? | " > < : *``; * 文件名或路径名开头结尾不能是 ``.`` 或空白字符,...
"获取指定图片文件的缩略图.\n\n :param remote_path: 源图片的路径,路径必须以 /apps/ 开头。\n\n .. warning::\n * 路径长度限制为1000;\n * 径中不能包含以下字符:``\\\\\\\\ ? | \" > < : *``;\n * 文件名或路径名开头结尾不能是 ``.``\n ...
126
false
mozillazg/baidu-pcs-python-sdk
thumbnail
16,134
LDU_FT/smdabdoub/phylotoast/transform_raw_abundance
LDU_FT
[ "<BEGIN>\n## `sample_group`", "Iterate through all categories in an OrderedDict and return category name if SampleID\n present in that category.", " :type sid: str\n :param sid: SampleID from dataset.", " :type groups: OrderedDict\n :param groups: Returned dict from phylotoast.util.gather_categ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transform_raw_abundance API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transform_raw_abundance API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
Function to transform the total abundance calculation for each sample ID to another format based on user given transformation function. :type biomf: A BIOM file. :param biomf: OTU table format. :param fn: Mathematical function which is used to transform smax to another format. By defaul...
"Function to transform the total abundance calculation for each sample ID to another\n format based on user given transformation function.\n\n :type biomf: A BIOM file.\n :param biomf: OTU table format.\n\n :param fn: Mathematical function which is used to transform smax to another format.\n B...
200
false
smdabdoub/phylotoast
transform_raw_abundance
16,135
LDU_FT/mlaprise/genSpline/RWSelection
LDU_FT
[ "<BEGIN>\n## `gaussianPulse`", "Geneate a gaussian/supergaussiance envelope pulse", "\t\t* field_amp: \toutput gaussian pulse envellope (amplitude).\n\t\t* t: \t\tvector of times at which to compute u\n\t\t* t0: \t\tcenter of pulse (default = 0)\n\t\t* FWHM: \t\tfull-width at half-intensity of pulse (d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the RWSelection API. 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 RWSelection API. 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...
Make Selection of the mating pool with the roulette wheel algorithm
"Make Selection of the mating pool with the roulette wheel algorithm"
13
false
mlaprise/genSpline
RWSelection
16,136
LDU_FT/FPGAwars/apio/list_fpgas
LDU_FT
[ "<BEGIN>\n## `format_vars`", "Format the given vars in the form: 'flag=value\n<END>", "<BEGIN>\n## `list_packages`", "Return a list with all the installed/notinstalled packages\n<END>", "<BEGIN>\n## `list_boards`", "Return a list with all the supported boards\n<END>", "<BEGIN>\n## `list_fpgas`", "Retu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_fpgas API. 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 list_fpgas API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Return a list with all the supported FPGAs
"Return a list with all the supported FPGAs"
14
false
FPGAwars/apio
list_fpgas
16,137
LDU_FT/kolypto/py-good/compile_schema
LDU_FT
[ "<BEGIN>\n## `message`", "Convenience decorator that applies [`Msg()`](#msg) to a callable.", " ```python\n from good import Schema, message", " @message(u'Need a number')\n def intify(v):\n return int(v)\n ```", " :param message: Error message to use instead\n :type message: uni...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compile_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 ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compile_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 ex...
Compile the current schema into a callable validator :return: Callable validator :rtype: callable :raises SchemaError: Schema compilation error
"Compile the current schema into a callable validator\n\n :return: Callable validator\n :rtype: callable\n :raises SchemaError: Schema compilation error"
118
false
kolypto/py-good
compile_schema
16,138
LDU_FT/brocade/pynos/conversational_mac
LDU_FT
[ "<BEGIN>\n## `local_asn`", "Set BGP local ASN.", " Args:\n local_as (str): Local ASN of NOS deice.\n rbridge_id (str): The rbridge ID of the device on which BGP will be\n configured in a VCS fabric.\n get (bool): Get config instead of editing config. (True,...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the conversational_mac 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 conversational_mac 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...
Enable conversational mac learning on vdx switches Args: get (bool): Get config instead of editing config. (True, False) delete (bool): True, delete the mac-learning. (True, False) callback (function): A function executed upon completion of the method. The o...
"Enable conversational mac learning on vdx switches\n\n Args:\n get (bool): Get config instead of editing config. (True, False)\n delete (bool): True, delete the mac-learning. (True, False)\n callback (function): A function executed upon completion of the\n method....
711
false
brocade/pynos
conversational_mac
16,139
LDU_FT/cosven/feeluown-core/add_song
LDU_FT
[ "<BEGIN>\n## `handle`", "NOTE: use tcp instead of udp because some operations need ack\n<END>", "<BEGIN>\n## `url`", "We will always check if this song file exists in local library,\n if true, we return the url of the local file.", " .. note::", " As netease song url will be expir...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_song API. 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 add_song API. 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...
parse music file metadata with Easymp3 and return a song model.
"parse music file metadata with Easymp3 and return a song\n model."
74
false
cosven/feeluown-core
add_song
16,140
LDU_FT/MacHu-GWU/rolex-project/_round_to
LDU_FT
[ "<BEGIN>\n## `add_seconds`", "Returns a time that n seconds after a time.", " :param datetimestr: a datetime object or a datetime str\n :param n: number of seconds, value can be negative", " **中文文档**", " 返回给定日期N秒之后的时间。\n<END>", "<BEGIN>\n## `add_months`", "Returns a time that n months after ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _round_to API. 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 _round_to API. 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...
Route the given datetime to the latest time with the hour, minute, second before it.
"Route the given datetime to the latest time with the hour, minute, second\n before it."
103
false
MacHu-GWU/rolex-project
_round_to
16,141
LDU_FT/Kortemme-Lab/pull_into_place/parse_extra_metric
LDU_FT
[ "<BEGIN>\n## `make_command_table`", "Return a nicely formatted table of all the PIP commands installed on this \n system to incorporate into the help text. The table will have two columns. \n The first will list the commands that comprise the main pipeline and the \n second will list all the other misc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_extra_metric 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 parse_extra_metric 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...
Parse a filter name to get information about how to interpret and display that filter. For example, consider the following filter name: "Foldability Filter [+|guide 0.1]" Everything outside the brackets is the name of the filter. This is converted into a simpler name which can be referred to l...
"Parse a filter name to get information about how to interpret and display \n that filter. For example, consider the following filter name:\n\n \"Foldability Filter [+|guide 0.1]\"\n\n Everything outside the brackets is the name of the filter. This is \n converted into a simpler name which can be refe...
75
false
Kortemme-Lab/pull_into_place
parse_extra_metric
16,142
LDU_FT/aws/chalice/invoke
LDU_FT
[ "<BEGIN>\n## `create_from_lambda_arn`", "Create a LogRetriever from a client and lambda arn.", " :type client: botocore.client.Logs\n :param client: A ``logs`` client.", " :type lambda_arn: str\n :param lambda_arn: The ARN of the lambda function.", " :return: An instance o...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the invoke API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the invoke API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Invoke the deployed lambda function NAME.
"Invoke the deployed lambda function NAME."
96
false
aws/chalice
invoke
16,143
LDU_FT/limpyd/redis-limpyd/_prepare_sort_by_score
LDU_FT
[ "<BEGIN>\n## `_make_command_method`", "Return a function which call _call_command for the given name.\n Used to bind redis commands to our own calls\n<END>", "<BEGIN>\n## `_call_command`", "Check if the command to be executed is a modifier, to connect the object.\n Then call _traverse_command.\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _prepare_sort_by_score 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 _prepare_sort_by_score API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Create the key to sort on the sorted set references in self._sort_by_sortedset and adapte sort options
"Create the key to sort on the sorted set references in\n self._sort_by_sortedset and adapte sort options"
408
false
limpyd/redis-limpyd
_prepare_sort_by_score
16,144
LDU_FT/MisterY/gnucash-portfolio/file_exists
LDU_FT
[ "<BEGIN>\n## `get_next_occurrence`", "Calculates the next occurrence date for scheduled transaction.\n Mimics the recurrenceNextInstance() function from GnuCash.\n Still not fully complete but handles the main cases I use.\n<END>", "<BEGIN>\n## `handle_friday`", "Extracted the calculation for when the n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the file_exists API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the file_exists API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Check if the settings file exists or not
"Check if the settings file exists or not"
157
false
MisterY/gnucash-portfolio
file_exists
16,145
LDU_FT/alejandrobll/py-sphviewer/update_camera
LDU_FT
[ "<BEGIN>\n## `set_logscale`", "- set_logscale(): If M is the matrix of the image, it defines the image M as log10(M+1).\n<END>", "<BEGIN>\n## `histogram`", "- histogram(axis=None, **kargs): It computes and shows the histogram of the image. This is \n usefull for choosing a proper scale to the output, o...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_camera API. 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 update_camera API. 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...
- update_camera(**kwarg): By using this method you can define all the new paramenters of the camera. Read the available **kwarg in the sphviewer.Camera documentation.
"- update_camera(**kwarg): By using this method you can define all \n the new paramenters of the camera. Read the available **kwarg in \n the sphviewer.Camera documentation."
55
false
alejandrobll/py-sphviewer
update_camera
16,146
LDU_FT/bradmontgomery/django-redis-metrics/metric
LDU_FT
[ "<BEGIN>\n## `categorize_metrics`", "Called only on a valid form, this method will place the chosen\n metrics in the given catgory.\n<END>", "<BEGIN>\n## `dedupe`", "Remove duplicates from a sequence (of hashable items) while maintaining\n order. NOTE: This only works if items in the list are hashab...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the metric API. Each 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 metric API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Records a metric, creating it if it doesn't exist or incrementing it if it does. All metrics are prefixed with 'm', and automatically aggregate for Seconds, Minutes, Hours, Day, Week, Month, and Year. Parameters: * ``slug`` -- a unique value to identify the metric; used in co...
"Records a metric, creating it if it doesn't exist or incrementing it\n if it does. All metrics are prefixed with 'm', and automatically\n aggregate for Seconds, Minutes, Hours, Day, Week, Month, and Year.\n\n Parameters:\n\n * ``slug`` -- a unique value to identify the metric; used in\n ...
122
false
bradmontgomery/django-redis-metrics
metric
16,147
LDU_FT/spookylukey/django-paypal/_fetch
LDU_FT
[ "<BEGIN>\n## `render_payment_form`", "Display the DirectPayment for entering payment information.\n<END>", "<BEGIN>\n## `validate_payment_form`", "Try to validate and then process the DirectPayment form.\n<END>", "<BEGIN>\n## `redirect_to_express`", "First step of ExpressCheckout. Redirect the request to ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _fetch API. Each 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 _fetch API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Make the NVP request and store the response.
"Make the NVP request and store the response."
65
false
spookylukey/django-paypal
_fetch
16,148
LDU_FT/klen/pylama/parse_options
LDU_FT
[ "<BEGIN>\n## `run`", "MCCabe code checking.", " :return list: List of errors.\n<END>", "<BEGIN>\n## `split_csp_str`", "Split comma separated string into unique values, keeping their order.", " :returns: list of splitted values\n<END>", "<BEGIN>\n## `parse_linters`", "Initialize choosen linte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_options API. 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 parse_options API. 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...
Parse options from command line and configuration files. :return argparse.Namespace:
"Parse options from command line and configuration files.\n\n :return argparse.Namespace:"
81
false
klen/pylama
parse_options
16,149
LDU_FT/jbloomlab/phydms/_checkParam
LDU_FT
[ "<BEGIN>\n## `maximizeLikelihood`", "Maximize the log likelihood.", " Maximizes log likelihood with respect to model parameters\n and potentially branch lengths depending on `optimize_brlen`.\n If optimizing the branch lengths, iterates between optimizing\n the model parameters and b...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _checkParam API. 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 _checkParam API. 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...
Checks if `value` is allowable value for `param`. Raises except if `value` is not acceptable, otherwise returns `None` if value is acceptable. `paramlimits` and `paramtypes` are the `PARAMLIMITS` and `PARAMTYPES` attributes of a `Model`.
"Checks if `value` is allowable value for `param`.\n\n Raises except if `value` is not acceptable, otherwise\n returns `None` if value is acceptable.\n\n `paramlimits` and `paramtypes` are the `PARAMLIMITS`\n and `PARAMTYPES` attributes of a `Model`."
294
false
jbloomlab/phydms
_checkParam
16,150
LDU_FT/Frzk/Ellis/from_string
LDU_FT
[ "<BEGIN>\n## `_prepare`", "Updates the function arguments and creates a :class:`asyncio.Task`\n from the Action.", " *kwargs* is an optional dictionnary of additional arguments to pass to\n the Action function.", " .. warning::\n *kwargs* will overwrite existing keys in ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_string API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_string API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Creates a new Filter instance from the given string. *raw_filter* is the raw filter : a string that may contain several regular expressions (separated by a newline char) and tags. *rule_limit* is the Rule's limit above which the Action is executed. Raises :class:`exceptions.ValueError...
"Creates a new Filter instance from the given string.\n\n *raw_filter* is the raw filter : a string that may contain several\n regular expressions (separated by a newline char) and tags.\n\n *rule_limit* is the Rule's limit above which the Action is executed.\n\n Raises :class:`exceptions.Va...
106
false
Frzk/Ellis
from_string
16,151
LDU_FT/developersociety/django-glitter/get_templates
LDU_FT
[ "<BEGIN>\n## `get_templates`", "Return a list of templates usable by a model.\n<END>", "<BEGIN>\n## `attach`", "Registers the given layout(s) classes\n admin site:", " @pages.register(Page)\n class Default(PageLayout):\n pass\n<END>", "<BEGIN>\n## `get_formset`", "Default user to the cur...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_templates API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_templates API. 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...
Return a list of templates usable by a model.
"Return a list of templates usable by a model."
80
false
developersociety/django-glitter
get_templates
16,152
LDU_FT/za-creature/gulpless/rebuild_references
LDU_FT
[ "<BEGIN>\n## `handles`", "Must return a list of files that this handler will produce after\n successfully processing `path`. If the current handler does not operate\n on `path`, None should be returned. If instead `path` should not\n produce output by itself (but should be compiled nonetheles...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rebuild_references 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 rebuild_references 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...
Updates `parents` and `children` to be in sync with the changes to `src` if any.
"Updates `parents` and `children` to be in sync with the changes to\n `src` if any."
16
false
za-creature/gulpless
rebuild_references
16,153
LDU_FT/dwavesystems/dimod/dump
LDU_FT
[ "<BEGIN>\n## `sample`", "Give random samples for a binary quadratic model.", " Variable assignments are chosen by coin flip.", " Args:\n bqm (:obj:`.BinaryQuadraticModel`):\n Binary quadratic model to be sampled from.", " num_reads (int, optional, default=1...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dump API. Each 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 dump API. Each 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...
Dump a binary quadratic model to a string in COOrdinate format.
"Dump a binary quadratic model to a string in COOrdinate format."
908
false
dwavesystems/dimod
dump
16,154
LDU_FT/bitcraze/crazyflie-lib-python/_incoming
LDU_FT
[ "<BEGIN>\n## `set_group_mask`", "Set the group mask that the Crazyflie belongs to", " :param group_mask: mask for which groups this CF belongs to\n<END>", "<BEGIN>\n## `takeoff`", "vertical takeoff from current x-y position to given height", " :param absolute_height_m: absolut (m)\n :...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _incoming API. 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 _incoming API. 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...
Callback for data received from the copter.
"Callback for data received from the copter."
312
false
bitcraze/crazyflie-lib-python
_incoming
16,155
LDU_FT/Capitains/MyCapytain/_add_member
LDU_FT
[ "<BEGIN>\n## `call`", "Call an endpoint given the parameters", " :param parameters: Dictionary of parameters\n :type parameters: dict\n :rtype: text\n<END>", "<BEGIN>\n## `getValidReff`", "Retrieve valid urn-references for a text", " :param urn: URN identifying the text\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add_member API. 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 _add_member API. 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...
Does not add member if it already knows it. .. warning:: It should not be called ! :param member: Collection to add to members
"Does not add member if it already knows it.\n\n .. warning:: It should not be called !\n\n :param member: Collection to add to members"
473
false
Capitains/MyCapytain
_add_member
16,156
LDU_FT/CamDavidsonPilon/lifetimes/_save_obj_without_attr
LDU_FT
[ "<BEGIN>\n## `fit`", "Pareto/NBD model fitter.", " Parameters\n ----------\n frequency: array_like\n the frequency vector of customers' purchases\n (denoted x in literature).\n recency: array_like\n the recency vector of customers' purchases\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _save_obj_without_attr 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 _save_obj_without_attr API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Save object with attributes from attr_list. Parameters ---------- obj: obj Object of class with __dict__ attribute. attr_list: list List with attributes to exclude from saving to dill object. If empty list all attributes will be saved. path: str Where to save dill ob...
"Save object with attributes from attr_list.\n\n Parameters\n ----------\n obj: obj\n Object of class with __dict__ attribute.\n attr_list: list\n List with attributes to exclude from saving to dill object. If empty\n list all attributes will be saved.\n path: str\n Where to s...
232
false
CamDavidsonPilon/lifetimes
_save_obj_without_attr
16,157
LDU_FT/flask-restful/flask-restful/handle_validation_error
LDU_FT
[ "<BEGIN>\n## `unpack`", "Return a three tuple of data, code, and headers\n<END>", "<BEGIN>\n## `output_xml`", "Makes a Flask response with a XML encoded body\n<END>", "<BEGIN>\n## `output_json`", "Makes a Flask response with a JSON encoded body\n<END>", "<BEGIN>\n## `abort`", "Raise a HTTPException fo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_validation_error API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_validation_error API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
Called when an error is raised while parsing. Aborts the request with a 400 status and an error message :param error: the error that was raised :param bundle_errors: do not abort when first error occurs, return a dict with the name of the argument and the error message to be ...
"Called when an error is raised while parsing. Aborts the request\n with a 400 status and an error message\n\n :param error: the error that was raised\n :param bundle_errors: do not abort when first error occurs, return a\n dict with the name of the argument and the error message to be\n...
123
false
flask-restful/flask-restful
handle_validation_error
16,158
LDU_FT/ondryaso/pi-rc522/card_auth
LDU_FT
[ "<BEGIN>\n## `request`", "Requests for tag.\n Returns (False, None) if no tag is present, otherwise returns (True, tag type)\n<END>", "<BEGIN>\n## `anticoll`", "Anti-collision detection.\n Returns tuple of (error state, tag ID).\n<END>", "<BEGIN>\n## `select_tag`", "Selects tag for further u...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the card_auth API. 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 card_auth API. 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...
Authenticates to use specified block address. Tag must be selected using select_tag(uid) before auth. auth_mode -- RFID.auth_a or RFID.auth_b key -- list or tuple with six bytes key uid -- list or tuple with four bytes tag ID Returns error state.
"Authenticates to use specified block address. Tag must be selected using select_tag(uid) before auth.\n auth_mode -- RFID.auth_a or RFID.auth_b\n key -- list or tuple with six bytes key\n uid -- list or tuple with four bytes tag ID\n Returns error state."
28
false
ondryaso/pi-rc522
card_auth
16,159
LDU_FT/kiliankoe/dvbpy/pins
LDU_FT
[ "<BEGIN>\n## `monitor`", "VVO Online Monitor\n (GET http://widgets.vvo-online.de/abfahrtsmonitor/Abfahrten.do)", " :param stop: Name of Stop\n :param offset: Minimum time of arrival\n :param limit: Count of returned results\n :param city: Name of City\n :param raw: Return raw response\n :re...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pins API. Each 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 pins API. Each 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...
DVB Map Pins (GET https://www.dvb.de/apps/map/pins) :param swlat: South-West Bounding Box Latitude :param swlng: South-West Bounding Box Longitude :param nelat: North-East Bounding Box Latitude :param nelng: North-East Bounding Box Longitude :param pintypes: Types to search for, defaults to 'st...
"DVB Map Pins\n (GET https://www.dvb.de/apps/map/pins)\n\n :param swlat: South-West Bounding Box Latitude\n :param swlng: South-West Bounding Box Longitude\n :param nelat: North-East Bounding Box Latitude\n :param nelng: North-East Bounding Box Longitude\n :param pintypes: Types to search for, default...
18
false
kiliankoe/dvbpy
pins
16,160
LDU_FT/aetros/aetros-cli/start_push_sync
LDU_FT
[ "<BEGIN>\n## `Popen`", "Executes a command using subprocess.Popen and redirects output to AETROS and stdout.\n Parses stdout as well for stdout API calls.", " Use read_line argument to read stdout of command's stdout line by line.\n Use returned process stdin to communicate with the command.", " :...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start_push_sync API. 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 start_push_sync API. 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...
Starts the detection of unsynced Git data.
"Starts the detection of unsynced Git data."
183
false
aetros/aetros-cli
start_push_sync
16,161
LDU_FT/napalm-automation-community/napalm-panos/compare_config
LDU_FT
[ "<BEGIN>\n## `_send_merge_commands`", "Netmiko is being used to push set commands.\n<END>", "<BEGIN>\n## `compare_config`", "Netmiko is being used to obtain config diffs because pan-python\n doesn't support the needed command.\n<END>", "<BEGIN>\n## `commit_config`", "Netmiko is being used to commit...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compare_config API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compare_config API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Netmiko is being used to obtain config diffs because pan-python doesn't support the needed command.
"Netmiko is being used to obtain config diffs because pan-python\n doesn't support the needed command."
10
false
napalm-automation-community/napalm-panos
compare_config
16,162
LDU_FT/mosesschwartz/scrypture/text_input
LDU_FT
[ "<BEGIN>\n## `hash`", "Hash input_text with the algorithm choice\n<END>", "<BEGIN>\n## `text_input`", "Get multi-line text input as a strong from a textarea form element.\n<END>", "<BEGIN>\n## `list_input`", "Get a list parsed from newline-delimited entries from a textarea\n<END>", "<BEGIN>\n## `line_in...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the text_input API. 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 text_input API. 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...
Get multi-line text input as a strong from a textarea form element.
"Get multi-line text input as a strong from a textarea form element."
30
false
mosesschwartz/scrypture
text_input
16,163
LDU_FT/rackerlabs/simpl/validate_config
LDU_FT
[ "<BEGIN>\n## `scrub`", "Verify and clean data. Raise error if input fails.\n<END>", "<BEGIN>\n## `build_text_search`", "Build mongodb query that performs text search for string(s).", " This is the backend implementation of the front-end search box on a list.\n It performs text search on a text index a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_config API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_config API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Validate all config values through the command-line parser. This takes all supplied options (which could have been retrieved from a number of sources (such as CLI, env vars, etc...) and then validates them by running them through argparser (and raises SystemExit on failure). :r...
"Validate all config values through the command-line parser.\n\n This takes all supplied options (which could have been retrieved from a\n number of sources (such as CLI, env vars, etc...) and then validates\n them by running them through argparser (and raises SystemExit on\n failure).\n\n ...
313
false
rackerlabs/simpl
validate_config
16,164
LDU_FT/inveniosoftware/invenio-communities/generic_item
LDU_FT
[ "<BEGIN>\n## `format_item`", "Render a template to a string with the provided item in context.\n<END>", "<BEGIN>\n## `index`", "Index page with uploader and list of existing depositions.\n<END>", "<BEGIN>\n## `generic_item`", "Index page with uploader and list of existing depositions.\n<END>", "<BEGIN>\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generic_item API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generic_item API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Index page with uploader and list of existing depositions.
"Index page with uploader and list of existing depositions."
89
false
inveniosoftware/invenio-communities
generic_item
16,165
LDU_FT/quikmile/trellio/request
LDU_FT
[ "<BEGIN>\n## `publish`", "publish the return value of this function as a message from this endpoint\n<END>", "<BEGIN>\n## `xsubscribe`", "Used to listen for publications from a specific endpoint of a service. If multiple instances\n subscribe to an endpoint, only one of them receives the event. And the pub...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the request API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the request API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
use to request an api call from a specific endpoint
"use to request an api call from a specific endpoint"
47
false
quikmile/trellio
request
16,166
LDU_FT/wroberts/pygermanet/insert_paraphrase_information
LDU_FT
[ "<BEGIN>\n## `load_germanet`", "Loads a GermaNet instance connected to the given MongoDB instance.", " Arguments:\n - `host`: the hostname of the MongoDB instance\n - `port`: the port number of the MongoDB instance\n - `database_name`: the name of the GermaNet database on the\n MongoDB instance...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the insert_paraphrase_information API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the insert_paraphrase_information API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc...
Reads in the given GermaNet relation file and inserts its contents into the given MongoDB database. Arguments: - `germanet_db`: a pymongo.database.Database object - `wiktionary_files`:
"Reads in the given GermaNet relation file and inserts its contents\n into the given MongoDB database.\n\n Arguments:\n - `germanet_db`: a pymongo.database.Database object\n - `wiktionary_files`:"
61
false
wroberts/pygermanet
insert_paraphrase_information
16,167
LDU_FT/nchopin/particles/simulate
LDU_FT
[ "<BEGIN>\n## `all_distinct`", "Returns the list [l[i] for i in idx] \n When needed, objects l[i] are replaced by a copy, to make sure that\n the elements of the list are all distinct", " Parameters\n ---------\n l: iterable\n idx: iterable that generates ints (e.g. ndarray of ints)", " Re...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the simulate API. 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 simulate API. 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...
Simulate state and observation processes. Parameters ---------- T: int processes are simulated from time 0 to time T-1 Returns ------- x, y: lists lists of length T
"Simulate state and observation processes. \n\n Parameters\n ----------\n T: int\n processes are simulated from time 0 to time T-1\n\n Returns\n -------\n x, y: lists\n lists of length T"
249
false
nchopin/particles
simulate
16,168
LDU_FT/jleclanche/fireplace/check_for_end_game
LDU_FT
[ "<BEGIN>\n## `get_spell_damage`", "Returns the amount of damage \\a amount will do, taking\n\t\tSPELLPOWER and SPELLPOWER_DOUBLE into account.\n<END>", "<BEGIN>\n## `can_pay_cost`", "Returns whether the player can pay the resource cost of a card.\n<END>", "<BEGIN>\n## `pay_cost`", "Make player pay \\a amo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_for_end_game 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 check_for_end_game 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...
Check if one or more player is currently losing. End the game if they are.
"Check if one or more player is currently losing.\n\t\tEnd the game if they are."
52
false
jleclanche/fireplace
check_for_end_game
16,169
LDU_FT/ehuggett/send-cli/api_password
LDU_FT
[ "<BEGIN>\n## `api_params`", "Change the download limit for a file hosted on a Send Server\n<END>", "<BEGIN>\n## `api_download`", "Given a Send url, download and return the encrypted data and metadata\n<END>", "<BEGIN>\n## `sign_nonce`", "sign the server nonce from the WWW-Authenticate header with an authK...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the api_password API. 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 api_password API. 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...
changes the authKey required to download a file hosted on a send server
"changes the authKey required to download a file hosted on a send server"
22
false
ehuggett/send-cli
api_password
16,170
LDU_FT/NiklasRosenstein-Python/nr-deprecated/wait
LDU_FT
[ "<BEGIN>\n## `skip`", "Must be called from within `__enter__()`. Performs some magic to have a\n #ContextSkipped exception be raised the moment the with context is entered.\n The #ContextSkipped must then be handled in `__exit__()` to suppress the\n propagation of the exception.", " > Important: This functi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wait API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wait API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Waits until all tasks completed or *timeout* seconds passed. # Raises Timeout: If the *timeout* is exceeded.
"Waits until all tasks completed or *timeout* seconds passed.\n\n # Raises\n Timeout: If the *timeout* is exceeded."
305
false
NiklasRosenstein-Python/nr-deprecated
wait
16,171
LDU_FT/marrow/cinje/match
LDU_FT
[ "<BEGIN>\n## `match`", "Match lines prefixed with a hash (\"#\") mark that don't look like text.\n<END>", "<BEGIN>\n## `stream`", "Safely iterate a template generator, ignoring ``None`` values and optionally stream encoding.", "\tUsed internally by ``cinje.flatten``, this allows for easy use of a template g...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the match API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the match API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Match lines prefixed with a hash ("#") mark that don't look like text.
"Match lines prefixed with a hash (\"#\") mark that don't look like text."
66
false
marrow/cinje
match
16,172