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/ofir123/py-printer/_in_qtconsole | 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 _in_qtconsole API.
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 _in_qtconsole API.
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... | A small utility function which determines if we're running in QTConsole's context. | "A small utility function which determines if we're running in QTConsole's context." | 46 | false | ofir123/py-printer | _in_qtconsole | 40,373 | |
LDU_FT/KnorrFG/pyparadigm/process_char | LDU_FT | [
"<BEGIN>\n## `_normalize`",
"rescales a numpy array, so that min is 0 and max is 255\n<END>",
"<BEGIN>\n## `to_24bit_gray`",
"returns a matrix that contains RGB channels, and colors scaled\n from 0 to 255\n<END>",
"<BEGIN>\n## `apply_color_map`",
"returns an RGB matrix scaled by a matplotlib color map\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_char API.
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 process_char API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | This is a convinience method for use with
EventListener.wait_for_unicode_char(). In most cases it simply appends
char to buffer. Some replacements are done because presing return will
produce '\\r' but for most cases '\\n' would be desireable.
Also backspace cant just be added to a string either, ther... | "This is a convinience method for use with \n EventListener.wait_for_unicode_char(). In most cases it simply appends \n char to buffer. Some replacements are done because presing return will\n produce '\\\\r' but for most cases '\\\\n' would be desireable.\n Also backspace cant just be added to a string eit... | 86 | false | KnorrFG/pyparadigm | process_char | 40,374 | |
LDU_FT/testing-cabal/mock/assert_any_call | LDU_FT | [
"<BEGIN>\n## `_get_signature_object`",
"Given an arbitrary, possibly callable object, try to create a suitable\n signature object.\n Return a (reduced func, signature) tuple, or None.\n<END>",
"<BEGIN>\n## `_instance_callable`",
"Given an object, return True if the object is callable.\n For classes, ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the assert_any_call API.
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 assert_any_call API.
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... | assert the mock has been called with the specified arguments.
The assert passes if the mock has *ever* been called, unlike
`assert_called_with` and `assert_called_once_with` that only pass if
the call is the most recent one. | "assert the mock has been called with the specified arguments.\n\n The assert passes if the mock has *ever* been called, unlike\n `assert_called_with` and `assert_called_once_with` that only pass if\n the call is the most recent one." | 30 | false | testing-cabal/mock | assert_any_call | 40,375 | |
LDU_FT/blackecho/Deep-Learning-TensorFlow/_create_encode_layer | LDU_FT | [
"<BEGIN>\n## `fit`",
"Fit the model to the given data.",
" :param train_set: training data\n :param test_set: test data\n<END>",
"<BEGIN>\n## `_run_train_step`",
"Run a single training step.",
" :param data: input data\n :param mode: 'train' or 'test'.\n<END>",
"<BEGIN>\n## `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _create_encode_layer 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 _create_encode_layer API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Create the encoding layer of the network.
Returns
-------
self | "Create the encoding layer of the network.\n\n Returns\n -------\n\n self" | 284 | false | blackecho/Deep-Learning-TensorFlow | _create_encode_layer | 40,376 | |
LDU_FT/onelogin/python3-saml/process_slo | LDU_FT | [
"<BEGIN>\n## `get_issuer`",
"Gets the Issuer of the Logout Response Message\n :return: The Issuer\n :rtype: string\n<END>",
"<BEGIN>\n## `get_status`",
"Gets the Status\n :return: The Status\n :rtype: string\n<END>",
"<BEGIN>\n## `is_valid`",
"Determines if the SAML LogoutRespo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_slo API.
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 process_slo API.
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... | Process the SAML Logout Response / Logout Request sent by the IdP.
:param keep_local_session: When false will destroy the local session, otherwise will destroy it
:type keep_local_session: bool
:param request_id: The ID of the LogoutRequest sent by this SP to the IdP
:type request_id: ... | "Process the SAML Logout Response / Logout Request sent by the IdP.\n\n :param keep_local_session: When false will destroy the local session, otherwise will destroy it\n :type keep_local_session: bool\n\n :param request_id: The ID of the LogoutRequest sent by this SP to the IdP\n :type reque... | 302 | false | onelogin/python3-saml | process_slo | 40,377 | |
LDU_FT/evandempsey/fp-growth/get_child | LDU_FT | [
"<BEGIN>\n## `find_frequent_patterns`",
"Given a set of transactions, find the patterns in it\n over the specified support threshold.\n<END>",
"<BEGIN>\n## `generate_association_rules`",
"Given a set of frequent itemsets, return a dict\n of association rules in the form\n {(left): ((right), confidenc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_child API.
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_child API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Return a child node with a particular value. | "Return a child node with a particular value." | 22 | false | evandempsey/fp-growth | get_child | 40,378 | |
LDU_FT/gplepage/gvar/integral | LDU_FT | [
"<BEGIN>\n## `deriv`",
"Compute *n*-th derivative of ``self``.",
" :param n: Number of derivatives.\n :type n: positive integer\n :returns: *n*-th derivative of ``self``.\n<END>",
"<BEGIN>\n## `integ`",
"Compute *n*-th indefinite integral of ``self``.",
" If *x0* is specified, ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the integral API.
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 integral API.
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... | Compute integral of ``fcn(x)`` on interval.
Given a function ``fcn(x)`` the call ::
result = integral(fcn, interval=(x0, x1))
calculates the integral of ``fcn(x)`` from ``x0`` to ``x1``.
For example::
>>> def fcn(x):
... return math.sin(x) ** 2 / math.pi
>>> result = i... | "Compute integral of ``fcn(x)`` on interval.\n\n Given a function ``fcn(x)`` the call ::\n\n result = integral(fcn, interval=(x0, x1))\n\n calculates the integral of ``fcn(x)`` from ``x0`` to ``x1``.\n For example::\n\n >>> def fcn(x):\n ... return math.sin(x) ** 2 / math.pi\n >>... | 206 | false | gplepage/gvar | integral | 40,379 | |
LDU_FT/baguette-io/baguette-messaging/load | LDU_FT | [
"<BEGIN>\n## `to_json`",
"Convert a model into a json using the playhouse shortcut.\n<END>",
"<BEGIN>\n## `run`",
"Consume the event stream.\n :param timeout: Duration of the connection timeout.\n :type timeout: int\n :param limit: Number of events to consume.\n :type limit: int\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | | Load the configuration file.
| Add dynamically configuration to the module.
:rtype: None | "| Load the configuration file.\n | Add dynamically configuration to the module.\n\n :rtype: None" | 44 | false | baguette-io/baguette-messaging | load | 40,380 | |
LDU_FT/jantman/awslimitchecker/find_usage | LDU_FT | [
"<BEGIN>\n## `_last_step`",
"If ``self._savepath`` doesn't exist, can't be read as JSON, or doesn't\n match ``VERSION``, return 0. Otherwise, return the step which that file\n lists as the last-run step for this release.",
" :return: last-run step from the release or 0\n :rtype: int\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_usage API.
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 find_usage API.
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... | Determine the current usage for each limit of this service,
and update corresponding Limit via
:py:meth:`~.AwsLimit._add_current_usage`. | "Determine the current usage for each limit of this service,\n and update corresponding Limit via\n :py:meth:`~.AwsLimit._add_current_usage`." | 372 | false | jantman/awslimitchecker | find_usage | 40,381 | |
LDU_FT/pudo/jsongraph/_load | LDU_FT | [
"<BEGIN>\n## `base_uri`",
"Resolution base for JSON schema. Also used as the default\n graph ID for RDF.\n<END>",
"<BEGIN>\n## `resolver`",
"Resolver for JSON Schema references. This can be based around a\n file or HTTP-based resolution base URI.\n<END>",
"<BEGIN>\n## `store`",
"Backend stor... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _load API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _load API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Load provenance info from the main store. | "Load provenance info from the main store." | 52 | false | pudo/jsongraph | _load | 40,382 | |
LDU_FT/Azure/azure-uamqp-python/destroy_async | LDU_FT | [
"<BEGIN>\n## `_close_received`",
"Callback called when a connection CLOSE frame is received.\n This callback will process the received CLOSE error to determine if\n the connection is recoverable or whether it should be shutdown.\n :param error: The error information from the close\n f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the destroy_async API.
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 destroy_async API.
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... | Asynchronously close any open management Links and close the Session.
Cleans up and C objects for both mgmt Links and Session. | "Asynchronously close any open management Links and close the Session.\n Cleans up and C objects for both mgmt Links and Session." | 299 | false | Azure/azure-uamqp-python | destroy_async | 40,383 | |
LDU_FT/kata198/AdvancedHTMLParser/toggleAttributesDOM | LDU_FT | [
"<BEGIN>\n## `getRootNodes`",
"getRootNodes - Gets all objects at the \"root\" (first level; no parent). Use this if you may have multiple roots (not children of <html>)\n Use this method to get objects, for example, in an AJAX request where <html> may not be your root.",
" Note: I... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the toggleAttributesDOM 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 toggleAttributesDOM 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... | toggleAttributesDOM - Toggle if the old DOM tag.attributes NamedNodeMap model should be used for the .attributes method, versus
a more sane direct dict implementation.
The DOM version is always accessable as AdvancedTag.attributesDOM
The dict version is always accessable as Advanced... | "toggleAttributesDOM - Toggle if the old DOM tag.attributes NamedNodeMap model should be used for the .attributes method, versus\n\n a more sane direct dict implementation.\n\n The DOM version is always accessable as AdvancedTag.attributesDOM\n The dict version is always accessable as Ad... | 541 | false | kata198/AdvancedHTMLParser | toggleAttributesDOM | 40,384 | |
LDU_FT/sanger-pathogens/ariba/_nucmer_hits_to_assembly_coords | LDU_FT | [
"<BEGIN>\n## `_update_threads`",
"Update available thread count post-construction.\n To be called any number of times from run() method\n<END>",
"<BEGIN>\n## `_report_completion`",
"Update shared counters to signal that we are done with this cluster.\n Call just before exiting run() method (in a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _nucmer_hits_to_assembly_coords 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 _nucmer_hits_to_assembly_coords API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | Input is hits made by self._parse_nucmer_coords_file.
Returns dictionary. key = contig name. Value = list of coords that match
to the reference gene | "Input is hits made by self._parse_nucmer_coords_file.\n Returns dictionary. key = contig name. Value = list of coords that match\n to the reference gene" | 105 | false | sanger-pathogens/ariba | _nucmer_hits_to_assembly_coords | 40,385 | |
LDU_FT/mapbox/rio-color/simple_atmo | LDU_FT | [
"<BEGIN>\n## `sigmoidal`",
"r\"\"\"\n Sigmoidal contrast is type of contrast control that\n adjusts the contrast without saturating highlights or shadows.\n It allows control over two factors:\n the contrast range from light to dark, and where the middle value\n of the mid-tones falls. The result i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the simple_atmo API.
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 simple_atmo API.
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... | A simple, static (non-adaptive) atmospheric correction function.
Parameters
----------
haze: float
Amount of haze to adjust for. For example, 0.03
contrast : integer
Enhances the intensity differences between the lighter and darker
elements of the image. For example, 0 is none, ... | "A simple, static (non-adaptive) atmospheric correction function.\n\n Parameters\n ----------\n haze: float\n Amount of haze to adjust for. For example, 0.03\n contrast : integer\n Enhances the intensity differences between the lighter and darker\n elements of the image. For example, 0 ... | 56 | false | mapbox/rio-color | simple_atmo | 40,386 | |
LDU_FT/b-ryan/powerline-shell/maybe_shorten_name | LDU_FT | [
"<BEGIN>\n## `rgb2short`",
"Find the closest xterm-256 approximation to the given RGB value.\n @param r,g,b: each is a number between 0-255 for the Red, Green, and Blue values\n @returns: integer between 0 and 255, compatible with xterm.\n >>> rgb2short(18, 52, 86)\n 23\n >>> rgb2short(255, 255, 25... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the maybe_shorten_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the maybe_shorten_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | If the user has asked for each directory name to be shortened, will
return the name up to their specified length. Otherwise returns the full
name. | "If the user has asked for each directory name to be shortened, will\n return the name up to their specified length. Otherwise returns the full\n name." | 13 | false | b-ryan/powerline-shell | maybe_shorten_name | 40,387 | |
LDU_FT/gmr/tredis/zremrangebyscore | LDU_FT | [
"<BEGIN>\n## `auth`",
"Request for authentication in a password-protected Redis server.\n Redis can be instructed to require a password before allowing clients\n to execute commands. This is done using the ``requirepass`` directive\n in the configuration file.",
" If the password doe... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the zremrangebyscore API.
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 zremrangebyscore API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Removes all elements in the sorted set stored at key with a score
between min and max.
Intervals are described in :meth:`~tredis.RedisClient.zrangebyscore`.
Returns the number of elements removed.
.. note::
**Time complexity**: ``O(log(N)+M)`` with ``N`` being the number o... | "Removes all elements in the sorted set stored at key with a score\n between min and max.\n\n Intervals are described in :meth:`~tredis.RedisClient.zrangebyscore`.\n\n Returns the number of elements removed.\n\n .. note::\n\n **Time complexity**: ``O(log(N)+M)`` with ``N`` being th... | 523 | false | gmr/tredis | zremrangebyscore | 40,388 | |
LDU_FT/carlcarl/grabflickr/multithread_download_photos | LDU_FT | [
"<BEGIN>\n## `read_config`",
"Read the config from CONFIG_PATH(Default: ~/.grabflickr.conf)\n This will prompt for API key and secret if it not exists.\n After, it sets the global variable `api_key` and `api_secret`.\n<END>",
"<BEGIN>\n## `enter_api_key`",
"Prompt for API key and secret\n Then write ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the multithread_download_photos API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the multithread_download_photos API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Use multiple threads to download photos
:param photos: The photos to be downloaded
:type photos: list of dicts | "Use multiple threads to download photos\n\n :param photos: The photos to be downloaded\n :type photos: list of dicts" | 38 | false | carlcarl/grabflickr | multithread_download_photos | 40,389 | |
LDU_FT/pytorch/text/process | LDU_FT | [
"<BEGIN>\n## `load_vectors`",
"Arguments:\n vectors: one of or a list containing instantiations of the\n GloVe, CharNGram, or Vectors classes. Alternatively, one\n of or a list of available pretrained vectors:\n charngram.100d\n fasttext.en.30... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process API.
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 process API.
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... | Process a list of examples to create a torch.Tensor.
Pad, numericalize, and postprocess a batch and create a tensor.
Args:
batch (list(object)): A list of object from a batch of examples.
Returns:
torch.autograd.Variable: Processed object given the input
and... | "Process a list of examples to create a torch.Tensor.\n\n Pad, numericalize, and postprocess a batch and create a tensor.\n\n Args:\n batch (list(object)): A list of object from a batch of examples.\n Returns:\n torch.autograd.Variable: Processed object given the input\n ... | 131 | false | pytorch/text | process | 40,390 | |
LDU_FT/monarch-initiative/dipper/_process_prb_strain_view | LDU_FT | [
"<BEGIN>\n## `_process_phenotype_hpoa`",
"see info on format here:\n http://www.human-phenotype-ontology.org/contao/index.php/annotation-guide.html",
" :param raw:\n :param limit:\n :return:\n<END>",
"<BEGIN>\n## `get_common_files`",
"Fetch the hpo-annotation-data\n [repos... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _process_prb_strain_view 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 _process_prb_strain_view API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Process a table to get strains (with internal ids), and their labels.
These strains are created as instances of the species that they are.
Triples:
<strain id> a GENO:intrinsic_genotype
rdf:label "strain label"
RO:in_taxon <NCBI taxon id>
:param limit... | "Process a table to get strains (with internal ids), and their labels.\n These strains are created as instances of the species that they are.\n Triples:\n <strain id> a GENO:intrinsic_genotype\n rdf:label \"strain label\"\n RO:in_taxon <NCBI taxon id>\n\n :p... | 848 | false | monarch-initiative/dipper | _process_prb_strain_view | 40,391 | |
LDU_FT/ivanprjcts/sdklib/to_key_val_list | LDU_FT | [
"<BEGIN>\n## `parse`",
"Parse the given XML input and convert it into a dictionary.",
" `xml_input` can either be a `string` or a file-like object.",
" If `xml_attribs` is `True`, element attributes are put in the dictionary\n among regular child elements, using `@` as a prefix to avoid collisions. I... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_key_val_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_key_val_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Take an object and test to see if it can be represented as a
dictionary. If it can be, return a list of tuples, e.g.,
::
>>> to_key_val_list([('key', 'val')])
[('key', 'val')]
>>> to_key_val_list({'key': 'val'})
[('key', 'val')]
>>> to_key_val_list({'key': 'val'}, sort=Tr... | "Take an object and test to see if it can be represented as a\n dictionary. If it can be, return a list of tuples, e.g.,\n ::\n >>> to_key_val_list([('key', 'val')])\n [('key', 'val')]\n >>> to_key_val_list({'key': 'val'})\n [('key', 'val')]\n >>> to_key_val_list({'key': 'val'},... | 125 | false | ivanprjcts/sdklib | to_key_val_list | 40,392 | |
LDU_FT/victorlei/smop/let_statement | LDU_FT | [
"<BEGIN>\n## `callgraph`",
"Build callgraph of func_list, ignoring\n built-in functions\n<END>",
"<BEGIN>\n## `recordtype`",
"Returns a new class with named fields.",
" @keyword field_defaults: A mapping from (a subset of) field names to default \n values.\n @keyword default: If provided, th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the let_statement API.
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 let_statement API.
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... | If LHS is a plain variable, and RHS is a matrix
enclosed in square brackets, replace the matrix
expr with a funcall. | "If LHS is a plain variable, and RHS is a matrix\n enclosed in square brackets, replace the matrix\n expr with a funcall." | 69 | false | victorlei/smop | let_statement | 40,393 | |
LDU_FT/protream/iquery/cli | LDU_FT | [
"<BEGIN>\n## `pretty_print`",
"Use `PrettyTable` to perform formatted outprint.\n<END>",
"<BEGIN>\n## `_parse_date`",
"Parse from the user input `date`.",
" e.g. current year 2016:\n input 6-26, 626, ... return 2016626\n input 2016-6-26, 2016/6/26, ... retrun 2016626",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cli API.
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 cli API.
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... | Various information query via command line.
Usage:
iquery -l <song> [singer]
iquery (-m|电影)
iquery (-c|彩票)
iquery -p <city>
iquery -p <city> <hospital>
iquery <city> <show> [days]
iquery [-dgktz] <from> <to> <date>
Arguments:
from 出发站
to 到达站
date ... | "Various information query via command line.\n\nUsage:\n iquery -l <song> [singer]\n iquery (-m|电影)\n iquery (-c|彩票)\n iquery -p <city>\n iquery -p <city> <hospital>\n iquery <city> <show> [days]\n iquery [-dgktz] <from> <to> <date>\n\nArguments:\n from 出发站\n to 到达站\... | 31 | false | protream/iquery | cli | 40,394 | |
LDU_FT/jpvanhal/flask-split/_is_robot | LDU_FT | [
"<BEGIN>\n## `init_app`",
"Prepare the Flask application for Flask-Split.",
" :param state: :class:`BlueprintSetupState` instance\n<END>",
"<BEGIN>\n## `finished`",
"Track a conversion.",
" :param experiment_name: Name of the experiment.\n :param reset: If set to `True` current user's session is ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _is_robot API.
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 _is_robot API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Return `True` if the current visitor is a robot or spider, or
`False` otherwise.
This function works by comparing the request's user agent with a regular
expression. The regular expression can be configured with the
``SPLIT_ROBOT_REGEX`` setting. | "Return `True` if the current visitor is a robot or spider, or\n `False` otherwise.\n\n This function works by comparing the request's user agent with a regular\n expression. The regular expression can be configured with the\n ``SPLIT_ROBOT_REGEX`` setting." | 17 | false | jpvanhal/flask-split | _is_robot | 40,395 | |
LDU_FT/seibert-media/Highton/list_emails | LDU_FT | [
"<BEGIN>\n## `decode`",
"Decode the object to the object",
" :param root_element: the parsed xml Element\n :type root_element: xml.etree.ElementTree.Element\n :return: the decoded Element as object\n :rtype: object\n<END>",
"<BEGIN>\n## `add_note`",
"Create a Note to current obje... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_emails API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_emails API.
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 emails of current object
:param page: the page starting at 0
:type since: int
:param since: get all notes since a datetime
:type since: datetime.datetime
:return: the emails
:rtype: list | "Get the emails of current object\n\n :param page: the page starting at 0\n :type since: int\n :param since: get all notes since a datetime\n :type since: datetime.datetime\n :return: the emails\n :rtype: list" | 80 | false | seibert-media/Highton | list_emails | 40,396 | |
LDU_FT/DLR-RM/RAFCON/clean_recently_opened_state_machines | LDU_FT | [
"<BEGIN>\n## `modify_origin`",
"Set both from_state and from_key at the same time to modify data flow origin",
" :param str from_state: State id of the origin state\n :param int from_key: Data port id of the origin port\n :raises exceptions.ValueError: If parameters have wrong types or the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clean_recently_opened_state_machines API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clean_recently_opened_state_machines API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates i... | Remove state machines who's file system path does not exist | "Remove state machines who's file system path does not exist" | 2,325 | true | DLR-RM/RAFCON | clean_recently_opened_state_machines | 40,397 | |
LDU_FT/praekeltfoundation/molo.commenting/get_comment_object | LDU_FT | [
"<BEGIN>\n## `get_molo_comments`",
"Get a limited set of comments for a given object.\n Defaults to a limit of 5. Setting the limit to -1 disables limiting.\n Set the amount of comments to",
" usage:",
" {% get_molo_comments for object as variable_name %}\n {% get_molo_comments for obje... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_comment_object API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_comment_object API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | NB: Overridden to remove dupe comment check for admins (necessary for
canned responses)
Return a new (unsaved) comment object based on the information in this
form. Assumes that the form is already validated and will throw a
ValueError if not.
Does not set any of the fields tha... | "NB: Overridden to remove dupe comment check for admins (necessary for\n canned responses)\n\n Return a new (unsaved) comment object based on the information in this\n form. Assumes that the form is already validated and will throw a\n ValueError if not.\n\n Does not set any of the fi... | 21 | false | praekeltfoundation/molo.commenting | get_comment_object | 40,398 | |
LDU_FT/ttsteiger/cryptocompy/get_top_exchanges | LDU_FT | [
"<BEGIN>\n## `get_current_price`",
"Get latest trading price or full trading information in display or raw \r\n\tformat for the specified FROM/TO currency pairs.\r",
"\tArgs:\r\n\t\tfsyms: Single string or list of FROM symbols.\r\n\t\ttsyms: Single string or list of TO symbols.\r\n\t\te: Default returns average... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_top_exchanges API.
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_top_exchanges API.
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 top exchanges by 24 hour trading volume for the currency pair.
Args:
fsym: FROM symbol.
tsym: TO symbol.
limit: Number of results. Default value returns top 5 exchanges.
Returns:
Function returns a list containing a dictionary for each result:
[{'exchange': ..., 'fromSymbol': ..., 'toSymbole': ..., ... | "Get top exchanges by 24 hour trading volume for the currency pair.\n\t\n\tArgs:\n\t\tfsym: FROM symbol.\n\t\ttsym: TO symbol.\n\t\tlimit: Number of results. Default value returns top 5 exchanges.\n\n\tReturns:\n\t\tFunction returns a list containing a dictionary for each result:\n\n\t\t[{'exchange': ..., 'fromSymbol':... | 76 | false | ttsteiger/cryptocompy | get_top_exchanges | 40,399 | |
LDU_FT/CZ-NIC/yangson/peek | LDU_FT | [
"<BEGIN>\n## `schema_root`",
"Return the root node of the receiver's schema.\n<END>",
"<BEGIN>\n## `iname`",
"Return the instance name corresponding to the receiver.\n<END>",
"<BEGIN>\n## `_node_digest`",
"Return dictionary of receiver's properties suitable for clients.\n<END>",
"<BEGIN>\n## `_iname2qna... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the peek API.
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 peek API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Return a value within the receiver's subtree.
Args:
iroute: Instance route (relative to the receiver). | "Return a value within the receiver's subtree.\n\n Args:\n iroute: Instance route (relative to the receiver)." | 352 | false | CZ-NIC/yangson | peek | 40,400 | |
LDU_FT/czepluch/pysecp256k1/_parse_to_recoverable_signature | LDU_FT | [
"<BEGIN>\n## `_ecdsa_sign_recoverable`",
"Takes a message of 32 bytes and a private key\n Returns a recoverable signature of length 64\n<END>",
"<BEGIN>\n## `_parse_to_recoverable_signature`",
"Returns a parsed recoverable signature of length 65 bytes\n<END>",
"<BEGIN>\n## `ecdsa_sign_compact`",
"T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_to_recoverable_signature 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 _parse_to_recoverable_signature API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | Returns a parsed recoverable signature of length 65 bytes | "Returns a parsed recoverable signature of length 65 bytes" | 14 | false | czepluch/pysecp256k1 | _parse_to_recoverable_signature | 40,401 | |
LDU_FT/xoolive/traffic/start | LDU_FT | [
"<BEGIN>\n## `closest_point_of_approach`",
"Computes a CPA dataframe for all pairs of trajectories candidates for\n being separated by less than lateral_separation in vertical_separation.",
" In order to be computed efficiently, the method needs the following\n parameters:",
" - projection: a firs... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Returns the minimum timestamp value of the DataFrame. | "Returns the minimum timestamp value of the DataFrame." | 147 | false | xoolive/traffic | start | 40,402 | |
LDU_FT/SpotlightData/preprocessing/keyword_tokenize | LDU_FT | [
"<BEGIN>\n## `correct_word`",
"Finds all valid one and two letter corrections for word_string, returning the word\n with the highest relative probability as type str.\n<END>",
"<BEGIN>\n## `find_candidates`",
"Finds all potential words word_string could have intended to mean. If a word is not incorrectly\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the keyword_tokenize API.
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 keyword_tokenize API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Extracts keywords from text_string using NLTK's list of English stopwords, ignoring words of a
length smaller than 3, and returns the new string as type str.
Keyword argument:
- text_string: string instance
Exceptions raised:
- InputError: occurs should a non-string argument be passed | "Extracts keywords from text_string using NLTK's list of English stopwords, ignoring words of a\n length smaller than 3, and returns the new string as type str.\n\n Keyword argument:\n\n - text_string: string instance\n\n Exceptions raised:\n\n - InputError: occurs should a non-string argument be passed" | 106 | false | SpotlightData/preprocessing | keyword_tokenize | 40,403 | |
LDU_FT/ChrisBeaumont/smother/_add_section | LDU_FT | [
"<BEGIN>\n## `parse_intervals`",
"Parse a diff into an iterator of Intervals.\n<END>",
"<BEGIN>\n## `_filldown`",
"Copy current_context into `lines` down up until lineno\n<END>",
"<BEGIN>\n## `_add_section`",
"Register the current node as a new context block\n<END>",
"<BEGIN>\n## `_module_name`",
"Try... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add_section API.
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 _add_section API.
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... | Register the current node as a new context block | "Register the current node as a new context block" | 47 | false | ChrisBeaumont/smother | _add_section | 40,404 | |
LDU_FT/nvictus/priority-queue-dictionary/fromkeys | LDU_FT | [
"<BEGIN>\n## `nlargest`",
"Takes a mapping and returns the n keys associated with the largest values\n in descending order. If the mapping has fewer than n items, all its keys\n are returned.",
" Equivalent to:\n ``next(zip(*heapq.nlargest(mapping.items(), key=lambda x: x[1])))``",
" Return... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fromkeys API.
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 fromkeys API.
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... | Return a new pqict mapping keys from an iterable to the same value. | "Return a new pqict mapping keys from an iterable to the same value." | 25 | false | nvictus/priority-queue-dictionary | fromkeys | 40,405 | |
LDU_FT/fedora-infra/fedora-messaging/consume | LDU_FT | [
"<BEGIN>\n## `cli`",
"The fedora-messaging command line interface.\n<END>",
"<BEGIN>\n## `consume`",
"Consume messages from an AMQP queue using a Python callback.\n<END>",
"<BEGIN>\n## `_consume_errback`",
"Handle any errors that occur during consumer registration.\n<END>",
"<BEGIN>\n## `_consume_callba... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the consume API.
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 consume API.
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... | Register a new consumer.
This consumer will be configured for every protocol this factory
produces so it will be reconfigured on network failures. If a connection
is already active, the consumer will be added to it.
Args:
callback (callable): The callback to invoke when a m... | "Register a new consumer.\n\n This consumer will be configured for every protocol this factory\n produces so it will be reconfigured on network failures. If a connection\n is already active, the consumer will be added to it.\n\n Args:\n callback (callable): The callback to invoke ... | 302 | false | fedora-infra/fedora-messaging | consume | 40,406 | |
LDU_FT/glormph/msstitch/add_isoquant_data | LDU_FT | [
"<BEGIN>\n## `parse_input`",
"Build peptide table has no input file (though it has a lookup),\n which is why we set it to outfile name so the infile fetching\n and outfile creating wont error.\n<END>",
"<BEGIN>\n## `set_feature_generator`",
"Generates proteins with quant from the lookup table\n<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_isoquant_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_isoquant_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Runs through a peptide table and adds quant data from ANOTHER peptide
table that contains that data. | "Runs through a peptide table and adds quant data from ANOTHER peptide \n table that contains that data." | 233 | false | glormph/msstitch | add_isoquant_data | 40,407 | |
LDU_FT/T-002/pycast/_calculate | LDU_FT | [
"<BEGIN>\n## `local_error`",
"Calculates the error between the two given values.",
" :param list originalValue: List containing the values of the original data.\n :param list calculatedValue: List containing the values of the calculated TimeSeries that\n corresponds to originalVal... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _calculate API.
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 _calculate API.
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... | This is the error calculation function that gets called by :py:meth:`BaseErrorMeasure.get_error`.
Both parameters will be correct at this time.
:param float startingPercentage: Defines the start of the interval. This has to be a value in [0.0, 100.0].
It represents the value, where the err... | "This is the error calculation function that gets called by :py:meth:`BaseErrorMeasure.get_error`.\n\n Both parameters will be correct at this time.\n\n :param float startingPercentage: Defines the start of the interval. This has to be a value in [0.0, 100.0].\n It represents the value, where t... | 338 | false | T-002/pycast | _calculate | 40,408 | |
LDU_FT/CodyKochmann/strict_functions/trace | LDU_FT | [
"<BEGIN>\n## `has_args`",
"returns true if the decorator invocation\n had arguments passed to it before being\n sent a function to decorate\n<END>",
"<BEGIN>\n## `identify`",
"returns a tuple that is used to match\n functions to their neighbors in their\n resident n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the trace API.
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 trace API.
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... | This decorator allows you to visually trace
the steps of a function as it executes to see
what happens to the data as things are being
processed.
If you want to use a custom profiler, use the
@trace(profiler=my_custom_profiler) syntax.
Example Usage:
def co... | "This decorator allows you to visually trace\n the steps of a function as it executes to see\n what happens to the data as things are being\n processed.\n\n If you want to use a custom profiler, use the\n @trace(profiler=my_custom_profiler) syntax.\n\n Example Usage:\n\n ... | 48 | false | CodyKochmann/strict_functions | trace | 40,409 | |
LDU_FT/Aluriak/ACCC/constructSpec | LDU_FT | [
"<BEGIN>\n## `constructSpec`",
"Return a language specification based on parameters.\n<END>",
"<BEGIN>\n## `translated`",
"Return code associated to given structure and values, \n translate with given language specification.\n<END>",
"<BEGIN>\n## `cpp_spec`",
"C++ specification, provided for example, a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the constructSpec API.
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 constructSpec API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Return a language specification based on parameters. | "Return a language specification based on parameters." | 22 | false | Aluriak/ACCC | constructSpec | 40,410 | |
LDU_FT/DEIB-GECO/PyGMQL/get_dataset_samples | LDU_FT | [
"<BEGIN>\n## `preprocess_path`",
"Given a dataset path, the following structure is to be expected:\n - path/\n - files/\n - S_00000.gdm\n - S_00000.gdm.meta\n - S_00001.gdm\n - S_00001.gdm.meta\n - ...\n - ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_dataset_samples API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_dataset_samples 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... | Get the list of samples of a specific remote dataset.
:param dataset_name: the dataset name
:param owner: (optional) who owns the dataset. If it is not specified, the current user
is used. For public dataset use 'public'.
:return: a pandas Dataframe | "Get the list of samples of a specific remote dataset.\n\n :param dataset_name: the dataset name\n :param owner: (optional) who owns the dataset. If it is not specified, the current user\n is used. For public dataset use 'public'.\n :return: a pandas Dataframe" | 422 | false | DEIB-GECO/PyGMQL | get_dataset_samples | 40,411 | |
LDU_FT/staggerpkg/stagger/read | LDU_FT | [
"<BEGIN>\n## `_in_version`",
"Returns true if this frame is in any of the specified versions of ID3.\n<END>",
"<BEGIN>\n## `check_tag_data`",
"Raise a ValueError if DATA doesn't seem to be a well-formed ID3 tag.\n<END>",
"<BEGIN>\n## `get_raw_tag_data`",
"Return the ID3 tag in FILENAME as a raw byte strin... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Returns a list of values, eats all of data. | "Returns a list of values, eats all of data." | 47 | false | staggerpkg/stagger | read | 40,412 | |
LDU_FT/sloria/pypi-cli/max_version | LDU_FT | [
"<BEGIN>\n## `stat`",
"Print download statistics for a package.",
" \\b\n Example:",
" pypi stat requests\n<END>",
"<BEGIN>\n## `browse`",
"Browse to a package's PyPI or project homepage.\n<END>",
"<BEGIN>\n## `search`",
"Search for a pypi package.",
" \\b\n Examples:\n \\b... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the max_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 extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the max_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 extra... | Version with the most downloads.
:return: A tuple of the form (version, n_downloads) | "Version with the most downloads.\n\n :return: A tuple of the form (version, n_downloads)" | 16 | false | sloria/pypi-cli | max_version | 40,413 | |
LDU_FT/cgoldberg/sauceclient/get_stored_files | LDU_FT | [
"<BEGIN>\n## `get_subaccounts`",
"Get a list of sub accounts associated with a parent account.\n<END>",
"<BEGIN>\n## `get_siblings`",
"Get a list of sibling accounts associated with provided account.\n<END>",
"<BEGIN>\n## `get_platforms`",
"Get a list of objects describing all the OS and browser platforms... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_stored_files API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_stored_files API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Check which files are in your temporary storage. | "Check which files are in your temporary storage." | 19 | false | cgoldberg/sauceclient | get_stored_files | 40,414 | |
LDU_FT/PatrikValkovic/grammpy/find_nonterminals_rewritable_to_epsilon | LDU_FT | [
"<BEGIN>\n## `reverse_cyk_transforms`",
"Reverse transformation made to grammar before CYK.\n Performs following steps:\n - transform from chomsky normal form\n - restore unit rules\n - restore epsilon rules\n :param root: Root node of the parsed tree.\n :return: Restored... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_nonterminals_rewritable_to_epsilon API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicate... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_nonterminals_rewritable_to_epsilon API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicate... | Get nonterminals rewritable to epsilon.
:param grammar: Grammar where to search.
:return: Dictionary, where key is nonterminal rewritable to epsilon and value is rule that is responsible for it.
The rule doesn't need to rewrite to epsilon directly,
but the whole right side can be rewritable to epsilon u... | "Get nonterminals rewritable to epsilon.\n :param grammar: Grammar where to search.\n :return: Dictionary, where key is nonterminal rewritable to epsilon and value is rule that is responsible for it.\n The rule doesn't need to rewrite to epsilon directly,\n but the whole right side can be rewritable to epsi... | 126 | false | PatrikValkovic/grammpy | find_nonterminals_rewritable_to_epsilon | 40,415 | |
LDU_FT/etcher-be/epab/stash | LDU_FT | [
"<BEGIN>\n## `cli`",
"This is a tool that handles all the tasks to build a Python application",
" This tool is installed as a setuptools entry point, which means it should be accessible from your terminal once\n this application is installed in develop mode.\n<END>",
"<BEGIN>\n## `sort`",
"Runs iSort ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stash API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stash API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Stashes the current working tree changes
:param stash_name: name of the stash
:type stash_name: str | "Stashes the current working tree changes\n\n :param stash_name: name of the stash\n :type stash_name: str" | 133 | false | etcher-be/epab | stash | 40,416 | |
LDU_FT/sighingnow/parsec.py/endBy | LDU_FT | [
"<BEGIN>\n## `joint`",
"Joint two or more parsers, implements the operator of `(+)`.\n<END>",
"<BEGIN>\n## `times`",
"Repeat a parser between `mint` and `maxt` times. DO AS MUCH MATCH AS IT CAN.\n Return a list of values.\n<END>",
"<BEGIN>\n## `optional`",
"`Make a parser as optional. If success, retur... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the endBy API.
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 endBy API.
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... | `endBy(p, sep)` parses zero or more occurrences of `p`, separated and
ended by `sep`. Returns a list of values returned by `p`. | "`endBy(p, sep)` parses zero or more occurrences of `p`, separated and\n ended by `sep`. Returns a list of values returned by `p`." | 50 | false | sighingnow/parsec.py | endBy | 40,417 | |
LDU_FT/willhardy/django-seo/auto_register_inlines | LDU_FT | [
"<BEGIN>\n## `_populate`",
"Populate this list by calling populate(), but only once.\n<END>",
"<BEGIN>\n## `_register_admin`",
"Register model in the admin, ignoring any previously registered models.\n Alternatively it could be used in the future to replace a previously \n registered model.\n<EN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the auto_register_inlines 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 auto_register_inlines API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | This is a questionable function that automatically adds our metadata
inline to all relevant models in the site. | "This is a questionable function that automatically adds our metadata\n inline to all relevant models in the site." | 36 | false | willhardy/django-seo | auto_register_inlines | 40,418 | |
LDU_FT/mikekatz04/BOWIE/_convert_units | LDU_FT | [
"<BEGIN>\n## `read_noise_curve`",
"Simple auxillary function that can read noise curves in.",
" This function can read in noise curves from a provided file or those that are preinstalled\n with this installation. All pre-installed noise curves are in the form of\n an amplitude spectral density. Informa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _convert_units API.
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 _convert_units API.
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... | Convert units to geometrized units.
Change to G=c=1 (geometrized) units for ease in calculations. | "Convert units to geometrized units.\n\n Change to G=c=1 (geometrized) units for ease in calculations." | 264 | false | mikekatz04/BOWIE | _convert_units | 40,419 | |
LDU_FT/EntilZha/PyFunctional/join_t | LDU_FT | [
"<BEGIN>\n## `name`",
"Retrieve a pretty name for the function\n :param function: function to get name from\n :return: pretty name\n<END>",
"<BEGIN>\n## `map_t`",
"Transformation for Sequence.map\n :param func: map function\n :return: transformation\n<END>",
"<BEGIN>\n## `starmap_t`",
"Transfo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the join_t API.
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 join_t API.
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 ... | Transformation for Sequence.join, Sequence.inner_join, Sequence.outer_join, Sequence.right_join,
and Sequence.left_join
:param other: other sequence to join with
:param join_type: join type from left, right, inner, and outer
:return: transformation | "Transformation for Sequence.join, Sequence.inner_join, Sequence.outer_join, Sequence.right_join,\n and Sequence.left_join\n :param other: other sequence to join with\n :param join_type: join type from left, right, inner, and outer\n :return: transformation" | 249 | false | EntilZha/PyFunctional | join_t | 40,420 | |
LDU_FT/gagneurlab/concise/pad_sequences | LDU_FT | [
"<BEGIN>\n## `best_kmers`",
"Find best k-mers for CONCISE initialization.",
" Args:\n dt (pd.DataFrame): Table containing response variable and sequence.\n response (str): Name of the column used as the reponse variable.\n sequence (str): Name of the column storing the DNA/RNA sequences.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pad_sequences API.
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 pad_sequences API.
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... | Pad and/or trim a list of sequences to have common length. Procedure:
1. Pad the sequence with N's or any other string or list element (`value`)
2. Subset the sequence
# Note
See also: https://keras.io/preprocessing/sequence/
Aplicable also for lists of characters
# Arguments
... | "Pad and/or trim a list of sequences to have common length. Procedure:\n\n 1. Pad the sequence with N's or any other string or list element (`value`)\n 2. Subset the sequence\n\n # Note\n See also: https://keras.io/preprocessing/sequence/\n Aplicable also for lists of characters\n\n # ... | 311 | false | gagneurlab/concise | pad_sequences | 40,421 | |
LDU_FT/crackinglandia/pype32/_parseImportDirectory | LDU_FT | [
"<BEGIN>\n## `showSectionsHeaders`",
"Prints IMAGE_SECTION_HEADER for every section present in the file.\n<END>",
"<BEGIN>\n## `getFields`",
"Returns all the class attributues.",
" @rtype: dict\n @return: A dictionary containing all the class attributes.\n<END>",
"<BEGIN>\n## `parse`",
"Re... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parseImportDirectory 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 _parseImportDirectory API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Parses the C{IMAGE_IMPORT_DIRECTORY} directory.
@type rva: int
@param rva: The RVA where the C{IMAGE_IMPORT_DIRECTORY} directory starts.
@type size: int
@param size: The size of the C{IMAGE_IMPORT_DIRECTORY} directory.
@type magic: int
@param m... | "Parses the C{IMAGE_IMPORT_DIRECTORY} directory.\n \n @type rva: int \n @param rva: The RVA where the C{IMAGE_IMPORT_DIRECTORY} directory starts.\n \n @type size: int\n @param size: The size of the C{IMAGE_IMPORT_DIRECTORY} directory.\n \n @type magic: int\n ... | 428 | false | crackinglandia/pype32 | _parseImportDirectory | 40,422 | |
LDU_FT/rueckstiess/mtools/run | LDU_FT | [
"<BEGIN>\n## `wait_for_host`",
"Ping server and wait for response.",
" Ping a mongod or mongos every `interval` seconds until it responds, or\n `timeout` seconds have passed. If `to_start` is set to False, will wait for\n the node to shut down instead. This function can be called as a separate\n thr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Run this section and print out information. | "Run this section and print out information." | 260 | false | rueckstiess/mtools | run | 40,423 | |
LDU_FT/lambdalisue/notify/split_arguments | LDU_FT | [
"<BEGIN>\n## `create_message`",
"Create message object for sending email",
" Parameters\n ----------\n from_addr : string\n An email address used for 'From' attribute\n to_addr : string\n An email address used for 'To' attribute\n subject : string\n An email subject string\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the split_arguments API.
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 split_arguments API.
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... | Split specified arguments to two list.
This is used to distinguish the options of the program and
execution command/arguments.
Parameters
----------
args : list
Command line arguments
Returns
-------
list : options, arguments
options indicate the optional arguments for... | "Split specified arguments to two list.\n\n This is used to distinguish the options of the program and\n execution command/arguments.\n\n Parameters\n ----------\n args : list\n Command line arguments\n\n Returns\n -------\n list : options, arguments\n options indicate the optional... | 40 | false | lambdalisue/notify | split_arguments | 40,424 | |
LDU_FT/wtsi-hgi/consul-lock/_acquire_lock_and_exit | LDU_FT | [
"<BEGIN>\n## `get_consul_configuration_from_environment`",
"Gets configuration on how to connect to Consul from the environment.\n :return: the configuration derived from the environment\n :raises KeyError: if a required environment variable has not been set\n<END>",
"<BEGIN>\n## `create_logger`",
"Crea... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _acquire_lock_and_exit 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 _acquire_lock_and_exit API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Locks a lock then exits.
:param lock_manager: the lock manager
:param configuration: the configuration required to lock the lock | "Locks a lock then exits.\n :param lock_manager: the lock manager\n :param configuration: the configuration required to lock the lock" | 55 | false | wtsi-hgi/consul-lock | _acquire_lock_and_exit | 40,425 | |
LDU_FT/westurner/pyrpo/_get_url_scheme_regexes | LDU_FT | [
"<BEGIN>\n## `itersplit`",
"Split a string by ``sep`` and yield chunks",
" Args:\n s (str-type): string to split\n sep (str-type): delimiter to split by",
" Yields:\n generator of strings: chunks of string s\n<END>",
"<BEGIN>\n## `itersplit_to_fields`",
"Itersplit a string into ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_url_scheme_regexes 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_url_scheme_regexes 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 configured mercurial schemes and convert them to regexes
Returns:
tuple: (scheme_name, scheme_value, compiled scheme_regex) | "Get configured mercurial schemes and convert them to regexes\n\n Returns:\n tuple: (scheme_name, scheme_value, compiled scheme_regex)" | 149 | false | westurner/pyrpo | _get_url_scheme_regexes | 40,426 | |
LDU_FT/Azure/azure-multiapi-storage-python/_get_request_body_bytes_only | LDU_FT | [
"<BEGIN>\n## `_extract_encryption_metadata`",
"Extracts the encryption metadata from the given entity, setting them to be utf-8 strings.\n If no encryption metadata is present, will return None for all return values unless\n require_encryption is true, in which case the method will throw.",
" :param en... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_request_body_bytes_only API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_request_body_bytes_only API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | Validates the request body passed in and converts it to bytes
if our policy allows it. | "Validates the request body passed in and converts it to bytes\n if our policy allows it." | 364 | false | Azure/azure-multiapi-storage-python | _get_request_body_bytes_only | 40,427 | |
LDU_FT/ScottDuckworth/python-anyvcs/clone | LDU_FT | [
"<BEGIN>\n## `clone`",
"Clone an existing repository to a new bare repository.\n<END>",
"<BEGIN>\n## `parse_isodate`",
"Parse a string that loosely fits ISO 8601 formatted date-time string\n<END>",
"<BEGIN>\n## `ls`",
"List directory or file",
" :param rev: The revision to use.\n :param pa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clone API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clone API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Copy a main repository to a new location. | "Copy a main repository to a new location." | 45 | false | ScottDuckworth/python-anyvcs | clone | 40,428 | |
LDU_FT/marshallward/f90nml/todict | LDU_FT | [
"<BEGIN>\n## `write`",
"Save a namelist to disk using either a file object or its file path.",
" File object usage:",
" >>> with open(nml_path, 'w') as nml_file:\n >>> f90nml.write(nml, nml_file)",
" File path usage:",
" >>> f90nml.write(nml, 'data.nml')",
" This function is equiva... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the todict API.
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 todict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Return a dict equivalent to the namelist.
Since Fortran variables and names cannot start with the ``_``
character, any keys starting with this token denote metadata, such as
starting index.
The ``complex_tuple`` flag is used to convert complex data into an
equivalent 2-tuple, w... | "Return a dict equivalent to the namelist.\n\n Since Fortran variables and names cannot start with the ``_``\n character, any keys starting with this token denote metadata, such as\n starting index.\n\n The ``complex_tuple`` flag is used to convert complex data into an\n equivalent 2-... | 98 | false | marshallward/f90nml | todict | 40,429 | |
LDU_FT/rorr73/LifeSOSpy/serializable | LDU_FT | [
"<BEGIN>\n## `has_value`",
"True if specified value exists in int enum; otherwise, False.\n<END>",
"<BEGIN>\n## `parse_name`",
"Parse specified name for IntEnum; return default if not found.\n<END>",
"<BEGIN>\n## `parse_value`",
"Parse specified value for IntEnum; return default if not found.\n<END>",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the serializable API.
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 serializable API.
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... | Ensures the specified object is serializable, converting if necessary.
:param obj: the object to use.
:param on_filter: optional function that can be used to filter which
properties on the object will be included.
:return value representing the object, which is serializable. | "Ensures the specified object is serializable, converting if necessary.\n\n :param obj: the object to use.\n :param on_filter: optional function that can be used to filter which\n properties on the object will be included.\n :return value representing the object, which is serializable." | 84 | false | rorr73/LifeSOSpy | serializable | 40,430 | |
LDU_FT/jjjake/internetarchive/_get_user_agent_string | LDU_FT | [
"<BEGIN>\n## `prepare_metadata`",
"Prepare a metadata dict for an\n :class:`S3PreparedRequest <S3PreparedRequest>` or\n :class:`MetadataPreparedRequest <MetadataPreparedRequest>` object.",
" :type metadata: dict\n :param metadata: The metadata dict to be prepared.",
" :type source_metadata: dic... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_user_agent_string API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_user_agent_string API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Generate a User-Agent string to be sent with every request. | "Generate a User-Agent string to be sent with every request." | 281 | false | jjjake/internetarchive | _get_user_agent_string | 40,431 | |
LDU_FT/mohamedattahri/PyXMLi/__set_unit_price | LDU_FT | [
"<BEGIN>\n## `c14n`",
"Applies c14n to the xml input\n @param xml: str\n @return: str\n<END>",
"<BEGIN>\n## `sign`",
"Return xmldsig XML string from xml_string of XML.\n @param xml: str of bytestring xml to sign\n @param private: publicKey Private key\n @param public: publicKey Public key\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __set_unit_price API.
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 __set_unit_price API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Sets the unit price
@param value:str | "Sets the unit price\n @param value:str" | 102 | false | mohamedattahri/PyXMLi | __set_unit_price | 40,432 | |
LDU_FT/ambitioninc/django-query-builder/before_add_field | LDU_FT | [
"<BEGIN>\n## `get_sql`",
"Generates the JOIN sql for the join tables and join condition",
" :rtype: str\n :return: the JOIN sql for the join tables and join condition\n<END>",
"<BEGIN>\n## `set_left_table`",
"Sets the left table for this join clause. If no table is specified, the first table\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the before_add_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 ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the before_add_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 ... | If extract_fields is set to True, then '*' fields will be removed and each
individual field will read from the model meta data and added. | "If extract_fields is set to True, then '*' fields will be removed and each\n individual field will read from the model meta data and added." | 251 | false | ambitioninc/django-query-builder | before_add_field | 40,433 | |
LDU_FT/jazzband/django-axes/is_client_method_whitelisted | LDU_FT | [
"<BEGIN>\n## `get_cool_off`",
"Return the login cool off time interpreted from settings.AXES_COOLOFF_TIME.",
" The return value is either None or timedelta.",
" Notice that the settings.AXES_COOLOFF_TIME is either None, timedelta, or integer of hours,\n and this function offers a unified _timedelta o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_client_method_whitelisted API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_client_method_whitelisted API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | Check if the given request uses a whitelisted method. | "Check if the given request uses a whitelisted method." | 94 | false | jazzband/django-axes | is_client_method_whitelisted | 40,434 | |
LDU_FT/thanethomson/statik/query | LDU_FT | [
"<BEGIN>\n## `list_files`",
"Lists all of the files in the given base directory, optionally only\n including whose extension(s) match the ext string/list of strings.\n This is non-recursive.",
" Args:\n base_path: The directory in which to search.\n ext: The extension(s) to match in the g... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the query API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the query API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Executes the given SQLAlchemy query string.
Args:
query: The SQLAlchemy ORM query (or Python code) to be executed.
additional_locals: Any additional local variables to inject into the execution context
when executing the query.
safe_mode: Boolean value indica... | "Executes the given SQLAlchemy query string.\n\n Args:\n query: The SQLAlchemy ORM query (or Python code) to be executed.\n additional_locals: Any additional local variables to inject into the execution context\n when executing the query.\n safe_mode: Boolean value... | 117 | false | thanethomson/statik | query | 40,435 | |
LDU_FT/srevenant/dictlib/_dig | LDU_FT | [
"<BEGIN>\n## `_splice_index`",
"Utility for key management in dig/dug",
" If first elem of key list contains an index[], spread it out as a second\n numeric index.",
" >>> _splice_index('abc[0]', 'def')\n ('abc', 0, 'def')\n >>> _splice_index('abc[a]', 'def')\n ('abc[a]', 'def')\n >>> _sp... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _dig API.
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 _dig API.
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... | Recursively lookup an item in a nested dictionary,
using an array of indexes
>>> _dig({"a":{"b":{"c":1}}}, "a", "b", "c")
1 | "Recursively lookup an item in a nested dictionary,\n using an array of indexes\n\n >>> _dig({\"a\":{\"b\":{\"c\":1}}}, \"a\", \"b\", \"c\")\n 1" | 28 | false | srevenant/dictlib | _dig | 40,436 | |
LDU_FT/ui/django-post_office/send_queued | LDU_FT | [
"<BEGIN>\n## `get_upload_path`",
"Overriding to store the original filename\n<END>",
"<BEGIN>\n## `get_prep_value`",
"We need to accomodate queries where a single email,\n or list of email addresses is supplied as arguments. For example:",
" - Email.objects.filter(to='mail@example.com')\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_queued API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_queued API.
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... | Sends out all queued mails that has scheduled_time less than now or None | "Sends out all queued mails that has scheduled_time less than now or None" | 40 | false | ui/django-post_office | send_queued | 40,437 | |
LDU_FT/redhat-cip/dci-control-server/create_new_upgrade_job_from_an_existing_job | LDU_FT | [
"<BEGIN>\n## `get_user_and_check_auth`",
"Check the combination username/password that is valid on the\n database.\n<END>",
"<BEGIN>\n## `retrieve_info`",
"Query the Github API to retrieve the needed infos.\n<END>",
"<BEGIN>\n## `get_last_rconfiguration_id`",
"Get the rconfiguration_id of the last ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_new_upgrade_job_from_an_existing_job API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_new_upgrade_job_from_an_existing_job API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indi... | Create a new job in the 'next topic' of the topic of
the provided job_id. | "Create a new job in the 'next topic' of the topic of\n the provided job_id." | 86 | false | redhat-cip/dci-control-server | create_new_upgrade_job_from_an_existing_job | 40,438 | |
LDU_FT/user-cont/colin/read_file | LDU_FT | [
"<BEGIN>\n## `run`",
"Runs the sanity checks for the target.",
" :param timeout: timeout per-check (in seconds)\n :param skips: name of checks to skip\n :param target: str (image name, ostree or dockertar)\n or ImageTarget\n or path/file-like object for dockerfile\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_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 extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_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 extract... | read file specified via 'file_path' and return its content - raises an ConuException if
there is an issue accessing the file
:param file_path: str, path to the file to read
:return: str (not bytes), content of the file | "read file specified via 'file_path' and return its content - raises an ConuException if\n there is an issue accessing the file\n :param file_path: str, path to the file to read\n :return: str (not bytes), content of the file" | 114 | false | user-cont/colin | read_file | 40,439 | |
LDU_FT/harabchuk/kibana-dashboard-api/remove | LDU_FT | [
"<BEGIN>\n## `add_visualization`",
"Adds the visualization to the dashboard. Leave col and row = 0 for automatic placement of the visualization.\n Visualizations are placed on a grid with 12 columns and unlimited rows.\n :param visualization: previously loaded visualization\n :param size_x wi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Deletes the visualization
:param visualization: instance of Visualization that was previously loaded
:return: | "Deletes the visualization\n :param visualization: instance of Visualization that was previously loaded\n :return:" | 20 | false | harabchuk/kibana-dashboard-api | remove | 40,440 | |
LDU_FT/jazzband/django-push-notifications/_validate_apns_certificate | LDU_FT | [
"<BEGIN>\n## `get_prep_value`",
"Return the integer value to be stored from the hex string\n<END>",
"<BEGIN>\n## `from_db_value`",
"Return an unsigned int representation from all db backends\n<END>",
"<BEGIN>\n## `to_python`",
"Return a str representation of the hexadecimal\n<END>",
"<BEGIN>\n## `apns_s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _validate_apns_certificate 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 _validate_apns_certificate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Validate the APNS certificate at startup. | "Validate the APNS certificate at startup." | 61 | false | jazzband/django-push-notifications | _validate_apns_certificate | 40,441 | |
LDU_FT/BenjaminSchubert/NitPycker/run | LDU_FT | [
"<BEGIN>\n## `add_result`",
"Adds the given result to the list",
" :param _type: type of the state of the test (TestState.failure, TestState.error, ...)\n :param test: the test\n :param exc_info: additional execution information\n<END>",
"<BEGIN>\n## `addSuccess`",
"Transforms the test ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | processes entries in the queue until told to stop | "processes entries in the queue until told to stop" | 53 | false | BenjaminSchubert/NitPycker | run | 40,442 | |
LDU_FT/astropy/regions/rotate_polygon | LDU_FT | [
"<BEGIN>\n## `ds9_objects_to_string`",
"Converts a `list` of `~regions.Region` to DS9 region string.",
" Parameters\n ----------\n regions : `list`\n List of `~regions.Region` objects\n coordsys : `str`, optional\n This overrides the coordinate system frame for all regions.\n De... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rotate_polygon API.
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 rotate_polygon API.
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... | Given a polygon with vertices defined by (lon, lat), rotate the polygon
such that the North pole of the spherical coordinates is now at (lon0,
lat0). Therefore, to end up with a polygon centered on (lon0, lat0), the
polygon should initially be drawn around the North pole. | "Given a polygon with vertices defined by (lon, lat), rotate the polygon\n such that the North pole of the spherical coordinates is now at (lon0,\n lat0). Therefore, to end up with a polygon centered on (lon0, lat0), the\n polygon should initially be drawn around the North pole." | 237 | false | astropy/regions | rotate_polygon | 40,443 | |
LDU_FT/riptano/ccm/stop | LDU_FT | [
"<BEGIN>\n## `actively_watch_logs_for_error`",
"Begins a thread that repeatedly scans system.log for new errors, every interval seconds.\n (The first pass covers the entire log contents written at that point,\n subsequent scans cover newly appended log messages).",
" Reports new errors, by ... | 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 node.
- wait: if True (the default), wait for the Cassandra process to be
really dead. Otherwise return after having sent the kill signal.
- wait_other_notice: return only when the other live nodes of the
cluster have marked this node has dead.
- signal_eve... | "Stop the node.\n - wait: if True (the default), wait for the Cassandra process to be\n really dead. Otherwise return after having sent the kill signal.\n - wait_other_notice: return only when the other live nodes of the\n cluster have marked this node has dead.\n - sign... | 108 | false | riptano/ccm | stop | 40,444 | |
LDU_FT/dustin/twitty-twister/_reconnect | LDU_FT | [
"<BEGIN>\n## `__downloadPage`",
"Start a HTTP download, returning a HTTPDownloader object\n<END>",
"<BEGIN>\n## `__encodeMultipart`",
"fields is a sequence of (name, value) elements for regular form fields.\n files is a sequence of (name, filename, value) elements for data to be uploaded as files\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _reconnect API.
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 _reconnect API.
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... | Attempt to reconnect.
If the current back-off delay is 0, L{connect} is called. Otherwise,
it will cause a transition to the C{'waiting'} state, ultimately
causing a call to L{connect} when the delay expires. | "Attempt to reconnect.\n\n If the current back-off delay is 0, L{connect} is called. Otherwise,\n it will cause a transition to the C{'waiting'} state, ultimately\n causing a call to L{connect} when the delay expires." | 93 | false | dustin/twitty-twister | _reconnect | 40,445 | |
LDU_FT/Kyria/EsiPy/get_auth_uri | LDU_FT | [
"<BEGIN>\n## `make_cache_key`",
"Generate a cache key from request object data\n<END>",
"<BEGIN>\n## `check_cache`",
"check if a cache fits esipy needs or not\n<END>",
"<BEGIN>\n## `get_cache_time_left`",
"return the time left in second for an expires header\n<END>",
"<BEGIN>\n## `generate_code_verifier... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_auth_uri API.
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_auth_uri API.
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... | Constructs the full auth uri and returns it..
Parameters
----------
state : string
The state to pass through the auth process
scopes : list (optional)
The list of scope to have
implicit : Boolean (optional)
Activate or not the implici... | "Constructs the full auth uri and returns it..\r\n\r\n Parameters\r\n ----------\r\n state : string\r\n The state to pass through the auth process\r\n scopes : list (optional)\r\n The list of scope to have\r\n implicit : Boolean (optional)\r\n Activate... | 87 | false | Kyria/EsiPy | get_auth_uri | 40,446 | |
LDU_FT/inbo/pyinaturalist/create_observations | LDU_FT | [
"<BEGIN>\n## `make_inaturalist_api_get_call`",
"Make an API call to iNaturalist.",
" endpoint is a string such as 'observations' !! do not put / in front\n method: 'GET', 'HEAD', 'POST', 'PUT', 'PATCH', 'DELETE'\n kwargs are passed to requests.request\n Returns a requests.Response object\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_observations 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_observations 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 a single or several (if passed an array) observations).
:param params:
:param access_token: the access token, as returned by :func:`get_access_token()`
:return: iNaturalist's JSON response, as a Python object
:raise: requests.HTTPError, if the call is not successful. iNaturalist returns an erro... | "Create a single or several (if passed an array) observations).\n\n :param params:\n :param access_token: the access token, as returned by :func:`get_access_token()`\n\n :return: iNaturalist's JSON response, as a Python object\n :raise: requests.HTTPError, if the call is not successful. iNaturalist returns ... | 45 | false | inbo/pyinaturalist | create_observations | 40,447 | |
LDU_FT/svenkreiss/pysparkling/mapPartitions | LDU_FT | [
"<BEGIN>\n## `get_fs`",
"Find the file system implementation for this path.\n<END>",
"<BEGIN>\n## `awaitTermination`",
"Wait for context to stop.",
" :param float timeout: in seconds\n<END>",
"<BEGIN>\n## `binaryRecordsStream`",
"Monitor a directory and process all binary files.",
" File... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mapPartitions API.
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 mapPartitions API.
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... | Map partitions.
:param f: mapping function
:rtype: DStream | "Map partitions.\n\n :param f: mapping function\n :rtype: DStream" | 109 | false | svenkreiss/pysparkling | mapPartitions | 40,448 | |
LDU_FT/xav/Grapefruit/from_xyz | LDU_FT | [
"<BEGIN>\n## `rgb_to_hsl`",
"Convert the color from RGB coordinates to HSL.",
" Parameters:\n :r:\n The Red component value [0...1]\n :g:\n The Green component value [0...1]\n :b:\n The Blue component value [0...1]",
" Returns:\n The color as an (h, s, l) tuple in the range:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_xyz API.
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 from_xyz API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Create a new instance based on the specifed CIE-XYZ values.
Parameters:
:x:
The Red component value [0...1]
:y:
The Green component value [0...1]
:z:
The Blue component value [0...1]
:alpha:
The color transparency [0...1], default is opaque
:wref:
... | "Create a new instance based on the specifed CIE-XYZ values.\n\n Parameters:\n :x:\n The Red component value [0...1]\n :y:\n The Green component value [0...1]\n :z:\n The Blue component value [0...1]\n :alpha:\n The color transparency [0...1], default is opaque\n ... | 234 | false | xav/Grapefruit | from_xyz | 40,449 | |
LDU_FT/rinocloud/rinocloud-python/save_local_metadata | LDU_FT | [
"<BEGIN>\n## `increment_name`",
"takes something like\n test.txt\n and returns\n test1.txt\n<END>",
"<BEGIN>\n## `set_name`",
"Sets the name of the file to be saved.",
" @params\n name - the name to the file\n increment - whether or not to increment ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_local_metadata 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 save_local_metadata 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... | save all the exposed variables to a json file | "save all the exposed variables to a json file" | 14 | false | rinocloud/rinocloud-python | save_local_metadata | 40,450 | |
LDU_FT/costastf/locationsharinglib/get_coordinates_by_full_name | LDU_FT | [
"<BEGIN>\n## `get_shared_people`",
"Retrieves all people that share their location with this account\n<END>",
"<BEGIN>\n## `get_authenticated_person`",
"Retrieves the person associated with this account\n<END>",
"<BEGIN>\n## `get_coordinates_by_nickname`",
"Retrieves a person's coordinates by nickname\n<E... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_coordinates_by_full_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_coordinates_by_full_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | Retrieves a person's coordinates by full name | "Retrieves a person's coordinates by full name" | 61 | false | costastf/locationsharinglib | get_coordinates_by_full_name | 40,451 | |
LDU_FT/openid/JWTConnect-Python-OidcMsg/serialize | LDU_FT | [
"<BEGIN>\n## `make_openid_request`",
"Construct the JWT to be passed by value (the request parameter) or by\n reference (request_uri).\n The request will be signed",
" :param arq: The Authorization request\n :param keys: Keys to use for signing/encrypting. A KeyJar instance\n :param issuer: Who i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the serialize API.
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 serialize API.
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... | Convert this instance to another representation. Which representation
is given by the choice of serialization method.
:param method: A serialization method. Presently 'urlencoded', 'json',
'jwt' and 'dict' is supported.
:param lev:
:param kwargs: Extra key word arg... | "Convert this instance to another representation. Which representation \n is given by the choice of serialization method.\n \n :param method: A serialization method. Presently 'urlencoded', 'json',\n 'jwt' and 'dict' is supported.\n :param lev: \n :param kwargs: Extra key w... | 75 | false | openid/JWTConnect-Python-OidcMsg | serialize | 40,452 | |
LDU_FT/PyMySQL/PyMySQL/sha2_rsa_encrypt | LDU_FT | [
"<BEGIN>\n## `close`",
"Closing a cursor just exhausts all remaining data.\n<END>",
"<BEGIN>\n## `mogrify`",
"Returns the exact string that is sent to the database by calling the\n execute() method.",
" This method follows the extension to the DB API 2.0 followed by Psycopg.\n<END>",
"<BEGIN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sha2_rsa_encrypt API.
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 sha2_rsa_encrypt API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Encrypt password with salt and public_key.
Used for sha256_password and caching_sha2_password. | "Encrypt password with salt and public_key.\n\n Used for sha256_password and caching_sha2_password." | 88 | false | PyMySQL/PyMySQL | sha2_rsa_encrypt | 40,453 | |
LDU_FT/rsheftel/raccoon/append_rows | LDU_FT | [
"<BEGIN>\n## `sorted_exists`",
"For list, values, returns the insert position for item x and whether the item already exists in the list. This\n allows one function call to return either the index to overwrite an existing value in the list, or the index to\n insert a new item in the list and keep the list i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the append_rows API.
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 append_rows API.
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... | Appends values to the end of the data. Be very careful with this function as for sort DataFrames it will not
enforce sort order. Use this only for speed when needed, be careful.
:param indexes: list of indexes to append
:param values: list of values to append
:return: nothing | "Appends values to the end of the data. Be very careful with this function as for sort DataFrames it will not \n enforce sort order. Use this only for speed when needed, be careful.\n\n :param indexes: list of indexes to append\n :param values: list of values to append\n :return: nothing" | 208 | false | rsheftel/raccoon | append_rows | 40,454 | |
LDU_FT/feliperyan/EinsteinVisionPython/get_token | LDU_FT | [
"<BEGIN>\n## `get_token`",
"Acquires a token for futher API calls, unless you already have a token this will be the first thing\n you do before you use this.\n :param email: string, the username for your EinsteinVision service, usually in email form\n :para pem_file: string, file ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_token API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_token API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Acquires a token for futher API calls, unless you already have a token this will be the first thing
you do before you use this.
:param email: string, the username for your EinsteinVision service, usually in email form
:para pem_file: string, file containing your Secret key. Copy cont... | "Acquires a token for futher API calls, unless you already have a token this will be the first thing\n you do before you use this.\n :param email: string, the username for your EinsteinVision service, usually in email form\n :para pem_file: string, file containing your Secret key. Copy ... | 34 | false | feliperyan/EinsteinVisionPython | get_token | 40,455 | |
LDU_FT/spacetelescope/stsci.tools/stsci | LDU_FT | [
"<BEGIN>\n## `stsci`",
"For STScI GEIS files, need to do extra steps.\n<END>",
"<BEGIN>\n## `stsci2`",
"For STScI GEIS files, need to do extra steps.\n<END>",
"<BEGIN>\n## `readgeis`",
"Input GEIS files \"input\" will be read and a HDUList object will\n be returned.",
" The user can use the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stsci API.
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 stsci API.
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... | For STScI GEIS files, need to do extra steps. | "For STScI GEIS files, need to do extra steps." | 917 | false | spacetelescope/stsci.tools | stsci | 40,456 | |
LDU_FT/figo-connect/schwifty/from_bank_code | LDU_FT | [
"<BEGIN>\n## `from_bank_code`",
"Create a new BIC object from country- and bank-code.",
" Examples:\n >>> bic = BIC.from_bank_code('DE', '20070000')\n >>> bic.country_code\n 'DE'\n >>> bic.bank_code\n 'DEUT'\n >>> bic.location_code\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_bank_code API.
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 from_bank_code API.
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... | Create a new BIC object from country- and bank-code.
Examples:
>>> bic = BIC.from_bank_code('DE', '20070000')
>>> bic.country_code
'DE'
>>> bic.bank_code
'DEUT'
>>> bic.location_code
'HH'
>>> BIC.from_bank_code('DE... | "Create a new BIC object from country- and bank-code.\n\n Examples:\n >>> bic = BIC.from_bank_code('DE', '20070000')\n >>> bic.country_code\n 'DE'\n >>> bic.bank_code\n 'DEUT'\n >>> bic.location_code\n 'HH'\n\n >>> BIC.from_b... | 25 | false | figo-connect/schwifty | from_bank_code | 40,457 | |
LDU_FT/toomore/goristock/SD | LDU_FT | [
"<BEGIN>\n## `output`",
"re = \"\"\"<table>\n <tr><td>%(name)s</td><td>%(c)s</td><td>%(range)+.2f(%(pp)+.2f%%)</td></tr>\n <tr><td>%(stock_no)s</td><td>%(value)s</td><td>%(time)s</td></tr></table>\"\"\" % {\n<END>",
"<BEGIN>\n## `Rt_display`",
"For real time stock display\n 即時盤用,顯示目... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the SD API.
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 docu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the SD API.
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 docu... | Standard Deviation.
計算 days 日內之標準差,預設 45 日 | "Standard Deviation.\n 計算 days 日內之標準差,預設 45 日" | 62 | false | toomore/goristock | SD | 40,458 | |
LDU_FT/AaronWatters/jp_proxy_widget/get_file_path | LDU_FT | [
"<BEGIN>\n## `get_file_path`",
"Look for an existing path matching filename.\n Try to resolve relative to the module location if the path cannot by found\n using \"normal\" resolution.\n<END>",
"<BEGIN>\n## `load_if_not_loaded`",
"Load a javascript file to the Jupyter notebook context,\n unless it wa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_file_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_file_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Look for an existing path matching filename.
Try to resolve relative to the module location if the path cannot by found
using "normal" resolution. | "Look for an existing path matching filename.\n Try to resolve relative to the module location if the path cannot by found\n using \"normal\" resolution." | 12 | false | AaronWatters/jp_proxy_widget | get_file_path | 40,459 | |
LDU_FT/DataDog/integrations-core/set_metric_ids | LDU_FT | [
"<BEGIN>\n## `check_election_status`",
"Retrieves the leader-election annotation from a given object, and\n submits metrics and a service check.",
" An integration warning is sent if the object is not retrievable,\n or no record is found. Monitors on the service-check should have\n n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_metric_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 ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_metric_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 ex... | Store the list of metric IDs we will want to collect for the given instance key | "Store the list of metric IDs we will want to collect for the given instance key" | 2,189 | true | DataDog/integrations-core | set_metric_ids | 40,460 | |
LDU_FT/Cognexa/cxflow/after_batch | LDU_FT | [
"<BEGIN>\n## `_write_header`",
"Write CSV header row with column names.",
" Column names are inferred from the ``epoch_data`` and ``self.variables`` (if specified).\n Variables and streams expected later on are stored in ``self._variables`` and ``self._streams`` respectively.",
" :param e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the after_batch API.
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 after_batch API.
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... | Extend the accumulated variables with the given batch data.
:param stream_name: stream name; e.g. ``train`` or any other...
:param batch_data: batch data = stream sources + model outputs
:raise KeyError: if the variables to be aggregated are missing
:raise TypeError: if the variable val... | "Extend the accumulated variables with the given batch data.\n\n :param stream_name: stream name; e.g. ``train`` or any other...\n :param batch_data: batch data = stream sources + model outputs\n :raise KeyError: if the variables to be aggregated are missing\n :raise TypeError: if the variab... | 325 | false | Cognexa/cxflow | after_batch | 40,461 | |
LDU_FT/benfred/implicit/convert_sparse_to_dataframe | LDU_FT | [
"<BEGIN>\n## `download_file`",
"Simple wrapper around urlretrieve that uses tqdm to display a progress\n bar of download progress\n<END>",
"<BEGIN>\n## `extract_gcc_binaries`",
"Try to find GCC on OSX for OpenMP support.\n<END>",
"<BEGIN>\n## `set_gcc`",
"Try to use GCC on OSX for OpenMP support.\n<END... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_sparse_to_dataframe API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_sparse_to_dataframe API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Converts a scipy sparse matrix to a spark dataframe | "Converts a scipy sparse matrix to a spark dataframe" | 87 | false | benfred/implicit | convert_sparse_to_dataframe | 40,462 | |
LDU_FT/jedie/PyHardLinkBackup/fast_deduplication_backup | LDU_FT | [
"<BEGIN>\n## `human_filesize`",
"'human-readable' file size (i.e. 13 KB, 4.1 MB, 102 bytes, etc).\n<END>",
"<BEGIN>\n## `dt2naturaltimesince`",
"datetime to a human readable representation with how old this entry is information\n e.g.:\n Jan. 27, 2016, 9:04 p.m. (31 minutes ago)\n<END>",
"<BEGIN>\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fast_deduplication_backup 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 fast_deduplication_backup API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | We can just link a old backup entry
:param latest_backup: old BackupEntry model instance
:param process_bar: tqdm process bar | "We can just link a old backup entry\n\n :param latest_backup: old BackupEntry model instance\n :param process_bar: tqdm process bar" | 44 | false | jedie/PyHardLinkBackup | fast_deduplication_backup | 40,463 | |
LDU_FT/michaelpb/omnic/subcommand | LDU_FT | [
"<BEGIN>\n## `use_settings`",
"Context manager to temporarily override settings\n<END>",
"<BEGIN>\n## `parse_string`",
"Parses a foreign resource URL into the URL string itself and any\n relevant args and kwargs\n<END>",
"<BEGIN>\n## `apply_command_list_template`",
"Perform necessary substitutions ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the subcommand API.
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 subcommand API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Decorator for quickly adding subcommands to the omnic CLI | "Decorator for quickly adding subcommands to the omnic CLI" | 111 | false | michaelpb/omnic | subcommand | 40,464 | |
LDU_FT/innogames/polysh/selected_shells | LDU_FT | [
"<BEGIN>\n## `process_input_buffer`",
"Send the content of the input buffer to all remote processes, this must\n be called in the main thread\n<END>",
"<BEGIN>\n## `write_main_socket`",
"Synchronous write to the main socket, wait for ACK\n<END>",
"<BEGIN>\n## `get_stdin_pid`",
"Try to get the PID of th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the selected_shells API.
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 selected_shells API.
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... | Iterator over the shells with names matching the patterns.
An empty patterns matches all the shells | "Iterator over the shells with names matching the patterns.\n An empty patterns matches all the shells" | 66 | false | innogames/polysh | selected_shells | 40,465 | |
LDU_FT/pytroll/python-geotiepoints/xyz2lonlat | LDU_FT | [
"<BEGIN>\n## `_interp`",
"The interpolation method implemented here is a kind of a billinear\n interpolation. The input *data* field is first interpolated along the \n rows and subsequently along its columns.",
" The final size of the interpolated *data* field is determined by the \n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the xyz2lonlat API.
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 xyz2lonlat API.
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 longitudes from cartesian coordinates. | "Get longitudes from cartesian coordinates." | 43 | false | pytroll/python-geotiepoints | xyz2lonlat | 40,466 | |
LDU_FT/Aluriak/tergraw/next_unwrittable_on_row | LDU_FT | [
"<BEGIN>\n## `clean`",
"Return a copy of given matrix where keys associated\n to space values are discarded\n<END>",
"<BEGIN>\n## `next_unwrittable_on_row`",
"Return position of the next (in row) letter that is unwrittable\n<END>",
"<BEGIN>\n## `next_unwrittable_on_col`",
"Return position of the next l... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the next_unwrittable_on_row 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 next_unwrittable_on_row 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 position of the next (in row) letter that is unwrittable | "Return position of the next (in row) letter that is unwrittable" | 16 | false | Aluriak/tergraw | next_unwrittable_on_row | 40,467 | |
LDU_FT/blockstack/virtualchain/tx_estimate_signature_len | LDU_FT | [
"<BEGIN>\n## `lpad`",
"Left-pad a given string (msg) with a character (symbol) for a given number of bytes (length).\n Return the padded string\n<END>",
"<BEGIN>\n## `changebase`",
"Change a string's characters from one base to another.\n Return the re-encoded string\n<END>",
"<BEGIN>\n## `num_to_var_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tx_estimate_signature_len 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 tx_estimate_signature_len API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Estimate how long a signature is going to be, given a private key.
privkey_info is a private key or a multisig/segwit bundle.
This accounts for both the scriptsig and witness data. The return
value is the number of actual *bytes* (not vbytes) that the signature
will count for in bitcoin (i.e. witness ... | "Estimate how long a signature is going to be, given a private key.\n privkey_info is a private key or a multisig/segwit bundle.\n\n This accounts for both the scriptsig and witness data. The return\n value is the number of actual *bytes* (not vbytes) that the signature\n will count for in bitcoin (i.e. wi... | 491 | false | blockstack/virtualchain | tx_estimate_signature_len | 40,468 | |
LDU_FT/PmagPy/PmagPy/on_zijd_mark | LDU_FT | [
"<BEGIN>\n## `GetValue`",
"Find the matching value from pandas DataFrame,\n return it.\n<END>",
"<BEGIN>\n## `SetColumnValues`",
"Custom method to efficiently set all values\n in a column.",
" Parameters\n ----------\n col : str or int\n name or index position o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the on_zijd_mark API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the on_zijd_mark API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Get mouse position on double right click find the interpretation in
range of mouse
position then mark that interpretation bad or good
Parameters
----------
event : the wx Mouseevent for that click
Alters
------
current_fit | "Get mouse position on double right click find the interpretation in\n range of mouse\n position then mark that interpretation bad or good\n\n Parameters\n ----------\n event : the wx Mouseevent for that click\n\n Alters\n ------\n current_fit" | 3,302 | true | PmagPy/PmagPy | on_zijd_mark | 40,469 | |
LDU_FT/internetarchive/warc/write | LDU_FT | [
"<BEGIN>\n## `open`",
"Shorthand for WARCFile(filename, mode).",
" Auto detects file and opens it.\n<END>",
"<BEGIN>\n## `init_defaults`",
"Initializes important headers to default values, if not already specified.",
" The WARC-Record-ID header is set to a newly generated UUID.\n The WARC... | 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... | Writes out the given arc record to the file | "Writes out the given arc record to the file" | 41 | false | internetarchive/warc | write | 40,470 | |
LDU_FT/aws/aws-encryption-sdk-python/build_decryption_materials_cache_key | LDU_FT | [
"<BEGIN>\n## `_encryption_context_hash`",
"Generates the expected hash for the provided encryption context.",
" :param hasher: Existing hasher to use\n :type hasher: cryptography.hazmat.primitives.hashes.Hash\n :param dict encryption_context: Encryption context to hash\n :returns: Complete hash\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_decryption_materials_cache_key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_decryption_materials_cache_key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates i... | Generates a cache key for a decrypt request.
:param bytes partition: Partition name for which to generate key
:param request: Request for which to generate key
:type request: aws_encryption_sdk.materials_managers.DecryptionMaterialsRequest
:returns: cache key
:rtype: bytes | "Generates a cache key for a decrypt request.\n\n :param bytes partition: Partition name for which to generate key\n :param request: Request for which to generate key\n :type request: aws_encryption_sdk.materials_managers.DecryptionMaterialsRequest\n :returns: cache key\n :rtype: bytes" | 364 | false | aws/aws-encryption-sdk-python | build_decryption_materials_cache_key | 40,471 | |
LDU_FT/shendo/websnort/parse_version | LDU_FT | [
"<BEGIN>\n## `parse_version`",
"Parses the supplied output and returns the version string.",
" :param output: A string containing the output of running snort.\n :returns: Version string for the version of snort run. None if not found.\n<END>",
"<BEGIN>\n## `parse_alert`",
"Parses the supplied output a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_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 ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_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 ext... | Parses the supplied output and returns the version string.
:param output: A string containing the output of running snort.
:returns: Version string for the version of snort run. None if not found. | "Parses the supplied output and returns the version string.\n\n :param output: A string containing the output of running snort.\n :returns: Version string for the version of snort run. None if not found." | 40 | false | shendo/websnort | parse_version | 40,472 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.