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/envi-idl/envipyarclib/sys_toolbox_dir
LDU_FT
[ "<BEGIN>\n## `create_param_info`", "Builds the code block for the GPTool GetParameterInfo method based on the input task_params.", " :param task_params: A list of task parameters to map to GPTool parameters.\n :return: A string representing the code block to the GPTool GetParameterInfo method.\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sys_toolbox_dir API. 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 sys_toolbox_dir API. 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 this site-package esri toolbox directory.
"Returns this site-package esri toolbox directory."
24
false
envi-idl/envipyarclib
sys_toolbox_dir
10,973
LDU_FT/crossbario/zlmdb/select
LDU_FT
[ "<BEGIN>\n## `is_null`", "Check if the scalar value or tuple/list value is NULL.", " :param value: Value to check.\n :type value: a scalar or tuple or list", " :return: Returns ``True`` if and only if the value is NULL (scalar value is None\n or _any_ tuple/list elements are None).\n :rtype...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the select API. 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 select API. 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 ...
Select all records (key-value pairs) in table, optionally within a given key range. :param txn: The transaction in which to run. :type txn: :class:`zlmdb.Transaction` :param from_key: Return records starting from (and including) this key. :type from_key: object :param to_key: ...
"Select all records (key-value pairs) in table, optionally within a given key range.\n\n :param txn: The transaction in which to run.\n :type txn: :class:`zlmdb.Transaction`\n\n :param from_key: Return records starting from (and including) this key.\n :type from_key: object\n\n :param...
30
false
crossbario/zlmdb
select
10,974
LDU_FT/erocarrera/pefile/get_qword_from_data
LDU_FT
[ "<BEGIN>\n## `is_suspicious`", "unusual locations of import tables\n non recognized section names\n presence of long ASCII strings\n<END>", "<BEGIN>\n## `is_probably_packed`", "Returns True is there is a high likelihood that a file is packed or contains compressed data.", " The sections of the PE f...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_qword_from_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_qword_from_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Convert eight bytes of data to a word (little endian) 'offset' is assumed to index into a word array. So setting it to N will return a dword out of the data starting at offset N*8. Returns None if the data can't be turned into a quad word.
"Convert eight bytes of data to a word (little endian)\n\n 'offset' is assumed to index into a word array. So setting it to\n N will return a dword out of the data starting at offset N*8.\n\n Returns None if the data can't be turned into a quad word."
160
false
erocarrera/pefile
get_qword_from_data
10,975
LDU_FT/QInfer/python-qinfer/posterior_bayes_information
LDU_FT
[ "<BEGIN>\n## `h`", "r\"\"\"\n Returns the step size to be used in numerical differentiation with \n respect to the model parameters.", " The step size is given as a vector with length ``n_modelparams`` so \n that each model parameter can be weighted independently.\n<END>", "<BEGIN>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the posterior_bayes_information 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 posterior_bayes_information API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
Evaluates the local Bayesian Information Matrix (BIM) over all particles of the current posterior distribution with corresponding weights. :param expparams: Parameters describing the experiment that was performed. :type expparams: :class:`~numpy.ndarray` of dtype given by the ...
"Evaluates the local Bayesian Information Matrix (BIM) over all particles\n of the current posterior distribution with corresponding weights.\n\n :param expparams: Parameters describing the experiment that was\n performed.\n :type expparams: :class:`~numpy.ndarray` of dtype given by the\...
362
false
QInfer/python-qinfer
posterior_bayes_information
10,976
LDU_FT/praekeltfoundation/seaworthy/wait_for_start
LDU_FT
[ "<BEGIN>\n## `wait_for_response`", "Try make a GET request with an HTTP client against a certain path and\n return once any response has been received, ignoring any errors.", " :param ContainerHttpClient client:\n The HTTP client to use to connect to the container.\n :param timeout:\n Tim...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wait_for_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 ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wait_for_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 ex...
Wait for the container to start. By default this will wait for the log lines matching the patterns passed in the ``wait_patterns`` parameter of the constructor using an UnorderedMatcher. For more advanced checks for container startup, this method should be overridden.
"Wait for the container to start.\n\n By default this will wait for the log lines matching the patterns\n passed in the ``wait_patterns`` parameter of the constructor using an\n UnorderedMatcher. For more advanced checks for container startup, this\n method should be overridden."
173
false
praekeltfoundation/seaworthy
wait_for_start
10,977
LDU_FT/openvax/topiary/predict_from_sequences
LDU_FT
[ "<BEGIN>\n## `transcript_sort_key`", "Key function used to sort transcripts. Taking the negative of\n protein sequence length and nucleotide sequence length so that\n the transcripts with longest sequences come first in the list. This couldn't\n be accomplished with `reverse=True` since we're also sortin...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the predict_from_sequences API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the predict_from_sequences API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Predict MHC ligands for sub-sequences of each input sequence. Parameters ---------- sequences : list of str Multiple amino acid sequences (without any names or IDs) Returns DataFrame with the following fields: - source_sequence - peptide ...
"Predict MHC ligands for sub-sequences of each input sequence.\n\n Parameters\n ----------\n sequences : list of str\n Multiple amino acid sequences (without any names or IDs)\n\n Returns DataFrame with the following fields:\n - source_sequence\n - peptide\n ...
91
false
openvax/topiary
predict_from_sequences
10,978
LDU_FT/mabuchilab/QNET/block_matrix
LDU_FT
[ "<BEGIN>\n## `isdisjoint`", "Check whether two Hilbert spaces are disjoint (do not have any\n common local factors). Note that `FullSpace` is *not* disjoint with any\n other Hilbert space, while `TrivialSpace` *is* disjoint with any other\n HilbertSpace (even itself)\n<END>", "<BEGIN>\n## `...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the block_matrix API. 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 block_matrix API. 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...
r"""Generate the operator matrix with quadrants .. math:: \begin{pmatrix} A B \\ C D \end{pmatrix} Args: A (Matrix): Matrix of shape ``(n, m)`` B (Matrix): Matrix of shape ``(n, k)`` C (Matrix): Matrix of shape ``(l, m)`` D (Matrix): Matrix of shape ``(l, k)`` Retu...
"r\"\"\"Generate the operator matrix with quadrants\n\n .. math::\n\n \\begin{pmatrix} A B \\\\ C D \\end{pmatrix}\n\n Args:\n A (Matrix): Matrix of shape ``(n, m)``\n B (Matrix): Matrix of shape ``(n, k)``\n C (Matrix): Matrix of shape ``(l, m)``\n D (Matrix): Matrix of shape ``...
1,017
false
mabuchilab/QNET
block_matrix
10,979
LDU_FT/xenadevel/PyXenaManager/sendQueryVerify
LDU_FT
[ "<BEGIN>\n## `sendQuery`", "Send command, wait for response (single or multi lines), test for errors and return the returned code.", " :param cmd: command to send\n :param multilines: True - multiline response, False - single line response.\n :return: command return value.\n<END>", "<BEGI...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sendQueryVerify API. 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 sendQueryVerify API. 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...
Send command without return value, wait for completion, verify success. :param cmd: command to send
"Send command without return value, wait for completion, verify success.\n\n :param cmd: command to send"
140
false
xenadevel/PyXenaManager
sendQueryVerify
10,980
LDU_FT/HPCC-Cloud-Computing/CAL/dettach_igw
LDU_FT
[ "<BEGIN>\n## `delete`", "This is bad delete function\n because one vpc can have more than one subnet.\n It is Ok if user only use CAL for manage cloud resource\n We will update ASAP.\n<END>", "<BEGIN>\n## `create_container`", "Create container", " :param container(string): contai...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dettach_igw API. 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 dettach_igw API. 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...
Dettach network from Internet gateway :Param req :Type object Request
"Dettach network from Internet gateway\n :Param req\n :Type object Request"
68
false
HPCC-Cloud-Computing/CAL
dettach_igw
10,981
LDU_FT/cloudbase/python-hnvclient/process_raw_data
LDU_FT
[ "<BEGIN>\n## `register`", "Register the current options to the global ConfigOpts object.\n<END>", "<BEGIN>\n## `get_options`", "Collect all the options info from the other modules.\n<END>", "<BEGIN>\n## `run_once`", "A memoization decorator, whose purpose is to cache calls.\n<END>", "<BEGIN>\n## `get_cl...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_raw_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_raw_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Create a new model using raw API response.
"Create a new model using raw API response."
89
false
cloudbase/python-hnvclient
process_raw_data
10,982
LDU_FT/vmirly/pyclust/fit
LDU_FT
[ "<BEGIN>\n## `_update_centers`", "Update Cluster Centers:\n calculate the mean of feature vectors for each cluster.", " distance can be a string or callable.\n<END>", "<BEGIN>\n## `_kmedoids_run`", "Run a single trial of k-medoids clustering\n on dataset X, and given number of cluste...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fit API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fit API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Apply KMeans Clustering X: dataset with feature vectors
"Apply KMeans Clustering\n X: dataset with feature vectors"
47
false
vmirly/pyclust
fit
10,983
LDU_FT/juiceinc/recipe/enchant
LDU_FT
[ "<BEGIN>\n## `cauldron_extras`", "Yield extra tuples containing a field name and a callable that takes\n a row\n<END>", "<BEGIN>\n## `make_column_suffixes`", "Make sure we have the right column suffixes. These will be appended\n to `id` when generating the query.\n<END>", "<BEGIN>\n## `parse_c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the enchant API. 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 enchant API. 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 any calculated values to each row of a resultset generating a new namedtuple :param list: a list of row results :param cache_context: optional extra context for caching :return: a list with ingredient.cauldron_extras added for all ingredients
"Add any calculated values to each row of a resultset generating a\n new namedtuple\n\n :param list: a list of row results\n :param cache_context: optional extra context for caching\n :return: a list with ingredient.cauldron_extras added for all\n ingredients"
129
false
juiceinc/recipe
enchant
10,984
LDU_FT/dirko/pyhacrf/_initialize_parameters
LDU_FT
[ "<BEGIN>\n## `transform`", "Transform sequence pairs to feature arrays that can be used as input to `Hacrf` models.", " Parameters\n ----------\n raw_X : List of (sequence1_n, sequence2_n) pairs, one for each training example n.\n y : (ignored)", " Returns\n -------\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _initialize_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....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _initialize_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....
Helper to create initial parameter vector with the correct shape.
"Helper to create initial parameter vector with the correct shape."
46
false
dirko/pyhacrf
_initialize_parameters
10,985
LDU_FT/infothrill/python-launchd/install
LDU_FT
[ "<BEGIN>\n## `launchctl`", "A minimal wrapper to call the launchctl binary and capture the output\n :param subcommand: string\n<END>", "<BEGIN>\n## `discover_filename`", "Check the filesystem for the existence of a .plist file matching the job label.\n Optionally specify one or more scopes to search (de...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the install API. 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 install API. 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...
Utility function to store a new .plist file and load it :param label: job label :param plist: a property list dictionary
"Utility function to store a new .plist file and load it\n\n :param label: job label\n :param plist: a property list dictionary"
18
false
infothrill/python-launchd
install
10,986
LDU_FT/linkedin/pyexchange/get_occurrence
LDU_FT
[ "<BEGIN>\n## `add_attendees`", "Adds new attendees to the event.", " *attendees* can be a list of email addresses or :class:`ExchangeEventAttendee` objects.\n<END>", "<BEGIN>\n## `remove_attendees`", "Removes attendees from the event.", " *attendees* can be a list of email addresses or :class:`Excha...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_occurrence API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_occurrence API. 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...
get_occurrence(instance_index) :param iterable instance_index: This should be tuple or list of integers which correspond to occurrences. :raises TypeError: When instance_index is not an iterable of ints. :raises InvalidEventType: When this method is called on an event that is not a RecurringMaster typ...
"get_occurrence(instance_index)\n :param iterable instance_index: This should be tuple or list of integers which correspond to occurrences.\n :raises TypeError: When instance_index is not an iterable of ints.\n :raises InvalidEventType: When this method is called on an event that is not a RecurringMaster...
102
false
linkedin/pyexchange
get_occurrence
10,987
LDU_FT/scikit-tda/kepler-mapper/get_mapper_graph
LDU_FT
[ "<BEGIN>\n## `project`", "Creates the projection/lens from a dataset. Input the data set. Specify a projection/lens type. Output the projected data/lens.", " Parameters\n ----------", " X : Numpy Array\n The data to fit a projection/lens to.", " projection :\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_mapper_graph API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_mapper_graph API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Generate data for mapper graph visualization and annotation. Parameters ---------- simplicial_complex : dict Simplicial complex is the output from the KeplerMapper `map` method. Returns ------- the graph dictionary in a json representation, the mapper summary and the ...
"Generate data for mapper graph visualization and annotation.\r\n\r\n Parameters\r\n ----------\r\n simplicial_complex : dict\r\n Simplicial complex is the output from the KeplerMapper `map` method.\r\n \r\n Returns\r\n -------\r\n the graph dictionary in a json representation, the mapper su...
169
false
scikit-tda/kepler-mapper
get_mapper_graph
10,988
LDU_FT/acorg/dark-matter/htmlTable
LDU_FT
[ "<BEGIN>\n## `iter`", "Extract BLAST records and yield C{ReadAlignments} instances.", " For each file except the first, check that the BLAST parameters are\n compatible with those found (above, in __init__) in the first file.", " @return: A generator that yields C{ReadAlignments} instance...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the htmlTable API. 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 htmlTable API. 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...
Make an HTML table showing inter-sequence distances. @param tableData: A C{defaultdict(dict)} keyed by read ids, whose values are the dictionaries returned by compareDNAReads. @param reads1: An C{OrderedDict} of C{str} read ids whose values are C{Read} instances. These will be the rows of the t...
"Make an HTML table showing inter-sequence distances.\n\n @param tableData: A C{defaultdict(dict)} keyed by read ids, whose values\n are the dictionaries returned by compareDNAReads.\n @param reads1: An C{OrderedDict} of C{str} read ids whose values are\n C{Read} instances. These will be the rows of...
601
false
acorg/dark-matter
htmlTable
10,989
LDU_FT/Element-34/py.saunter/verify_element_present
LDU_FT
[ "<BEGIN>\n## `get_random_user`", "Gets a random user from the provider", " :returns: Dictionary\n<END>", "<BEGIN>\n## `is_element_available`", "Synchronization method for making sure the element we're looking for is not only on the page,\n but also visible -- since Se will happily deal with th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the verify_element_present 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 verify_element_present API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Soft assert for whether and element is present in the current window/frame :params locator: the locator of the element to search for :params msg: (Optional) msg explaining the difference
"Soft assert for whether and element is present in the current window/frame\n\n :params locator: the locator of the element to search for\n :params msg: (Optional) msg explaining the difference"
81
false
Element-34/py.saunter
verify_element_present
10,990
LDU_FT/pandas-dev/pandas/is_sparse
LDU_FT
[ "<BEGIN>\n## `to_offset`", "Return DateOffset object from string or tuple representation\n or datetime.timedelta object", " Parameters\n ----------\n freq : str, tuple, datetime.timedelta, DateOffset or None", " Returns\n -------\n DateOffset\n None if freq is None.", " Raises...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_sparse API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_sparse API. 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...
Check whether an array-like is a 1-D pandas sparse array. Check that the one-dimensional array-like is a pandas sparse array. Returns True if it is a pandas sparse array, not another type of sparse array. Parameters ---------- arr : array-like Array-like to check. Returns ----...
"Check whether an array-like is a 1-D pandas sparse array.\n\n Check that the one-dimensional array-like is a pandas sparse array.\n Returns True if it is a pandas sparse array, not another type of\n sparse array.\n\n Parameters\n ----------\n arr : array-like\n Array-like to check.\n\n Retu...
8,110
true
pandas-dev/pandas
is_sparse
10,991
LDU_FT/ajslater/picopt/run
LDU_FT
[ "<BEGIN>\n## `_get_timestamp`", "Get the timestamp from the timestamp file.", " Optionally mark it for removal if we're going to write another one.\n<END>", "<BEGIN>\n## `_get_timestamp_cached`", "Get the timestamp from the cache or fill the cache\n Much quicker than reading the same files over and ov...
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...
Use preconfigured settings to optimize files.
"Use preconfigured settings to optimize files."
86
false
ajslater/picopt
run
10,992
LDU_FT/kipe/enocean/_get_from_send_queue
LDU_FT
[ "<BEGIN>\n## `_get_raw`", "Get raw data as integer, based on offset and size\n<END>", "<BEGIN>\n## `_get_enum`", "Get enum value, based on the data in XML\n<END>", "<BEGIN>\n## `_get_boolean`", "Get boolean value, based on the data in XML\n<END>", "<BEGIN>\n## `_set_value`", "set given numeric value t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_from_send_queue API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_from_send_queue API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Get message from send queue, if one exists
"Get message from send queue, if one exists"
38
false
kipe/enocean
_get_from_send_queue
10,993
LDU_FT/JNRowe/jnrbase/__user_location
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 __user_location API. 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 __user_location API. 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...
Utility function to look up XDG basedir locations Args: __pkg: Package name __type: Location type
"Utility function to look up XDG basedir locations\n\n Args:\n __pkg: Package name\n __type: Location type"
112
false
JNRowe/jnrbase
__user_location
10,994
LDU_FT/dicaso/leopard/sectionWalker
LDU_FT
[ "<BEGIN>\n## `makeFigFromFile`", "Renders an image in a matplotlib figure, so it can be added to reports \n args and kwargs are passed to plt.subplots\n<END>", "<BEGIN>\n## `append`", "Append a new section\n If toSection is None, section is appended to the main section/subs list.\n Else if to...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sectionWalker API. 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 sectionWalker API. 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...
callback needs to be a function that handles different Section elements appropriately walkTrace needs to be a tuple, indicate the route to the section, e.g. (1,2,0)
"callback needs to be a function that handles different \n Section elements appropriately\n walkTrace needs to be a tuple, indicate the route to the section, e.g. (1,2,0)"
26
false
dicaso/leopard
sectionWalker
10,995
LDU_FT/vaab/colour/hsl2rgb
LDU_FT
[ "<BEGIN>\n## `hsl2rgb`", "Convert HSL representation towards RGB", " :param h: Hue, position around the chromatic circle (h=1 equiv h=0)\n :param s: Saturation, color saturation (0=full gray, 1=full color)\n :param l: Ligthness, Overhaul lightness (0=full black, 1=full white)\n :rtype: 3-uple for RG...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hsl2rgb API. 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 hsl2rgb API. 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...
Convert HSL representation towards RGB :param h: Hue, position around the chromatic circle (h=1 equiv h=0) :param s: Saturation, color saturation (0=full gray, 1=full color) :param l: Ligthness, Overhaul lightness (0=full black, 1=full white) :rtype: 3-uple for RGB values in float between 0 and 1 ...
"Convert HSL representation towards RGB\n\n :param h: Hue, position around the chromatic circle (h=1 equiv h=0)\n :param s: Saturation, color saturation (0=full gray, 1=full color)\n :param l: Ligthness, Overhaul lightness (0=full black, 1=full white)\n :rtype: 3-uple for RGB values in float between 0 and 1...
99
false
vaab/colour
hsl2rgb
10,996
LDU_FT/jrief/djangocms-cascade/extend_children
LDU_FT
[ "<BEGIN>\n## `_enrich_link`", "Enrich the dict glossary['link'] with an identifier onto the model\n<END>", "<BEGIN>\n## `get_form`", "Extend the form for the given plugin with the form SharableCascadeForm\n<END>", "<BEGIN>\n## `get_picture_elements`", "Create a context, used to render a <picture> together...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extend_children API. 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 extend_children API. 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...
Extend the number of children so that the parent object contains wanted children. No child will be removed if wanted_children is smaller than the current number of children.
"Extend the number of children so that the parent object contains wanted children.\n No child will be removed if wanted_children is smaller than the current number of children."
78
false
jrief/djangocms-cascade
extend_children
10,997
LDU_FT/gautammishra/lyft-rides-python-sdk/_extract_query
LDU_FT
[ "<BEGIN>\n## `_build_headers`", "Create headers for the request.\n Parameters\n method (str)\n HTTP method (e.g. 'POST').\n auth_session (Session)\n The Session object containing OAuth 2.0 credentials.\n Returns\n headers (dict)\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _extract_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 ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _extract_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 ex...
Extract query parameters from a url. Parameters redirect_url (str) The full URL that the Lyft server redirected to after the user authorized your app. Returns (dict) A dictionary of query parameters.
"Extract query parameters from a url.\n Parameters\n redirect_url (str)\n The full URL that the Lyft server redirected to after\n the user authorized your app.\n Returns\n (dict)\n A dictionary of query parameters."
52
false
gautammishra/lyft-rides-python-sdk
_extract_query
10,998
LDU_FT/andycasey/sick/simple_round_factory
LDU_FT
[ "<BEGIN>\n## `chains`", "Create a plot showing the walker values for each parameter at every step.", " :param xs:\n The samples. This should be a 3D :class:`numpy.ndarray` of size \n (``n_walkers``, ``n_steps``, ``n_parameters``).", " :type xs:\n :class:`numpy.ndarray`", " :par...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the simple_round_factory API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the simple_round_factory API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
helper function for simple_round (a factory for simple_round functions)
"helper function for simple_round (a factory for simple_round functions)"
179
false
andycasey/sick
simple_round_factory
10,999
LDU_FT/cocagne/txdbus/errorReceived
LDU_FT
[ "<BEGIN>\n## `isSignatureValid`", "Verifies that the received signature matches the expected value\n<END>", "<BEGIN>\n## `notifyOnDisconnect`", "Registers a callback that will be called when the DBus connection\n underlying the remote object is lost", " @type callback: Callable object acceptin...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the errorReceived API. 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 errorReceived API. 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...
Called when an error message is received
"Called when an error message is received"
160
false
cocagne/txdbus
errorReceived
11,000
LDU_FT/casebeer/factual/join_params
LDU_FT
[ "<BEGIN>\n## `make_category_filter`", "Generates a dict representing a Factual filter matching any of the categories\n\tpassed. ", "\tThe resulting filter uses $bw \"begins with\" operators to return all matching\n\tsubcategories. Because of this, passing a top level category removes the need\n\tto pass any of ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the join_params API. 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 join_params API. 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...
Custom alternative to urllib.urlencode that keeps URL length down by not escaping certain special characters that Factual can tolerate unescaped. This is especially useful for the JSON special chars {}[],:. The full list of usually-escaped-but-ok-for-factual characters is: / { } ' $ : , [ ] The API...
"Custom alternative to urllib.urlencode that keeps URL length\n\t\tdown by not escaping certain special characters that Factual\n\t\tcan tolerate unescaped. This is especially useful for the \n\t\tJSON special chars {}[],:. \n\n\t\tThe full list of usually-escaped-but-ok-for-factual characters is:\n\n\t\t / { } ' $ ...
19
false
casebeer/factual
join_params
11,001
LDU_FT/smira/txZMQ/shutdown
LDU_FT
[ "<BEGIN>\n## `shutdown`", "Shutdown factory.", " This is shutting down all created connections\n and terminating ZeroMQ context. Also cleans up\n Twisted reactor.\n<END>", "<BEGIN>\n## `publish`", "Publish `message` with specified `tag`.", " :param message: message data\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the shutdown API. 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 shutdown API. 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...
Shutdown factory. This is shutting down all created connections and terminating ZeroMQ context. Also cleans up Twisted reactor.
"Shutdown factory.\n\n This is shutting down all created connections\n and terminating ZeroMQ context. Also cleans up\n Twisted reactor."
35
false
smira/txZMQ
shutdown
11,002
LDU_FT/vtraag/louvain-igraph/Bipartite
LDU_FT
[ "<BEGIN>\n## `optimise_partition`", "Optimise the given partition.", " Parameters\n ----------\n partition\n The :class:`~VertexPartition.MutableVertexPartition` to optimise.", " Returns\n -------\n float\n Improvement in quality function.", " Examples\n --------", " >...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Bipartite API. 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 Bipartite API. 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...
Create three layers for bipartite partitions. This creates three layers for bipartite partition necessary for detecting communities in bipartite networks. These three layers should be passed to :func:`Optimiser.optimise_partition_multiplex` with ``layer_weights=[1,-1,-1]``. Parameters --------...
"Create three layers for bipartite partitions.\n\n This creates three layers for bipartite partition necessary for detecting\n communities in bipartite networks. These three layers should be passed to\n :func:`Optimiser.optimise_partition_multiplex` with\n ``layer_weights=[1,-1,-1]``.\n\n Parameters\n ...
102
false
vtraag/louvain-igraph
Bipartite
11,003
LDU_FT/skyfielders/python-skyfield/angle_between
LDU_FT
[ "<BEGIN>\n## `add_deflection`", "Update `position` for how solar system masses will deflect its light.", " Given the ICRS `position` [x,y,z] of an object (au) that is being\n viewed from the `observer` also expressed as [x,y,z], and given an\n ephemeris that can be used to determine solar system body p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the angle_between API. 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 angle_between API. 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...
Given 2 vectors in `v` and `u`, return the angle separating them. This works whether `v` and `u` each have the shape ``(3,)``, or whether they are each whole arrays of corresponding x, y, and z coordinates and have shape ``(3, N)``. The returned angle will be between 0 and 180 degrees. This formul...
"Given 2 vectors in `v` and `u`, return the angle separating them.\n\n This works whether `v` and `u` each have the shape ``(3,)``, or\n whether they are each whole arrays of corresponding x, y, and z\n coordinates and have shape ``(3, N)``. The returned angle will be\n between 0 and 180 degrees.\n\n Thi...
392
false
skyfielders/python-skyfield
angle_between
11,004
LDU_FT/django-crispy-forms/django-crispy-forms/as_crispy_errors
LDU_FT
[ "<BEGIN>\n## `do_uni_form`", "You need to pass in at least the form/formset object, and can also pass in the\n optional `crispy_forms.helpers.FormHelper` object.", " helper (optional): A `crispy_forms.helper.FormHelper` object.", " Usage::", " {% load crispy_tags %}\n {% crispy form f...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the as_crispy_errors API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the as_crispy_errors API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Renders only form errors the same way as django-crispy-forms:: {% load crispy_forms_tags %} {{ form|as_crispy_errors }} or:: {{ form|as_crispy_errors:"bootstrap" }}
"Renders only form errors the same way as django-crispy-forms::\n\n {% load crispy_forms_tags %}\n {{ form|as_crispy_errors }}\n\n or::\n\n {{ form|as_crispy_errors:\"bootstrap\" }}"
89
false
django-crispy-forms/django-crispy-forms
as_crispy_errors
11,005
LDU_FT/ravendb/ravendb-python-client/where_ends_with
LDU_FT
[ "<BEGIN>\n## `parse_json`", "This function will use the custom JsonDecoder and the conventions.mappers to recreate your custom object\n in the parse json string state just call this method with the json_string your complete object_type and with your\n mappers dict.\n the mappers dict must contain in the ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the where_ends_with API. 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 where_ends_with API. 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...
To get all the document that ends with the value in the giving field_name @param str field_name:The field name in the index you want to query. @param str value: The value will be the fields value you want to query
"To get all the document that ends with the value in the giving field_name\n\n @param str field_name:The field name in the index you want to query.\n @param str value: The value will be the fields value you want to query"
29
false
ravendb/ravendb-python-client
where_ends_with
11,006
LDU_FT/F5Networks/f5-common-python/_set_attributes
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 _set_attributes API. 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 _set_attributes API. 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...
Set attributes for instance in one place :param kwargs: dict -- dictionary of keyword arguments
"Set attributes for instance in one place\n\n :param kwargs: dict -- dictionary of keyword arguments"
559
false
F5Networks/f5-common-python
_set_attributes
11,007
LDU_FT/bigchaindb/bigchaindb-driver/normalize_nodes
LDU_FT
[ "<BEGIN>\n## `info`", "Retrieves information of the node being connected to via the\n root endpoint ``'/'``.", " Args:\n headers (dict): Optional headers to pass to the request.", " Returns:\n dict: Details of the node that this instance is connected\n to....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the normalize_nodes API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the normalize_nodes API. 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...
Normalizes given dict or array of driver nodes
"Normalizes given dict or array of driver nodes"
169
false
bigchaindb/bigchaindb-driver
normalize_nodes
11,008
LDU_FT/mlaprise/genSpline/birth
LDU_FT
[ "<BEGIN>\n## `gaussianPulse`", "Geneate a gaussian/supergaussiance envelope pulse", "\t\t* field_amp: \toutput gaussian pulse envellope (amplitude).\n\t\t* t: \t\tvector of times at which to compute u\n\t\t* t0: \t\tcenter of pulse (default = 0)\n\t\t* FWHM: \t\tfull-width at half-intensity of pulse (d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the birth API. 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 birth API. 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...
Create the individual (compute the spline curve)
"Create the individual (compute the spline curve)"
13
false
mlaprise/genSpline
birth
11,009
LDU_FT/openvax/pyensembl/_transcript_feature_position_ranges
LDU_FT
[ "<BEGIN>\n## `_write_csv`", "Parameters\n ----------\n df : pandas.DataFrame", " csv_path : str", " chunksize : int\n Number of rows to write at a time. Helps to limit memory\n consumption while writing a CSV.\n<END>", "<BEGIN>\n## `cached_dataframe`", "If...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _transcript_feature_position_ranges API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates it...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _transcript_feature_position_ranges API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates it...
Find start/end chromosomal position range of features (such as start codon) for this transcript.
"Find start/end chromosomal position range of features\n (such as start codon) for this transcript."
234
false
openvax/pyensembl
_transcript_feature_position_ranges
11,010
LDU_FT/MrMinimal64/timezonefinder/get_offset
LDU_FT
[ "<BEGIN>\n## `set_version`", "Set package version as listed in `__version__` in `__init__.py`.\n<END>", "<BEGIN>\n## `get_geometry`", ":param tz_name: one of the names in timezone_names\n :param tz_id: the id of the timezone (=index in timezone_names)\n :param use_id: determines whether id or na...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_offset API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_offset API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
returns a location's time zone offset from UTC in minutes.
"returns a location's time zone offset from UTC in minutes."
35
false
MrMinimal64/timezonefinder
get_offset
11,011
LDU_FT/RowleyGroup/pyqueue/get_dependency_type
LDU_FT
[ "<BEGIN>\n## `get_dependency_type`", "Get the dependency type string for SlurmPrinter", " :rtype: str\n<END>", "<BEGIN>\n## `get_header`", "Makes the header section for the scripts", " :rtype: str\n<END>", "<BEGIN>\n## `generate`", "Generates a job submission script from a job object", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_dependency_type API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_dependency_type API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Get the dependency type string for SlurmPrinter :rtype: str
"Get the dependency type string for SlurmPrinter\n\n :rtype: str"
26
false
RowleyGroup/pyqueue
get_dependency_type
11,012
LDU_FT/albertz/py_better_exchook/is_domterm
LDU_FT
[ "<BEGIN>\n## `parse_pkg_info`", ":param str fn:\n :rtype: dict[str,str]\n<END>", "<BEGIN>\n## `parse_py_statement`", ":param str line:\n :return: yields (type, value)\n :rtype: typing.Iterator[typing.Tuple[str,str]]\n<END>", "<BEGIN>\n## `grep_full_py_identifiers`", ":param typing.Iterable[(str,s...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_domterm API. 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_domterm API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
:return: whether we are inside DomTerm :rtype: bool
":return: whether we are inside DomTerm\n :rtype: bool"
75
false
albertz/py_better_exchook
is_domterm
11,013
LDU_FT/reorx/torext/_log_function
LDU_FT
[ "<BEGIN>\n## `format_request`", "Override for better log format", " Tornado format:\n [INFO 2015-03-24 11:29:57 app:521] 200 GET /static/css/lib/pure-min.css (127.0.0.1) 6.76ms\n Current format:\n [gevent.wsgi] INFO 127.0.0.1 - - [2015-03-24 11:18:45] \"GET /test HTTP/1.1\" 200 304 0...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _log_function API. 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 _log_function API. 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...
Override Application.log_function so that what to log can be controlled.
"Override Application.log_function so that what to log can be controlled."
70
false
reorx/torext
_log_function
11,014
LDU_FT/istresearch/scrapy-cluster/setup
LDU_FT
[ "<BEGIN>\n## `load`", "Load the settings dict", " @param local: The local settings filename to use\n @param default: The default settings module to read\n @return: A dict of the loaded settings\n<END>", "<BEGIN>\n## `load_from_string`", "Loads settings from a settings_string. Expects an...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setup API. 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 setup API. 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...
Setup the handler @param settings: The loaded settings file
"Setup the handler\n\n @param settings: The loaded settings file"
269
false
istresearch/scrapy-cluster
setup
11,015
LDU_FT/ambitioninc/django-query-builder/format_sql
LDU_FT
[ "<BEGIN>\n## `get_sql`", "Generates the JOIN sql for the join tables and join condition", " :rtype: str\n :return: the JOIN sql for the join tables and join condition\n<END>", "<BEGIN>\n## `set_left_table`", "Sets the left table for this join clause. If no table is specified, the first table\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format_sql API. 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 format_sql API. 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...
Builds the sql in a format that is easy for humans to read and debug :return: The formatted sql for this query :rtype: str
"Builds the sql in a format that is easy for humans to read and debug\n\n :return: The formatted sql for this query\n :rtype: str"
251
false
ambitioninc/django-query-builder
format_sql
11,016
LDU_FT/zyga/python-glibc/close
LDU_FT
[ "<BEGIN>\n## `_get_fd`", "Get a descriptor out of a file object.", " :param fileobj:\n An integer (existing descriptor) or any object having the `fileno()`\n method.\n :raises ValueError:\n if the descriptor cannot be obtained or if the descriptor is invalid\n :returns:\n fi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the close API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the close API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Close the internal signalfd file descriptor if it isn't closed :raises OSError: If the underlying ``close(2)`` fails. The error message matches those found in the manual page.
"Close the internal signalfd file descriptor if it isn't closed\n\n :raises OSError:\n If the underlying ``close(2)`` fails. The error message matches\n those found in the manual page."
106
false
zyga/python-glibc
close
11,017
LDU_FT/MisterY/asset-allocation/calculate_current_allocation
LDU_FT
[ "<BEGIN>\n## `get_symbols_with_positive_balances`", "Identifies all the securities with positive balances\n<END>", "<BEGIN>\n## `__get_pricedb_session`", "Provides initialization and access to module-level session\n<END>", "<BEGIN>\n## `format`", "Returns the view-friendly output of the aa model\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calculate_current_allocation 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 calculate_current_allocation API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl...
Calculates the current allocation % based on the value
"Calculates the current allocation % based on the value"
56
false
MisterY/asset-allocation
calculate_current_allocation
11,018
LDU_FT/TyVik/YaDiskClient/ls
LDU_FT
[ "<BEGIN>\n## `ls`", "Return list of files/directories. Each item is a dict. \n Keys: 'path', 'creationdate', 'displayname', 'length', 'lastmodified', 'isDir'.\n<END>", "<BEGIN>\n## `df`", "Return dict with size of Ya.Disk. Keys: 'available', 'used'.\n<END>", "<BEGIN>\n## `mkdir`", "Create directory...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ls API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted docu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ls API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted docu...
Return list of files/directories. Each item is a dict. Keys: 'path', 'creationdate', 'displayname', 'length', 'lastmodified', 'isDir'.
"Return list of files/directories. Each item is a dict. \n Keys: 'path', 'creationdate', 'displayname', 'length', 'lastmodified', 'isDir'."
10
false
TyVik/YaDiskClient
ls
11,019
LDU_FT/thiagopbueno/rddl2tf/max
LDU_FT
[ "<BEGIN>\n## `constant`", "Returns a constant `value` TensorFluent with given `dtype`.", " Args:\n value: The constant value.\n dtype: The output's data type.", " Returns:\n A constant TensorFluent.\n<END>", "<BEGIN>\n## `Bernoulli`", "Returns a TensorFluent ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the max API. 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 max API. 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 TensorFluent for the maximum function.TensorFluent Args: x: The first operand. y: The second operand. Returns: A TensorFluent wrapping the maximum function.
"Returns a TensorFluent for the maximum function.TensorFluent\n\n Args:\n x: The first operand.\n y: The second operand.\n\n Returns:\n A TensorFluent wrapping the maximum function."
297
false
thiagopbueno/rddl2tf
max
11,020
LDU_FT/HDI-Project/BTB/fit
LDU_FT
[ "<BEGIN>\n## `tune_pipeline`", "Tunes a specified pipeline with the\n specified tuner for TUNING_BUDGET_PER_ITER (3) iterations.", " Params:\n X: np.array of X training data\n y: np.array of y training data\n X_val: np.array of X validation data\n y_val: np.array of y validatio...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fit API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fit API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Train a gaussian process like normal, then compute a "Probability Of Uniform selection" (POU) value.
"Train a gaussian process like normal, then compute a \"Probability Of\n Uniform selection\" (POU) value."
75
false
HDI-Project/BTB
fit
11,021
LDU_FT/exxeleron/qPython/sendSync
LDU_FT
[ "<BEGIN>\n## `read`", "Reads and optionally parses a single message.", " :Parameters:\n - `source` - optional data buffer to be read, if not specified data is \n read from the wrapped stream\n :Options:\n - `raw` (`boolean`) - indicates whether read data should parsed or ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sendSync API. 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 sendSync API. 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...
Performs a synchronous query against a q service and returns parsed data. In typical use case, `query` is the name of the function to call and `parameters` are its parameters. When `parameters` list is empty, the query can be an arbitrary q expression (e.g. ``0 +/ til 100``)....
"Performs a synchronous query against a q service and returns parsed \n data.\n \n In typical use case, `query` is the name of the function to call and \n `parameters` are its parameters. When `parameters` list is empty, the \n query can be an arbitrary q expression (e.g. ``0 +/ til 1...
127
false
exxeleron/qPython
sendSync
11,022
LDU_FT/owncloud/pyocclient/_parse_dav_element
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 _parse_dav_element API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_dav_element 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...
Parses a single DAV element :param dav_response: DAV response :returns :class:`FileInfo`
"Parses a single DAV element\n\n :param dav_response: DAV response\n :returns :class:`FileInfo`"
139
false
owncloud/pyocclient
_parse_dav_element
11,023
LDU_FT/gmr/tredis/zrange
LDU_FT
[ "<BEGIN>\n## `auth`", "Request for authentication in a password-protected Redis server.\n Redis can be instructed to require a password before allowing clients\n to execute commands. This is done using the ``requirepass`` directive\n in the configuration file.", " If the password doe...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the zrange API. 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 zrange API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Returns the specified range of elements in the sorted set stored at key. The elements are considered to be ordered from the lowest to the highest score. Lexicographical order is used for elements with equal score. See :meth:`tredis.Client.zrevrange` when you need the elements ordered ...
"Returns the specified range of elements in the sorted set stored at\n key. The elements are considered to be ordered from the lowest to the\n highest score. Lexicographical order is used for elements with equal\n score.\n\n See :meth:`tredis.Client.zrevrange` when you need the elements orde...
523
false
gmr/tredis
zrange
11,024
LDU_FT/tBaxter/django-fretboard/truncatechars
LDU_FT
[ "<BEGIN>\n## `update_forum_votes`", "When a Vote is added, re-saves the topic or post to update vote count.\r\n Since Votes can be assigned\r\n to any content type, first makes sure we are dealing with a forum post or topic.\r", " Deprecated 1-6-14 by storing score as cached property\n<END>", "<BEGIN...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the truncatechars API. 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 truncatechars API. 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...
Takes a string and truncates it to the requested amount, by inserting an ellipses into the middle.
"Takes a string and truncates it to the requested amount, by inserting an ellipses into the middle."
29
false
tBaxter/django-fretboard
truncatechars
11,025
LDU_FT/coinbase/coinbase-python/get_time
LDU_FT
[ "<BEGIN>\n## `set_primary`", "https://developers.coinbase.com/api/v2#set-account-as-primary\n<END>", "<BEGIN>\n## `modify`", "https://developers.coinbase.com/api#modify-an-account\n<END>", "<BEGIN>\n## `get_address`", "https://developers.coinbase.com/api/v2#show-addresss\n<END>", "<BEGIN>\n## `get_addre...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_time API. 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 get_time API. 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...
https://developers.coinbase.com/api/v2#time
"https://developers.coinbase.com/api/v2#time"
166
false
coinbase/coinbase-python
get_time
11,026
LDU_FT/jeffbuttars/upkg/remove_repo
LDU_FT
[ "<BEGIN>\n## `exec`", "todo: Docstring for exec", " :param args: arg description\n :type args: type description\n :return:\n :rtype:\n<END>", "<BEGIN>\n## `exec`", "todo: Docstring for exec", " :param args: arg description\n :type args: type description\n :...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_repo API. 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 remove_repo API. 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...
todo: Docstring for remove_repo :param repo: arg description :type repo: type description :return: :rtype:
"todo: Docstring for remove_repo\n\n :param repo: arg description\n :type repo: type description\n :return:\n :rtype:"
76
false
jeffbuttars/upkg
remove_repo
11,027
LDU_FT/ArchiveTeam/wpull/gzip_uncompress
LDU_FT
[ "<BEGIN>\n## `_update_exit_code_from_stats`", "Set the current exit code based on the Statistics.\n<END>", "<BEGIN>\n## `is_response`", "Return whether the document is likely to be a Sitemap.\n<END>", "<BEGIN>\n## `is_file`", "Return whether the file is likely a Sitemap.\n<END>", "<BEGIN>\n## `parse_url...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gzip_uncompress API. 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 gzip_uncompress API. 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...
Uncompress gzip data. Args: data (bytes): The gzip data. truncated (bool): If True, the decompressor is not flushed. This is a convenience function. Returns: bytes: The inflated data. Raises: zlib.error
"Uncompress gzip data.\n\n Args:\n data (bytes): The gzip data.\n truncated (bool): If True, the decompressor is not flushed.\n\n This is a convenience function.\n\n Returns:\n bytes: The inflated data.\n\n Raises:\n zlib.error"
896
false
ArchiveTeam/wpull
gzip_uncompress
11,028
LDU_FT/limpyd/redis-limpyd-jobs/get_queue
LDU_FT
[ "<BEGIN>\n## `_parse_queues`", "Parse the given parameter and return a list of queues.\n The parameter must be a list/tuple of strings, or a string with queues\n separated by a comma.\n<END>", "<BEGIN>\n## `_assert_correct_model`", "Helper that asserts the model_to_check is the model_reference o...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_queue API. 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_queue API. 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...
Get, or create, and return the wanted queue. If the queue is created, fields in fields_if_new will be set for the new queue.
"Get, or create, and return the wanted queue.\n If the queue is created, fields in fields_if_new will be set for the new\n queue."
122
false
limpyd/redis-limpyd-jobs
get_queue
11,029
LDU_FT/w1ll1am23/pubnubsub-handler/_subscribe
LDU_FT
[ "<BEGIN>\n## `add_subscription`", "Add a channel to subscribe to and a callback function to\n run when the channel receives an update.\n If channel already exists, create a new \"subscription\"\n and append another callback function.", " Args:\n channel (str): The channel ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _subscribe API. 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 _subscribe API. 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...
Start the subscription to the channel list. If self._keep_alive_function isn't None start timer thread to run self._keep_alive_function every self._keep_alive amount of seconds.
"Start the subscription to the channel list.\n If self._keep_alive_function isn't None start timer thread to\n run self._keep_alive_function every self._keep_alive amount of seconds."
11
false
w1ll1am23/pubnubsub-handler
_subscribe
11,030
LDU_FT/seomoz/qless-py/sandbox
LDU_FT
[ "<BEGIN>\n## `clone`", "Clone the redis client to be slowlog-compatible\n<END>", "<BEGIN>\n## `stop`", "Set everything back to normal and collect our data\n<END>", "<BEGIN>\n## `class_string`", "Return a string representative of the class\n<END>", "<BEGIN>\n## `put`", "Either create a new job in the p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sandbox API. 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 sandbox API. 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...
Ensures path exists before yielding, cleans up after
"Ensures path exists before yielding, cleans up after"
66
false
seomoz/qless-py
sandbox
11,031
LDU_FT/SwissDataScienceCenter/renku-python/_jsonld
LDU_FT
[ "<BEGIN>\n## `_jsonld`", "Return formatted graph in JSON-LD ``format`` function.\n<END>", "<BEGIN>\n## `_rdf2dot_simple`", "Create a simple graph of processes and artifacts.\n<END>", "<BEGIN>\n## `_rdf2dot_reduced`", "A reduced dot graph.", " Adapted from original source:\n https://rdflib.readthed...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _jsonld API. 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 _jsonld API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Return formatted graph in JSON-LD ``format`` function.
"Return formatted graph in JSON-LD ``format`` function."
121
false
SwissDataScienceCenter/renku-python
_jsonld
11,032
LDU_FT/cloudbase/python-hnvclient/process_raw_data
LDU_FT
[ "<BEGIN>\n## `register`", "Register the current options to the global ConfigOpts object.\n<END>", "<BEGIN>\n## `get_options`", "Collect all the options info from the other modules.\n<END>", "<BEGIN>\n## `run_once`", "A memoization decorator, whose purpose is to cache calls.\n<END>", "<BEGIN>\n## `get_cl...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_raw_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_raw_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Create a new model using raw API response.
"Create a new model using raw API response."
89
false
cloudbase/python-hnvclient
process_raw_data
11,033
LDU_FT/pip-services3-python/pip-services3-commons-python/get_as_nullable_integer
LDU_FT
[ "<BEGIN>\n## `equals_as`", "Compares this object value to specified specified value.\n When direct comparison gives negative results it converts\n values to type specified by type code and compare them again.", " :param value_type: the Typecode type that defined the type of the result", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_as_nullable_integer API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_as_nullable_integer API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
Converts map element into an integer or returns None if conversion is not possible. :param key: an index of element to get. :return: integer value of the element or None if conversion is not supported.
"Converts map element into an integer or returns None if conversion is not possible.\n\n :param key: an index of element to get.\n\n :return: integer value of the element or None if conversion is not supported."
811
false
pip-services3-python/pip-services3-commons-python
get_as_nullable_integer
11,034
LDU_FT/lizardsystem/tags2sdists/find_tarball
LDU_FT
[ "<BEGIN>\n## `parse`", "Iterate through the directory and extract package/version info.\n<END>", "<BEGIN>\n## `add_tarball`", "Add a tarball, possibly creating the directory if needed.\n<END>", "<BEGIN>\n## `main`", "bin/tags2sdists: create an sdist for a directory of checkouts.\n<END>", "<BEGIN>\n## `c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_tarball API. 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 find_tarball API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Return matching tarball filename from dist/ dir (if found). Setuptools generates a source distribution in a ``dist/`` directory and we need to find the exact filename, whether .tgz or .zip. We expect "name + '-' + version + '.tar.gz'", but we *can* get a -dev.r1234.tar.gz as that can be configured in ...
"Return matching tarball filename from dist/ dir (if found).\n\n Setuptools generates a source distribution in a ``dist/`` directory and we\n need to find the exact filename, whether .tgz or .zip.\n\n We expect \"name + '-' + version + '.tar.gz'\", but we *can* get a\n -dev.r1234.tar.gz as that can be confi...
19
false
lizardsystem/tags2sdists
find_tarball
11,035
LDU_FT/mlperf/training/replay_position
LDU_FT
[ "<BEGIN>\n## `sorted_product_set`", "Compute the product set of array_a and array_b and sort it.\n<END>", "<BEGIN>\n## `set_low_quality_matches_`", "Produce additional matches for predictions that have only low-quality matches.\n Specifically, for each ground-truth find the set of predictions that have...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the replay_position API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the replay_position API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Wrapper for a go.Position which replays its history. Assumes an empty start position! (i.e. no handicap, and history must be exhaustive.) Result must be passed in, since a resign cannot be inferred from position history alone. for position_w_context in replay_position(position): print(position...
"Wrapper for a go.Position which replays its history.\n Assumes an empty start position! (i.e. no handicap, and history must be exhaustive.)\n\n Result must be passed in, since a resign cannot be inferred from position\n history alone.\n\n for position_w_context in replay_position(position):\n print(...
1,285
true
mlperf/training
replay_position
11,036
LDU_FT/KimiNewt/pyshark/feed_packet
LDU_FT
[ "<BEGIN>\n## `get_field`", "Gets the XML field object of the given name.\n<END>", "<BEGIN>\n## `get_field_value`", "Tries getting the value of the given field.\n Tries it in the following order: show (standard nice display), value (raw value), showname (extended nice display).", " :param name:...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the feed_packet API. 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 feed_packet API. 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...
DEPRECATED. Use parse_packet instead. This function adds the packet to the packets list, and also closes and reopens tshark for each packet. ============== Gets a binary (string) packet and parses & adds it to this capture. Returns the added packet. Use feed_packets if ...
"DEPRECATED. Use parse_packet instead.\n This function adds the packet to the packets list, and also closes and reopens tshark for\n each packet.\n ==============\n\n Gets a binary (string) packet and parses & adds it to this capture.\n Returns the added packet.\n\n Use feed_pa...
91
false
KimiNewt/pyshark
feed_packet
11,037
LDU_FT/wavefrontHQ/python-client/windowing
LDU_FT
[ "<BEGIN>\n## `display`", "Sets the display of this Message.", " The form of display for this message # noqa: E501", " :param display: The display of this Message. # noqa: E501\n :type: str\n<END>", "<BEGIN>\n## `scope`", "Sets the scope of this Message.", " The audience sco...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the windowing API. 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 windowing API. 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...
Sets the windowing of this ChartSettings. For the tabular view, whether to use the full time window for the query or the last X minutes # noqa: E501 :param windowing: The windowing of this ChartSettings. # noqa: E501 :type: str
"Sets the windowing of this ChartSettings.\n\n For the tabular view, whether to use the full time window for the query or the last X minutes # noqa: E501\n\n :param windowing: The windowing of this ChartSettings. # noqa: E501\n :type: str"
954
false
wavefrontHQ/python-client
windowing
11,038
LDU_FT/oanda/v20-python/from_dict
LDU_FT
[ "<BEGIN>\n## `from_dict`", "Instantiate a new Trade from a dict (generally from loading a JSON\n response). The data used to instantiate the Trade is a shallow copy of\n the dict passed in, with any complex child types instantiated\n appropriately.\n<END>", "<BEGIN>\n## `from_dict`", "Ins...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_dict API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_dict API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Instantiate a new AccountSummary from a dict (generally from loading a JSON response). The data used to instantiate the AccountSummary is a shallow copy of the dict passed in, with any complex child types instantiated appropriately.
"Instantiate a new AccountSummary from a dict (generally from loading a\n JSON response). The data used to instantiate the AccountSummary is a\n shallow copy of the dict passed in, with any complex child types\n instantiated appropriately."
225
false
oanda/v20-python
from_dict
11,039
LDU_FT/SKA-ScienceDataProcessor/integration-prototype/get
LDU_FT
[ "<BEGIN>\n## `_check_status`", "SDP Status check.", " Do all the tests to determine, if the SDP state is\n \"broken\", what could be the cause, and return a\n suitable status message to be sent back by the calling\n function.\n<END>", "<BEGIN>\n## `allowed_transitions`", "Get target states allow...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Sub array detail resource. This method will list scheduling blocks and processing blocks in the specified sub-array.
"Sub array detail resource.\n\n This method will list scheduling blocks and processing blocks\n in the specified sub-array."
573
false
SKA-ScienceDataProcessor/integration-prototype
get
11,040
LDU_FT/FujiMakoto/IPS-Vagrant/label
LDU_FT
[ "<BEGIN>\n## `dev_tools_installer`", "Installer factory\n @param cv: Current version (The version of Developer Tools we are installing)\n @type cv: ips_vagrant.common.version.Version\n @return: Installer instance\n @rtype: ips_vagrant.installer.dev_tools.latest.DevToolsInstaller\n<END>", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the label API. 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 label API. 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 the label and generate the formatted value @type value: str
"Set the label and generate the formatted value\n @type value: str"
87
false
FujiMakoto/IPS-Vagrant
label
11,041
LDU_FT/KrishnaswamyLab/graphtools/knn_tree
LDU_FT
[ "<BEGIN>\n## `set_params`", "Set parameters on this object", " Safe setter method - attributes should not be modified directly as some\n changes are not valid.\n Valid parameters:\n - n_jobs\n - random_state\n - verbose\n Invalid parameters: (these would require ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the knn_tree API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the knn_tree API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
KNN tree object (cached) Builds or returns the fitted KNN tree. TODO: can we be more clever than sklearn when it comes to choosing between KD tree, ball tree and brute force? Returns ------- knn_tree : `sklearn.neighbors.NearestNeighbors`
"KNN tree object (cached)\n\n Builds or returns the fitted KNN tree.\n TODO: can we be more clever than sklearn when it comes to choosing\n between KD tree, ball tree and brute force?\n\n Returns\n -------\n knn_tree : `sklearn.neighbors.NearestNeighbors`"
207
false
KrishnaswamyLab/graphtools
knn_tree
11,042
LDU_FT/trevisanj/a99/table_info_to_parameters
LDU_FT
[ "<BEGIN>\n## `make_code_readable`", "Add newlines at strategic places in code string for printing.\r", " Args:\r\n s: str, piece of code. If not str, will attempt to convert to str.\r", " Returns:\r\n str\n<END>", "<BEGIN>\n## `chunk_string`", "Splits a string into fixed-length chunks....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the table_info_to_parameters API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the table_info_to_parameters API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Converts a list of MyDBRow into a parameters.Parameters object This facilitates transfering data from SQLite table row to a XParameterEditor window See also: get_table_info()
"Converts a list of MyDBRow into a parameters.Parameters object\r\n\r\n This facilitates transfering data from SQLite table row to a XParameterEditor window\r\n\r\n See also: get_table_info()"
301
false
trevisanj/a99
table_info_to_parameters
11,043
LDU_FT/byroot/pysrt/shift
LDU_FT
[ "<BEGIN>\n## `slice`", "slice([starts_before][, starts_after][, ends_before][, ends_after]) \\\n-> SubRipFile clone", " All arguments are optional, and should be coercible to SubRipTime\n object.", " It reduce the set of subtitles to those that match match given time\n constraints....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the shift API. 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 shift API. 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...
shift(hours, minutes, seconds, milliseconds, ratio) Add given values to start and end attributes. All arguments are optional and have a default value of 0.
"shift(hours, minutes, seconds, milliseconds, ratio)\n\n Add given values to start and end attributes.\n All arguments are optional and have a default value of 0."
55
false
byroot/pysrt
shift
11,044
LDU_FT/ldo/dbussy/system_bus_async
LDU_FT
[ "<BEGIN>\n## `data_key`", "returns a unique value that allows data to be used as a dict/set key.\n<END>", "<BEGIN>\n## `get_version`", "returns the libdbus library version as a tuple of integers (major, minor, micro).\n<END>", "<BEGIN>\n## `matches_rule`", "does Message message match against the specified...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the system_bus_async API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the system_bus_async API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
returns a Connection object for the D-Bus system bus.
"returns a Connection object for the D-Bus system bus."
74
false
ldo/dbussy
system_bus_async
11,045
LDU_FT/Nic30/hwtGraph/flattenPorts
LDU_FT
[ "<BEGIN>\n## `extractSplits`", "convert group of indexed assignments witch are splitting signal to Split node", " a = sig[0]\n b = sig[1]\n to\n a, b = sig", " :param toL: dictionary {hdl object: layout object}\n<END>", "<BEGIN>\n## `getPortSideView`", "Returns a sublist view for all ports ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the flattenPorts API. 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 flattenPorts API. 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...
Flatten ports to simplify layout generation :attention: children property is destroyed, parent property stays same
"Flatten ports to simplify layout generation\n\n :attention: children property is destroyed, parent property stays same"
65
false
Nic30/hwtGraph
flattenPorts
11,046
LDU_FT/NLeSC/scriptcwl/output_reference
LDU_FT
[ "<BEGIN>\n## `load_steps`", "Return a dictionary containing Steps read from file.", " Args:\n steps_dir (str, optional): path to directory containing CWL files.\n step_file (str, optional): path or http(s) url to a single CWL file.\n step_list (list, optional): a list of directories, url...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the output_reference API. 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 output_reference API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Return a reference to the given output for use in an input of a next Step. For a Step named `echo` that has an output called `echoed`, the reference `echo/echoed` is returned. Args: name (str): the name of the Step output Raises: ValueError: The name...
"Return a reference to the given output for use in an input\n of a next Step.\n\n For a Step named `echo` that has an output called `echoed`, the\n reference `echo/echoed` is returned.\n\n Args:\n name (str): the name of the Step output\n Raises:\n ValueError...
85
false
NLeSC/scriptcwl
output_reference
11,047
LDU_FT/pymacaron/pymacaron/get_container_version
LDU_FT
[ "<BEGIN>\n## `load_clients`", "Generate client libraries for the given apis, without starting an\n api server\n<END>", "<BEGIN>\n## `load_apis`", "Load all swagger files found at the given path, except those whose\n names are in the 'ignore' list\n<END>", "<BEGIN>\n## `publish_apis`", "Publi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_container_version API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_container_version API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Return the version of the docker container running the present server, or '' if not in a container
"Return the version of the docker container running the present server,\n or '' if not in a container"
47
false
pymacaron/pymacaron
get_container_version
11,048
LDU_FT/mozilla-releng/scriptworker/get_scm_level
LDU_FT
[ "<BEGIN>\n## `create_queue`", "Create a taskcluster queue.", " Args:\n credentials (dict): taskcluster credentials.\n<END>", "<BEGIN>\n## `write_json`", "Write json to disk.", " Args:\n path (str): the path to write to\n contents (dict): the contents of the j...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_scm_level API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_scm_level API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Get the scm level for a project from ``projects.yml``. We define all known projects in ``projects.yml``. Let's make sure we have it populated in ``context``, then return the scm level of ``project``. SCM levels are an integer, 1-3, matching Mozilla commit levels. https://www.mozilla.org/en-US/about/go...
"Get the scm level for a project from ``projects.yml``.\n\n We define all known projects in ``projects.yml``. Let's make sure we have\n it populated in ``context``, then return the scm level of ``project``.\n\n SCM levels are an integer, 1-3, matching Mozilla commit levels.\n https://www.mozilla.org/en-US/a...
621
false
mozilla-releng/scriptworker
get_scm_level
11,049
LDU_FT/qubell/contrib-python-qubell-client/get_instance
LDU_FT
[ "<BEGIN>\n## `request_upload_secret`", ":return: json with \"keyId\" as secret and \"url\" for posting key\n<END>", "<BEGIN>\n## `entity`", "CLI for tonomi.com using contrib-python-qubell-client", " To enable completion:", " eval \"$(_NOMI_COMPLETE=source nomi)\"\n<END>", "<BEGIN>\n## `import_ap...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_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 extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_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 extr...
Get instance object by name or id. If application set, search within the application.
"Get instance object by name or id.\n If application set, search within the application."
112
false
qubell/contrib-python-qubell-client
get_instance
11,050
LDU_FT/danpaquin/coinbasepro-python/get_product_historic_rates
LDU_FT
[ "<BEGIN>\n## `get_account_history`", "List account activity. Account activity either increases or\n decreases your account balance.", " Entry type indicates the reason for the account change.\n * transfer:\tFunds moved to/from Coinbase to cbpro\n * match:\tFunds moved as a result of ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_product_historic_rates API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_product_historic_rates API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
Historic rates for a product. Rates are returned in grouped buckets based on requested `granularity`. If start, end, and granularity aren't provided, the exchange will assume some (currently unknown) default values. Historical rate data may be incomplete. No data is published for ...
"Historic rates for a product.\n\n Rates are returned in grouped buckets based on requested\n `granularity`. If start, end, and granularity aren't provided,\n the exchange will assume some (currently unknown) default values.\n\n Historical rate data may be incomplete. No data is published fo...
127
false
danpaquin/coinbasepro-python
get_product_historic_rates
11,051
LDU_FT/tylerbutler/propane/smart_content_type_for_model
LDU_FT
[ "<BEGIN>\n## `dict_to_querystring`", "Converts a dict to a querystring suitable to be appended to a URL.\n<END>", "<BEGIN>\n## `space_out_camel_case`", "Adds spaces to a camel case string. Failure to space out string returns the original string.", " >>> space_out_camel_case('DMLSServicesOtherBSTextLLC')...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the smart_content_type_for_model 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 smart_content_type_for_model 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 the Django ContentType for a given model. If model is a proxy model, the proxy model's ContentType will be returned. This differs from Django's standard behavior - the default behavior is to return the parent ContentType for proxy models.
"Returns the Django ContentType for a given model. If model is a proxy model, the proxy model's ContentType will\n be returned. This differs from Django's standard behavior - the default behavior is to return the parent\n ContentType for proxy models."
44
false
tylerbutler/propane
smart_content_type_for_model
11,052
LDU_FT/poppy-project/pypot/simxGetObjectChild
LDU_FT
[ "<BEGIN>\n## `set_snap_server_variables`", "Change dynamically port and host variable in xml Snap! project file\n<END>", "<BEGIN>\n## `run`", "Start the tornado server, run forever.\n 'quiet' and 'server' arguments are no longer used, they are keep only for backward compatibility\n<END>", "<BEGIN...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the simxGetObjectChild 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 simxGetObjectChild 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...
Please have a look at the function description/documentation in the V-REP user manual
"Please have a look at the function description/documentation in the V-REP user manual"
371
false
poppy-project/pypot
simxGetObjectChild
11,053
LDU_FT/rossdylan/sham/get_volumes
LDU_FT
[ "<BEGIN>\n## `get_volumes`", "Return a list of all Volumes in this Storage Pool\n<END>", "<BEGIN>\n## `create_backed_vol`", "TODO(rdelinger) think about changing _format\n This is a pretty specialized function.\n It takes an existing volume, and creates a new volume\n that is backed by th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_volumes API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_volumes API. 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...
Return a list of all Volumes in this Storage Pool
"Return a list of all Volumes in this Storage Pool"
23
false
rossdylan/sham
get_volumes
11,054
LDU_FT/PyHDI/Pyverilog/p_declnamelist
LDU_FT
[ "<BEGIN>\n## `_create_opt_rule`", "Given a rule name, creates an optional ply.yacc rule\n for it. The name of the optional rule is\n <rulename>_opt\n<END>", "<BEGIN>\n## `p_pragma_assign`", "pragma : LPAREN TIMES ID EQUALS expression TIMES RPAREN\n<END>", "<BEGIN>\n## `p_moduledef`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the p_declnamelist API. 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 p_declnamelist API. 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...
declnamelist : declnamelist COMMA declname
"declnamelist : declnamelist COMMA declname"
210
false
PyHDI/Pyverilog
p_declnamelist
11,055
LDU_FT/crate/crash/_column_type
LDU_FT
[ "<BEGIN>\n## `_padleft`", "Flush right.", " >>> _padleft(6, '\\u044f\\u0439\\u0446\\u0430') == ' \\u044f\\u0439\\u0446\\u0430'\n True\n<END>", "<BEGIN>\n## `_visible_width`", "Visible width of a printed string. ANSI color codes are removed.", " >>> _visible_width('\\x1b[31mhello\\x1b[0m'), _visi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _column_type API. 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 _column_type API. 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...
The least generic type all column values are convertible to. >>> _column_type(["1", "2"]) is _int_type True >>> _column_type(["1", "2.3"]) is _float_type True >>> _column_type(["1", "2.3", "four"]) is _text_type True >>> _column_type(["four", '\u043f\u044f\u0442\u044c']) is _text_type T...
"The least generic type all column values are convertible to.\n\n >>> _column_type([\"1\", \"2\"]) is _int_type\n True\n >>> _column_type([\"1\", \"2.3\"]) is _float_type\n True\n >>> _column_type([\"1\", \"2.3\", \"four\"]) is _text_type\n True\n >>> _column_type([\"four\", '\\u043f\\u044f\\u0442\...
90
false
crate/crash
_column_type
11,056
LDU_FT/ckan/ckan-service-provider/status
LDU_FT
[ "<BEGIN>\n## `init`", "Initialise and configure the app, database, scheduler, etc.", " This should be called once at application startup or at tests startup\n (and not e.g. called once for each test case).\n<END>", "<BEGIN>\n## `_init_login_manager`", "Initialise and configure the login manager.\n<END...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the status API. 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 status API. 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 ...
Show version, available job types and name of service. **Results:** :rtype: A dictionary with the following keys :param version: Version of the service provider :type version: float :param job_types: Available job types :type job_types: list of strings :param name: Name of the service ...
"Show version, available job types and name of service.\n\n **Results:**\n\n :rtype: A dictionary with the following keys\n :param version: Version of the service provider\n :type version: float\n :param job_types: Available job types\n :type job_types: list of strings\n :param name: Name of the se...
117
false
ckan/ckan-service-provider
status
11,057
LDU_FT/SeleniumHQ/selenium/file_upload_dialog_timeout
LDU_FT
[ "<BEGIN>\n## `_make_w3c_caps`", "Makes a W3C alwaysMatch capabilities object.", " Filters out capability names that are not in the W3C spec. Spec-compliant\n drivers will reject requests containing unknown capability names.", " Moves the Firefox profile, if present, from the old location to the new F...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the file_upload_dialog_timeout API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the file_upload_dialog_timeout API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
Sets the options File Upload Dialog Timeout value :Args: - value: Timeout in milliseconds
"Sets the options File Upload Dialog Timeout value\n\n :Args:\n - value: Timeout in milliseconds"
547
false
SeleniumHQ/selenium
file_upload_dialog_timeout
11,058
LDU_FT/blockstack-packages/jsontokens-py/_decode_token_compact
LDU_FT
[ "<BEGIN>\n## `_unpack_token_compact`", "Unpack a compact-form serialized JWT.\n Returns (header, payload, signature, signing_input) on success\n Raises DecodeError on bad input\n<END>", "<BEGIN>\n## `_unpack_token_json`", "Unpack a JSON-serialized JWT\n Returns (headers, payload, signatures) on succe...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _decode_token_compact 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 _decode_token_compact API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Decode a compact-serialized JWT Returns {'header': ..., 'payload': ..., 'signature': ...}
"Decode a compact-serialized JWT\n Returns {'header': ..., 'payload': ..., 'signature': ...}"
32
false
blockstack-packages/jsontokens-py
_decode_token_compact
11,059
LDU_FT/kronenthaler/mod-pbxproj/remove_other_ldflags
LDU_FT
[ "<BEGIN>\n## `has_child`", "Checks if the given child id\n :param child: The id to check if it's a child of the group\n :return: True if the given id it's a child of this group, False otherwise\n<END>", "<BEGIN>\n## `add_file`", "Adds a file to the project, taking care of the type of the file an...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_other_ldflags 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 remove_other_ldflags API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Removes the given flags from the OTHER_LDFLAGS section of the target on the configurations :param flags: A string or array of strings. If none, removes all values from the flag. :param target_name: Target name or list of target names to remove the flag from or None for every target :param config...
"Removes the given flags from the OTHER_LDFLAGS section of the target on the configurations\n :param flags: A string or array of strings. If none, removes all values from the flag.\n :param target_name: Target name or list of target names to remove the flag from or None for every target\n :param co...
71
false
kronenthaler/mod-pbxproj
remove_other_ldflags
11,060
LDU_FT/CartoDB/carto-python/filter
LDU_FT
[ "<BEGIN>\n## `run`", "Actually creates the import job on the CARTO server", " :param import_params: To be send to the Import API, see CARTO's docs\n on Import API for an updated list of accepted\n params\n :type import_params: kwargs", ...
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 ...
Get a filtered list of file imports :return: A list of file imports, with only the id set (you need to refresh them if you want all the attributes to be filled in) :rtype: list of :class:`carto.file_import.FileImportJob` :raise: CartoException
"Get a filtered list of file imports\n\n :return: A list of file imports, with only the id set (you need to\n refresh them if you want all the attributes to be filled in)\n :rtype: list of :class:`carto.file_import.FileImportJob`\n\n :raise: CartoException"
154
false
CartoDB/carto-python
filter
11,061
LDU_FT/dls-controls/pymalcolm/register_annotype_converter
LDU_FT
[ "<BEGIN>\n## `camel_to_title`", "Takes a camelCaseFieldName and returns an Title Case Field Name", " Args:\n name (str): E.g. camelCaseFieldName", " Returns:\n str: Title Case converted name. E.g. Camel Case Field Name\n<END>", "<BEGIN>\n## `snake_to_camel`", "Takes a snake_field_name ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_annotype_converter 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 register_annotype_converter API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
Register this class as a converter for Anno instances
"Register this class as a converter for Anno instances"
332
false
dls-controls/pymalcolm
register_annotype_converter
11,062
LDU_FT/xav/Grapefruit/hsv_to_rgb
LDU_FT
[ "<BEGIN>\n## `rgb_to_hsl`", "Convert the color from RGB coordinates to HSL.", " Parameters:\n :r:\n The Red component value [0...1]\n :g:\n The Green component value [0...1]\n :b:\n The Blue component value [0...1]", " Returns:\n The color as an (h, s, l) tuple in the range:\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hsv_to_rgb API. 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 hsv_to_rgb API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Convert the color from RGB coordinates to HSV. Parameters: :h: The Hus component value [0...1] :s: The Saturation component value [0...1] :v: The Value component [0...1] Returns: The color as an (r, g, b) tuple in the range: r[0...1], g[0...1], b[0...1] >>> hsv_to_...
"Convert the color from RGB coordinates to HSV.\n\n Parameters:\n :h:\n The Hus component value [0...1]\n :s:\n The Saturation component value [0...1]\n :v:\n The Value component [0...1]\n\n Returns:\n The color as an (r, g, b) tuple in the range:\n r[0...1],\n g[0...1],\n b[0...1]...
234
false
xav/Grapefruit
hsv_to_rgb
11,063
LDU_FT/pavoni/pyvera/set_level
LDU_FT
[ "<BEGIN>\n## `init_controller`", "Initialize a controller.", " Provides a single global controller for applications that can't do this\n themselves\n<END>", "<BEGIN>\n## `data_request`", "Perform a data_request and return the result.\n<END>", "<BEGIN>\n## `get_device_by_name`", "Search the list of...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_level API. 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_level API. 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 open level of the curtains. Scale is 0-100
"Set open level of the curtains.\n\n Scale is 0-100"
94
false
pavoni/pyvera
set_level
11,064
LDU_FT/podio/podio-py/update_last_view
LDU_FT
[ "<BEGIN>\n## `AuthorizingClient`", "Creates a Podio client using an auth object.\n<END>", "<BEGIN>\n## `encode_and_quote`", "If ``data`` is unicode, return urllib.quote_plus(data.encode(\"utf-8\"))\n otherwise return urllib.quote_plus(data)\n<END>", "<BEGIN>\n## `_strify`", "If s is a unicode string, e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_last_view API. 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 update_last_view API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Updates the last view for the active user :param app_id: the app id :param attributes: the body of the request in dictionary format
"Updates the last view for the active user\n\n :param app_id: the app id\n :param attributes: the body of the request in dictionary format"
82
false
podio/podio-py
update_last_view
11,065
LDU_FT/greenbone/ospd/get_scan_xml
LDU_FT
[ "<BEGIN>\n## `run_command`", "Run a single command via SSH and return the content of stdout or\n None in case of an Error. A scan error is issued in the latter\n case.", " For logging into 'host', the scan options 'port', 'username',\n 'password' and 'ssh_timeout' are used.\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_scan_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 extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_scan_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 extr...
Gets scan in XML format. @return: String of scan in XML format.
"Gets scan in XML format.\n\n @return: String of scan in XML format."
203
false
greenbone/ospd
get_scan_xml
11,066
LDU_FT/tsroten/dragonmapper/to_pinyin
LDU_FT
[ "<BEGIN>\n## `load_data_file`", "Load a data file and return it as a list of lines.", " Parameters:\n filename: The name of the file (no directories included).\n encoding: The file encoding. Defaults to utf-8.\n<END>", "<BEGIN>\n## `_load_data`", "Load the word and character mapping data in...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_pinyin API. 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 to_pinyin API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Convert a string's Chinese characters to Pinyin readings. *s* is a string containing Chinese characters. *accented* is a boolean value indicating whether to return accented or numbered Pinyin readings. *delimiter* is the character used to indicate word boundaries in *s*. This is used to differenti...
"Convert a string's Chinese characters to Pinyin readings.\n\n *s* is a string containing Chinese characters. *accented* is a\n boolean value indicating whether to return accented or numbered Pinyin\n readings.\n\n *delimiter* is the character used to indicate word boundaries in *s*.\n This is used to di...
97
false
tsroten/dragonmapper
to_pinyin
11,067
LDU_FT/dfm/george/compute
LDU_FT
[ "<BEGIN>\n## `computed`", "Has the processes been computed since the last update of the kernel?\n<END>", "<BEGIN>\n## `parse_samples`", "Parse a list of samples to make sure that it has the correct\n dimensions.", " :param t: ``(nsamples,)`` or ``(nsamples, ndim)``\n The list of sam...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compute API. 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 compute API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Compute and factorize the covariance matrix. Args: x (ndarray[nsamples, ndim]): The independent coordinates of the data points. yerr (ndarray[nsamples] or float): The Gaussian uncertainties on the data points at coordinates ``x``. These values will be ...
"Compute and factorize the covariance matrix.\n\n Args:\n x (ndarray[nsamples, ndim]): The independent coordinates of the\n data points.\n yerr (ndarray[nsamples] or float): The Gaussian uncertainties on\n the data points at coordinates ``x``. These values will...
111
false
dfm/george
compute
11,068
LDU_FT/dbcli/athenacli/query_starts_with
LDU_FT
[ "<BEGIN>\n## `refresher`", "Decorator to add the decorated function to the dictionary of\n refreshers. Any function decorated with a @refresher will be executed as\n part of the completion refresh routine.\n<END>", "<BEGIN>\n## `refresh`", "Creates a SQLCompleter object and populates it with the relevan...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the query_starts_with API. 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 query_starts_with API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Check if the query starts with any item from *prefixes*.
"Check if the query starts with any item from *prefixes*."
95
false
dbcli/athenacli
query_starts_with
11,069
LDU_FT/Kuniwak/vint/process
LDU_FT
[ "<BEGIN>\n## `normalize_variable_name`", "Returns normalized variable name.\n Normalizing means that variable names get explicit visibility by\n visibility prefix such as: \"g:\", \"s:\", ...", " Returns None if the specified node is unanalyzable.\n A node is unanalyzable if:", " - the node is ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Build a scope tree and links between scopes and identifiers by the specified ast. You can access the built scope tree and the built links by .scope_tree and .link_registry.
"Build a scope tree and links between scopes and identifiers by the\n specified ast. You can access the built scope tree and the built links\n by .scope_tree and .link_registry."
37
false
Kuniwak/vint
process
11,070
LDU_FT/jkenlooper/chill/mode_new_collection
LDU_FT
[ "<BEGIN>\n## `multiple_directory_files_loader`", "Loads all the files in each directory as values in a dict with the key\n being the relative file path of the directory. Updates the value if\n subsequent file paths are the same.\n<END>", "<BEGIN>\n## `send_root_file`", "Function used to send static fil...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mode_new_collection 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 mode_new_collection 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 collection of items with common attributes.
"Create a new collection of items with common attributes."
63
false
jkenlooper/chill
mode_new_collection
11,071
LDU_FT/fananimi/pyzk/__create_header
LDU_FT
[ "<BEGIN>\n## `make_commkey`", "take a password and session_id and scramble them to send to the machine.\n copied from commpro.c - MakeKey\n<END>", "<BEGIN>\n## `__create_tcp_top`", "witch the complete packet set top header\n<END>", "<BEGIN>\n## `__create_header`", "Puts a the parts that make up a packe...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __create_header API. 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 __create_header API. 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...
Puts a the parts that make up a packet together and packs them into a byte string
"Puts a the parts that make up a packet together and packs them into a byte string"
77
false
fananimi/pyzk
__create_header
11,072