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/ereOn/azmq/reset | LDU_FT | [
"<BEGIN>\n## `metadata_to_buffers`",
"Transform a dict of metadata into a sequence of buffers.",
" :param metadata: The metadata, as a dict.\n :returns: A list of buffers.\n<END>",
"<BEGIN>\n## `buffer_to_metadata`",
"Transform a buffer to a metadata dictionary.",
" :param buffer: The buffer, as ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reset API.
Each 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 reset API.
Each 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... | Reset the internal timer, effectively causing the next tick to happen
in `self.period` seconds.
:param period: If not `None`, specifies a new period to use. | "Reset the internal timer, effectively causing the next tick to happen\n in `self.period` seconds.\n\n :param period: If not `None`, specifies a new period to use." | 111 | false | ereOn/azmq | reset | 38,673 | |
LDU_FT/moderngl/moderngl/run_example | LDU_FT | [
"<BEGIN>\n## `render`",
"The render primitive (mode) must be the same as\n the input primitive of the GeometryShader.",
" Args:\n mode (int): By default :py:data:`TRIANGLES` will be used.\n vertices (int): The number of vertices to transform.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run_example API.
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 run_example API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Run an example entering a blocking main loop
Args:
example_cls: The exmaple class to render
args: Override sys.args | "Run an example entering a blocking main loop\r\n\r\n Args:\r\n example_cls: The exmaple class to render\r\n args: Override sys.args" | 263 | false | moderngl/moderngl | run_example | 38,674 | |
LDU_FT/nion-software/nionswift-io/fluoview_description_metadata | LDU_FT | [
"<BEGIN>\n## `imagedatadict_to_ndarray`",
"Converts the ImageData dictionary, imdict, to an nd image.\n<END>",
"<BEGIN>\n## `ndarray_to_imagedatadict`",
"Convert the numpy array nparr into a suitable ImageList entry dictionary.\n Returns a dictionary with the appropriate Data, DataType, PixelDepth\n to ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fluoview_description_metadata 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 fluoview_description_metadata API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | Return metatata from FluoView image description as dict.
The FluoView image description format is unspecified. Expect failures.
>>> descr = ('[Intensity Mapping]\\nMap Ch0: Range=00000 to 02047\\n'
... '[Intensity Mapping End]')
>>> fluoview_description_metadata(descr)
{'Intensity Mapping... | "Return metatata from FluoView image description as dict.\n\n The FluoView image description format is unspecified. Expect failures.\n\n >>> descr = ('[Intensity Mapping]\\\\nMap Ch0: Range=00000 to 02047\\\\n'\n ... '[Intensity Mapping End]')\n >>> fluoview_description_metadata(descr)\n {'Inten... | 438 | false | nion-software/nionswift-io | fluoview_description_metadata | 38,675 | |
LDU_FT/swistakm/python-gmaps/unixtimestamp | LDU_FT | [
"<BEGIN>\n## `directions`",
"Get directions between locations",
" :param origin: Origin location - string address; (latitude, longitude)\n two-tuple, dict with (\"lat\", \"lon\") keys or object with (lat, lon)\n attributes\n :param destination: Destination location - type sam... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unixtimestamp API.
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 unixtimestamp API.
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... | Get unix time stamp from that given datetime. If datetime
is not tzaware then it's assumed that it is UTC | "Get unix time stamp from that given datetime. If datetime\n is not tzaware then it's assumed that it is UTC" | 26 | false | swistakm/python-gmaps | unixtimestamp | 38,676 | |
LDU_FT/macbre/sql-metadata/normalize_likes | LDU_FT | [
"<BEGIN>\n## `unique`",
"Makes the list have unique items only and maintains the order",
" list(set()) won't provide that",
" :type _list list\n :rtype: list\n<END>",
"<BEGIN>\n## `preprocess_query`",
"Perform initial query cleanup",
" :type query str\n :rtype str\n<END>",
"<BEGIN>\n## ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the normalize_likes API.
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 normalize_likes API.
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... | Normalize and wrap LIKE statements
:type sql str
:rtype: str | "Normalize and wrap LIKE statements\n\n :type sql str\n :rtype: str" | 16 | false | macbre/sql-metadata | normalize_likes | 38,677 | |
LDU_FT/ergo/ziggurat_foundations/check_password | LDU_FT | [
"<BEGIN>\n## `run_migrations_offline`",
"Run migrations in 'offline' mode.",
" This configures the context with just a URL\n and not an Engine, though an Engine is acceptable\n here as well. By skipping the Engine creation\n we don't even need a DBAPI to be available.",
" Calls to context.exec... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_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 ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_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 ex... | checks string with users password hash using password manager
:param instance:
:param raw_password:
:param enable_hash_migration: if legacy hashes should be migrated
:return: | "checks string with users password hash using password manager\n\n :param instance:\n :param raw_password:\n :param enable_hash_migration: if legacy hashes should be migrated\n :return:" | 229 | false | ergo/ziggurat_foundations | check_password | 38,678 | |
LDU_FT/uyar/pygenstub/get_aliases | LDU_FT | [
"<BEGIN>\n## `get_fields`",
"Get the field names and their values from a node.",
" :sig: (Document, str) -> Dict[str, str]\n :param node: Node to get the fields from.\n :param fields_tag: Tag of child node that contains the fields.\n :return: Names and values of fields.\n<END>",
"<BEGIN>\n## `extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_aliases API.
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_aliases API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Get the type aliases in the source.
:sig: (Sequence[str]) -> Dict[str, str]
:param lines: Lines of the source code.
:return: Aliases and their their definitions. | "Get the type aliases in the source.\n\n :sig: (Sequence[str]) -> Dict[str, str]\n :param lines: Lines of the source code.\n :return: Aliases and their their definitions." | 50 | false | uyar/pygenstub | get_aliases | 38,679 | |
LDU_FT/geophysics-ubonn/crtomo_tools/extract_along_line | LDU_FT | [
"<BEGIN>\n## `clear_measurements`",
"Remove all measurements from self.measurements. Reset the\n measurement counter. All ID are invalidated.\n<END>",
"<BEGIN>\n## `add_measurements`",
"Add new measurements to this instance",
" Parameters\n ----------\n measurements: numpy.ndarra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_along_line 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 extract_along_line 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... | Extract parameter values along a given line.
Parameters
----------
pid: int
The parameter id to extract values from
xy0: tuple
A tupe with (x,y) start point coordinates
xy1: tuple
A tupe with (x,y) end point coordinates
N: integer, opt... | "Extract parameter values along a given line.\n\n Parameters\n ----------\n pid: int\n The parameter id to extract values from\n xy0: tuple\n A tupe with (x,y) start point coordinates\n xy1: tuple\n A tupe with (x,y) end point coordinates\n N: i... | 525 | false | geophysics-ubonn/crtomo_tools | extract_along_line | 38,680 | |
LDU_FT/mozilla/taar/_build_features_caches | LDU_FT | [
"<BEGIN>\n## `flaskrun`",
"Takes a flask.Flask instance and runs it. Parses\n command-line flags to configure the app.\n<END>",
"<BEGIN>\n## `get_randomized_guid_sample`",
"Fetch a subset of randomzied GUIDs from the whitelist\n<END>",
"<BEGIN>\n## `can_recommend`",
"The Curated recommender will always... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _build_features_caches 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 _build_features_caches API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | This function build two feature cache matrices.
That's the self.categorical_features and
self.continuous_features attributes.
One matrix is for the continuous features and the other is for
the categorical features. This is needed to speed up the similarity
recommendation proces... | "This function build two feature cache matrices.\n\n That's the self.categorical_features and\n self.continuous_features attributes.\n\n One matrix is for the continuous features and the other is for\n the categorical features. This is needed to speed up the similarity\n recommendatio... | 45 | false | mozilla/taar | _build_features_caches | 38,681 | |
LDU_FT/carpyncho/feets/getSignificance | LDU_FT | [
"<BEGIN>\n## `basic_animation`",
"Plot a basic sine wave with oscillating amplitude\n<END>",
"<BEGIN>\n## `lorenz_animation`",
"Plot a 3D visualization of the dynamics of the Lorenz system\n<END>",
"<BEGIN>\n## `_included_frames`",
"frame_list should be a list of filenames\n<END>",
"<BEGIN>\n## `_embedd... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getSignificance API.
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 getSignificance API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | returns the peak false alarm probabilities
Hence the lower is the probability and the more significant is the peak | "returns the peak false alarm probabilities\n Hence the lower is the probability and the more significant is the peak" | 111 | false | carpyncho/feets | getSignificance | 38,682 | |
LDU_FT/napalm-automation/napalm-logs/verify_cert | LDU_FT | [
"<BEGIN>\n## `_setup_ipc`",
"Setup the IPC pub and sub.\n Subscript to the listener IPC\n and publish to the device specific IPC.\n<END>",
"<BEGIN>\n## `_compile_prefixes`",
"Create a dict of all OS prefixes and their compiled regexs\n<END>",
"<BEGIN>\n## `_identify_prefix`",
"Check the mess... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the verify_cert API.
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 verify_cert API.
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 that the provided cert and key are valid and usable | "Checks that the provided cert and key are valid and usable" | 82 | false | napalm-automation/napalm-logs | verify_cert | 38,683 | |
LDU_FT/AndrewAnnex/SpiceyPy/kinfo | LDU_FT | [
"<BEGIN>\n## `_distribution_info`",
"Creates the distribution name and the expected extension for the\n CSPICE package and returns it.",
" :return (distribution, extension) tuple where distribution is the best\n guess from the strings available within the platform_urls list\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the kinfo API.
Each 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 kinfo API.
Each 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... | Return information about a loaded kernel specified by name.
http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/kinfo_c.html
:param file: Name of a kernel to fetch information for
:type file: str
:param typlen: Available space in output kernel type string.
:type typlen: int
:param srclen: ... | "Return information about a loaded kernel specified by name.\n\n http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/kinfo_c.html\n\n :param file: Name of a kernel to fetch information for\n :type file: str\n :param typlen: Available space in output kernel type string.\n :type typlen: int\n :param... | 2,164 | true | AndrewAnnex/SpiceyPy | kinfo | 38,684 | |
LDU_FT/sanoma/django-arctic/get_success_url | LDU_FT | [
"<BEGIN>\n## `get_all_fields`",
"Returns a list of all field names on the instance.\n<END>",
"<BEGIN>\n## `query_string_ordering`",
"Add ordering param to the given query string\n :param context: template context\n :param value: examples would be '-id' or 'id'. A minus indicates that the\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_success_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_success_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Return the URL to redirect to after processing a valid form. | "Return the URL to redirect to after processing a valid form." | 85 | false | sanoma/django-arctic | get_success_url | 38,685 | |
LDU_FT/melizalab/arf/create_table | LDU_FT | [
"<BEGIN>\n## `open_file`",
"Open an ARF file, creating as necessary.",
" Use this instead of h5py.File to ensure that root-level attributes and group\n creation property lists are set correctly.\n<END>",
"<BEGIN>\n## `create_entry`",
"Create a new ARF entry under group, setting required attributes.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_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 extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_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 extr... | Create a new array dataset under group with compound datatype and maxshape=(None,) | "Create a new array dataset under group with compound datatype and maxshape=(None,)" | 45 | false | melizalab/arf | create_table | 38,686 | |
LDU_FT/sebp/scikit-survival/fit | LDU_FT | [
"<BEGIN>\n## `_fit_and_score`",
"Train survival model on given data and return its score on test data\n<END>",
"<BEGIN>\n## `fit`",
"Fit estimator.",
" Parameters\n ----------\n X : array-like, shape = (n_samples, n_features)\n Data matrix",
" y : structured array, s... | 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 estimator.
Parameters
----------
X : array-like, shape = (n_samples, n_features)
Data matrix
y : structured array, shape = (n_samples,)
A structured array containing the binary event indicator
as first field, and time of event or time of censorin... | "Fit estimator.\n\n Parameters\n ----------\n X : array-like, shape = (n_samples, n_features)\n Data matrix\n\n y : structured array, shape = (n_samples,)\n A structured array containing the binary event indicator\n as first field, and time of event or time o... | 432 | false | sebp/scikit-survival | fit | 38,687 | |
LDU_FT/the01/python-paps/_pack_people | LDU_FT | [
"<BEGIN>\n## `format_message_type`",
"Get printable version for message type",
" :param message_type: Message type\n :type message_type: int\n :return: Printable version\n :rtype: str\n<END>",
"<BEGIN>\n## `format_data`",
"Format bytes for printing",
" :param data: Bytes\n :type data: No... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _pack_people API.
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 _pack_people API.
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... | Pack people into a network transmittable format
:param people: People to pack
:type people: list[paps.people.People]
:return: The packed people
:rtype: str | "Pack people into a network transmittable format\n\n :param people: People to pack\n :type people: list[paps.people.People]\n :return: The packed people\n :rtype: str" | 182 | false | the01/python-paps | _pack_people | 38,688 | |
LDU_FT/kislyuk/aegea/unstar | LDU_FT | [
"<BEGIN>\n## `update`",
"Update this authorization.",
" :param list scopes: (optional), replaces the authorization scopes with\n these\n :param list add_scopes: (optional), scopes to be added\n :param list rm_scopes: (optional), scopes to be removed\n :param str note: (opt... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unstar API.
Each 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 unstar API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Un-star this gist.
:returns: bool -- True if successful, False otherwise | "Un-star this gist.\n\n :returns: bool -- True if successful, False otherwise" | 834 | false | kislyuk/aegea | unstar | 38,689 | |
LDU_FT/palantir/python-language-server/_sort_text | LDU_FT | [
"<BEGIN>\n## `lint`",
"Plugin interface to pyls linter.",
" Args:\n document: The document to be linted.\n is_saved: Whether or not the file has been saved to disk.\n flags: Additional flags to pass to pylint. Not exposed to\n pyls_lint, but used for testin... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _sort_text API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _sort_text API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Ensure builtins appear at the bottom.
Description is of format <type>: <module>.<item> | "Ensure builtins appear at the bottom.\n Description is of format <type>: <module>.<item>" | 55 | false | palantir/python-language-server | _sort_text | 38,690 | |
LDU_FT/aws/aws-iot-device-sdk-python/configIAMCredentials | LDU_FT | [
"<BEGIN>\n## `shadowGet`",
"**Description**",
" Retrieve the device shadow JSON document from AWS IoT by publishing an empty JSON document to the \n corresponding shadow topics. Shadow response topics will be subscribed to receive responses from \n AWS IoT regarding the result of the get op... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the configIAMCredentials 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 configIAMCredentials API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Make custom settings for IAM credentials for websocket connection
srcAWSAccessKeyID - AWS IAM access key
srcAWSSecretAccessKey - AWS IAM secret key
srcAWSSessionToken - AWS Session Token | "Make custom settings for IAM credentials for websocket connection\n srcAWSAccessKeyID - AWS IAM access key\n srcAWSSecretAccessKey - AWS IAM secret key\n srcAWSSessionToken - AWS Session Token" | 420 | false | aws/aws-iot-device-sdk-python | configIAMCredentials | 38,691 | |
LDU_FT/thautwarm/Redy/flatten_if | LDU_FT | [
"<BEGIN>\n## `map_by`",
"when pycharm supports type hinting for any implementation of currying,\n map_with and map_on would be deprecated.\n >>> from Redy.Collections import Traversal, Flow\n >>> def double(x: int) -> int: return x * 2\n >>> lst: Iterable[int] = [1, 2, 3]\n >>> x = Flow(lst)[Traver... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the flatten_if API.
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 flatten_if API.
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... | >>> from Redy.Collections import Traversal, Flow
>>> lst: Iterable[int] = [[1, 2, 3]]
>>> x = Flow(lst)[Traversal.flatten_if(lambda _: isinstance(_, list))]
>>> assert isinstance(x.unbox, Generator) and list(x.unbox) == [1, 2, 3] | ">>> from Redy.Collections import Traversal, Flow\n >>> lst: Iterable[int] = [[1, 2, 3]]\n >>> x = Flow(lst)[Traversal.flatten_if(lambda _: isinstance(_, list))]\n >>> assert isinstance(x.unbox, Generator) and list(x.unbox) == [1, 2, 3]" | 83 | false | thautwarm/Redy | flatten_if | 38,692 | |
LDU_FT/closeio/tasktiger/_wait_for_new_tasks | LDU_FT | [
"<BEGIN>\n## `set_system_lock`",
"Set system lock for the semaphore.",
" Sets a system lock that will expire in timeout seconds. This\n overrides all other locks. Existing locks cannot be renewed\n and no new locks will be permitted until the system lock\n expires.",
" Argum... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _wait_for_new_tasks 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 _wait_for_new_tasks 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... | Check activity channel and wait as necessary.
This method is also used to slow down the main processing loop to reduce
the effects of rapidly sending Redis commands. This method will exit
for any of these conditions:
1. _did_work is True, suggests there could be more work pending
... | "Check activity channel and wait as necessary.\n\n This method is also used to slow down the main processing loop to reduce\n the effects of rapidly sending Redis commands. This method will exit\n for any of these conditions:\n 1. _did_work is True, suggests there could be more work pend... | 124 | false | closeio/tasktiger | _wait_for_new_tasks | 38,693 | |
LDU_FT/sepandhaghighi/pycm/CEN_calc | LDU_FT | [
"<BEGIN>\n## `print_report`",
"Print Compare report.",
" :return: None\n<END>",
"<BEGIN>\n## `save_report`",
"Save Compare report in .comp (flat file format).",
" :param name: filename\n :type name : str\n :param address: flag for address return\n :type address : bool\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the CEN_calc API.
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 CEN_calc API.
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... | Calculate CEN (Confusion Entropy)/ MCEN(Modified Confusion Entropy).
:param classes: classes
:type classes : list
:param table: input matrix
:type table : dict
:param TOP: test outcome positive
:type TOP : int
:param P: condition positive
:type P : int
:param class_name: reviewed cl... | "Calculate CEN (Confusion Entropy)/ MCEN(Modified Confusion Entropy).\n\n :param classes: classes\n :type classes : list\n :param table: input matrix\n :type table : dict\n :param TOP: test outcome positive\n :type TOP : int\n :param P: condition positive\n :type P : int\n :param class_name: ... | 259 | false | sepandhaghighi/pycm | CEN_calc | 38,694 | |
LDU_FT/lingfeiwang/findr-python/cassists | LDU_FT | [
"<BEGIN>\n## `gassists_pv`",
"Calculates p-values of gene i regulating gene j with genotype data assisted method with multiple tests.\n\tdg:\tnumpy.ndarray(nt,ns,dtype=gtype(='u1' by default)) Genotype data.\n\t\tEntry dg[i,j] is genotype i's value for sample j.\n\t\tEach value must be among 0,1,...,na.\n\t\tGeno... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cassists API.
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 cassists API.
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... | Calculates probability of gene i regulating gene j with continuous data assisted method,
with multiple tests, by converting log likelihoods into probabilities per A for all B.
Probabilities are converted from likelihood ratios separately for each A. This gives better
predictions when the number of secondary targets ... | "Calculates probability of gene i regulating gene j with continuous data assisted method,\n\twith multiple tests, by converting log likelihoods into probabilities per A for all B.\n\tProbabilities are converted from likelihood ratios separately for each A. This gives better\n\tpredictions when the number of secondary t... | 50 | false | lingfeiwang/findr-python | cassists | 38,695 | |
LDU_FT/oscarlazoarjona/fast/thermal_state | LDU_FT | [
"<BEGIN>\n## `fit_lorentizan`",
"Fits a lorentzian curve using p0=[x0,A,gamma] as an initial guess.\r\n\tIt returns a curve with N_points.\n<END>",
"<BEGIN>\n## `electric_field_amplitude_gaussian`",
"Return the amplitude of the electric field for a Gaussian beam.\r",
" This the amplitude at the center of... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the thermal_state API.
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 thermal_state API.
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... | r"""Return a thermal state for a given set of levels.
INPUT:
- ``omega_level`` - The angular frequencies of each state.
- ``T`` - The temperature of the ensemble (in Kelvin).
- ``return_diagonal`` - Whether to return only the populations.
>>> ground = State("Rb", 85, 5, 0, 1/Integer(2))
>>... | "r\"\"\"Return a thermal state for a given set of levels.\n\n INPUT:\n\n - ``omega_level`` - The angular frequencies of each state.\n - ``T`` - The temperature of the ensemble (in Kelvin).\n - ``return_diagonal`` - Whether to return only the populations.\n\n >>> ground = State(\"Rb\", 85, 5, 0, 1/Inte... | 668 | false | oscarlazoarjona/fast | thermal_state | 38,696 | |
LDU_FT/PyMySQL/mysqlclient-python/show_warnings | LDU_FT | [
"<BEGIN>\n## `numeric_part`",
"Returns the leading numeric part of a string.",
" >>> numeric_part(\"20-alpha\")\n 20\n >>> numeric_part(\"foo\")\n >>> numeric_part(\"16b\")\n 16\n<END>",
"<BEGIN>\n## `literal`",
"If o is a single object, returns an SQL literal as a string.\n If o is a ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the show_warnings API.
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 show_warnings API.
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 detailed information about warnings as a
sequence of tuples of (Level, Code, Message). This
is only supported in MySQL-4.1 and up. If your server
is an earlier version, an empty sequence is returned. | "Return detailed information about warnings as a\n sequence of tuples of (Level, Code, Message). This\n is only supported in MySQL-4.1 and up. If your server\n is an earlier version, an empty sequence is returned." | 30 | false | PyMySQL/mysqlclient-python | show_warnings | 38,697 | |
LDU_FT/blakev/python-syncthing/reset_folder | LDU_FT | [
"<BEGIN>\n## `keys_to_datetime`",
"Converts all the keys in an object to DateTime instances.",
" Args:\n obj (dict): the JSON-like ``dict`` object to modify inplace.\n keys (str): keys of the object being converted into DateTime\n instances.",
" Returns:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reset_folder API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reset_folder API.
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... | Erase the database index from a given folder and restart Syncthing.
Args:
folder (str): Folder ID.
Returns:
None | "Erase the database index from a given folder and restart Syncthing.\n\n Args:\n folder (str): Folder ID.\n\n Returns:\n None" | 60 | false | blakev/python-syncthing | reset_folder | 38,698 | |
LDU_FT/swistakm/python-gmaps/directions | LDU_FT | [
"<BEGIN>\n## `directions`",
"Get directions between locations",
" :param origin: Origin location - string address; (latitude, longitude)\n two-tuple, dict with (\"lat\", \"lon\") keys or object with (lat, lon)\n attributes\n :param destination: Destination location - type sam... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the directions API.
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 directions API.
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 directions between locations
:param origin: Origin location - string address; (latitude, longitude)
two-tuple, dict with ("lat", "lon") keys or object with (lat, lon)
attributes
:param destination: Destination location - type same as origin
:param mode: Travel mode a... | "Get directions between locations\n\n :param origin: Origin location - string address; (latitude, longitude)\n two-tuple, dict with (\"lat\", \"lon\") keys or object with (lat, lon)\n attributes\n :param destination: Destination location - type same as origin\n :param mode: Tr... | 26 | false | swistakm/python-gmaps | directions | 38,699 | |
LDU_FT/pavlin-policar/openTSNE/euclidean_random_projection_split | LDU_FT | [
"<BEGIN>\n## `has_c_library`",
"Check whether a C/C++ library is available on the system to the compiler.",
" Parameters\n ----------\n library: str\n The library we want to check for e.g. if we are interested in FFTW3, we\n want to check for `fftw3.h`, so this parameter will be `fftw3`.\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the euclidean_random_projection_split API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the euclidean_random_projection_split API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ... | Given a set of ``indices`` for data points from ``data``, create
a random hyperplane to split the data, returning two arrays indices
that fall on either side of the hyperplane. This is the basis for a
random projection tree, which simply uses this splitting recursively.
This particular split uses eucli... | "Given a set of ``indices`` for data points from ``data``, create\n a random hyperplane to split the data, returning two arrays indices\n that fall on either side of the hyperplane. This is the basis for a\n random projection tree, which simply uses this splitting recursively.\n\n This particular split uses... | 181 | false | pavlin-policar/openTSNE | euclidean_random_projection_split | 38,700 | |
LDU_FT/RJT1990/pyflux/_model_abilities_one_components | LDU_FT | [
"<BEGIN>\n## `_get_scale_and_shape`",
"Obtains model scale, shape and skewness latent variables",
" Parameters\n ----------\n transformed_lvs : np.array\n Transformed latent variable vector",
" Returns\n ----------\n - Tuple of model scale, model shape, mod... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _model_abilities_one_components API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _model_abilities_one_components API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | Creates the structure of the model - store abilities
Parameters
----------
beta : np.array
Contains untransformed starting values for latent variables
Returns
----------
theta : np.array
Contains the predicted values for the time series
... | "Creates the structure of the model - store abilities\n\n Parameters\n ----------\n beta : np.array\n Contains untransformed starting values for latent variables\n\n Returns\n ----------\n theta : np.array\n Contains the predicted values for the time serie... | 1,462 | true | RJT1990/pyflux | _model_abilities_one_components | 38,701 | |
LDU_FT/tommyod/streprogen/add_exercises | LDU_FT | [
"<BEGIN>\n## `_set_scalers`",
"Set the variables self._scalers as given by self.scalers,\n if self.scalers is None, then a default value is used.\n<END>",
"<BEGIN>\n## `_validate`",
"The purpose of this method is to verify that the user has set sensible\n values for the training program before r... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_exercises API.
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 add_exercises API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Add the exercises to the day. The method will automatically infer
whether a static or dynamic exercise is passed to it.
Parameters
----------
*exercises
An unpacked tuple of exercises.
Examples
-------
>>> monday = Day(name = 'Monday')
>>> c... | "Add the exercises to the day. The method will automatically infer\n whether a static or dynamic exercise is passed to it.\n\n Parameters\n ----------\n *exercises\n An unpacked tuple of exercises.\n\n\n Examples\n -------\n >>> monday = Day(name = 'Monday')\n... | 129 | false | tommyod/streprogen | add_exercises | 38,702 | |
LDU_FT/ocadotechnology/django-closuretree/_closure_parent_pk | LDU_FT | [
"<BEGIN>\n## `create_closure_model`",
"Creates a <Model>Closure model in the same module as the model.\n<END>",
"<BEGIN>\n## `_toplevel`",
"Find the top level of the chain we're in.",
" For example, if we have:\n C inheriting from B inheriting from A inheriting from ClosureModel\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _closure_parent_pk 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 _closure_parent_pk 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... | What our parent pk is in the closure tree. | "What our parent pk is in the closure tree." | 17 | false | ocadotechnology/django-closuretree | _closure_parent_pk | 38,703 | |
LDU_FT/tdegeus/GooseMPL/abs2rel_y | LDU_FT | [
"<BEGIN>\n## `find_latex_font_serif`",
"r'''\nFind an available font to mimic LaTeX, and return its name.\n<END>",
"<BEGIN>\n## `copy_style`",
"r'''\nWrite all goose-styles to the relevant matplotlib configuration directory.\n<END>",
"<BEGIN>\n## `set_decade_lims`",
"r'''\nSet limits the the floor/ceil va... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the abs2rel_y API.
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 abs2rel_y API.
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... | r'''
Transform absolute y-coordinates to relative y-coordinates. Relative coordinates correspond to a
fraction of the relevant axis. Be sure to set the limits and scale before calling this function!
:arguments:
**y** (``float``, ``list``)
Absolute coordinates.
:options:
**axis** ([``plt.gca()``] | ...)
... | "r'''\nTransform absolute y-coordinates to relative y-coordinates. Relative coordinates correspond to a\nfraction of the relevant axis. Be sure to set the limits and scale before calling this function!\n\n:arguments:\n\n **y** (``float``, ``list``)\n Absolute coordinates.\n\n:options:\n\n **axis** ([``plt.gca()``]... | 159 | false | tdegeus/GooseMPL | abs2rel_y | 38,704 | |
LDU_FT/royi1000/py-libhdate/get_holidays_for_year | LDU_FT | [
"<BEGIN>\n## `gdate_to_jdn`",
"Compute Julian day from Gregorian day, month and year.",
" Algorithm from wikipedia's julian_day article.\n Return: The julian day number\n<END>",
"<BEGIN>\n## `hdate_to_jdn`",
"Compute Julian day from Hebrew day, month and year.",
" Return: julian day number,\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_holidays_for_year API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_holidays_for_year API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Get all the actual holiday days for a given HDate's year.
If specified, use the list of types to limit the holidays returned. | "Get all the actual holiday days for a given HDate's year.\n\n If specified, use the list of types to limit the holidays returned." | 70 | false | royi1000/py-libhdate | get_holidays_for_year | 38,705 | |
LDU_FT/ofir123/py-printer/get_as_csv | LDU_FT | [
"<BEGIN>\n## `get_printer`",
"Returns an already initialized instance of the printer.",
" :param colors: If False, no colors will be printed.\n :param width_limit: If True, printing width will be limited by console width.\n :param disabled: If True, nothing will be printed.\n<END>",
"<BEGIN>\n## `_ge... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_as_csv API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_as_csv API.
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... | Returns the table object as a CSV string.
:param output_file_path: The output file to save the CSV to, or None.
:return: CSV representation of the table. | "Returns the table object as a CSV string.\n\n :param output_file_path: The output file to save the CSV to, or None.\n :return: CSV representation of the table." | 46 | false | ofir123/py-printer | get_as_csv | 38,706 | |
LDU_FT/OLC-Bioinformatics/ConFindr/check_acceptable_xmx | LDU_FT | [
"<BEGIN>\n## `bbduk_trim`",
"Wrapper for using bbduk to quality trim reads. Contains arguments used in OLC Assembly Pipeline, but these can\n be overwritten by using keyword parameters.\n :param forward_in: Forward reads you want to quality trim.\n :param returncmd: If set to true, function will return t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_acceptable_xmx API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_acceptable_xmx API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | BBTools can have their memory set manually. This will check that the memory setting is actually valid
:param xmx_string: The users requested XMX, as a string.
:return: True if the Xmx string will be accepted by BBTools, otherwise false. | "BBTools can have their memory set manually. This will check that the memory setting is actually valid\n :param xmx_string: The users requested XMX, as a string.\n :return: True if the Xmx string will be accepted by BBTools, otherwise false." | 56 | false | OLC-Bioinformatics/ConFindr | check_acceptable_xmx | 38,707 | |
LDU_FT/mgbarrero/xbob.db.atvskeystroke/model_ids | LDU_FT | [
"<BEGIN>\n## `dumplist`",
"Dumps lists of files based on your criteria\n<END>",
"<BEGIN>\n## `checkfiles`",
"Checks existence of files based on your criteria\n<END>",
"<BEGIN>\n## `reverse`",
"Returns a list of file database identifiers given the path stems\n<END>",
"<BEGIN>\n## `path`",
"Returns a li... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the model_ids API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the model_ids API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Returns a list of model ids for the specific query by the user.
Models correspond to Clients for the XM2VTS database (At most one model per identity).
Keyword Parameters:
protocol
Ignored.
groups
The groups to which the subjects attached to the models belong ('dev', 'eval', 'world')
... | "Returns a list of model ids for the specific query by the user.\n Models correspond to Clients for the XM2VTS database (At most one model per identity).\n\n Keyword Parameters:\n\n protocol\n Ignored.\n\n groups\n The groups to which the subjects attached to the models belong ('dev', 'eval', '... | 45 | false | mgbarrero/xbob.db.atvskeystroke | model_ids | 38,708 | |
LDU_FT/zencoder/zencoder-py/put | LDU_FT | [
"<BEGIN>\n## `delete`",
"Executes an HTTP DELETE request for the given URL.",
" ``params`` should be a dictionary\n<END>",
"<BEGIN>\n## `get`",
"Executes an HTTP GET request for the given URL.",
" ``data`` should be a dictionary of url parameters\n<END>",
"<BEGIN>\n## `post`",
"E... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the put API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the put API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Executes an HTTP PUT request for the given URL. | "Executes an HTTP PUT request for the given URL." | 33 | false | zencoder/zencoder-py | put | 38,709 | |
LDU_FT/rdireen/spherepy/matplotlibensure | LDU_FT | [
"<BEGIN>\n## `sbessely`",
"Returns a vector of spherical bessel functions yn:\r",
" x: The argument.\r\n N: values of n will run from 0 to N-1.\n<END>",
"<BEGIN>\n## `sbesselj`",
"Returns a vector of spherical bessel functions jn:\r",
" x: The argument.\r\n N: values of... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the matplotlibensure API.
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 matplotlibensure API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | If matplotlib isn't installed, this decorator alerts the user and
suggests how one might obtain the package. | "If matplotlib isn't installed, this decorator alerts the user and \r\n suggests how one might obtain the package." | 194 | false | rdireen/spherepy | matplotlibensure | 38,710 | |
LDU_FT/eventbrite/eventbrite-sdk-python/get_venues_events | LDU_FT | [
"<BEGIN>\n## `objectify`",
"Converts the returned value from a models.Payload to\n a models.EventbriteObject. Used by the access methods\n of the client.Eventbrite object\n<END>",
"<BEGIN>\n## `get_category`",
"GET /categories/:id/\n Gets a :format:`category` by ID as ``category``.\n<END>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_venues_events API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_venues_events API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | GET /venues/:id/events/
Returns events of a given :format:`venue`. | "GET /venues/:id/events/\n Returns events of a given :format:`venue`." | 194 | false | eventbrite/eventbrite-sdk-python | get_venues_events | 38,711 | |
LDU_FT/tsnaomi/finnsyll/apply_T5 | LDU_FT | [
"<BEGIN>\n## `syllabify`",
"Syllabify the given word, whether simplex or complex.\n<END>",
"<BEGIN>\n## `apply_T2`",
"There is a syllable boundary within a VV sequence of two nonidentical\n vowels that are not a genuine diphthong, e.g., [ta.e], [ko.et.taa].\n<END>",
"<BEGIN>\n## `apply_T5`",
"If a (V)V... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the apply_T5 API.
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 apply_T5 API.
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... | If a (V)VVV sequence contains a VV sequence that could be an /i/-final
diphthong, there is a syllable boundary between it and the third vowel,
e.g., [raa.ois.sa], [huo.uim.me], [la.eis.sa], [sel.vi.äi.si], [tai.an],
[säi.e], [oi.om.me]. | "If a (V)VVV sequence contains a VV sequence that could be an /i/-final\n diphthong, there is a syllable boundary between it and the third vowel,\n e.g., [raa.ois.sa], [huo.uim.me], [la.eis.sa], [sel.vi.äi.si], [tai.an],\n [säi.e], [oi.om.me]." | 108 | false | tsnaomi/finnsyll | apply_T5 | 38,712 | |
LDU_FT/jxtech/wechatpy/fetch_access_token | LDU_FT | [
"<BEGIN>\n## `add_articles`",
"新增永久图文素材\n 详情请参考\n https://mp.weixin.qq.com/wiki?id=mp1494572718_WzHIY",
" :param articles: 图文素材数组\n :type articles: list[dict]\n :return: 返回的 JSON 数据包\n<END>",
"<BEGIN>\n## `add`",
"新增其它类型永久素材\n 详情请参考\n http://mp.weixin.qq.com/... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetch_access_token API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetch_access_token API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | 获取 access token
详情请参考 http://mp.weixin.qq.com/wiki/index.php?title=通用接口文档
:return: 返回的 JSON 数据包 | "获取 access token\n 详情请参考 http://mp.weixin.qq.com/wiki/index.php?title=通用接口文档\n\n :return: 返回的 JSON 数据包" | 813 | false | jxtech/wechatpy | fetch_access_token | 38,713 | |
LDU_FT/SiLab-Bonn/basil/get_modules | LDU_FT | [
"<BEGIN>\n## `write`",
"Write to dummy memory",
" Parameters\n ----------\n addr : int\n The register address.\n data : list, tuple\n Data (byte array) to be written.",
" Returns\n -------\n nothing\n<END>",
"<BEGIN>\n## `read`",
"Para... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_modules API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_modules API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Getting modules by type name.
Parameters
----------
type_name : string
Type name of the modules to be returned.
Returns
-------
List of modules of given type name else empty list. | "Getting modules by type name.\n\n Parameters\n ----------\n type_name : string\n Type name of the modules to be returned.\n\n Returns\n -------\n List of modules of given type name else empty list." | 147 | false | SiLab-Bonn/basil | get_modules | 38,714 | |
LDU_FT/deepmind/pysc2/_abilities | LDU_FT | [
"<BEGIN>\n## `DEFINE_point`",
"Registers a flag whose value parses as a point.\n<END>",
"<BEGIN>\n## `spatial`",
"Choose the action space for the action proto.\n<END>",
"<BEGIN>\n## `select_unit`",
"Select a specific unit from the multi-unit selection.\n<END>",
"<BEGIN>\n## `control_group`",
"Act on a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _abilities API.
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 _abilities API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Return the list of abilities filtered by `fn`. | "Return the list of abilities filtered by `fn`." | 300 | false | deepmind/pysc2 | _abilities | 38,715 | |
LDU_FT/sloria/konch/context_list2dict | LDU_FT | [
"<BEGIN>\n## `transform`",
"Expand pattern into an (almost) equivalent one, but with single Either.",
" Example: ((-a | -b) (-c | -d)) => (-a -c | -a -d | -b -c | -b -d)\n Quirks: [-a] => (-a), (-a...) => (-a -a)\n<END>",
"<BEGIN>\n## `parse_long`",
"long ::= '--' chars [ ( ' ' | '=' ) chars ] ;\n<END... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the context_list2dict API.
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 context_list2dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Converts a list of objects (functions, classes, or modules) to a
dictionary mapping the object names to the objects. | "Converts a list of objects (functions, classes, or modules) to a\n dictionary mapping the object names to the objects." | 44 | false | sloria/konch | context_list2dict | 38,716 | |
LDU_FT/jahuth/litus/space | LDU_FT | [
"<BEGIN>\n## `create_timing_signals`",
"Creates a linear list/np.array of timestamps and a list of integers, specifying the sequence \n and number of levels.",
" The levels are first rotated on the first dimension, then the second and so on. If the \n last dimension is -1, the number of lev... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the space API.
Each 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 space API.
Each 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... | Computes adequat binning for the dimension (on the values).
bins: number of bins or None
units: str or None
conversion_function: function to convert units to other units
resolution: step size or None
end_at_end: Boolean
... | "Computes adequat binning for the dimension (on the values).\n\n bins: number of bins or None\n units: str or None\n conversion_function: function to convert units to other units\n resolution: step size or None\n end_at_end: Boolean\n ... | 190 | false | jahuth/litus | space | 38,717 | |
LDU_FT/ga4gh/ga4gh-schemas/getProtocolClasses | LDU_FT | [
"<BEGIN>\n## `setAttribute`",
"Takes the values of an attribute value list and attempts to append\n attributes of the proper type, inferred from their Python type.\n<END>",
"<BEGIN>\n## `deepSetAttr`",
"Sets a deep attribute on an object by resolving a dot-delimited\n path. If path does not exist an `At... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getProtocolClasses 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 getProtocolClasses 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 all the protocol classes that are subclasses of the
specified superclass. Only 'leaf' classes are returned,
corresponding directly to the classes defined in the protocol. | "Returns all the protocol classes that are subclasses of the\n specified superclass. Only 'leaf' classes are returned,\n corresponding directly to the classes defined in the protocol." | 26 | false | ga4gh/ga4gh-schemas | getProtocolClasses | 38,718 | |
LDU_FT/mdavidsaver/p4p/gcstats | LDU_FT | [
"<BEGIN>\n## `_sync`",
"I will wait until all pending handlers cothreads have completed\n<END>",
"<BEGIN>\n## `close`",
"Close PV, disconnecting any clients.",
" :param bool destroy: Indicate \"permanent\" closure. Current clients will not see subsequent open().\n :param bool sync: When block... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gcstats API.
Each 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 gcstats API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Count the number of instances of each type/class
:returns: A dict() mapping type (as a string) to an integer number of references | "Count the number of instances of each type/class\n\n :returns: A dict() mapping type (as a string) to an integer number of references" | 201 | false | mdavidsaver/p4p | gcstats | 38,719 | |
LDU_FT/ARMmbed/mbed-connector-api-python/deleteAllSubscriptions | LDU_FT | [
"<BEGIN>\n## `getConnectorVersion`",
"GET the current Connector version.",
"\t\t:returns: asyncResult object, populates error and result fields\n\t\t:rtype: asyncResult\n<END>",
"<BEGIN>\n## `getEndpoints`",
"Get list of all endpoints on the domain.",
"\t\t:param str typeOfEndpoint: Optional filter endpo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the deleteAllSubscriptions 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 deleteAllSubscriptions API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Delete all subscriptions on the domain (all endpoints, all resources)
:return: successful ``.status_code`` / ``.is_done``. Check the ``.error``
:rtype: asyncResult | "Delete all subscriptions on the domain (all endpoints, all resources)\n\t\t\n\t\t:return: successful ``.status_code`` / ``.is_done``. Check the ``.error``\n\t\t:rtype: asyncResult" | 56 | false | ARMmbed/mbed-connector-api-python | deleteAllSubscriptions | 38,720 | |
LDU_FT/numberoverzero/bloop/push | LDU_FT | [
"<BEGIN>\n## `ordered`",
"Return sorted version of nested dicts/lists for comparing.",
" Modified from:\n http://stackoverflow.com/a/25851972\n<END>",
"<BEGIN>\n## `dump_key`",
"dump the hash (and range, if there is one) key(s) of an object into\n a dynamo-friendly format.",
" returns {dynamo_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the push API.
Each 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 push API.
Each 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... | Push a new record into the buffer
:param dict record: new record
:param shard: Shard the record came from
:type shard: :class:`~bloop.stream.shard.Shard` | "Push a new record into the buffer\n\n :param dict record: new record\n :param shard: Shard the record came from\n :type shard: :class:`~bloop.stream.shard.Shard`" | 288 | false | numberoverzero/bloop | push | 38,721 | |
LDU_FT/jalanb/pysyte/conflicted | LDU_FT | [
"<BEGIN>\n## `get_caselessly`",
"Find the sought key in the given dictionary regardless of case",
" >>> things = {'Fred' : 9}\n >>> print(get_caselessly(things, 'fred'))\n 9\n<END>",
"<BEGIN>\n## `append_value`",
"Append those items to the values for that key\n<END>",
"<BEGIN>\n## `extend_values`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the conflicted API.
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 conflicted API.
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... | Whether there are any conflict markers in that file | "Whether there are any conflict markers in that file" | 224 | false | jalanb/pysyte | conflicted | 38,722 | |
LDU_FT/knipknap/Gelatin/generate_to_file | LDU_FT | [
"<BEGIN>\n## `get_child`",
"Returns the first child that matches the given name and\n attributes.\n<END>",
"<BEGIN>\n## `create`",
"Creates the given node, regardless of whether or not it already\n exists.\n Returns the new node.\n<END>",
"<BEGIN>\n## `add`",
"Creates the given node i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_to_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_to_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Like generate(), but writes the output to the given output file
instead.
:type converter: compiler.Context
:param converter: The compiled converter.
:type input_file: str
:param input_file: Name of a file to convert.
:type output_file: str
:param output_file: The output filename.
:ty... | "Like generate(), but writes the output to the given output file\n instead.\n\n :type converter: compiler.Context\n :param converter: The compiled converter.\n :type input_file: str\n :param input_file: Name of a file to convert.\n :type output_file: str\n :param output_file: The output filename... | 25 | false | knipknap/Gelatin | generate_to_file | 38,723 | |
LDU_FT/Alexis-benoist/eralchemy/markdown_file_to_intermediary | LDU_FT | [
"<BEGIN>\n## `filter_lines_from_comments`",
"Filter the lines from comments and non code lines.\n<END>",
"<BEGIN>\n## `_check_no_current_table`",
"Raises exception if we try to add a relation or a column\n with no current table.\n<END>",
"<BEGIN>\n## `markdown_file_to_intermediary`",
"Parse a file and ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the markdown_file_to_intermediary 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 markdown_file_to_intermediary API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | Parse a file and return to intermediary syntax. | "Parse a file and return to intermediary syntax." | 39 | false | Alexis-benoist/eralchemy | markdown_file_to_intermediary | 38,724 | |
LDU_FT/nefarioustim/parker/load_site_config | LDU_FT | [
"<BEGIN>\n## `save_media`",
"Store any media within model.media_list.\n<END>",
"<BEGIN>\n## `get_proxy`",
"Return a random proxy from proxy config.\n<END>",
"<BEGIN>\n## `get`",
"Return Requests response to GET request.\n<END>",
"<BEGIN>\n## `get_content`",
"Return content from URI if Response status ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_site_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 ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_site_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 ... | Load and return site configuration as a dict. | "Load and return site configuration as a dict." | 34 | false | nefarioustim/parker | load_site_config | 38,725 | |
LDU_FT/neptune-ml/steppy/display_upstream_structure | LDU_FT | [
"<BEGIN>\n## `initialize_logger`",
"Initialize steppy logger.",
" This logger is used throughout the steppy library to report computation progress.",
" Example:",
" Simple use of steppy logger:",
" .. code-block:: python",
" initialize_logger()\n logger = get_lo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the display_upstream_structure API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the display_upstream_structure API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Displays pipeline structure in the jupyter notebook.
Args:
structure_dict (dict): dict returned by
:func:`~steppy.base.Step.upstream_structure`. | "Displays pipeline structure in the jupyter notebook.\n\n Args:\n structure_dict (dict): dict returned by\n :func:`~steppy.base.Step.upstream_structure`." | 57 | false | neptune-ml/steppy | display_upstream_structure | 38,726 | |
LDU_FT/wdbm/datavision/list_element_combinations_variadic | LDU_FT | [
"<BEGIN>\n## `normalize_to_range`",
"This function normalizes values of a list to a specified range and returns\n the original object if the values are not of the types integer or float.\n<END>",
"<BEGIN>\n## `list_element_combinations_variadic`",
"This function accepts a specification of lists of elements... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_element_combinations_variadic API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_element_combinations_variadic API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its... | This function accepts a specification of lists of elements for each place in
lists in the form of a list, the elements of which are lists of possible
elements and returns a list of lists corresponding to the combinations of
elements of the specification with varying numbers of elements.
For example, th... | "This function accepts a specification of lists of elements for each place in\n lists in the form of a list, the elements of which are lists of possible\n elements and returns a list of lists corresponding to the combinations of\n elements of the specification with varying numbers of elements.\n\n For examp... | 29 | false | wdbm/datavision | list_element_combinations_variadic | 38,727 | |
LDU_FT/wheerd/multiset/difference | LDU_FT | [
"<BEGIN>\n## `isdisjoint`",
"r\"\"\"Return True if the set has no elements in common with other.",
" Sets are disjoint iff their intersection is the empty set.",
" >>> ms = Multiset('aab')\n >>> ms.isdisjoint('bc')\n False\n >>> ms.isdisjoint(Multiset('ccd'))\n True",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the difference API.
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 difference API.
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... | r"""Return a new multiset with all elements from the others removed.
>>> ms = Multiset('aab')
>>> sorted(ms.difference('bc'))
['a', 'a']
You can also use the ``-`` operator for the same effect. However, the operator version
will only accept a set as other operator, not any iter... | "r\"\"\"Return a new multiset with all elements from the others removed.\n\n >>> ms = Multiset('aab')\n >>> sorted(ms.difference('bc'))\n ['a', 'a']\n\n You can also use the ``-`` operator for the same effect. However, the operator version\n will only accept a set as other operator, n... | 117 | false | wheerd/multiset | difference | 38,728 | |
LDU_FT/andy-z/ged4py/format | LDU_FT | [
"<BEGIN>\n## `guess_codec`",
"Look at file contents and guess its correct encoding.",
" File must be open in binary mode and positioned at offset 0. If BOM\n record is present then it is assumed to be UTF-8 or UTF-16 encoded\n file. GEDCOM header is searched for CHAR record and encoding name\n is ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format API.
Each 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 format API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Format name for output.
:return: Formatted name representation. | "Format name for output.\n\n :return: Formatted name representation." | 101 | false | andy-z/ged4py | format | 38,729 | |
LDU_FT/blockstack/blockstack-core/get_name_and_history | LDU_FT | [
"<BEGIN>\n## `anyword_substring_search_inner`",
"return True if ANY target_word matches a query_word\n<END>",
"<BEGIN>\n## `search_people_by_bio`",
"queries lucene index to find a nearest match, output is profile username\n<END>",
"<BEGIN>\n## `order_search_results`",
"order of results should be a) query ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_name_and_history API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_name_and_history API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Get the current name record and its history
(this is a replacement for proxy.get_name_blockchain_record())
Return {'status': True, 'record': ...} on success, where .record.history is defined as {block_height: [{history}, {history}, ...], ...}
Return {'error': ...} on error | "Get the current name record and its history\n (this is a replacement for proxy.get_name_blockchain_record())\n Return {'status': True, 'record': ...} on success, where .record.history is defined as {block_height: [{history}, {history}, ...], ...}\n Return {'error': ...} on error" | 1,580 | true | blockstack/blockstack-core | get_name_and_history | 38,730 | |
LDU_FT/joferkington/mpldatacursor/rectangle_props | LDU_FT | [
"<BEGIN>\n## `_event_ignored`",
"Decide whether or not to ignore a click/hover event.\n<END>",
"<BEGIN>\n## `_show_annotation_box`",
"Update an existing box or create an annotation box for an event.\n<END>",
"<BEGIN>\n## `event_info`",
"Get a dict of info for the artist selected by \"event\".\n<END>",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rectangle_props API.
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 rectangle_props API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Returns the width, height, left, and bottom of a rectangle artist.
Parameters
-----------
event : PickEvent
The pick event to process
Returns
--------
A dict with keys:
`width` : The width of the rectangle
`height` : The height of the rectangle
`left` : The mini... | "Returns the width, height, left, and bottom of a rectangle artist.\n\n Parameters\n -----------\n event : PickEvent\n The pick event to process\n\n Returns\n --------\n A dict with keys:\n `width` : The width of the rectangle\n `height` : The height of the rectangle\n `lef... | 80 | false | joferkington/mpldatacursor | rectangle_props | 38,731 | |
LDU_FT/trombastic/PyScada/stop | LDU_FT | [
"<BEGIN>\n## `_reinit_daq_daemons`",
"update the daq daemon configuration when changes be applied in the models\n<END>",
"<BEGIN>\n## `connect`",
"establish a connection to the Instrument\n<END>",
"<BEGIN>\n## `find_gap`",
"try to find a address gap in the list of modbus registers\n<END>",
"<BEGIN>\n## ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stop API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stop API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | stop the scheduler and stop all processes | "stop the scheduler and stop all processes" | 60 | false | trombastic/PyScada | stop | 38,732 | |
LDU_FT/jbasko/configmanager/loads | LDU_FT | [
"<BEGIN>\n## `values`",
"Returns a mapping of items to their new values. The mapping includes only items whose value or raw string value\n has changed in the context.\n<END>",
"<BEGIN>\n## `changes`",
"Returns a mapping of items to their effective change objects which include the old values\n an... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the loads API.
Each 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 loads API.
Each 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... | Load configuration values from the specified source string.
Args:
config_str:
as_defaults (bool): if ``True``, contents of ``source`` will be treated as schema of configuration items. | "Load configuration values from the specified source string.\n\n Args:\n config_str:\n as_defaults (bool): if ``True``, contents of ``source`` will be treated as schema of configuration items." | 120 | false | jbasko/configmanager | loads | 38,733 | |
LDU_FT/cedrus-opensource/pyxid/set_pulse_duration | LDU_FT | [
"<BEGIN>\n## `available_ports`",
"Scans COM1 through COM255 for available serial ports",
" returns a list of available ports\n<END>",
"<BEGIN>\n## `get_current_response`",
"reads the current response data from the object and returns\n it in a dict.",
" Currently 'time' is reported as ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_pulse_duration 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 set_pulse_duration 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... | Sets the pulse duration for events in miliseconds when activate_line
is called | "Sets the pulse duration for events in miliseconds when activate_line\n is called" | 43 | false | cedrus-opensource/pyxid | set_pulse_duration | 38,734 | |
LDU_FT/coded-by-hand/mass/get_revision | LDU_FT | [
"<BEGIN>\n## `get_requirement_from_url`",
"Get a requirement from the URL, if possible. This looks for #egg\n in the URL\n<END>",
"<BEGIN>\n## `package_to_requirement`",
"Translate a name like Foo-1.2 to Foo==1.3\n<END>",
"<BEGIN>\n## `get_mirrors`",
"Return the list of mirrors from the last record fo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_revision API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_revision API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Return the maximum revision for all files under a given location | "Return the maximum revision for all files under a given location" | 105 | false | coded-by-hand/mass | get_revision | 38,735 | |
LDU_FT/cocaine/cocaine-tools/group_pop | LDU_FT | [
"<BEGIN>\n## `reelect_app`",
"tries to connect to the same app on differnet host from dist-info\n<END>",
"<BEGIN>\n## `expr`",
"expr ::= term ((AND | OR) term)*\n term ::= factor ((EQ | NE) factor)*\n factor ::= func | const | LPAREN expr RPAREN\n func ::= lit LPAREN expr (,expr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the group_pop API.
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 group_pop API.
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... | Remove application from the specified routing group. | "Remove application from the specified routing group." | 127 | false | cocaine/cocaine-tools | group_pop | 38,736 | |
LDU_FT/samghelms/mathviz/json | LDU_FT | [
"<BEGIN>\n## `get_next_token`",
"\"eats\" up the string until it hits an ending character to get valid leaf expressions.\n For example, given \\\\Phi_{z}(L) = \\\\sum_{i=1}^{N} \\\\frac{1}{C_{i} \\\\times V_{\\\\rm max, i}},\n this function would pull out \\\\Phi, stopping at _\n @ string: str\n retur... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 do... | If the ``Content-Type`` header is ``application/json`` or
``application/json-rpc``, this property holds the parsed content
of the request body. Only requests smaller than :attr:`MEMFILE_MAX`
are processed to avoid memory exhaustion.
Invalid JSON raises a 400 error respons... | "If the ``Content-Type`` header is ``application/json`` or\n ``application/json-rpc``, this property holds the parsed content\n of the request body. Only requests smaller than :attr:`MEMFILE_MAX`\n are processed to avoid memory exhaustion.\n Invalid JSON raises a 400 error re... | 116 | false | samghelms/mathviz | json | 38,737 | |
LDU_FT/useblocks/sphinxcontrib-needs/register_func | LDU_FT | [
"<BEGIN>\n## `row_col_maker`",
"Creates and returns a column.",
" :param app: current sphinx app\n :param fromdocname: current document\n :param all_needs: Dictionary of all need objects\n :param need_info: need_info object, which stores all related need data\n :param need_key: The key to access ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_func API.
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 register_func API.
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... | Registers a new sphinx-needs function for the given sphinx environment.
:param env: Sphinx environment
:param need_function: Python method
:return: None | "Registers a new sphinx-needs function for the given sphinx environment.\n :param env: Sphinx environment\n :param need_function: Python method\n :return: None" | 155 | false | useblocks/sphinxcontrib-needs | register_func | 38,738 | |
LDU_FT/python-thumbnails/python-thumbnails/colormode | LDU_FT | [
"<BEGIN>\n## `text_filter`",
"A text-filter helper, used in ``markdown_thumbnails``-filter and ``html_thumbnails``-filter.\n It can be used to build custom thumbnail text-filters.",
" :param regex_base: A string with a regex that contains ``%(captions)s`` and ``%(image)s`` where\n th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the colormode API.
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 colormode API.
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... | Wrapper for ``engine_colormode``.
:param image:
:param options:
:return: | "Wrapper for ``engine_colormode``.\n\n :param image:\n :param options:\n :return:" | 41 | false | python-thumbnails/python-thumbnails | colormode | 38,739 | |
LDU_FT/tobgu/pyrsistent/_sequence_field | LDU_FT | [
"<BEGIN>\n## `pdeque`",
"Return deque containing the elements of iterable. If maxlen is specified then\n len(iterable) - maxlen elements are discarded from the left to if len(iterable) > maxlen.",
" >>> pdeque([1, 2, 3])\n pdeque([1, 2, 3])\n >>> pdeque([1, 2, 3, 4], maxlen=2)\n pdeque([3, 4], ma... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _sequence_field API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _sequence_field API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Create checked field for either ``PSet`` or ``PVector``.
:param checked_class: ``CheckedPSet`` or ``CheckedPVector``.
:param item_type: The required type for the items in the set.
:param optional: If true, ``None`` can be used as a value for
this field.
:param initial: Initial value to pass to ... | "Create checked field for either ``PSet`` or ``PVector``.\n\n :param checked_class: ``CheckedPSet`` or ``CheckedPVector``.\n :param item_type: The required type for the items in the set.\n :param optional: If true, ``None`` can be used as a value for\n this field.\n :param initial: Initial value to p... | 130 | false | tobgu/pyrsistent | _sequence_field | 38,740 | |
LDU_FT/PixxxeL/python-html-purifier/handle_entityref | LDU_FT | [
"<BEGIN>\n## `feed`",
"Main method for purifying HTML (overrided)\n<END>",
"<BEGIN>\n## `handle_starttag`",
"Handler of starting tag processing (overrided, private)\n<END>",
"<BEGIN>\n## `handle_endtag`",
"Handler of ending tag processing (overrided, private)\n<END>",
"<BEGIN>\n## `handle_data`",
"Han... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_entityref API.
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 handle_entityref API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Handler of processing entity (overrided, private) | "Handler of processing entity (overrided, private)" | 12 | false | PixxxeL/python-html-purifier | handle_entityref | 38,741 | |
LDU_FT/basler/pypylon/handle_typical_memberdefs_no_overload | LDU_FT | [
"<BEGIN>\n## `shift`",
"Return a list corresponding to the lines of text in the `txt` list\n indented by `indent`. Prepend instead the string given in `prepend` to the\n beginning of the first line. Note that if len(prepend) > len(indent), then\n `prepend` will be truncated (doing better is tricky!). Thi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_typical_memberdefs_no_overload API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_typical_memberdefs_no_overload API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates ... | Produce standard documentation for memberdef_nodes. | "Produce standard documentation for memberdef_nodes." | 42 | false | basler/pypylon | handle_typical_memberdefs_no_overload | 38,742 | |
LDU_FT/revelc/pyaccumulo/addSplits | LDU_FT | [
"<BEGIN>\n## `following_key`",
"Returns the key immediately following the input key - based on the Java implementation found in\n org.apache.accumulo.core.data.Key, function followingKey(PartialKey part)\n :param key: the key to be followed\n :return: a key that immediately follows the input key\n<END>",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the addSplits API.
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 addSplits API.
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... | Parameters:
- login
- tableName
- splits | "Parameters:\n - login\n - tableName\n - splits" | 110 | false | revelc/pyaccumulo | addSplits | 38,743 | |
LDU_FT/jingming/spotify/list | LDU_FT | [
"<BEGIN>\n## `auth_string`",
"Get the auth string. If the token is expired and auto refresh enabled,\n a new token will be fetched",
" :return: the auth string\n :rtype: str\n<END>",
"<BEGIN>\n## `tracks`",
"Tracks list context",
" :return: Tracks list context\n<END>",
"<BEGI... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | List albums
:param List[str] ids: List of albums ids
:param str market: Market locale
:return: Page of Albums
:rtype: AlbumPage | "List albums\n\n :param List[str] ids: List of albums ids\n :param str market: Market locale\n :return: Page of Albums\n :rtype: AlbumPage" | 18 | false | jingming/spotify | list | 38,744 | |
LDU_FT/adewes/blitzdb/all_query | LDU_FT | [
"<BEGIN>\n## `commit`",
"Commit all pending transactions to the database.",
" .. admonition:: Warning",
" This operation can be **expensive** in runtime if a large number of\n documents (>100.000) is contained in the database, since it will\n cause all database indexes ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the all_query API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the all_query API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Match arrays that contain all elements in the query. | "Match arrays that contain all elements in the query." | 141 | false | adewes/blitzdb | all_query | 38,745 | |
LDU_FT/uyar/pygenstub/generate_import_from | LDU_FT | [
"<BEGIN>\n## `get_fields`",
"Get the field names and their values from a node.",
" :sig: (Document, str) -> Dict[str, str]\n :param node: Node to get the fields from.\n :param fields_tag: Tag of child node that contains the fields.\n :return: Names and values of fields.\n<END>",
"<BEGIN>\n## `extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_import_from 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 generate_import_from API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Generate an import line.
:sig: (str, Set[str]) -> str
:param module_: Name of module to import the names from.
:param names: Names to import.
:return: Import line in stub code. | "Generate an import line.\n\n :sig: (str, Set[str]) -> str\n :param module_: Name of module to import the names from.\n :param names: Names to import.\n :return: Import line in stub code." | 50 | false | uyar/pygenstub | generate_import_from | 38,746 | |
LDU_FT/myth/pepper8/generate | LDU_FT | [
"<BEGIN>\n## `parse`",
"Reads all lines from the current data source and yields each FileResult objects\n<END>",
"<BEGIN>\n## `analyze`",
"Analyzes the parsed results from Flake8 or PEP 8 output and creates FileResult instances\n :param output_file: If specified, output will be written to this file ins... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate API.
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 generate API.
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... | Generates an HTML file based on data from the Parser object and Jinja2 templates
:param output_file: If specified, output will be written to this file instead of stdout. | "Generates an HTML file based on data from the Parser object and Jinja2 templates\n :param output_file: If specified, output will be written to this file instead of stdout." | 14 | false | myth/pepper8 | generate | 38,747 | |
LDU_FT/project-ncl/pnc-cli/delete_build_configuration | LDU_FT | [
"<BEGIN>\n## `get_environment`",
"Get a specific Environment by name or ID\n<END>",
"<BEGIN>\n## `create_new`",
"Creates a new License",
" This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please define a `callback` function\n to be invoked... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_build_configuration API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_build_configuration API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Delete an existing BuildConfiguration
:param id:
:param name:
:return: | "Delete an existing BuildConfiguration\n :param id:\n :param name:\n :return:" | 527 | false | project-ncl/pnc-cli | delete_build_configuration | 38,748 | |
LDU_FT/wummel/dosage/get_plugins | LDU_FT | [
"<BEGIN>\n## `exception`",
"Write error message with traceback info.\n<END>",
"<BEGIN>\n## `write`",
"Write message with indentation, context and optional timestamp.\n<END>",
"<BEGIN>\n## `contains_case_insensitive`",
"Check if key is in adict. The search is case insensitive.\n<END>",
"<BEGIN>\n## `fini... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_plugins API.
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_plugins API.
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... | Find all class objects in all modules.
@param modules: the modules to search
@ptype modules: iterator of modules
@return: found classes
@rytpe: iterator of class objects | "Find all class objects in all modules.\n @param modules: the modules to search\n @ptype modules: iterator of modules\n @return: found classes\n @rytpe: iterator of class objects" | 141 | false | wummel/dosage | get_plugins | 38,749 | |
LDU_FT/praekeltfoundation/seed-stage-based-messaging/post | LDU_FT | [
"<BEGIN>\n## `is_within_limits`",
"Returns True if the difference between date and any value in dates\n is less than or equal to limit.\n<END>",
"<BEGIN>\n## `calculate_retry_delay`",
"Calculates an exponential backoff for retry attempts with a small\n amount of jitter.\n<END>",
"<BEGIN>\n## `run`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the post API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the post API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Validates subscription data before creating Outbound message | "Validates subscription data before creating Outbound message" | 37 | false | praekeltfoundation/seed-stage-based-messaging | post | 38,750 | |
LDU_FT/django-danceschool/django-danceschool/customerMeetsRequirement | LDU_FT | [
"<BEGIN>\n## `get_context_data`",
"Add the list of registrations for the given series\n<END>",
"<BEGIN>\n## `get_context_data`",
"The URL to redirect to can be explicitly specified, or it can come\n from the site session history, or it can be the default admin success page\n as specified in the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the customerMeetsRequirement 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 customerMeetsRequirement API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | This method checks whether a given customer meets a given set of requirements. | "This method checks whether a given customer meets a given set of requirements." | 337 | false | django-danceschool/django-danceschool | customerMeetsRequirement | 38,751 | |
LDU_FT/bootphon/h5features/write | LDU_FT | [
"<BEGIN>\n## `init_group`",
"Initializes a HDF5 group compliant with the stored data.",
" This method creates the datasets 'items', 'labels', 'features'\n and 'index' and leaves them empty.",
" :param h5py.Group group: The group to initializes.\n :param float chunk_size: The size o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Write h5features data in a HDF5 file.
This function is a wrapper to the Writer class. It has three purposes:
* Check parameters for errors (see details below),
* Create Items, Times and Features objects
* Send them to the Writer.
:param str filename: HDF5 file to be writted, potentially serving
... | "Write h5features data in a HDF5 file.\n\n This function is a wrapper to the Writer class. It has three purposes:\n\n * Check parameters for errors (see details below),\n * Create Items, Times and Features objects\n * Send them to the Writer.\n\n :param str filename: HDF5 file to be writted, potentially ... | 119 | false | bootphon/h5features | write | 38,752 | |
LDU_FT/EdwinvO/pyutillib/str2dict | LDU_FT | [
"<BEGIN>\n## `previous_weekday`",
"Returns the last weekday before date",
" Args:\n date (datetime or datetime.date)\n Returns:\n (datetime or datetime.date)\n Raises:\n -\n<END>",
"<BEGIN>\n## `next_weekday`",
"Return the first weekday after date",
" Args:\n date (... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the str2dict API.
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 str2dict API.
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... | Extracts a dict from a string.
Args:
str_in (string) that contains python dict
Returns:
(dict) or None if no valid dict was found
Raises:
- | "Extracts a dict from a string.\n\n Args:\n str_in (string) that contains python dict\n Returns:\n (dict) or None if no valid dict was found\n Raises:\n -" | 49 | false | EdwinvO/pyutillib | str2dict | 38,753 | |
LDU_FT/thombashi/pathvalidate/validate_filename | LDU_FT | [
"<BEGIN>\n## `validate_symbol`",
"Verifying whether symbol(s) included in the ``text`` or not.",
" :param str text: Input text.\n :raises pathvalidate.InvalidCharError:\n If symbol(s) included in the ``text``.\n<END>",
"<BEGIN>\n## `replace_symbol`",
"Replace all of the symbols in the ``text``.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_filename API.
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 validate_filename API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Verifying whether the ``filename`` is a valid file name or not.
Args:
filename (str):
Filename to validate.
platform (str, optional):
.. include:: platform.txt
min_len (int, optional):
Minimum length of the ``filename``. The value must be greater or equal... | "Verifying whether the ``filename`` is a valid file name or not.\n\n Args:\n filename (str):\n Filename to validate.\n platform (str, optional):\n .. include:: platform.txt\n min_len (int, optional):\n Minimum length of the ``filename``. The value must be greater... | 47 | false | thombashi/pathvalidate | validate_filename | 38,754 | |
LDU_FT/mcs07/PubChemPy/compounds_to_frame | LDU_FT | [
"<BEGIN>\n## `request`",
"Construct API request from parameters and return the response.",
" Full specification at http://pubchem.ncbi.nlm.nih.gov/pug_rest/PUG_REST.html\n<END>",
"<BEGIN>\n## `get`",
"Request wrapper that automatically handles async requests.\n<END>",
"<BEGIN>\n## `get_json`",
"Reque... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compounds_to_frame 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 compounds_to_frame 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... | Construct a pandas :class:`~pandas.DataFrame` from a list of :class:`~pubchempy.Compound` objects.
Optionally specify a list of the desired :class:`~pubchempy.Compound` properties. | "Construct a pandas :class:`~pandas.DataFrame` from a list of :class:`~pubchempy.Compound` objects.\n\n Optionally specify a list of the desired :class:`~pubchempy.Compound` properties." | 83 | false | mcs07/PubChemPy | compounds_to_frame | 38,755 | |
LDU_FT/datosgobar/textar/_make_text_vectors | LDU_FT | [
"<BEGIN>\n## `make_classifier`",
"Entrenar un clasificador SVM sobre los textos cargados.",
" Crea un clasificador que se guarda en el objeto bajo el nombre `name`.",
" Args:\n name (str): Nombre para el clasidicador.\n ids (list): Se espera una lista de N ids de textos ya ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _make_text_vectors 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 _make_text_vectors 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... | Funcion para generar los vectores tf-idf de una lista de textos.
Args:
examples (list or str): Se espera un ejemplo o una lista de:
o bien ids, o bien textos.
Returns:
textvec (sparse matrix): Devuelve una matriz sparse que contiene
los vectores T... | "Funcion para generar los vectores tf-idf de una lista de textos.\n\n Args:\n examples (list or str): Se espera un ejemplo o una lista de:\n o bien ids, o bien textos.\n Returns:\n textvec (sparse matrix): Devuelve una matriz sparse que contiene\n los ve... | 24 | false | datosgobar/textar | _make_text_vectors | 38,756 | |
LDU_FT/TeamHG-Memex/json-lines/get_known_read_position | LDU_FT | [
"<BEGIN>\n## `open`",
"Context manager for opening and reading json lines files.\n If file extension suggests gzip (.gz or .gzip), file is\n decompressed on fly.",
" Pass broken=True if you expect the file can be truncated\n or broken otherwise; reader will try to recover as much data\n as possib... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_known_read_position API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_known_read_position API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Return a position in a file which is known to be read & handled.
It assumes a buffered file and streaming processing. | "Return a position in a file which is known to be read & handled.\n It assumes a buffered file and streaming processing." | 15 | false | TeamHG-Memex/json-lines | get_known_read_position | 38,757 | |
LDU_FT/SheffieldML/GPy/dlogpdf_link_dvar | LDU_FT | [
"<BEGIN>\n## `pdf_link`",
":param link_f: latent variables link(f)\n :type link_f: Nx1 array\n :param y: data\n :type y: Nx1 array\n :param Y_metadata: includes censoring information in dictionary key 'censored'\n :returns: likelihood evaluated for this point\n :rtype: fl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dlogpdf_link_dvar API.
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 dlogpdf_link_dvar API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Gradient of the log-likelihood function at y given link(f), w.r.t variance parameter (noise_variance)
.. math::
\\frac{d \\ln p(y_{i}|\\lambda(f_{i}))}{d\\sigma^{2}} = -\\frac{N}{2\\sigma^{2}} + \\frac{(y_{i} - \\lambda(f_{i}))^{2}}{2\\sigma^{4}}
:param link_f: latent variables link(f)
... | "Gradient of the log-likelihood function at y given link(f), w.r.t variance parameter (noise_variance)\n\n .. math::\n \\\\frac{d \\\\ln p(y_{i}|\\\\lambda(f_{i}))}{d\\\\sigma^{2}} = -\\\\frac{N}{2\\\\sigma^{2}} + \\\\frac{(y_{i} - \\\\lambda(f_{i}))^{2}}{2\\\\sigma^{4}}\n\n :param link_f: late... | 1,670 | true | SheffieldML/GPy | dlogpdf_link_dvar | 38,758 | |
LDU_FT/studionow/pybrightcove/_find_video | LDU_FT | [
"<BEGIN>\n## `has_option`",
"Wrapper around ConfigParser's ``has_option`` method.\n<END>",
"<BEGIN>\n## `get`",
"Wrapper around ConfigParser's ``get`` method.\n<END>",
"<BEGIN>\n## `item_lister`",
"A generator function for listing Video and Playlist objects.\n<END>",
"<BEGIN>\n## `get_manifest`",
"Con... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _find_video API.
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 _find_video API.
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... | Lookup and populate ``pybrightcove.video.Video`` object given a video
id or reference_id. | "Lookup and populate ``pybrightcove.video.Video`` object given a video\n id or reference_id." | 67 | false | studionow/pybrightcove | _find_video | 38,759 | |
LDU_FT/lionheart/django-pyodbc/adapt_datetimefield_value | LDU_FT | [
"<BEGIN>\n## `_get_sql_server_ver`",
"Returns the version of the SQL Server in use:\n<END>",
"<BEGIN>\n## `_switch_tz_offset_sql`",
"Returns the SQL that will convert field_name to UTC from tzname.\n<END>",
"<BEGIN>\n## `datetime_trunc_sql`",
"Given a lookup_type of 'year', 'month', 'day', 'hour', 'minute... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the adapt_datetimefield_value 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 adapt_datetimefield_value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Transform a datetime value to an object compatible with what is expected
by the backend driver for datetime columns. | "Transform a datetime value to an object compatible with what is expected\n by the backend driver for datetime columns." | 51 | false | lionheart/django-pyodbc | adapt_datetimefield_value | 38,760 | |
LDU_FT/joeferraro/mm/setPassword | LDU_FT | [
"<BEGIN>\n## `parse_json`",
"Parse a JSON file\n First remove comments and then use the json module package\n Comments look like :\n // ...\n or\n /*\n ...\n */\n<END>",
"<BEGIN>\n## `get_meta_type_by_dir`",
"> quick and dirty fix for users expe... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setPassword API.
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 setPassword API.
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... | Sets the specified user's password to the specified value. | "Sets the specified user's password to the specified value." | 71 | false | joeferraro/mm | setPassword | 38,761 | |
LDU_FT/KenjiTakahashi/td/edit | LDU_FT | [
"<BEGIN>\n## `save`",
"@decorator: Saves data after executing :func:.",
" Also performs modifications set as permanent options.\n<END>",
"<BEGIN>\n## `add`",
"Adds new item to the model.",
" Name argument may contain (ref:) syntax, which will be\n stripped down as needed.",
" :pa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the edit API.
Each 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 edit API.
Each 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... | Modifies :index: to specified data.
Every argument, which is not None, will get changed.
If parent is not None, the item will get reparented.
Use parent=-1 or parent='' for reparenting to top-level.
:index: Index of the item to edit.
:name: New name.
:priority: New pri... | "Modifies :index: to specified data.\n\n Every argument, which is not None, will get changed.\n\n If parent is not None, the item will get reparented.\n Use parent=-1 or parent='' for reparenting to top-level.\n\n :index: Index of the item to edit.\n :name: New name.\n :priorit... | 82 | false | KenjiTakahashi/td | edit | 38,762 | |
LDU_FT/metacloud/gilt/_get_version | LDU_FT | [
"<BEGIN>\n## `config`",
"Construct `Config` object and return a list.",
" :parse filename: A string containing the path to YAML file.\n :return: list\n<END>",
"<BEGIN>\n## `_get_files_config`",
"Construct `FileConfig` object and return a list.",
" :param src_dir: A string containing the source di... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_version API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_version API.
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... | Handle switching to the specified version and return None.
1. Fetch the origin.
2. Checkout the specified version.
3. Clean the repository before we begin.
4. Pull the origin when a branch; _not_ a commit id.
:param version: A string containing the branch/tag/sha to be exported.
:param debug: ... | "Handle switching to the specified version and return None.\n\n 1. Fetch the origin.\n 2. Checkout the specified version.\n 3. Clean the repository before we begin.\n 4. Pull the origin when a branch; _not_ a commit id.\n\n :param version: A string containing the branch/tag/sha to be exported.\n :para... | 50 | false | metacloud/gilt | _get_version | 38,763 | |
LDU_FT/getpelican/pelican-plugins/create_next_subsite | LDU_FT | [
"<BEGIN>\n## `get_gif`",
"Returns dict with gif informations from the API.\n<END>",
"<BEGIN>\n## `main`",
"Doing the regex parsing and running the create_html function.\n<END>",
"<BEGIN>\n## `filetime_from_git`",
"Update modification and creation times from git\n<END>",
"<BEGIN>\n## `update_hash_from_st... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_next_subsite 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 create_next_subsite 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... | Create the next subsite using the lang-specific config
If there are no more subsites in the generation queue, update all
the generators (interlink translations and removed content, add
variables and translations to template context). Otherwise get the
language and overrides for next the subsite in the ... | "Create the next subsite using the lang-specific config\n\n If there are no more subsites in the generation queue, update all\n the generators (interlink translations and removed content, add\n variables and translations to template context). Otherwise get the\n language and overrides for next the subsite i... | 247 | false | getpelican/pelican-plugins | create_next_subsite | 38,764 | |
LDU_FT/fulfilio/python-magento/info | LDU_FT | [
"<BEGIN>\n## `info`",
"Retrieve customer data",
" :param id: ID of customer\n :param attributes: `List` of attributes needed\n<END>",
"<BEGIN>\n## `search`",
"Retrieve order list by options using search api. Using this result can\n be paginated",
" :param options: Dictionary of... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted do... | Retrieve customer data
:param id: ID of customer
:param attributes: `List` of attributes needed | "Retrieve customer data\n\n :param id: ID of customer\n :param attributes: `List` of attributes needed" | 143 | false | fulfilio/python-magento | info | 38,765 | |
LDU_FT/CalebBell/fpi/A_cylinder | LDU_FT | [
"<BEGIN>\n## `Rizk`",
"r'''Calculates saltation velocity of the gas for pneumatic conveying,\n according to [1]_ as described in [2]_ and many others.",
" .. math::\n \\mu=\\left(\\frac{1}{10^{1440d_p+1.96}}\\right)\\left(Fr_s\\right)^{1100d_p+2.5}",
" Fr_s = \\frac{V_{salt}}{\\sqrt{gD}}",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the A_cylinder API.
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 A_cylinder API.
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... | r'''Returns the surface area of a cylinder.
.. math::
A = \pi D L + 2\cdot \frac{\pi D^2}{4}
Parameters
----------
D : float
Diameter of the cylinder, [m]
L : float
Length of the cylinder, [m]
Returns
-------
A : float
Surface area [m]
Examples
... | "r'''Returns the surface area of a cylinder.\n\n .. math::\n A = \\pi D L + 2\\cdot \\frac{\\pi D^2}{4}\n\n Parameters\n ----------\n D : float\n Diameter of the cylinder, [m]\n L : float\n Length of the cylinder, [m]\n\n Returns\n -------\n A : float\n Surface area [... | 121 | false | CalebBell/fpi | A_cylinder | 38,766 | |
LDU_FT/wolfhong/formic/match | LDU_FT | [
"<BEGIN>\n## `pylint_jenkins`",
"Run PyLint on the code and produce a report suitable for the\n Jenkins plugin 'violations'.",
" Note that there is a bug in the Violations plugin which means that\n absolute paths to source (produced by PyLint) are not read. The sed command\n removes the workspace pa... | 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... | Returns True if the argument matches the constant. | "Returns True if the argument matches the constant." | 98 | false | wolfhong/formic | match | 38,767 | |
LDU_FT/ECESeniorDesign/greenhouse_envmgmt/manage_pump | LDU_FT | [
"<BEGIN>\n## `TCA_select`",
"This function will write to the control register of the\r\n TCA module to select the channel that will be\r\n exposed on the TCA module.\r\n After doing this, the desired module can be used as it would be normally.\r\n (The caller sh... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the manage_pump API.
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 manage_pump API.
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... | Updates control module knowledge of pump requests.
If any sensor module requests water, the pump will turn on. | "Updates control module knowledge of pump requests.\n If any sensor module requests water, the pump will turn on." | 55 | false | ECESeniorDesign/greenhouse_envmgmt | manage_pump | 38,768 | |
LDU_FT/peterservice-rnd/robotframework-jsonvalidator/_validate_json | LDU_FT | [
"<BEGIN>\n## `_validate_json`",
"Validate JSON according to JSONSchema",
" *Args*:\\n\n _checked_json_: validated JSON.\n _schema_: schema that used for validation.\n<END>",
"<BEGIN>\n## `validate_jsonschema_from_file`",
"Validate JSON according to schema, loaded from a file.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _validate_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 ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _validate_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 ex... | Validate JSON according to JSONSchema
*Args*:\n
_checked_json_: validated JSON.
_schema_: schema that used for validation. | "Validate JSON according to JSONSchema\n\n *Args*:\\n\n _checked_json_: validated JSON.\n _schema_: schema that used for validation." | 67 | false | peterservice-rnd/robotframework-jsonvalidator | _validate_json | 38,769 | |
LDU_FT/ontio/ontology-python-sdk/get_ddo | LDU_FT | [
"<BEGIN>\n## `init`",
"This interface is used to call the TotalSupply method in ope4\n that initialize smart contract parameter.",
" :param acct: an Account class that used to sign the transaction.\n :param payer_acct: an Account class that used to pay for the transaction.\n :param g... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_ddo API.
Each 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_ddo API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | This interface is used to get a DDO object in the from of dict.
:param ont_id: the unique ID for identity.
:return: a description object of ONT ID in the from of dict. | "This interface is used to get a DDO object in the from of dict.\n\n :param ont_id: the unique ID for identity.\n :return: a description object of ONT ID in the from of dict." | 375 | false | ontio/ontology-python-sdk | get_ddo | 38,770 | |
LDU_FT/Bogdanp/anom-py/unindexed_properties | LDU_FT | [
"<BEGIN>\n## `_transactions`",
"list[Transaction]: The current stack of Transactions.\n<END>",
"<BEGIN>\n## `transactional`",
"Decorates functions so that all of their operations (except for\n queries) run inside a Datastore transaction.",
" Parameters:\n adapter(Adapter, optional): The Adapter t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unindexed_properties API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unindexed_properties API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | tuple[str]: The names of all the unindexed properties on this entity. | "tuple[str]: The names of all the unindexed properties on this entity." | 91 | false | Bogdanp/anom-py | unindexed_properties | 38,771 | |
LDU_FT/raamana/pyradigm/get_class | LDU_FT | [
"<BEGIN>\n## `check_compatibility`",
"Checks whether the given MLdataset instances are compatible",
" i.e. with same set of subjects, each beloning to the same class in all instances.",
" Checks the first dataset in the list against the rest, and returns a boolean array.",
" Parameters\n -------... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_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 extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_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 extract... | Returns a smaller dataset belonging to the requested classes.
Parameters
----------
class_id : str or list
identifier(s) of the class(es) to be returned.
Returns
-------
MLDataset
With subset of samples belonging to the given class(es).
... | "Returns a smaller dataset belonging to the requested classes.\n\n Parameters\n ----------\n class_id : str or list\n identifier(s) of the class(es) to be returned.\n\n Returns\n -------\n MLDataset\n With subset of samples belonging to the given class(es)... | 140 | false | raamana/pyradigm | get_class | 38,772 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.