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/lorien/grab/text_assert
LDU_FT
[ "<BEGIN>\n## `get_item`", "Returned item should have specific interface. See module docstring.\n<END>", "<BEGIN>\n## `has_item`", "Test if required item exists in the cache.\n<END>", "<BEGIN>\n## `build_grab_exception`", "Build Grab exception from the pycurl exception", " Args:\n ex - the orig...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the text_assert API. 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 text_assert API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
If `anchor` is not found then raise `DataNotFound` exception.
"If `anchor` is not found then raise `DataNotFound` exception."
188
false
lorien/grab
text_assert
38,473
LDU_FT/empirical-org/Quill-NLP-Tools-and-Datasets/find_topics
LDU_FT
[ "<BEGIN>\n## `_verbs_with_subjects`", "Given a spacy document return the verbs that have subjects\n<END>", "<BEGIN>\n## `mangle_agreement`", "Given a correct sentence, return a sentence or sentences with a subject\n verb agreement error\n<END>", "<BEGIN>\n## `_build_trigram_indices`", "Build a dictiona...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_topics API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_topics API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Find the topics in a list of texts with Latent Dirichlet Allocation.
"Find the topics in a list of texts with Latent Dirichlet Allocation."
70
false
empirical-org/Quill-NLP-Tools-and-Datasets
find_topics
38,474
LDU_FT/foutaise/texttable/_fmt_exp
LDU_FT
[ "<BEGIN>\n## `obj2unicode`", "Return a unicode representation of a python object\n<END>", "<BEGIN>\n## `len`", "Redefining len here so it will be able to work with non-ASCII characters\n<END>", "<BEGIN>\n## `set_chars`", "Set the characters used to draw lines between rows and columns", " - the ar...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _fmt_exp API. 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 _fmt_exp API. 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...
Exponential formatting class-method. - x parameter is ignored. Instead kw-argument f being x float-converted will be used. - precision will be taken from `n` kw-argument.
"Exponential formatting class-method.\n\n - x parameter is ignored. Instead kw-argument f being x float-converted\n will be used.\n\n - precision will be taken from `n` kw-argument."
65
false
foutaise/texttable
_fmt_exp
38,475
LDU_FT/JNRowe/jnrbase/parse_datetime
LDU_FT
[ "<BEGIN>\n## `parse_requires`", "Parse ``pip``-style requirements files.", " This is a *very* naïve parser, but very few packages make use of the more\n advanced features. Support for other features will be added only when\n packages in the wild depend on them.", " Args:\n __fname: Base fi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_datetime API. 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 parse_datetime API. 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...
Parse ISO-8601 datetime string. Args: __string: Datetime string to parse Returns: Parsed datetime object
"Parse ISO-8601 datetime string.\n\n Args:\n __string: Datetime string to parse\n Returns:\n Parsed datetime object"
112
false
JNRowe/jnrbase
parse_datetime
38,476
LDU_FT/PSPC-SPAC-buyandsell/von_anchor/fetch
LDU_FT
[ "<BEGIN>\n## `least_role`", "Return the TRUSTEE indy-sdk role for an anchor acting in an AnchorSmith capacity.", " :return: TRUSTEE role\n<END>", "<BEGIN>\n## `send_nym`", "Send input anchor's cryptonym (including DID, verification key, plus optional alias and role)\n to the distributed ledger...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetch API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetch API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Fetch next batch of search results. Raise BadSearch if search is closed, WalletState if wallet is closed. :param limit: maximum number of records to return (default value Wallet.DEFAULT_CHUNK) :return: next batch of records found
"Fetch next batch of search results.\n\n Raise BadSearch if search is closed, WalletState if wallet is closed.\n\n :param limit: maximum number of records to return (default value Wallet.DEFAULT_CHUNK)\n :return: next batch of records found"
734
false
PSPC-SPAC-buyandsell/von_anchor
fetch
38,477
LDU_FT/goldmann/docker-squash/_unpack
LDU_FT
[ "<BEGIN>\n## `_validate_number_of_layers`", "Makes sure that the specified number of layers to squash\n is a valid number\n<END>", "<BEGIN>\n## `_prepare_tmp_directory`", "Creates temporary directory that is used to work on layers\n<END>", "<BEGIN>\n## `_layers_to_squash`", "Prepares a list of laye...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _unpack API. 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 _unpack API. 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...
Unpacks tar archive to selected directory
"Unpacks tar archive to selected directory"
34
false
goldmann/docker-squash
_unpack
38,478
LDU_FT/Jaymon/prom/jsonable
LDU_FT
[ "<BEGIN>\n## `fields`", "return all the fields and their raw values for this Orm instance. This\n property returns a dict with the field names and their current values", " if you want to control the values for outputting to an api, use .jsonable()\n<END>", "<BEGIN>\n## `create`", "create an in...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the jsonable API. 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 jsonable API. 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 public version of this instance that can be jsonified Note that this does not return _id, _created, _updated, the reason why is because lots of times you have a different name for _id (like if it is a user object, then you might want to call it user_id instead of _id) and I di...
"return a public version of this instance that can be jsonified\n\n Note that this does not return _id, _created, _updated, the reason why is\n because lots of times you have a different name for _id (like if it is a \n user object, then you might want to call it user_id instead of _id) and I\n ...
241
false
Jaymon/prom
jsonable
38,479
LDU_FT/astropy/astropy-healpix/pix2vec
LDU_FT
[ "<BEGIN>\n## `healpix_to_lonlat`", "Convert HEALPix indices (optionally with offsets) to longitudes/latitudes", " Parameters\n ----------\n healpix_index : `~numpy.ndarray`\n 1-D array of HEALPix indices\n dx, dy : `~numpy.ndarray`, optional\n 1-D arrays of offs...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pix2vec API. 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 pix2vec API. 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...
Drop-in replacement for healpy `~healpy.pixelfunc.pix2vec`.
"Drop-in replacement for healpy `~healpy.pixelfunc.pix2vec`."
177
false
astropy/astropy-healpix
pix2vec
38,480
LDU_FT/asweigart/pyautogui/doubleClick
LDU_FT
[ "<BEGIN>\n## `_specialKeyEvent`", "Helper method for special keys.", " Source: http://stackoverflow.com/questions/11045814/emulate-media-key-press-on-mac\n<END>", "<BEGIN>\n## `_keyDown`", "Performs a keyboard key press without the release. This will put that\n key in a held down state.", " NOTE:...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the doubleClick API. 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 doubleClick API. 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...
Performs a double click. This is a wrapper function for click('left', x, y, 2, interval). The x and y parameters detail where the mouse event happens. If None, the current mouse position is used. If a float value, it is rounded down. If outside the boundaries of the screen, the event happens at edge o...
"Performs a double click.\n\n This is a wrapper function for click('left', x, y, 2, interval).\n\n The x and y parameters detail where the mouse event happens. If None, the\n current mouse position is used. If a float value, it is rounded down. If\n outside the boundaries of the screen, the event happens at...
162
false
asweigart/pyautogui
doubleClick
38,481
LDU_FT/nirum/tableprint/row
LDU_FT
[ "<BEGIN>\n## `humantime`", "Converts a time in seconds to a reasonable human readable time", " Parameters\n ----------\n t : float\n The number of seconds", " Returns\n -------\n time : string\n The human readable formatted value of the given time\n<END>", "<BEGIN>\n## `ansi_...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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. The extracted doc...
Returns a formatted row of data Parameters ---------- values : array_like An iterable array of data (numbers or strings), each value is printed in a separate column width : int The width of each column (Default: 11) format_spec : string The precision format string used to ...
"Returns a formatted row of data\n\n Parameters\n ----------\n values : array_like\n An iterable array of data (numbers or strings), each value is printed in a separate column\n\n width : int\n The width of each column (Default: 11)\n\n format_spec : string\n The precision format str...
49
false
nirum/tableprint
row
38,482
LDU_FT/facelessuser/pyspelling/random_name_gen
LDU_FT
[ "<BEGIN>\n## `is_break_tag`", "Check if tag is an element we should break on.\n<END>", "<BEGIN>\n## `to_text`", "Extract text from tags.", " Skip any selectors specified and include attributes if specified.\n Ignored tags will not have their attributes scanned either.\n<END>", "<BEGIN>\n## `...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the random_name_gen API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the random_name_gen API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Generate a random python attribute name.
"Generate a random python attribute name."
33
false
facelessuser/pyspelling
random_name_gen
38,483
LDU_FT/mardix/Juice/page
LDU_FT
[ "<BEGIN>\n## `get_env`", "Return the Capitalize environment name\n It can be used to retrieve class base config\n Default: Development\n :returns: str\n<END>", "<BEGIN>\n## `init_app`", "To bind middlewares, plugins that needs the 'app' object to init\n Bound middlewares will be assigned on cls.in...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the page API. 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 page API. 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...
A plugin to attach the the publisher front-end to your views It extends your view read, list content from the CMS kwargs: - query: {} - menu: {} - template_dir - endpoint - slug - title
"A plugin to attach the the publisher front-end to your views\n\n It extends your view read, list content from the CMS\n\n kwargs:\n - query: {}\n - menu: {}\n - template_dir\n - endpoint\n - slug\n - title"
101
false
mardix/Juice
page
38,484
LDU_FT/inspirehep/refextract/get_reference_line_numeration_marker_patterns
LDU_FT
[ "<BEGIN>\n## `process_reference_line`", "After the phase of identifying and tagging citation instances\n in a reference line, this function is called to go through the\n line and the collected information about the recognised citations,\n and to transform the line into a string of MARC XML in wh...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_reference_line_numeration_marker_patterns API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> in...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_reference_line_numeration_marker_patterns API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> in...
Return a list of compiled regex patterns used to search for the marker of a reference line in a full-text document. @param prefix: (string) the possible prefix to a reference line @return: (list) of compiled regex patterns.
"Return a list of compiled regex patterns used to search for the marker\n of a reference line in a full-text document.\n @param prefix: (string) the possible prefix to a reference line\n @return: (list) of compiled regex patterns."
301
false
inspirehep/refextract
get_reference_line_numeration_marker_patterns
38,485
LDU_FT/yvesalexandre/bandicoot/interevent_time_recharges
LDU_FT
[ "<BEGIN>\n## `filter_user`", "Filter records of a User objects by interaction, part of week and day.", " Parameters\n ----------\n user : User\n a bandicoot User object\n type : str, default 'records'\n 'records' or 'recharges'\n part_of_week : {'allweek', 'weekday', 'weekend'}, def...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the interevent_time_recharges 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 interevent_time_recharges API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Return the distribution of time between consecutive recharges of the user.
"Return the distribution of time between consecutive recharges\n of the user."
318
false
yvesalexandre/bandicoot
interevent_time_recharges
38,486
LDU_FT/owncloud/pyocclient/_strip_dav_path
LDU_FT
[ "<BEGIN>\n## `get_expiration`", "Returns the expiration date.", " :returns: expiration date\n :rtype: datetime object\n<END>", "<BEGIN>\n## `login`", "Authenticate to ownCloud.\n This will create a session on the server.", " :param user_id: user id\n :param password: pas...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _strip_dav_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 e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _strip_dav_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 e...
Removes the leading "remote.php/webdav" path from the given path :param path: path containing the remote DAV path "remote.php/webdav" :returns: path stripped of the remote DAV path
"Removes the leading \"remote.php/webdav\" path from the given path\n\n :param path: path containing the remote DAV path \"remote.php/webdav\"\n :returns: path stripped of the remote DAV path"
139
false
owncloud/pyocclient
_strip_dav_path
38,487
LDU_FT/justquick/django-native-tags/debug
LDU_FT
[ "<BEGIN>\n## `calendar`", "Creates a formatted ``HTMLCalendar``. \n Argument ``format`` can be one of ``month``, ``year``, or ``yearpage``\n Keyword arguments are collected and passed into ``HTMLCalendar.formatmonth``, \n ``HTMLCalendar.formatyear``, and ``HTMLCalendar.formatyearpage``", " Synta...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the debug API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the debug API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Outputs a whole load of debugging information, including the current context and imported modules. Sample usage:: <pre> {% debug %} </pre>
"Outputs a whole load of debugging information, including the current\n context and imported modules.\n\n Sample usage::\n\n <pre>\n {% debug %}\n </pre>"
161
false
justquick/django-native-tags
debug
38,488
LDU_FT/transifex/transifex-python-library/get_url_parameters
LDU_FT
[ "<BEGIN>\n## `get`", "Retrieve an object by making a GET request to Transifex.", " Each value in `kwargs` that corresponds to a field\n defined in `self.url_fields` will be used in the URL path\n of the request, so that a particular entry of this model\n is identified and retrieved."...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_url_parameters API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_url_parameters API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
Create a dictionary of parameters used in URLs for this model.
"Create a dictionary of parameters used in URLs for this model."
64
false
transifex/transifex-python-library
get_url_parameters
38,489
LDU_FT/potash/drain/days
LDU_FT
[ "<BEGIN>\n## `y_score`", "Score examples from a new matrix X\n Args:\n estimator: an sklearn estimator object\n X: design matrix with the same features that the estimator was trained on", " Returns: a vector of scores of the same length as X", " Note that estimator.predict_proba is pref...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the days API. 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 days API. 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 lambda that determines the number of days between the two dates the dates can be strings (column names) or actual dates e.g. Aggregate(days('date', today), ['min','max'], 'days_since') TODO: should there be a Days(AggregateBase) for this? handle naming
"returns a lambda that determines the number of days between the two dates\n the dates can be strings (column names) or actual dates\n e.g. Aggregate(days('date', today), ['min','max'], 'days_since')\n TODO: should there be a Days(AggregateBase) for this? handle naming"
165
false
potash/drain
days
38,490
LDU_FT/biocommons/bioutils/make_ac_name_map
LDU_FT
[ "<BEGIN>\n## `fetch_seq`", "Fetches sequences and subsequences from NCBI eutils and Ensembl\n REST interfaces.", " :param string ac: accession of sequence to fetch\n :param int start_i: start position of *interbase* interval\n :param int end_i: end position of *interbase* interval", " **IMPORTA...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_ac_name_map API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_ac_name_map API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
make map from accession (str) to sequence name (str) for given assembly name >>> grch38p5_ac_name_map = make_ac_name_map('GRCh38.p5') >>> grch38p5_ac_name_map['NC_000001.11'] '1'
"make map from accession (str) to sequence name (str) for given assembly name\n\n >>> grch38p5_ac_name_map = make_ac_name_map('GRCh38.p5')\n >>> grch38p5_ac_name_map['NC_000001.11']\n '1'"
172
false
biocommons/bioutils
make_ac_name_map
38,491
LDU_FT/commontk/ctk-cli/_tag
LDU_FT
[ "<BEGIN>\n## `_tag`", "Return element.tag with xmlns stripped away.\n<END>", "<BEGIN>\n## `_uriPrefix`", "Return xmlns prefix of the given element.\n<END>", "<BEGIN>\n## `_parseElements`", "Read REQUIRED_ELEMENTS and OPTIONAL_ELEMENTS and returns\n the rest of the children. Every read child element's ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _tag API. 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 _tag API. 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 element.tag with xmlns stripped away.
"Return element.tag with xmlns stripped away."
23
false
commontk/ctk-cli
_tag
38,492
LDU_FT/david-caro/python-autosemver/create_changelog
LDU_FT
[ "<BEGIN>\n## `distutils_autosemver_case`", ":param metadata: distutils metadata object.\n :param with_release_notes: if true, will create the release notes.\n :type with_release_notes: bool\n :param with_authors: if true, will create the authors file.\n :type with_authors: bool\n :param with_change...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_changelog API. 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 create_changelog API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Creates the changelog file, if not in a package. :param project_dir: Path to the git repo of the project. :type project_dir: str :param bugtracker_url: Url to the bug tracker for the issues. :type bugtracker_url: str :param rpm_format: if set to True, will make the changelog rpm-compatible. :ty...
"Creates the changelog file, if not in a package.\n\n :param project_dir: Path to the git repo of the project.\n :type project_dir: str\n :param bugtracker_url: Url to the bug tracker for the issues.\n :type bugtracker_url: str\n :param rpm_format: if set to True, will make the changelog rpm-compatible.\...
50
false
david-caro/python-autosemver
create_changelog
38,493
LDU_FT/bitcraft/PyTMX/parse_xml
LDU_FT
[ "<BEGIN>\n## `default_image_loader`", "This default image loader just returns filename, rect, and any flags\n<END>", "<BEGIN>\n## `decode_gid`", "Decode a GID from TMX data", " as of 0.7.0 it determines if the tile should be flipped when rendered\n as of 0.8.0 bit 30 determines if GID is rotated", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_xml API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_xml API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Parse a map from ElementTree xml node :param node: ElementTree xml node :return: self
"Parse a map from ElementTree xml node\n\n :param node: ElementTree xml node\n :return: self"
134
false
bitcraft/PyTMX
parse_xml
38,494
LDU_FT/awslabs/aws-serverlessrepo-python/publish_application
LDU_FT
[ "<BEGIN>\n## `validate`", "Check if the formats of principals and actions are valid.", " :return: True, if the policy is valid\n :raises: InvalidApplicationPolicyError\n<END>", "<BEGIN>\n## `publish_application`", "Create a new application or new application version in SAR.", " :param tem...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the publish_application 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 publish_application 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 new application or new application version in SAR. :param template: Content of a packaged YAML or JSON SAM template :type template: str_or_dict :param sar_client: The boto3 client used to access SAR :type sar_client: boto3.client :return: Dictionary containing application id, actions taken...
"Create a new application or new application version in SAR.\n\n :param template: Content of a packaged YAML or JSON SAM template\n :type template: str_or_dict\n :param sar_client: The boto3 client used to access SAR\n :type sar_client: boto3.client\n :return: Dictionary containing application id, action...
51
false
awslabs/aws-serverlessrepo-python
publish_application
38,495
LDU_FT/OpenVolunteeringPlatform/django-ovp-search/find_associated_with_address
LDU_FT
[ "<BEGIN>\n## `by_skills`", "Filter queryset by a comma delimeted skill list\n<END>", "<BEGIN>\n## `by_causes`", "Filter queryset by a comma delimeted cause list\n<END>", "<BEGIN>\n## `by_name`", "Filter queryset by name, with word wide auto-completion\n<END>", "<BEGIN>\n## `by_address`", "Filter query...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_associated_with_address 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 find_associated_with_address API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl...
Returns list with projects and organizations associated with given address
"Returns list with projects and organizations associated with given address"
13
false
OpenVolunteeringPlatform/django-ovp-search
find_associated_with_address
38,496
LDU_FT/dunovank/jupyter-themes/style
LDU_FT
[ "<BEGIN>\n## `install_theme`", "Install theme to jupyter_customcss with specified font, fontsize,\n md layout, and toolbar pref\n<END>", "<BEGIN>\n## `infer_theme`", "checks jupyter_config_dir() for text file containing theme name\n (updated whenever user installs a new theme)\n<END>", "<BEGIN>\n## `s...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the style API. 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 style API. 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...
main function for styling matplotlib according to theme ::Arguments:: theme (str): 'oceans16', 'grade3', 'chesterish', 'onedork', 'monokai', 'solarizedl', 'solarizedd'. If no theme name supplied the currently installed notebook theme will be used. context (str): 'paper' (Default), 'notebook', 'tal...
"main function for styling matplotlib according to theme\n\n ::Arguments::\n theme (str): 'oceans16', 'grade3', 'chesterish', 'onedork', 'monokai', 'solarizedl', 'solarizedd'. If no theme name supplied the currently installed notebook theme will be used.\n\n context (str): 'paper' (Default), 'notebook'...
38
false
dunovank/jupyter-themes
style
38,497
LDU_FT/jasonbot/arcrest/pythonvaluetotime
LDU_FT
[ "<BEGIN>\n## `_get_subfolder`", "Return an object of the requested type with the path relative\n to the current object's URL. Optionally, query parameters\n may be set.\n<END>", "<BEGIN>\n## `_contents`", "The raw contents of the URL as fetched, this is done lazily.\n For non-laz...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pythonvaluetotime API. 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 pythonvaluetotime API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Convert a time or time range from Python datetime to ArcGIS REST server
"Convert a time or time range from Python datetime to ArcGIS REST server"
66
false
jasonbot/arcrest
pythonvaluetotime
38,498
LDU_FT/peterbrittain/asciimatics/frame_update_count
LDU_FT
[ "<BEGIN>\n## `reset`", "Reset the scene ready for playing.", " :param old_scene: The previous version of this Scene that was running before the\n application reset - e.g. due to a screen resize.\n :param screen: New screen to use if old_scene is not None.\n<END>", "<BEGIN>\n## `add_ef...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the frame_update_count API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the frame_update_count API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
The number of frames before this Effect should be updated.
"The number of frames before this Effect should be updated."
355
false
peterbrittain/asciimatics
frame_update_count
38,499
LDU_FT/apetrynet/pyfilemail/logout
LDU_FT
[ "<BEGIN>\n## `not_completed`", "Decorator function to check if user is loged in.", " :raises: :class:`FMBaseError` if not logged in\n<END>", "<BEGIN>\n## `_parse_recipients`", "Make sure we have a \",\" separated list of recipients", " :param to: Recipient(s)\n :type to: (str,\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the logout API. 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 logout API. 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 ...
Logout of filemail and closing the session.
"Logout of filemail and closing the session."
116
false
apetrynet/pyfilemail
logout
38,500
LDU_FT/boriel/zxbasic/is_null
LDU_FT
[ "<BEGIN>\n## `reset`", "This is called when we need to reinitialize the instance state\n<END>", "<BEGIN>\n## `make_node`", "This will return a node with the symbol as a function.\n<END>", "<BEGIN>\n## `add_string_label`", "Maps (\"folds\") the given string, returning an unique label ID.\n This allo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_null API. 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 is_null API. 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...
True if no nodes or all the given nodes are either None, NOP or empty blocks. For blocks this applies recursively
"True if no nodes or all the given nodes are either\n None, NOP or empty blocks. For blocks this applies recursively"
974
false
boriel/zxbasic
is_null
38,501
LDU_FT/log2timeline/dftimewolf/check_placeholders
LDU_FT
[ "<BEGIN>\n## `setup`", "Sets up the _paths attribute.", " Args:\n paths: Comma-separated list of strings representing the paths to collect.\n<END>", "<BEGIN>\n## `process`", "Checks whether the paths exists and updates the state accordingly.\n<END>", "<BEGIN>\n## `_create_hunt`", "Create specifi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_placeholders API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_placeholders 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...
Checks if any values in a given dictionary still contain @ parameters. Args: value: Dictionary, list, or string that will be recursively checked for placeholders Raises: ValueError: There still exists a value with an @ parameter. Returns: Top-level caller: a modified dict with replaced toke...
"Checks if any values in a given dictionary still contain @ parameters.\n\n Args:\n value: Dictionary, list, or string that will be recursively checked for\n placeholders\n\n Raises:\n ValueError: There still exists a value with an @ parameter.\n\n Returns:\n Top-level caller: a modified dict with re...
228
false
log2timeline/dftimewolf
check_placeholders
38,502
LDU_FT/mdavidsaver/p4p/buildType
LDU_FT
[ "<BEGIN>\n## `_sync`", "I will wait until all pending handlers cothreads have completed\n<END>", "<BEGIN>\n## `close`", "Close PV, disconnecting any clients.", " :param bool destroy: Indicate \"permanent\" closure. Current clients will not see subsequent open().\n :param bool sync: When block...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the buildType API. 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 buildType API. 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...
Build a Type :param str valtype: A type code to be used with the 'value' field. See :ref:`valuecodes` :param list extra: A list of tuples describing additional non-standard fields :param bool display: Include optional fields for display meta-data :param bool control: Include optional f...
"Build a Type\n\n :param str valtype: A type code to be used with the 'value' field. See :ref:`valuecodes`\n :param list extra: A list of tuples describing additional non-standard fields\n :param bool display: Include optional fields for display meta-data\n :param bool control: Include opti...
201
false
mdavidsaver/p4p
buildType
38,503
LDU_FT/pysathq/pysat/add_clause
LDU_FT
[ "<BEGIN>\n## `open`", "Open a file pointer. Note that a file is *always* opened in text\n mode. The method inherits its input parameters from the constructor\n of :class:`FileObject`.\n<END>", "<BEGIN>\n## `get_compression_type`", "Determine compression type for a given file using its ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_clause API. 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 add_clause API. 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...
Add a new clause to solver's internal formula.
"Add a new clause to solver's internal formula."
578
false
pysathq/pysat
add_clause
38,504
LDU_FT/EpistasisLab/tpot/export_pipeline
LDU_FT
[ "<BEGIN>\n## `auto_select_categorical_features`", "Make a feature mask of categorical features in X.", " Features with less than 10 unique values are considered categorical.", " Parameters\n ----------\n X : array-like or sparse matrix, shape=(n_samples, n_features)\n Dense array or sparse ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the export_pipeline API. 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 export_pipeline API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Generate source code for a TPOT Pipeline. Parameters ---------- exported_pipeline: deap.creator.Individual The pipeline that is being exported operators: List of operator classes from operator library pipeline_score: Optional pipeline score to be saved to the exported file ...
"Generate source code for a TPOT Pipeline.\n\n Parameters\n ----------\n exported_pipeline: deap.creator.Individual\n The pipeline that is being exported\n operators:\n List of operator classes from operator library\n pipeline_score:\n Optional pipeline score to be saved to the expor...
249
false
EpistasisLab/tpot
export_pipeline
38,505
LDU_FT/tgbugs/pyontutils/build
LDU_FT
[ "<BEGIN>\n## `build_transgenic_lines`", "init class | \"transgenic_line_source_name\":\"stock_number\" a Class\n add superClass | rdfs:subClassOf ilxtr:transgenicLine\n add *order* | ilxtr:useObjectProperty ilxtr:<order>\n add name | rdfs:label \"name\"\n add def ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build API. 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 build API. 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...
Set n_jobs=1 for debug or embed() will crash.
"Set n_jobs=1 for debug or embed() will crash."
301
false
tgbugs/pyontutils
build
38,506
LDU_FT/micropython/micropython/parse_port_pin
LDU_FT
[ "<BEGIN>\n## `ptr`", "Returns the numbered function (i.e. USART6) for this AF.\n<END>", "<BEGIN>\n## `run_loop`", "Start the loop.", " :param `leds`: Which LEDs to light up upon switch press.\n :type `leds`: sequence of LED objects\n<END>", "<BEGIN>\n## `find_c_file`", "Search vpaths for the c fil...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_port_pin API. 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 parse_port_pin API. 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...
Parses a string and returns a (port-num, pin-num) tuple.
"Parses a string and returns a (port-num, pin-num) tuple."
54
false
micropython/micropython
parse_port_pin
38,507
LDU_FT/yougov/mongo-connector/_register_namespace_and_command
LDU_FT
[ "<BEGIN>\n## `retry_until_ok`", "Retry code block until it succeeds.", " If it does not succeed in 120 attempts, the function re-raises any\n error the function raised on its last attempt.\n<END>", "<BEGIN>\n## `apply_update`", "Apply an update operation to a document.\n<END>", "<BEGIN>\n## `bulk_up...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _register_namespace_and_command 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 _register_namespace_and_command API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co...
Add a Namespace and the corresponding command namespace.
"Add a Namespace and the corresponding command namespace."
115
false
yougov/mongo-connector
_register_namespace_and_command
38,508
LDU_FT/jxtech/wechatpy/query
LDU_FT
[ "<BEGIN>\n## `add_articles`", "新增永久图文素材\n 详情请参考\n https://mp.weixin.qq.com/wiki?id=mp1494572718_WzHIY", " :param articles: 图文素材数组\n :type articles: list[dict]\n :return: 返回的 JSON 数据包\n<END>", "<BEGIN>\n## `add`", "新增其它类型永久素材\n 详情请参考\n http://mp.weixin.qq.com/...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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...
查询退款 :param refund_id: 微信退款单号 :param out_refund_no: 商户退款单号 :param transaction_id: 微信订单号 :param out_trade_no: 商户系统内部的订单号 :param device_info: 可选,终端设备号 :return: 返回的结果数据
"查询退款\n\n :param refund_id: 微信退款单号\n :param out_refund_no: 商户退款单号\n :param transaction_id: 微信订单号\n :param out_trade_no: 商户系统内部的订单号\n :param device_info: 可选,终端设备号\n :return: 返回的结果数据"
813
false
jxtech/wechatpy
query
38,509
LDU_FT/telefonicaid/fiware-sdc/check_image_in_spain
LDU_FT
[ "<BEGIN>\n## `_xml_to_dict`", "Convert RAW XML string to Python dict\n :param xml_to_convert: XML to convert (string/text)\n :return: Python dict with all XML data\n<END>", "<BEGIN>\n## `response_body_to_dict`", "Convert a XML or JSON response in a Python dict\n :param http_requests_response: 'Reques...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_image_in_spain API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_image_in_spain API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
It obtain if the image is in Spain :param glance_url: the sdc url :param token: the valid token :param id: image id
"It obtain if the image is in Spain\n :param glance_url: the sdc url\n :param token: the valid token\n :param id: image id"
60
false
telefonicaid/fiware-sdc
check_image_in_spain
38,510
LDU_FT/bbengfort/commis/add_arguments
LDU_FT
[ "<BEGIN>\n## `create_parser`", "Creates the subparser for this particular command\n<END>", "<BEGIN>\n## `add_arguments`", "Definition and addition of all arguments.\n<END>", "<BEGIN>\n## `add_arguments`", "Add the label argument by default, no need to specify it in args.\n<END>", "<BEGIN>\n## `handle_de...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_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 ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_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 ext...
Definition and addition of all arguments.
"Definition and addition of all arguments."
14
false
bbengfort/commis
add_arguments
38,511
LDU_FT/morepath/more.jwtauth/identify
LDU_FT
[ "<BEGIN>\n## `verify_refresh_request`", "Wrapper around JWTIdentityPolicy.verify_refresh which verify\n if the request to refresh the token is valid.\n If valid it returns the userid which can be used to create to\n create an updated identity with ``remember_identity``.\n Otherwise it raises an except...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the identify API. 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 identify API. 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...
Establish what identity this user claims to have from request. :param request: Request to extract identity information from. :type request: :class:`morepath.Request`. :returns: :class:`morepath.Identity` instance or :attr:`morepath.NO_IDENTITY` if identity cannot be establis...
"Establish what identity this user claims to have from request.\n\n :param request: Request to extract identity information from.\n :type request: :class:`morepath.Request`.\n :returns: :class:`morepath.Identity` instance or\n :attr:`morepath.NO_IDENTITY` if identity cannot\n be e...
36
false
morepath/more.jwtauth
identify
38,512
LDU_FT/kmike/django-generic-images/inject_to
LDU_FT
[ "<BEGIN>\n## `attachedimage_form_factory`", "Returns ModelForm class to be used in admin.\n 'lang' is the language for GearsUploader (can be 'en' and 'ru' at the\n moment).\n<END>", "<BEGIN>\n## `attachedimages_inline_factory`", "Returns InlineModelAdmin for attached images.\n 'lang' is t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the inject_to API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the inject_to API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
``objects`` is an iterable. Images (or other generic-related model instances) will be attached to elements of this iterable. ``field_name`` is the attached object attribute name ``get_inject_object`` is a callable that takes object in `objects` iterable. Image will be available...
"``objects`` is an iterable. Images (or other generic-related model instances)\n will be attached to elements of this iterable.\n\n ``field_name`` is the attached object attribute name\n\n ``get_inject_object`` is a callable that takes object in `objects` iterable.\n Image will be av...
59
false
kmike/django-generic-images
inject_to
38,513
LDU_FT/elemoine/papyrus/delete
LDU_FT
[ "<BEGIN>\n## `add_column_xsd`", "Add the XSD for a column to tb (a TreeBuilder)\n<END>", "<BEGIN>\n## `add_column_property_xsd`", "Add the XSD for a column property to the ``TreeBuilder``.\n<END>", "<BEGIN>\n## `add_class_properties_xsd`", "Add the XSD for the class properties to the ``TreeBuilder``. And\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Remove the targeted feature from the database
"Remove the targeted feature from the database"
57
false
elemoine/papyrus
delete
38,514
LDU_FT/edoburu/sphinxcontrib-django/_add_model_fields_as_params
LDU_FT
[ "<BEGIN>\n## `setup`", "Allow this module to be used as sphinx extension.\n This attaches the Sphinx hooks.", " :type app: sphinx.application.Sphinx\n<END>", "<BEGIN>\n## `patch_django_for_autodoc`", "Fix the appearance of some classes in autodoc.", " This avoids query evaluation.\n<END>", "<BE...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add_model_fields_as_params 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 _add_model_fields_as_params API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
Improve the documentation of a Django model subclass. This adds all model fields as parameters to the ``__init__()`` method. :type app: sphinx.application.Sphinx :type lines: list
"Improve the documentation of a Django model subclass.\n\n This adds all model fields as parameters to the ``__init__()`` method.\n\n :type app: sphinx.application.Sphinx\n :type lines: list"
30
false
edoburu/sphinxcontrib-django
_add_model_fields_as_params
38,515
LDU_FT/paydunya/paydunya-python/add_taxes
LDU_FT
[ "<BEGIN>\n## `_process`", "Processes the current transaction", " Sends an HTTP request to the PAYDUNYA API server\n<END>", "<BEGIN>\n## `add_header`", "Add a custom HTTP header to the client's request headers\n<END>", "<BEGIN>\n## `create`", "Adds the items to the invoice", " Format of '...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_taxes API. 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 add_taxes API. 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...
Appends the data to the 'taxes' key in the request object 'taxes' should be in format: [("tax_name", "tax_amount")] For example: [("Other TAX", 700), ("VAT", 5000)]
"Appends the data to the 'taxes' key in the request object\n\n 'taxes' should be in format: [(\"tax_name\", \"tax_amount\")]\n For example:\n [(\"Other TAX\", 700), (\"VAT\", 5000)]"
26
false
paydunya/paydunya-python
add_taxes
38,516
LDU_FT/SetBased/py-etlt/_step99
LDU_FT
[ "<BEGIN>\n## `_split_scheme`", "Splits the scheme and actual expression", " :param str expression: The expression.", " :rtype: str\n<END>", "<BEGIN>\n## `register_scheme`", "Registers a scheme.", " :param str scheme: The scheme.\n :param callable constructor: The SimpleCondit...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _step99 API. 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 _step99 API. 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...
Validates all mandatory fields are in the output row and are filled. :param dict in_row: The input row. :param dict tmp_row: Not used. :param dict out_row: The output row.
"Validates all mandatory fields are in the output row and are filled.\n\n :param dict in_row: The input row.\n :param dict tmp_row: Not used.\n :param dict out_row: The output row."
155
false
SetBased/py-etlt
_step99
38,517
LDU_FT/dw/mitogen/_remote_chown
LDU_FT
[ "<BEGIN>\n## `setup`", "Install handlers for Mitogen loggers to redirect them into the Ansible\n display framework. Ansible installs its own logging framework handlers when\n C.DEFAULT_LOG_PATH is set, therefore disable propagation for our handlers.\n<END>", "<BEGIN>\n## `dict_diff`", "Return a dict rep...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _remote_chown API. 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 _remote_chown API. 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...
Issue an asynchronous os.chown() call for every path in `paths`, then format the resulting return value list with fake_shell().
"Issue an asynchronous os.chown() call for every path in `paths`, then\n format the resulting return value list with fake_shell()."
843
false
dw/mitogen
_remote_chown
38,518
LDU_FT/smnorris/pgdata/ogr2pg
LDU_FT
[ "<BEGIN>\n## `schemas`", "Get a listing of all non-system schemas (prefixed with 'pg_') that\n exist in the database.\n<END>", "<BEGIN>\n## `tables`", "Get a listing of all tables\n - if schema specified on connect, return unqualifed table names in\n that schema\n - in no s...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ogr2pg API. 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 ogr2pg API. 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 ...
Load a layer to provided pgdata database connection using OGR2OGR -sql option is like an ESRI where_clause or the ogr2ogr -where option, but to increase flexibility, it is in SQLITE dialect: SELECT * FROM <in_layer> WHERE <sql>
"Load a layer to provided pgdata database connection using OGR2OGR\n\n -sql option is like an ESRI where_clause or the ogr2ogr -where option,\n but to increase flexibility, it is in SQLITE dialect:\n SELECT * FROM <in_layer> WHERE <sql>"
50
false
smnorris/pgdata
ogr2pg
38,519
LDU_FT/greyli/flask-avatars/jcrop_js
LDU_FT
[ "<BEGIN>\n## `gravatar`", "Pass email hash, return Gravatar URL. You can get email hash like this::", " import hashlib\n avatar_hash = hashlib.md5(email.lower().encode('utf-8')).hexdigest()", " Visit https://en.gravatar.com/site/implement/images/ for more information.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the jcrop_js API. 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 jcrop_js API. 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...
Load jcrop Javascript file. :param js_url: The custom JavaScript URL. :param with_jquery: Include jQuery or not, default to ``True``.
"Load jcrop Javascript file.\n\n :param js_url: The custom JavaScript URL.\n :param with_jquery: Include jQuery or not, default to ``True``."
48
false
greyli/flask-avatars
jcrop_js
38,520
LDU_FT/jsvine/spectra/ColorWithHue
LDU_FT
[ "<BEGIN>\n## `cmyk`", "Create a spectra.Color object in the CMYK color space.", " :param float c: c coordinate.\n :param float m: m coordinate.\n :param float y: y coordinate.\n :param float k: k coordinate.", " :rtype: Color\n :returns: A spectra.Color object in the CMYK color space.\n<END>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ColorWithHue API. 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 ColorWithHue API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Create a new instance based on this one with a new hue. Parameters: :hue: The hue of the new color [0...360]. Returns: A grapefruit.Color instance. >>> Color.NewFromHsl(30, 1, 0.5).ColorWithHue(60) (1.0, 1.0, 0.0, 1.0) >>> Color.NewFromHsl(30, 1, 0.5).ColorWithHue(60).hsl ...
"Create a new instance based on this one with a new hue.\n\n Parameters:\n :hue:\n The hue of the new color [0...360].\n\n Returns:\n A grapefruit.Color instance.\n\n >>> Color.NewFromHsl(30, 1, 0.5).ColorWithHue(60)\n (1.0, 1.0, 0.0, 1.0)\n >>> Color.NewFromHsl(30, 1, 0.5).ColorWithHue(...
265
false
jsvine/spectra
ColorWithHue
38,521
LDU_FT/palantir/typedjsonrpc/method
LDU_FT
[ "<BEGIN>\n## `from_error`", "Wraps another Exception in an InternalError.", " :param exc_info: The exception info for the wrapped exception\n :type exc_info: (type, object, traceback)\n :type json_encoder: json.JSONEncoder\n :type debug_url: str | None\n :rtype: InternalError"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the method API. 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 method API. 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 ...
Syntactic sugar for registering a method Example: >>> registry = Registry() >>> @registry.method(returns=int, x=int, y=int) ... def add(x, y): ... return x + y :param returns: The method's return type :type returns: type :param param...
"Syntactic sugar for registering a method\n\n Example:\n\n >>> registry = Registry()\n >>> @registry.method(returns=int, x=int, y=int)\n ... def add(x, y):\n ... return x + y\n\n :param returns: The method's return type\n :type returns: type\n ...
73
false
palantir/typedjsonrpc
method
38,522
LDU_FT/agoragames/chai/args
LDU_FT
[ "<BEGIN>\n## `pretty_format_args`", "Take the args, and kwargs that are passed them and format in a\n prototype style.\n<END>", "<BEGIN>\n## `_call_spy`", "Wrapper to call the spied-on function. Operates similar to\n Expectation.test.\n<END>", "<BEGIN>\n## `_stub_attr`", "Stub an attribute of an o...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the args API. 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 args API. 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...
Creates a ArgumentsExpectationRule and adds it to the expectation
"Creates a ArgumentsExpectationRule and adds it to the expectation"
31
false
agoragames/chai
args
38,523
LDU_FT/Zsailer/phylopandas/_write_method
LDU_FT
[ "<BEGIN>\n## `_dendropy_to_dataframe`", "Convert Dendropy tree to Pandas dataframe.\n<END>", "<BEGIN>\n## `_read`", "Read a phylogenetic tree into a phylopandas.DataFrame.", " The resulting DataFrame has the following columns:\n - name: label for each taxa or node.\n - id: unique id (create...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _write_method API. 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 _write_method API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Add a write method for named schema to a class.
"Add a write method for named schema to a class."
65
false
Zsailer/phylopandas
_write_method
38,524
LDU_FT/operasoftware/twisted-apns/from_binary_string
LDU_FT
[ "<BEGIN>\n## `from_binary_string`", "Unpack the error response from a stream.\n<END>", "<BEGIN>\n## `to_binary_string`", "Pack the error response to binary string and return it.\n<END>", "<BEGIN>\n## `from_binary_string`", "Read feedback information from the stream and unpack it.\n :param stream: A...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_binary_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. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_binary_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. Th...
Unpack the notification from binary string.
"Unpack the notification from binary string."
16
false
operasoftware/twisted-apns
from_binary_string
38,525
LDU_FT/line/line-bot-sdk-python/reply_message
LDU_FT
[ "<BEGIN>\n## `get`", "GET request.", " :param str url: Request url\n :param dict headers: (optional) Request headers\n :param dict params: (optional) Request query parameter\n :param bool stream: (optional) get content as stream\n :param timeout: (optional), How long to wait f...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reply_message API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reply_message API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Call reply message API. https://devdocs.line.me/en/#reply-message Respond to events from users, groups, and rooms. Webhooks are used to notify you when an event occurs. For events that you can respond to, a replyToken is issued for replying to messages. Because the replyToken...
"Call reply message API.\n\n https://devdocs.line.me/en/#reply-message\n\n Respond to events from users, groups, and rooms.\n\n Webhooks are used to notify you when an event occurs.\n For events that you can respond to, a replyToken is issued for replying to messages.\n\n Because the ...
135
false
line/line-bot-sdk-python
reply_message
38,526
LDU_FT/PSPC-SPAC-buyandsell/von_agent/current_rev_reg_id
LDU_FT
[ "<BEGIN>\n## `validate_config`", "Call jsonschema validation to raise JSONValidation on non-compliance or silently pass.", " :param key: validation schema key of interest\n :param config: configuration dict to validate\n<END>", "<BEGIN>\n## `_seed2did`", "Derive DID, as per indy-sdk, from seed.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the current_rev_reg_id API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the current_rev_reg_id API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
Return the current revocation registry identifier for input credential definition identifier, in input directory. Raise AbsentTails if no corresponding tails file, signifying no such revocation registry defined. :param base_dir: base directory for tails files, thereafter split by cred def id ...
"Return the current revocation registry identifier for\n input credential definition identifier, in input directory.\n\n Raise AbsentTails if no corresponding tails file, signifying no such revocation registry defined.\n\n :param base_dir: base directory for tails files, thereafter split by cred de...
285
false
PSPC-SPAC-buyandsell/von_agent
current_rev_reg_id
38,527
LDU_FT/chaoss/grimoirelab-cereslib/update_field_names
LDU_FT
[ "<BEGIN>\n## `filter_`", "This method filter some of the rows where the 'value'\n is found in each of the 'columns'.", " :param column: list of strings\n :param value: any type", " :returns: filtered dataframe\n :rtype: pandas.DataFrame\n<END>", "<BEGIN>\n## `eventize`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_field_names 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 update_field_names 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...
This method updates the names of the fields according to matching :param data: original Pandas dataframe :param matching: dictionary of matchings between old and new values :type data: pandas.DataFrame :type matching: dictionary :returns: Pandas dataframe with updated names ...
"This method updates the names of the fields according to matching\n\n :param data: original Pandas dataframe\n :param matching: dictionary of matchings between old and new values\n :type data: pandas.DataFrame\n :type matching: dictionary\n\n :returns: Pandas dataframe with updated n...
107
false
chaoss/grimoirelab-cereslib
update_field_names
38,528
LDU_FT/rpcope1/PythonConfluenceAPI/update_content_by_id
LDU_FT
[ "<BEGIN>\n## `request_patch`", "Maintains the existing api for Session.request.\n Used by all of the higher level methods, e.g. Session.get.\n The background_callback param allows you to do some processing on the\n response in the background, e.g. call resp.json() so that json parsing\n happens in the...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_content_by_id API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_content_by_id API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Updates a piece of Content, or restores if it is trashed. The body contains the representation of the content. Must include the new version number. To restore a piece of content that has the status of trashed the content must have it's version incremented, and status set to current. No other f...
"Updates a piece of Content, or restores if it is trashed.\n\n The body contains the representation of the content. Must include the new version number.\n\n To restore a piece of content that has the status of trashed the content must have it's version incremented,\n and status set to current. No o...
140
false
rpcope1/PythonConfluenceAPI
update_content_by_id
38,529
LDU_FT/pierre-rouanet/aupyom/run
LDU_FT
[ "<BEGIN>\n## `resample`", "Returns a new sound with a samplerate of target_sr.\n<END>", "<BEGIN>\n## `as_ipywidget`", "Provides an IPywidgets player that can be used in a notebook.\n<END>", "<BEGIN>\n## `from_file`", "Loads an audiofile, uses sr=22050 by default.\n<END>", "<BEGIN>\n## `chunks`", "Retu...
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...
Play loop, i.e. send all sound chunk by chunk to the soundcard.
"Play loop, i.e. send all sound chunk by chunk to the soundcard."
22
false
pierre-rouanet/aupyom
run
38,530
LDU_FT/ANTsX/ANTsPy/get_neighborhood_at_voxel
LDU_FT
[ "<BEGIN>\n## `smooth_image`", "Smooth an image", " ANTsR function: `smoothImage`", " Arguments\n ---------\n image \n Image to smooth", " sigma \n Smoothing factor. Can be scalar, in which case the same sigma is applied to each dimension, or a vector of length dim(inimage) t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_neighborhood_at_voxel 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 get_neighborhood_at_voxel API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Get a hypercube neighborhood at a voxel. Get the values in a local neighborhood of an image. ANTsR function: `getNeighborhoodAtVoxel` Arguments --------- image : ANTsImage image to get values from. center : tuple/list indices for neighborhood center kernel : ...
"Get a hypercube neighborhood at a voxel. Get the values in a local \n neighborhood of an image.\n \n ANTsR function: `getNeighborhoodAtVoxel`\n\n Arguments\n ---------\n image : ANTsImage\n image to get values from.\n \n center : tuple/list\n indices for neighborhood center\n \...
1,176
true
ANTsX/ANTsPy
get_neighborhood_at_voxel
38,531
LDU_FT/projectshift/shift-schema/filter
LDU_FT
[ "<BEGIN>\n## `validate`", "Validate\n Perform value validation against validation settings and return\n error object.", " :param value: list, value to check\n :param model: parent model being validated\n :param context: object or None, validation co...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter API. 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 filter API. 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 ...
Filter Performs value filtering and returns filtered result. :param value: input value :param model: parent model being validated :param context: object, filtering context :return: filtered value
"Filter\n Performs value filtering and returns filtered result.\n\n :param value: input value\n :param model: parent model being validated\n :param context: object, filtering context\n :return: filtered value"
135
false
projectshift/shift-schema
filter
38,532
LDU_FT/aleontiev/dj/generate
LDU_FT
[ "<BEGIN>\n## `parse_application_name`", "Parse a setup.py file for the name.", " Returns:\n name, or None\n<END>", "<BEGIN>\n## `build`", "Builds the app in the app's environment.", " Only builds if the build is out-of-date and is non-empty.\n Builds in 3 stages: requiremen...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Generate a blueprint within this application.
"Generate a blueprint within this application."
44
false
aleontiev/dj
generate
38,533
LDU_FT/KrzyHonk/bpmn-python/export_task_info
LDU_FT
[ "<BEGIN>\n## `load_diagram_from_csv`", "Reads an CSV file from given filepath and maps it into inner representation of BPMN diagram.\n Returns an instance of BPMNDiagramGraph class.", " :param filepath: string with output filepath,\n :param bpmn_diagram: an instance of BpmnDiagramGraph clas...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the export_task_info API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the export_task_info API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Adds Task node attributes to exported XML element :param node_params: dictionary with given task parameters, :param output_element: object representing BPMN XML 'task' element.
"Adds Task node attributes to exported XML element\n\n :param node_params: dictionary with given task parameters,\n :param output_element: object representing BPMN XML 'task' element."
368
false
KrzyHonk/bpmn-python
export_task_info
38,534
LDU_FT/veltzer/pytconf/create_enum
LDU_FT
[ "<BEGIN>\n## `array_indented`", "return an array indented according to indent level\n :param level:\n :param l:\n :param quote_char:\n :param comma_after:\n :return:\n<END>", "<BEGIN>\n## `config_arg_parse_and_launch`", "backwards compatibility function\n :return:\n<END>", "<BEGIN>\n## `re...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_enum API. 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 create_enum API. 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...
Create an enum config :param enum_type: :param help_string: :param default: :return:
"Create an enum config\n :param enum_type:\n :param help_string:\n :param default:\n :return:"
32
false
veltzer/pytconf
create_enum
38,535
LDU_FT/PixelwarStudio/PyTree/draw
LDU_FT
[ "<BEGIN>\n## `generate_branches`", "Generates branches with alternative system.", " Args:\n scales (tuple/array): Indicating how the branch/es length/es develop/s from age to age.\n angles (tuple/array): Holding the branch and shift angle in radians.\n shift_angle (float): Holding the ro...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the draw API. 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 draw API. 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...
Draws the tree. Args: ages (array): Contains the ages you want to draw.
"Draws the tree.\n\n Args:\n ages (array): Contains the ages you want to draw."
63
false
PixelwarStudio/PyTree
draw
38,536
LDU_FT/yamcs/yamcs-python/stop_instance
LDU_FT
[ "<BEGIN>\n## `verification_events`", "Events related to command verification.", " :type: List[:class:`.CommandHistoryEvent`]\n<END>", "<BEGIN>\n## `events`", "All events.", " :type: List[:class:`.CommandHistoryEvent`]\n<END>", "<BEGIN>\n## `generation_time`", "The generation time as set ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stop_instance API. 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 stop_instance API. 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...
Stops a single instance. :param str instance: A Yamcs instance name.
"Stops a single instance.\n\n :param str instance: A Yamcs instance name."
402
false
yamcs/yamcs-python
stop_instance
38,537
LDU_FT/openvax/isovar/translate_cdna
LDU_FT
[ "<BEGIN>\n## `initial_variant_sequences_from_reads`", "Get all unique sequences from reads spanning a variant locus. This will\n include partial sequences due to reads starting in the middle of the\n sequence around around a variant.\n<END>", "<BEGIN>\n## `trim_variant_sequences`", "Trim VariantSequence...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the translate_cdna API. 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 translate_cdna API. 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 cDNA sequence which is aligned to a reading frame, returns the translated protein sequence and a boolean flag indicating whether the translated sequence ended on a stop codon (or just ran out of codons). Parameters ---------- cdna_sequence : str cDNA sequence which is expected to st...
"Given a cDNA sequence which is aligned to a reading frame, returns\n the translated protein sequence and a boolean flag indicating whether\n the translated sequence ended on a stop codon (or just ran out of codons).\n\n Parameters\n ----------\n cdna_sequence : str\n cDNA sequence which is expect...
333
false
openvax/isovar
translate_cdna
38,538
LDU_FT/TomasTomecek/sen/ports
LDU_FT
[ "<BEGIN>\n## `quit`", "This could be called from another thread, so let's do this via alarm\n<END>", "<BEGIN>\n## `_set_main_widget`", "add provided widget to widget list and display it", " :param widget:\n :return:\n<END>", "<BEGIN>\n## `display_buffer`", "display provided buffer", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ports API. 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 ports API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
:return: dict { # container -> host "1234": "2345" }
":return: dict\n {\n # container -> host\n \"1234\": \"2345\"\n }"
85
false
TomasTomecek/sen
ports
38,539
LDU_FT/google/python-gflags/DEFINE_multi_int
LDU_FT
[ "<BEGIN>\n## `GetRealPath`", "Given an executable filename, find in the PATH or find absolute path.\n Args:\n filename An executable filename (string)\n Returns:\n Absolute version of filename.\n None if filename could not be found locally, absolutely, or in PATH\n<END>", "<BEGIN>\n## `Run`", "Run...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the DEFINE_multi_int API. 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 DEFINE_multi_int API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Registers a flag whose value can be a list of arbitrary integers. Use the flag on the command line multiple times to place multiple integer values into the list. The 'default' may be a single integer (which will be converted into a single-element list) or a list of integers. Args: name: A string, the f...
"Registers a flag whose value can be a list of arbitrary integers.\n\n Use the flag on the command line multiple times to place multiple\n integer values into the list. The 'default' may be a single integer\n (which will be converted into a single-element list) or a list of\n integers.\n\n Args:\n name: A stri...
243
false
google/python-gflags
DEFINE_multi_int
38,540
LDU_FT/miyakogi/wdom/prepend
LDU_FT
[ "<BEGIN>\n## `get_class_list`", "Get class-level class list, including all super class's.\n<END>", "<BEGIN>\n## `removeClass`", "[Not Standard] Remove classes from this node.\n<END>", "<BEGIN>\n## `appendChild`", "Append child node at the last of child nodes.", " If this instance is connected to ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prepend API. 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 prepend API. 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...
Insert new nodes before first child node.
"Insert new nodes before first child node."
233
false
miyakogi/wdom
prepend
38,541
LDU_FT/mfcloud/python-zvm-sdk/capture_guest
LDU_FT
[ "<BEGIN>\n## `getConsole`", "Get the virtual machine's console output.", " Input:\n Request Handle with the following properties:\n function - 'CMDVM'\n subfunction - 'CMD'\n userid - userid of the virtual machine", " Output:\n Request Handle updated with t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the capture_guest API. 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 capture_guest API. 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...
Caputre a virtual machine image. Input parameters: :userid: USERID of the guest, last 8 if length > 8 Output parameters: :image_name: Image name that captured
"Caputre a virtual machine image.\n\n Input parameters:\n :userid: USERID of the guest, last 8 if length > 8\n\n Output parameters:\n :image_name: Image name that captured"
643
false
mfcloud/python-zvm-sdk
capture_guest
38,542
LDU_FT/ska-sa/montblanc/_raise_missing_antenna_errors
LDU_FT
[ "<BEGIN>\n## `encode`", "Produces a numpy array of integers which encode\n the supplied cube dimensions.\n<END>", "<BEGIN>\n## `decode`", "Produce a list of dictionaries for each dimension in this transcoder\n<END>", "<BEGIN>\n## `dl_cub`", "Download cub archive from cub_url and store it in cub_arc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _raise_missing_antenna_errors API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _raise_missing_antenna_errors API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc...
Raises an informative error for missing antenna
"Raises an informative error for missing antenna"
197
false
ska-sa/montblanc
_raise_missing_antenna_errors
38,543
LDU_FT/StellarCN/py-stellar-base/p_program_def
LDU_FT
[ "<BEGIN>\n## `get`", "Retrieve the account data that corresponds to this :class:`Address`.", " Retrieve the account data from Horizon for the account that corresponds\n to this :class:`Address`. Attempt to retrieve the following attributes\n from Horizon:", " * Sequence Number\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the p_program_def API. 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 p_program_def API. 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...
program_def : PROGRAM ID LBRACE version_def version_def_list RBRACE EQUALS constant SEMI
"program_def : PROGRAM ID LBRACE version_def version_def_list RBRACE EQUALS constant SEMI"
411
false
StellarCN/py-stellar-base
p_program_def
38,544
LDU_FT/PMBio/limix-backup/getEmpTraitCovar
LDU_FT
[ "<BEGIN>\n## `PCA`", "run PCA, retrieving the first (components) principle components\n\treturn [s0, eig, w0]\n\ts0: factors\n\tw0: weights\n<END>", "<BEGIN>\n## `PC_varExplained`", "Run PCA and calculate the cumulative fraction of variance\n Args:\n Y: phenotype values\n standardize: if True...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getEmpTraitCovar API. 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 getEmpTraitCovar API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Returns the empirical trait covariance matrix
"Returns the empirical trait covariance matrix"
428
false
PMBio/limix-backup
getEmpTraitCovar
38,545
LDU_FT/resync/resync/write
LDU_FT
[ "<BEGIN>\n## `read`", "Read sitemap from a URI including handling sitemapindexes.", " If index_only is True then individual sitemaps references in a sitemapindex\n will not be read. This will result in no resources being returned and is\n useful only to read the metadata and links listed in...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Write one or a set of sitemap files to disk. resources is a ResourceContainer that may be an ResourceList or a ChangeList. This may be a generator so data is read as needed and length is determined at the end. basename is used as the name of the single sitemap file or the sitem...
"Write one or a set of sitemap files to disk.\n\n resources is a ResourceContainer that may be an ResourceList or\n a ChangeList. This may be a generator so data is read as needed\n and length is determined at the end.\n\n basename is used as the name of the single sitemap file or the\n ...
322
false
resync/resync
write
38,546
LDU_FT/olgabot/prettyplotlib/barh
LDU_FT
[ "<BEGIN>\n## `switch_axis_limits`", "Switch the axis limits of either x or y. Or both!\n<END>", "<BEGIN>\n## `remove_chartjunk`", "Removes \"chartjunk\", such as extra lines of axes and tick marks.", " If grid=\"y\" or \"x\", will add a white grid at the \"y\" or \"x\" axes,\n respectively", " If...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the barh API. 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 barh API. 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...
Creates a bar plot, with white outlines and a fill color that defaults to the first teal-ish green in ColorBrewer's Set2. Optionally accepts grid='y' or grid='x' to draw a white grid over the bars, to show the scale. Almost like "erasing" some of the plot, but it adds more information! Can also...
"Creates a bar plot, with white outlines and a fill color that defaults to\n the first teal-ish green in ColorBrewer's Set2. Optionally accepts\n grid='y' or grid='x' to draw a white grid over the bars,\n to show the scale. Almost like \"erasing\" some of the plot,\n but it adds more information!\n\n ...
59
false
olgabot/prettyplotlib
barh
38,547
LDU_FT/aerkalov/ebooklib/set_title
LDU_FT
[ "<BEGIN>\n## `write_epub`", "Creates epub file with the content defined in EpubBook.", " >>> ebooklib.write_epub('book.epub', book)", " :Args:\n - name: file name for the output file\n - book: instance of EpubBook\n - options: extra opions as dictionary (optional)\n<END>", "<BEGIN>\n## ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_title API. 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 set_title API. 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...
Set title. You can set multiple titles. :Args: - title: Title value
"Set title. You can set multiple titles.\n\n :Args:\n - title: Title value"
66
false
aerkalov/ebooklib
set_title
38,548
LDU_FT/aliyun/aliyun-odps-python-sdk/fbeta_score
LDU_FT
[ "<BEGIN>\n## `_process_worker`", "Evaluates calls from call_queue and places the results in result_queue.", " This worker is run in a separate process.", " Args:\n call_queue: A multiprocessing.Queue of _CallItems that will be read and\n evaluated by the worker.\n result_queue: ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fbeta_score API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fbeta_score API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
r""" Compute f-beta score of a predicted DataFrame. f-beta is defined as .. math:: \frac{1 + \beta^2 \cdot precision \cdot recall}{\beta^2 \cdot precision + recall} F-beta score is a generalization of f-1 score. :Parameters: - **df** - predicted data frame - **col_true** - co...
"r\"\"\"\n Compute f-beta score of a predicted DataFrame. f-beta is defined as\n\n .. math::\n\n \\frac{1 + \\beta^2 \\cdot precision \\cdot recall}{\\beta^2 \\cdot precision + recall}\n\n F-beta score is a generalization of f-1 score.\n\n :Parameters:\n - **df** - predicted data frame\n ...
1,057
true
aliyun/aliyun-odps-python-sdk
fbeta_score
38,549
LDU_FT/joke2k/django-environ/db_url_config
LDU_FT
[ "<BEGIN>\n## `unicode`", "Helper for python2\n :rtype: unicode\n<END>", "<BEGIN>\n## `db_url`", "Returns a config dictionary, defaulting to DATABASE_URL.", " :rtype: dict\n<END>", "<BEGIN>\n## `cache_url`", "Returns a config dictionary, defaulting to CACHE_URL.", " :rtype: dict\n<...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the db_url_config API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the db_url_config API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Pulled from DJ-Database-URL, parse an arbitrary Database URL. Support currently exists for PostgreSQL, PostGIS, MySQL, Oracle and SQLite. SQLite connects to file based databases. The same URL format is used, omitting the hostname, and using the "file" portion as the filename of the database. ...
"Pulled from DJ-Database-URL, parse an arbitrary Database URL.\n Support currently exists for PostgreSQL, PostGIS, MySQL, Oracle and SQLite.\n\n SQLite connects to file based databases. The same URL format is used, omitting the hostname,\n and using the \"file\" portion as the filename of the datab...
41
false
joke2k/django-environ
db_url_config
38,550
LDU_FT/zabertech/python-izaber/days
LDU_FT
[ "<BEGIN>\n## `initialize`", "Loads the globally shared YAML configuration\n<END>", "<BEGIN>\n## `config_find`", "Attempt to use the config dir/config_filenames to\n locate the configuration file requested. Some folks\n would prefer to keep their config in ~ where it's in\n pla...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the days API. 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 days API. 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 the number of days of difference
"Returns the number of days of difference"
38
false
zabertech/python-izaber
days
38,551
LDU_FT/letuananh/chirptext/get_report_order
LDU_FT
[ "<BEGIN>\n## `download`", "Download a file at $url and save it to $path\n<END>", "<BEGIN>\n## `parse`", "Use mecab-python3 by default to parse JP text. Fall back to mecab binary app if needed\n<END>", "<BEGIN>\n## `flex_update_obj`", "Pull data from source to target.\n Target's __dict__ (object data) w...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_report_order API. 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_report_order API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Keys are sorted based on report order (i.e. some keys to be shown first) Related: see sorted_by_count
"Keys are sorted based on report order (i.e. some keys to be shown first)\n Related: see sorted_by_count"
80
false
letuananh/chirptext
get_report_order
38,552
LDU_FT/collectiveacuity/labPack/_construct_columns
LDU_FT
[ "<BEGIN>\n## `_delete`", "a helper method for non-blocking deletion of files\r", " :param _file_path: string with path to file to remove \r\n :param _method_title: string with name of method calling _delete\r\n :param _record_key: string with name of record key to delete\r\n :return:...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _construct_columns 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 _construct_columns 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...
a helper method for constructing the column objects for a table object
"a helper method for constructing the column objects for a table object"
886
false
collectiveacuity/labPack
_construct_columns
38,553
LDU_FT/tensorflow/tensorboard/AddRun
LDU_FT
[ "<BEGIN>\n## `add_event`", "Adds an event to the event file.", " Args:\n event: An `Event` protocol buffer.\n<END>", "<BEGIN>\n## `write`", "Enqueue the given bytes to be written asychronously\n<END>", "<BEGIN>\n## `flush`", "Write all the enqueued bytestring before this flush call to di...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the AddRun API. 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 AddRun API. 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 ...
Add a run to the multiplexer. If the name is not specified, it is the same as the path. If a run by that name exists, and we are already watching the right path, do nothing. If we are watching a different path, replace the event accumulator. If `Reload` has been called, it will `Reload` the n...
"Add a run to the multiplexer.\n\n If the name is not specified, it is the same as the path.\n\n If a run by that name exists, and we are already watching the right path,\n do nothing. If we are watching a different path, replace the event\n accumulator.\n\n If `Reload` has been called, it will `Relo...
1,768
true
tensorflow/tensorboard
AddRun
38,554
LDU_FT/sunlightlabs/django-mediasync/combo_serve
LDU_FT
[ "<BEGIN>\n## `combo_serve`", "Handles generating a 'combo' file for the given path. This is similar to\n what happens when we upload to S3. Processors are applied, and we get\n the value that we would if we were serving from S3. This is a good way\n to make sure combo files work as intended before rollin...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the combo_serve API. 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 combo_serve API. 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...
Handles generating a 'combo' file for the given path. This is similar to what happens when we upload to S3. Processors are applied, and we get the value that we would if we were serving from S3. This is a good way to make sure combo files work as intended before rolling out to production.
"Handles generating a 'combo' file for the given path. This is similar to\n what happens when we upload to S3. Processors are applied, and we get\n the value that we would if we were serving from S3. This is a good way\n to make sure combo files work as intended before rolling out\n to production."
44
false
sunlightlabs/django-mediasync
combo_serve
38,555
LDU_FT/jgrassler/mkdocs-pandoc/wrap_row
LDU_FT
[ "<BEGIN>\n## `flatten_pages`", "Recursively flattens pages data structure into a one-dimensional data structure\n<END>", "<BEGIN>\n## `convert`", "User-facing conversion method. Returns pandoc document as a list of\n lines.\n<END>", "<BEGIN>\n## `run`", "Filter method: Passes all blocks through con...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wrap_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. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wrap_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. The extracte...
Wraps a single line table row into a fixed width, multi-line table.
"Wraps a single line table row into a fixed width, multi-line table."
10
false
jgrassler/mkdocs-pandoc
wrap_row
38,556
LDU_FT/grst/geos/get_tiles
LDU_FT
[ "<BEGIN>\n## `griditer`", "Iterate through a grid of tiles.", " Args:\n x (int): x start-coordinate\n y (int): y start-coordinate\n ncol (int): number of tile columns\n nrow (int): number of tile rows. If not specified, this\n defaults to ncol, s.t. a quadratic region i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_tiles API. 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_tiles API. 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...
Download tiles. Args: map_source (MapSource): bbox (TileBB): Bounding box delimiting the map n_workers (int): number of threads to used for downloading. Returns: dict of file: Dictionary mapping coordinates to temporary files. Example:: { (...
"Download tiles.\n\n Args:\n map_source (MapSource):\n bbox (TileBB): Bounding box delimiting the map\n n_workers (int): number of threads to used for downloading.\n\n Returns:\n dict of file: Dictionary mapping coordinates to temporary files.\n\n Example::\n\n {\n ...
153
false
grst/geos
get_tiles
38,557
LDU_FT/Workable/flask-log-request-id/_log_http_event
LDU_FT
[ "<BEGIN>\n## `flask_ctx_get_request_id`", "Get request id from flask's G object\n :return: The id or None if not found.\n<END>", "<BEGIN>\n## `_log_http_event`", "It will create a log event as werkzeug but at the end of request holding the request-id", " Intended usage is a handler of Flask.after_...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _log_http_event API. 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 _log_http_event API. 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...
It will create a log event as werkzeug but at the end of request holding the request-id Intended usage is a handler of Flask.after_request :return: The same response object
"It will create a log event as werkzeug but at the end of request holding the request-id\n\n Intended usage is a handler of Flask.after_request\n :return: The same response object"
15
false
Workable/flask-log-request-id
_log_http_event
38,558
LDU_FT/pyros-dev/pyros-common/start
LDU_FT
[ "<BEGIN>\n## `start`", "Startup of the node.\n :param join: optionally wait for the process to end (default : True)\n :return: None\n<END>", "<BEGIN>\n## `setup`", "Dynamically reset the interface to expose the services / topics / params whose names are passed as args\n The interface clas...
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...
Startup of the node. :param join: optionally wait for the process to end (default : True) :return: None
"Startup of the node.\n :param join: optionally wait for the process to end (default : True)\n :return: None"
34
false
pyros-dev/pyros-common
start
38,559
LDU_FT/adammck/djtables/_copy
LDU_FT
[ "<BEGIN>\n## `get_url`", "Return an url, relative to the request associated with this\n table. Any keywords arguments provided added to the query\n string, replacing existing values.\n<END>", "<BEGIN>\n## `object_list`", "Return this table's object_list, transformed (sorted, reversed,\n f...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _copy API. 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 _copy API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Return a mutable copy of `query_dict`. This is a workaround to Django bug #13572, which prevents QueryDict.copy from working.
"Return a mutable copy of `query_dict`. This is a workaround to\n Django bug #13572, which prevents QueryDict.copy from working."
20
false
adammck/djtables
_copy
38,560
LDU_FT/python-odin/odinweb/operation
LDU_FT
[ "<BEGIN>\n## `action`", "Decorator to apply an action to a resource. An action is applied to a `detail` operation.\n<END>", "<BEGIN>\n## `listing`", "Decorator to configure an operation that returns a list of resources.\n<END>", "<BEGIN>\n## `create`", "Decorator to configure an operation that creates a r...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the operation API. 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 operation API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
:param path: A sub path that can be used as a action. :param methods: HTTP method(s) this function responses to. :param resource: Specify the resource that this function encodes/decodes, default is the one specified on the ResourceAPI instance. :param tags: Tags to be applied to oper...
":param path: A sub path that can be used as a action.\n :param methods: HTTP method(s) this function responses to.\n :param resource: Specify the resource that this function encodes/decodes,\n default is the one specified on the ResourceAPI instance.\n :param tags: Tags to be applied to...
139
false
python-odin/odinweb
operation
38,561
LDU_FT/materialsproject/custodian/run_interrupted
LDU_FT
[ "<BEGIN>\n## `from_spec`", "Load a Custodian instance where the jobs are specified from a\n structure and a spec dict. This allows simple\n custom job sequences to be constructed quickly via a YAML file.", " Args:\n spec (dict): A dict specifying job. A sample of the dict in\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run_interrupted API. 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 run_interrupted API. 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...
Runs custodian in a interuppted mode, which sets up and validates jobs but doesn't run the executable Returns: number of remaining jobs Raises: ValidationError: if a job fails validation ReturnCodeError: if the process has a return code different from 0 ...
"Runs custodian in a interuppted mode, which sets up and\n validates jobs but doesn't run the executable\n\n Returns:\n number of remaining jobs\n\n Raises:\n ValidationError: if a job fails validation\n ReturnCodeError: if the process has a return code different fr...
90
false
materialsproject/custodian
run_interrupted
38,562
LDU_FT/kylejusticemagnuson/pyti/commodity_channel_index
LDU_FT
[ "<BEGIN>\n## `band_width`", "Bandwidth.", " Formula:\n BW = SMA(H - L)\n<END>", "<BEGIN>\n## `center_band`", "Center Band.", " Formula:\n CB = SMA(TP)\n<END>", "<BEGIN>\n## `upper_band`", "Upper Band.", " Formula:\n UB = CB + BW\n<END>", "<BEGIN>\n## `lower_band`", "Lower Band....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the commodity_channel_index 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 commodity_channel_index API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
Commodity Channel Index. Formula: CCI = (TP - SMA(TP)) / (0.015 * Mean Deviation)
"Commodity Channel Index.\n\n Formula:\n CCI = (TP - SMA(TP)) / (0.015 * Mean Deviation)"
204
false
kylejusticemagnuson/pyti
commodity_channel_index
38,563
LDU_FT/mamrhein/specification/visit_UnaryOp
LDU_FT
[ "<BEGIN>\n## `is_satisfied_by`", "Return True if `candidate` satisfies the specification.\n<END>", "<BEGIN>\n## `src2ast`", "Return ast.Expression created from source code given in `src`.\n<END>", "<BEGIN>\n## `replace_name`", "Replace all Name nodes named `old_name` with nodes named `new_name`.\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the visit_UnaryOp API. 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 visit_UnaryOp API. 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 representation of `node`s operator and operand.
"Return representation of `node`s operator and operand."
66
false
mamrhein/specification
visit_UnaryOp
38,564
LDU_FT/bennylope/pygeocodio/geocode_address
LDU_FT
[ "<BEGIN>\n## `error_response`", "Raises errors matching the response code\n<END>", "<BEGIN>\n## `_req`", "Method to wrap all request building", " :return: a Response object based on the specified method and request values.\n<END>", "<BEGIN>\n## `parse`", "Returns an Address dictionary with the co...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the geocode_address API. 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 geocode_address API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Returns a Location dictionary with the components of the queried address and the geocoded location. >>> client = GeocodioClient('some_api_key') >>> client.geocode("1600 Pennsylvania Ave, Washington DC") { "input": { "address_components": { "number": "...
"Returns a Location dictionary with the components of the queried\n address and the geocoded location.\n\n >>> client = GeocodioClient('some_api_key')\n >>> client.geocode(\"1600 Pennsylvania Ave, Washington DC\")\n {\n \"input\": {\n \"address_components\": {\n ...
28
false
bennylope/pygeocodio
geocode_address
38,565
LDU_FT/b3j0f/utils/_safebuiltins
LDU_FT
[ "<BEGIN>\n## `find_ctx`", "Get the right ctx related to input elt.", " In order to keep safe memory as much as possible, it is important to find\n the right context element. For example, instead of putting properties on\n a function at the level of an instance, it is important to save such\n propert...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _safebuiltins API. 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 _safebuiltins API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Construct a safe builtin environment without I/O functions. :rtype: dict
"Construct a safe builtin environment without I/O functions.\n\n :rtype: dict"
169
false
b3j0f/utils
_safebuiltins
38,566
LDU_FT/python-rope/rope/is_changed
LDU_FT
[ "<BEGIN>\n## `find_occurrences`", "Return a list of `Location`\\s", " If `unsure` is `True`, possible matches are returned, too. You\n can use `Location.unsure` to see which are unsure occurrences.\n `resources` can be a list of `rope.base.resource.File`\\s that\n should be searched for occurrences...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_changed API. 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 is_changed API. 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...
Tell whether any of start till end lines have changed The end points are inclusive and indices start from 1.
"Tell whether any of start till end lines have changed\n\n The end points are inclusive and indices start from 1."
312
false
python-rope/rope
is_changed
38,567
LDU_FT/F5Networks/f5-common-python/_modify
LDU_FT
[ "<BEGIN>\n## `update`", "Update the object, removing device group if inherited", " If inheritedDevicegroup is the string \"true\" we need to remove\n deviceGroup from the args before we update or we get the\n following error:", " The floating traffic-group: /Common/traffic-group-1 ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _modify API. 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 _modify API. 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...
Override modify to check kwargs before request sent to device.
"Override modify to check kwargs before request sent to device."
559
false
F5Networks/f5-common-python
_modify
38,568
LDU_FT/johnnoone/aioconsul/keys
LDU_FT
[ "<BEGIN>\n## `extract_blocking`", "Extract index and watch from :class:`Blocking`", " Parameters:\n obj (Blocking): the blocking object\n Returns:\n tuple: index and watch\n<END>", "<BEGIN>\n## `consistency_middleware`", "Set consistency", " Order:", " 1. consistency request\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the keys API. 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 keys API. 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 the keys under the given prefix Parameters: prefix (str): Prefix to fetch separator (str): List only up to a given separator dc (str): Specify datacenter that will be used. Defaults to the agent's local datacenter. watch (B...
"Returns a list of the keys under the given prefix\n\n Parameters:\n prefix (str): Prefix to fetch\n separator (str): List only up to a given separator\n dc (str): Specify datacenter that will be used.\n Defaults to the agent's local datacenter.\n ...
403
false
johnnoone/aioconsul
keys
38,569
LDU_FT/neo4j/neo4j-python-driver/pull
LDU_FT
[ "<BEGIN>\n## `basic_auth`", "Generate a basic auth token for a given user and password.", " :param user: user name\n :param password: current password\n :param realm: specifies the authentication provider\n :return: auth token for use with :meth:`GraphDatabase.driver`\n<END>", "<BEGIN>\n## `custom...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pull API. 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 pull API. 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 generator containing the results of the next query in the pipeline
"Returns a generator containing the results of the next query in the pipeline"
133
false
neo4j/neo4j-python-driver
pull
38,570
LDU_FT/Nic30/ipCorePackager/quartus_prop
LDU_FT
[ "<BEGIN>\n## `tcl_add_fileset_file`", ":param filename: relative filename with .vhdl or .v", " :return: add_fileset_file command string\n<END>", "<BEGIN>\n## `_asQuartusTcl`", "Add interface to Quartus tcl by specified name map", " :param buff: line buffer for output\n :param version: Qua...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the quartus_prop API. 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 quartus_prop API. 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...
Set property on interface in Quartus TCL :param buff: line buffer for output :param intfName: name of interface to set property on :param name: property name :param value: property value :param escapeStr: flag, if True put string properties to extra ""
"Set property on interface in Quartus TCL\n\n :param buff: line buffer for output\n :param intfName: name of interface to set property on\n :param name: property name\n :param value: property value\n :param escapeStr: flag, if True put string properties to extra \"\""
33
false
Nic30/ipCorePackager
quartus_prop
38,571
LDU_FT/PixelwarStudio/PyTree/move
LDU_FT
[ "<BEGIN>\n## `generate_branches`", "Generates branches with alternative system.", " Args:\n scales (tuple/array): Indicating how the branch/es length/es develop/s from age to age.\n angles (tuple/array): Holding the branch and shift angle in radians.\n shift_angle (float): Holding the ro...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the move API. 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 move API. 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...
Move the tree. Args: delta (tupel): The adjustment of the position.
"Move the tree.\n\n Args:\n delta (tupel): The adjustment of the position."
63
false
PixelwarStudio/PyTree
move
38,572