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/dslackw/slpkg/graph_easy
LDU_FT
[ "<BEGIN>\n## `repos`", "View or enabled or disabled repositories\n<END>", "<BEGIN>\n## `reset`", "Reset slpkg.conf file with default values\n<END>", "<BEGIN>\n## `case_sensitive`", "Create dictionary from list with key in lower case\n and value with default\n<END>", "<BEGIN>\n## `package_name`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the graph_easy API. 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 graph_easy API. 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...
Draw ascii diagram. graph-easy perl module require
"Draw ascii diagram. graph-easy perl module require"
168
false
dslackw/slpkg
graph_easy
21,773
LDU_FT/MediaFire/mediafire-python-open-sdk/decode_resumable_upload_bitmap
LDU_FT
[ "<BEGIN>\n## `decode_resumable_upload_bitmap`", "Decodes bitmap_node to hash of unit_id: is_uploaded", " bitmap_node -- bitmap node of resumable_upload with\n 'count' number and 'words' containing array\n number_of_units -- number of units we are uploading to\n defi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decode_resumable_upload_bitmap API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decode_resumable_upload_bitmap API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con...
Decodes bitmap_node to hash of unit_id: is_uploaded bitmap_node -- bitmap node of resumable_upload with 'count' number and 'words' containing array number_of_units -- number of units we are uploading to define the number of bits for bitmap
"Decodes bitmap_node to hash of unit_id: is_uploaded\n\n bitmap_node -- bitmap node of resumable_upload with\n 'count' number and 'words' containing array\n number_of_units -- number of units we are uploading to\n define the number of bits for bitmap"
145
false
MediaFire/mediafire-python-open-sdk
decode_resumable_upload_bitmap
21,774
LDU_FT/enkore/i3pystatus/make_glyph
LDU_FT
[ "<BEGIN>\n## `init`", "Creates context, when context is ready context_notify_cb is called\n<END>", "<BEGIN>\n## `request_update`", "Requests a sink info update (sink_info_cb is called)\n<END>", "<BEGIN>\n## `server_info_cb`", "Retrieves the default sink and calls request_update\n<END>", "<BEGIN>\n## `co...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_glyph API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_glyph API. 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 single glyph from the list of glyphs provided relative to where the number is in the range (by default a percentage value is expected). This can be used to create an icon based representation of a value with an arbitrary number of glyphs (e.g. 4 different battery status glyphs for battery per...
"Returns a single glyph from the list of glyphs provided relative to where\n the number is in the range (by default a percentage value is expected).\n\n This can be used to create an icon based representation of a value with an\n arbitrary number of glyphs (e.g. 4 different battery status glyphs for\n batte...
181
false
enkore/i3pystatus
make_glyph
21,775
LDU_FT/mjuenema/python-TSIP/unframe
LDU_FT
[ "<BEGIN>\n## `unframe`", "Strip leading DLE and trailing DLE/ETX from packet.", " :param packet: TSIP packet with leading DLE and trailing DLE/ETX.\n :type packet: Binary string.\n :return: TSIP packet with leading DLE and trailing DLE/ETX removed.\n :raise: ``ValueError`` if `packet` does not start...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unframe API. 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 unframe API. 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...
Strip leading DLE and trailing DLE/ETX from packet. :param packet: TSIP packet with leading DLE and trailing DLE/ETX. :type packet: Binary string. :return: TSIP packet with leading DLE and trailing DLE/ETX removed. :raise: ``ValueError`` if `packet` does not start with DLE and end in DLE/ETX.
"Strip leading DLE and trailing DLE/ETX from packet.\n\n :param packet: TSIP packet with leading DLE and trailing DLE/ETX.\n :type packet: Binary string.\n :return: TSIP packet with leading DLE and trailing DLE/ETX removed.\n :raise: ``ValueError`` if `packet` does not start with DLE and end in DLE/ETX."
15
false
mjuenema/python-TSIP
unframe
21,776
LDU_FT/cloudtools/troposphere/inspect_functions
LDU_FT
[ "<BEGIN>\n## `main`", "Create a ElastiCache Redis Node and EC2 Instance\n<END>", "<BEGIN>\n## `validate_backup_window`", "Validate PreferredBackupWindow for DBInstance\n<END>", "<BEGIN>\n## `validate_maintenance_window`", "Validate PreferredMaintenanceWindow for DBInstance\n<END>", "<BEGIN>\n## `validat...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the inspect_functions API. 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 inspect_functions API. 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 map of `FunctionName: FunctionClass`
"Returns a map of `FunctionName: FunctionClass`"
74
false
cloudtools/troposphere
inspect_functions
21,777
LDU_FT/inveniosoftware-attic/invenio-knowledge/get_kbr_items
LDU_FT
[ "<BEGIN>\n## `load`", "Load given file into knowledge base.", " Simply load data into an existing knowledge base:", " .. code-block:: console", " $ inveniomanage knowledge load mykb /path/to/file.kb", " The file is expected to have a mapping with values: ``foo<seperator>bar``\n (per lin...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_kbr_items API. 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_kbr_items API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Return dicts of 'key' and 'value' from a knowledge base. :param kb_name the name of the knowledge base :param searchkey search using this key :param searchvalue search using this value :param searchtype s=substring, e=exact, sw=startswith :return a list of dictionaries [{'key'=>...
"Return dicts of 'key' and 'value' from a knowledge base.\n\n :param kb_name the name of the knowledge base\n :param searchkey search using this key\n :param searchvalue search using this value\n :param searchtype s=substring, e=exact, sw=startswith\n :return a list of dictionaries [{...
111
false
inveniosoftware-attic/invenio-knowledge
get_kbr_items
21,778
LDU_FT/tensorflow/tensor2tensor/dot_product_batched_head
LDU_FT
[ "<BEGIN>\n## `paracrawl_v3_pairs`", "Generates raw (English, other) pairs from a ParaCrawl V3.0 data file.", " Args:\n paracrawl_file: A ParaCrawl V3.0 en-.. data file.\n Yields:\n Pairs of (sentence_en, sentence_xx), as Unicode strings.\n Raises:\n StopIteration: If the file ends while this method ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dot_product_batched_head 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 dot_product_batched_head API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Perform a dot product attention on a single sequence on a single head. This function dispatch the q, k, v and loop over the buckets to compute the attention dot product on each subsequences. Args: q (tf.Tensor): [batch*heads, length_q, depth_q] k (tf.Tensor): [batch*heads, length_k, depth_q] v (tf.T...
"Perform a dot product attention on a single sequence on a single head.\n\n This function dispatch the q, k, v and loop over the buckets to compute the\n attention dot product on each subsequences.\n\n Args:\n q (tf.Tensor): [batch*heads, length_q, depth_q]\n k (tf.Tensor): [batch*heads, length_k, depth_q]\n ...
4,769
true
tensorflow/tensor2tensor
dot_product_batched_head
21,779
LDU_FT/BerkeleyAutomation/perception/close_session
LDU_FT
[ "<BEGIN>\n## `frames`", "Retrieve a new frame from the PhoXi and convert it to a ColorImage,\n a DepthImage, and an IrImage.", " Returns\n -------\n :obj:`tuple` of :obj:`ColorImage`, :obj:`DepthImage`, :obj:`IrImage`, :obj:`numpy.ndarray`\n The ColorImage, DepthImage, and...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the close_session API. 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 close_session API. 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...
Close tensorflow session. Exposes for memory management.
"Close tensorflow session. Exposes for memory management."
657
false
BerkeleyAutomation/perception
close_session
21,780
LDU_FT/KvasirSecurity/kvasirapi-python/list
LDU_FT
[ "<BEGIN>\n## `load`", "Load a YAML configuration file.", " :param configuration: Configuration filename or YAML string\n<END>", "<BEGIN>\n## `instances`", "Returns a dict of all instances defined using a regex", " :param test_type: Regular expression to match for self.instance['test_type'] v...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
List a specific service or all services :param service_rec: t_services.id :param host_rec: t_hosts.id :param hostfilter: Valid hostfilter or None :return: [(svc.t_services.id, svc.t_services.f_hosts_id, svc.t_hosts.f_ipaddr, svc.t_hosts.f_hostname, svc.t_services.f_proto, ...
"List a specific service or all services\n\n :param service_rec: t_services.id\n :param host_rec: t_hosts.id\n :param hostfilter: Valid hostfilter or None\n :return: [(svc.t_services.id, svc.t_services.f_hosts_id, svc.t_hosts.f_ipaddr,\n svc.t_hosts.f_hostname, svc.t_services.f_p...
66
false
KvasirSecurity/kvasirapi-python
list
21,781
LDU_FT/django-salesforce/django-salesforce/split_subquery
LDU_FT
[ "<BEGIN>\n## `db_for_write`", "If given some hints['instance'] that is saved in a db, use related\n fields from the same db. Otherwise if passed a class or instance to\n model, return the salesforce alias if it's a subclass of SalesforceModel.\n<END>", "<BEGIN>\n## `allow_migrate`", "Don't attem...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the split_subquery API. 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 split_subquery API. 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...
Split on subqueries and replace them by '&'.
"Split on subqueries and replace them by '&'."
138
false
django-salesforce/django-salesforce
split_subquery
21,782
LDU_FT/tradenity/python-sdk/delete_customer_by_id
LDU_FT
[ "<BEGIN>\n## `data_type`", "Sets the data_type of this Option.", " :param data_type: The data_type of this Option.\n :type: str\n<END>", "<BEGIN>\n## `create_option`", "Create Option", " Create a new Option\n This method makes a synchronous HTTP request by default. To make an\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_customer_by_id API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_customer_by_id API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Delete Customer Delete an instance of Customer by its ID. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async=True >>> thread = api.delete_customer_by_id(customer_id, async=True) >>> result = thread.get() :par...
"Delete Customer\n\n Delete an instance of Customer by its ID.\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async=True\n >>> thread = api.delete_customer_by_id(customer_id, async=True)\n >>> result = thread.get()\n\n ...
1,216
true
tradenity/python-sdk
delete_customer_by_id
21,783
LDU_FT/xenadevel/PyXenaManager/xmodifiers
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 xmodifiers API. 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 xmodifiers API. 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: dictionary {index: object} of extended modifiers.
":return: dictionary {index: object} of extended modifiers."
140
false
xenadevel/PyXenaManager
xmodifiers
21,784
LDU_FT/iron-lion/nJSD/jsd
LDU_FT
[ "<BEGIN>\n## `njsd_all`", "Compute transcriptome-wide nJSD between reference and query expression profiles.\n Attribute:\n network (str): File path to a network file.\n ref (str): File path to a reference expression file.\n query (str): File path to a query expression file.\n<END>", "<BE...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the jsd API. 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 jsd API. 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...
Compute Jensen-Shannon divergence between p1 and p2. It assumes that p1 and p2 are already normalized that each of them sums to 1.
"Compute Jensen-Shannon divergence between p1 and p2.\r\n It assumes that p1 and p2 are already normalized that each of them sums to 1."
20
false
iron-lion/nJSD
jsd
21,785
LDU_FT/tdsmith/eleven/censor_background
LDU_FT
[ "<BEGIN>\n## `average_cq`", "Given a set of Cq values, return the Cq value that represents the\n average expression level of the input.", " The intent is to average the expression levels of the samples,\n since the average of Cq values is not biologically meaningful.", " :param iterable seq: A seq...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the censor_background API. 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 censor_background API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Selects rows from the sample data frame that fall `margin` or greater cycles earlier than the NTC for that target. NTC wells are recognized by string matching against the Sample column. :param DataFrame sample_frame: A sample data frame. :param iterable ntc_samples: A sequence of strings giving the sam...
"Selects rows from the sample data frame that fall `margin` or greater\n cycles earlier than the NTC for that target. NTC wells are recognized by\n string matching against the Sample column.\n\n :param DataFrame sample_frame: A sample data frame.\n :param iterable ntc_samples: A sequence of strings giving t...
35
false
tdsmith/eleven
censor_background
21,786
LDU_FT/eternnoir/pyTelegramBotAPI/message_handler
LDU_FT
[ "<BEGIN>\n## `split_string`", "Splits one string into multiple strings, with a maximum amount of `chars_per_string` characters per string.\n This is very useful for splitting one giant message into multiples.", " :param text: The text to split\n :param chars_per_string: The number of characters per lin...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the message_handler API. 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 message_handler API. 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...
Message handler decorator. This decorator can be used to decorate functions that must handle certain types of messages. All message handlers are tested in the order they were added. Example: bot = TeleBot('TOKEN') # Handles all messages which text matches regexp. @bot....
"Message handler decorator.\n This decorator can be used to decorate functions that must handle certain types of messages.\n All message handlers are tested in the order they were added.\n\n Example:\n\n bot = TeleBot('TOKEN')\n\n # Handles all messages which text matches regexp.\n ...
187
false
eternnoir/pyTelegramBotAPI
message_handler
21,787
LDU_FT/idank/bashlex/p_compound_list
LDU_FT
[ "<BEGIN>\n## `_createtoken`", "create a token with position information\n<END>", "<BEGIN>\n## `p_inputunit`", "inputunit : simple_list simple_list_terminator\n | NEWLINE\n | error NEWLINE\n | EOF\n<END>", "<BEGIN>\n## `p_word_list`", "word_list : WORD\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the p_compound_list API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the p_compound_list API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
compound_list : list | newline_list list1
"compound_list : list\n | newline_list list1"
59
false
idank/bashlex
p_compound_list
21,788
LDU_FT/adrn/schwimmbad/map
LDU_FT
[ "<BEGIN>\n## `choose_pool`", "Choose between the different pools given options from, e.g., argparse.", " Parameters\n ----------\n mpi : bool, optional\n Use the MPI processing pool, :class:`~schwimmbad.mpi.MPIPool`. By\n default, ``False``, will use the :class:`~schwimmbad.serial.SerialP...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the map API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the map API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Evaluate a function or callable on each task in parallel using MPI. The callable, ``worker``, is called on each element of the ``tasks`` iterable. The results are returned in the expected order (symmetric with ``tasks``). Parameters ---------- worker : callable ...
"Evaluate a function or callable on each task in parallel using MPI.\n\n The callable, ``worker``, is called on each element of the ``tasks``\n iterable. The results are returned in the expected order (symmetric with\n ``tasks``).\n\n Parameters\n ----------\n worker : callable...
27
false
adrn/schwimmbad
map
21,789
LDU_FT/hsolbrig/pyjsg/flatten
LDU_FT
[ "<BEGIN>\n## `do_parse`", "Parse the jsg in infilename and save the results in outfilename\n :param infilename: file containing jsg\n :param outfilename: target python file\n :param verbose: verbose output flag\n :return: true if success\n<END>", "<BEGIN>\n## `parse`", "Parse the text in infile an...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the flatten API. 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 flatten API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Return a list of all non-list items in l :param l: list to be flattened :return:
"Return a list of all non-list items in l\n\n :param l: list to be flattened\n :return:"
146
false
hsolbrig/pyjsg
flatten
21,790
LDU_FT/kragniz/python-etcd3/get
LDU_FT
[ "<BEGIN>\n## `new_event`", "Wrap a raw gRPC event in a friendlier containing class.", " This picks the appropriate class from one of PutEvent or DeleteEvent and\n returns a new instance.\n<END>", "<BEGIN>\n## `acquire`", "Acquire the lock.", " :params timeout: Maximum time to wait before retu...
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...
Get the value of a key from etcd. example usage: .. code-block:: python >>> import etcd3 >>> etcd = etcd3.client() >>> etcd.get('/thing/key') 'hello world' :param key: key in etcd to get :param serializable: whether to allow serializabl...
"Get the value of a key from etcd.\n\n example usage:\n\n .. code-block:: python\n\n >>> import etcd3\n >>> etcd = etcd3.client()\n >>> etcd.get('/thing/key')\n 'hello world'\n\n :param key: key in etcd to get\n :param serializable: whether to allo...
113
false
kragniz/python-etcd3
get
21,791
LDU_FT/BetterWorks/django-anonymizer/simple_pattern
LDU_FT
[ "<BEGIN>\n## `varchar`", "Returns a chunk of text, of maximum length 'max_length'\n<END>", "<BEGIN>\n## `simple_pattern`", "Use a simple pattern to make the field - # is replaced with a random number,\n ? with a random letter.\n<END>", "<BEGIN>\n## `datetime`", "Returns a random datetime. If 'val' ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the simple_pattern API. 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 simple_pattern API. 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...
Use a simple pattern to make the field - # is replaced with a random number, ? with a random letter.
"Use a simple pattern to make the field - # is replaced with a random number,\n ? with a random letter."
57
false
BetterWorks/django-anonymizer
simple_pattern
21,792
LDU_FT/makinacorpus/django-geojson/geojsonfeature
LDU_FT
[ "<BEGIN>\n## `render_to_response`", "Returns a JSON response, transforming 'context' to make the payload.\n<END>", "<BEGIN>\n## `tile_coord`", "This returns the NW-corner of the square. Use the function\n with xtile+1 and/or ytile+1 to get the other corners.\n With xtile+0.5 & ytile+0.5 it will ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the geojsonfeature API. 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 geojsonfeature API. 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...
:params: A string with the following optional tokens: "properties:field:srid"
":params: A string with the following optional tokens:\n \"properties:field:srid\""
16
false
makinacorpus/django-geojson
geojsonfeature
21,793
LDU_FT/veripress/veripress/get_tags
LDU_FT
[ "<BEGIN>\n## `generate_pages_by_file`", "Generates custom pages of 'file' storage type.\n<END>", "<BEGIN>\n## `fix_relative_url`", "Fix post or page relative url to a standard, uniform format.", " :param publish_type: publish type ('post' or 'page')\n :param rel_url: relative url to fix\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_tags API. 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_tags API. 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...
Get all tags and post count of each tag. :return: dict_item(tag_name, Pair(count_all, count_published))
"Get all tags and post count of each tag.\n\n :return: dict_item(tag_name, Pair(count_all, count_published))"
109
false
veripress/veripress
get_tags
21,794
LDU_FT/cole/aiosmtplib/login
LDU_FT
[ "<BEGIN>\n## `connection_made`", "Modified ``connection_made`` that supports upgrading our transport in\n place using STARTTLS.", " We set the _transport directly on the StreamReader, rather than calling\n set_transport (which will raise an AssertionError on upgrade).\n<END>", "<BEGIN>\n#...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the login API. 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 login API. 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...
Tries to login with supported auth methods. Some servers advertise authentication methods they don't really support, so if authentication fails, we continue until we've tried all methods.
"Tries to login with supported auth methods.\n\n Some servers advertise authentication methods they don't really\n support, so if authentication fails, we continue until we've tried\n all methods."
142
false
cole/aiosmtplib
login
21,795
LDU_FT/Genida/dependenpy/depth
LDU_FT
[ "<BEGIN>\n## `cast`", "Cast a set of keys and an array to a Matrix object.\n<END>", "<BEGIN>\n## `connect_to`", "Connect this vertex to another one.", " Args:\n vertex (Vertex): vertex to connect to.\n weight (int): weight of the edge.", " Returns:\n Edge: th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the depth API. 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 depth API. 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...
Property to tell the depth of the node in the tree. Returns: int: the node's depth in the tree.
"Property to tell the depth of the node in the tree.\n\n Returns:\n int: the node's depth in the tree."
130
false
Genida/dependenpy
depth
21,796
LDU_FT/raymondEhlers/pachyderm/axis
LDU_FT
[ "<BEGIN>\n## `get_histograms_in_list`", "Get histograms from the file and make them available in a dict.", " Lists are recursively explored, with all lists converted to dictionaries, such that the return\n dictionaries which only contains hists and dictionaries of hists (ie there are no ROOT ``TCollection...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the axis API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the axis API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Determine the axis to return based on the hist type.
"Determine the axis to return based on the hist type."
229
false
raymondEhlers/pachyderm
axis
21,797
LDU_FT/empirical-org/Quill-NLP-Tools-and-Datasets/get_submissions
LDU_FT
[ "<BEGIN>\n## `_verbs_with_subjects`", "Given a spacy document return the verbs that have subjects\n<END>", "<BEGIN>\n## `mangle_agreement`", "Given a correct sentence, return a sentence or sentences with a subject\n verb agreement error\n<END>", "<BEGIN>\n## `_build_trigram_indices`", "Build a dictiona...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_submissions API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_submissions API. 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...
API endpoint to get submissions in JSON format
"API endpoint to get submissions in JSON format"
70
false
empirical-org/Quill-NLP-Tools-and-Datasets
get_submissions
21,798
LDU_FT/pudo/jsonmapping/get_type
LDU_FT
[ "<BEGIN>\n## `slugify`", "Transform all values into URL-capable slugs.\n<END>", "<BEGIN>\n## `latinize`", "Transliterate a given string into the latin alphabet.\n<END>", "<BEGIN>\n## `join`", "Merge all the strings. Put space between them.\n<END>", "<BEGIN>\n## `str_func`", "Apply functions like upper...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_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 extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_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 extracte...
Detect the ideal type for the data, either using the explicit type definition or the format (for date, date-time, not supported by JSON).
"Detect the ideal type for the data, either using the explicit type\n definition or the format (for date, date-time, not supported by JSON)."
34
false
pudo/jsonmapping
get_type
21,799
LDU_FT/qacafe/cdrouter.py/bulk_export
LDU_FT
[ "<BEGIN>\n## `list`", "Get a list of configs.", " :param filter: (optional) Filters to apply as a string list.\n :param type: (optional) `union` or `inter` as string.\n :param sort: (optional) Sort fields to apply as string list.\n :param limit: (optional) Limit returned list length....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bulk_export API. 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 bulk_export API. 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...
Bulk export a set of results. :param ids: Int list of result IDs. :rtype: tuple `(io.BytesIO, 'filename')`
"Bulk export a set of results.\n\n :param ids: Int list of result IDs.\n :rtype: tuple `(io.BytesIO, 'filename')`"
282
false
qacafe/cdrouter.py
bulk_export
21,800
LDU_FT/calvinku96/labreporthelper/make_tex_table
LDU_FT
[ "<BEGIN>\n## `generate_datasets_list`", "generate datasets list to activate", " args:\n settings: dictionary\n from settings file\n argv: list\n from sys.argv\n<END>", "<BEGIN>\n## `do_label`", "Create label for x and y axis, title and suptitle\n<END>", "<BEGIN>\n## ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_tex_table API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_tex_table API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Do make_tex_table and pass all arguments args: inputlist: list outputfilename: string fmt: dictionary key: integer column index starting with 0 values: string format string. eg "{:g}" **kwarg...
"Do make_tex_table and pass all arguments\n\n args:\n inputlist: list\n outputfilename: string\n fmt: dictionary\n key: integer\n column index starting with 0\n values: string\n format string. eg \"{:g}\"\n ...
57
false
calvinku96/labreporthelper
make_tex_table
21,801
LDU_FT/seibert-media/Highton/get
LDU_FT
[ "<BEGIN>\n## `decode`", "Decode the object to the object", " :param root_element: the parsed xml Element\n :type root_element: xml.etree.ElementTree.Element\n :return: the decoded Element as object\n :rtype: object\n<END>", "<BEGIN>\n## `add_note`", "Create a Note to current obje...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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...
Get all parties (people and companies) associated with a given tag. :param object_id: the primary id of the model :type object_id: integer :return: the parties :rtype: list
"Get all parties (people and companies) associated with a given tag.\n :param object_id: the primary id of the model\n :type object_id: integer\n :return: the parties\n :rtype: list"
80
false
seibert-media/Highton
get
21,802
LDU_FT/tilezen/tilequeue/make_metatiles
LDU_FT
[ "<BEGIN>\n## `merge`", "Retrieve a list of OSciMap4 tile responses and merge them into one.", " get_tiles() retrieves data and performs basic integrity checks.\n<END>", "<BEGIN>\n## `_make_valid_if_necessary`", "attempt to correct invalid shapes if necessary", " After simplification, even when p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_metatiles API. 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 make_metatiles API. 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...
Group by layers, and make metatiles out of all the tiles which share those properties relative to the "top level" tile which is parent of them all. Provide a 6-tuple date_time to set the timestamp on each tile within the metatile, or leave it as None to use the current time.
"Group by layers, and make metatiles out of all the tiles which share those\n properties relative to the \"top level\" tile which is parent of them all.\n Provide a 6-tuple date_time to set the timestamp on each tile within the\n metatile, or leave it as None to use the current time."
135
false
tilezen/tilequeue
make_metatiles
21,803
LDU_FT/bioasp/caspo/weighted_mse
LDU_FT
[ "<BEGIN>\n## `from_str`", "Creates a literal from a string", " Parameters\n ----------\n string : str\n If the string starts with '!', it's interpreted as a negated variable", " Returns\n -------\n caspo.core.literal.Literal\n Created object inst...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the weighted_mse API. 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 weighted_mse API. 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...
Returns the weighted MSE over all logical networks with respect to the given :class:`caspo.core.dataset.Dataset` object instance. For each logical network the weight corresponds to the number of networks having the same behavior. Parameters ---------- dataset: :class:`caspo.core.dataset...
"Returns the weighted MSE over all logical networks with respect to the given :class:`caspo.core.dataset.Dataset` object instance.\n For each logical network the weight corresponds to the number of networks having the same behavior.\n\n Parameters\n ----------\n dataset: :class:`caspo.core.d...
366
false
bioasp/caspo
weighted_mse
21,804
LDU_FT/Nukesor/pueue/get_descriptor_output
LDU_FT
[ "<BEGIN>\n## `clean`", "Clean queue items from a previous session.", " In case a previous session crashed and there are still some running\n entries in the queue ('running', 'stopping', 'killing'), we clean those\n and enqueue them again.\n<END>", "<BEGIN>\n## `clear`", "Remove all comp...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_descriptor_output 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_descriptor_output API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Get the descriptor output and handle incorrect UTF-8 encoding of subprocess logs. In case an process contains valid UTF-8 lines as well as invalid lines, we want to preserve the valid and remove the invalid ones. To do this we need to get each line and check for an UnicodeDecodeError.
"Get the descriptor output and handle incorrect UTF-8 encoding of subprocess logs.\n\n In case an process contains valid UTF-8 lines as well as invalid lines, we want to preserve\n the valid and remove the invalid ones.\n To do this we need to get each line and check for an UnicodeDecodeError."
104
false
Nukesor/pueue
get_descriptor_output
21,805
LDU_FT/gmr/tinman/_on_github_user
LDU_FT
[ "<BEGIN>\n## `main`", "Invoked by the script installed by setuptools.\n<END>", "<BEGIN>\n## `enable_debug`", "If the cli arg for foreground is set, set the configuration option\n for debug.\n<END>", "<BEGIN>\n## `insert_paths`", "Inserts a base path into the sys.path list if one is specified in\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _on_github_user API. 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 _on_github_user API. 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...
Invoked as a callback when self.github_request returns the response to the request for user data. :param method future: The callback method to pass along :param str access_token: The access token for the user's use :param dict response: The HTTP response already decoded
"Invoked as a callback when self.github_request returns the response\n to the request for user data.\n\n :param method future: The callback method to pass along\n :param str access_token: The access token for the user's use\n :param dict response: The HTTP response already decoded"
270
false
gmr/tinman
_on_github_user
21,806
LDU_FT/mushkevych/scheduler/validate
LDU_FT
[ "<BEGIN>\n## `_process_state_embryo`", "method that takes care of processing job records in STATE_EMBRYO state\n<END>", "<BEGIN>\n## `_process_state_in_progress`", "method that takes care of processing job records in STATE_IN_PROGRESS state\n<END>", "<BEGIN>\n## `__process_non_finalizable_job`", "method h...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
method iterates over the reprocessing queue and synchronizes state of every UOW with the DB should it change via the MX to STATE_CANCELED - remove the UOW from the queue
"method iterates over the reprocessing queue and synchronizes state of every UOW with the DB\n should it change via the MX to STATE_CANCELED - remove the UOW from the queue"
335
false
mushkevych/scheduler
validate
21,807
LDU_FT/econ-ark/HARK/makeMarkovApproxToNormalByMonteCarlo
LDU_FT
[ "<BEGIN>\n## `calcLogSumChoiceProbs`", "Returns the final optimal value and choice probabilities given the choice\n specific value functions `Vals`. Probabilities are degenerate if sigma == 0.0.\n Parameters\n ----------\n Vals : [numpy.array]\n A numpy.array that holds choice specific values a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the makeMarkovApproxToNormalByMonteCarlo API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the makeMarkovApproxToNormalByMonteCarlo API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates i...
Creates an approximation to a normal distribution with mean mu and standard deviation sigma, by Monte Carlo. Returns a stochastic vector called p_vec, corresponding to values in x_grid. If a RV is distributed x~N(mu,sigma), then the expectation of a continuous function f() is E[f(x)] = numpy.dot(p_vec,...
"Creates an approximation to a normal distribution with mean mu and standard\n deviation sigma, by Monte Carlo.\n Returns a stochastic vector called p_vec, corresponding\n to values in x_grid. If a RV is distributed x~N(mu,sigma), then the expectation\n of a continuous function f() is E[f(x)] = numpy.dot(p...
1,253
true
econ-ark/HARK
makeMarkovApproxToNormalByMonteCarlo
21,808
LDU_FT/csaez/wishlib/update
LDU_FT
[ "<BEGIN>\n## `inside_softimage`", "Returns a boolean indicating if the code is executed inside softimage.\n<END>", "<BEGIN>\n## `auto_update`", "This class method could be used as decorator on subclasses, it ensures\n update method is called after function execution.\n<END>", "<BEGIN>\n## `update`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API. 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 update API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
This method should be called when you want to ensure all cached attributes are in sync with the actual object attributes at runtime. This happens because attributes could store mutable objects and be modified outside the scope of this class. The most common idiom that isn't automagically...
"This method should be called when you want to ensure all cached attributes\n are in sync with the actual object attributes at runtime.\n This happens because attributes could store mutable objects and be\n modified outside the scope of this class.\n The most common idiom that isn't automagi...
22
false
csaez/wishlib
update
21,809
LDU_FT/cbrand/vpnchooser/_exec_command
LDU_FT
[ "<BEGIN>\n## `check`", "Checks the given password with the one stored\n in the database\n<END>", "<BEGIN>\n## `connect`", "Connects the client to the server and\n returns it.\n<END>", "<BEGIN>\n## `server_rules`", "Reads the server rules from the client\n and returns it.\n<END>", "<...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _exec_command API. 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 _exec_command API. 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...
Executes the command and closes the handles afterwards.
"Executes the command and closes the handles\n afterwards."
38
false
cbrand/vpnchooser
_exec_command
21,810
LDU_FT/divio/python-mautic/remove_dnc
LDU_FT
[ "<BEGIN>\n## `send`", "Send email to the assigned lists", " :param obj_id: int\n :return: dict|str\n<END>", "<BEGIN>\n## `send_to_contact`", "Send email to a specific contact", " :param obj_id: int\n :param contact_id: int\n :return: dict|str\n<END>", "<BEGIN>\n## `get...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_dnc API. 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 remove_dnc API. 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...
Removes Do Not Contact :param obj_id: int :param channel: str :return: dict|str
"Removes Do Not Contact\n\n :param obj_id: int\n :param channel: str\n :return: dict|str"
61
false
divio/python-mautic
remove_dnc
21,811
LDU_FT/audreyr/cookiecutter/expand_abbreviations
LDU_FT
[ "<BEGIN>\n## `expand_abbreviations`", "Expand abbreviations in a template name.", " :param template: The project template name.\n :param abbreviations: Abbreviation definitions.\n<END>", "<BEGIN>\n## `repository_has_cookiecutter_json`", "Determine if `repo_directory` contains a `cookiecutter.json` fil...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the expand_abbreviations 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 expand_abbreviations API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Expand abbreviations in a template name. :param template: The project template name. :param abbreviations: Abbreviation definitions.
"Expand abbreviations in a template name.\n\n :param template: The project template name.\n :param abbreviations: Abbreviation definitions."
129
false
audreyr/cookiecutter
expand_abbreviations
21,812
LDU_FT/inveniosoftware/invenio-records/create
LDU_FT
[ "<BEGIN>\n## `validate`", "r\"\"\"Validate record according to schema defined in ``$schema`` key.", " :Keyword Arguments:\n * **format_checker** --\n A ``format_checker`` is an instance of class\n :class:`jsonschema.FormatChecker` containing business logic to\n v...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
r"""Create a new record instance and store it in the database. #. Send a signal :data:`invenio_records.signals.before_record_insert` with the new record as parameter. #. Validate the new record data. #. Add the new record in the database. #. Send a signal :data:`invenio_re...
"r\"\"\"Create a new record instance and store it in the database.\n\n #. Send a signal :data:`invenio_records.signals.before_record_insert`\n with the new record as parameter.\n\n #. Validate the new record data.\n\n #. Add the new record in the database.\n\n #. Send a signal :dat...
55
false
inveniosoftware/invenio-records
create
21,813
LDU_FT/samstav/requests-chef/sign
LDU_FT
[ "<BEGIN>\n## `digester`", "Create SHA-1 hash, get digest, b64 encode, split every 60 char.\n<END>", "<BEGIN>\n## `normpath`", "Normalize a path.", " Expands ~'s, resolves relative paths, normalizes and returns\n an absolute path.\n<END>", "<BEGIN>\n## `splitter`", "Split an iterable that supports ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sign API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sign API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Sign data with the private key and return the signed data. The signed data will be Base64 encoded if b64 is True.
"Sign data with the private key and return the signed data.\n\n The signed data will be Base64 encoded if b64 is True."
13
false
samstav/requests-chef
sign
21,814
LDU_FT/jonbretman/jinja-to-js/_process_getitem
LDU_FT
[ "<BEGIN>\n## `option`", "Context manager for temporarily setting a keyword argument and\n then restoring it to whatever it was before.\n<END>", "<BEGIN>\n## `is_method_call`", "Returns True if `node` is a method call for `method_name`. `method_name`\n can be either a string or an iterable of strings.\n<...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _process_getitem API. 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_getitem API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Processes a `GetItem` node e.g. {{ foo["bar"] }}
"Processes a `GetItem` node e.g. {{ foo[\"bar\"] }}"
43
false
jonbretman/jinja-to-js
_process_getitem
21,815
LDU_FT/bdcht/grandalf/dummyctrl
LDU_FT
[ "<BEGIN>\n## `_meanvalueattr`", "find new position of vertex v according to adjacency in prevlayer.\n position is given by the mean value of adjacent positions.\n experiments show that meanvalue heuristic performs better than median.\n<END>", "<BEGIN>\n## `_medianindex`", "find new position of v...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dummyctrl API. 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 dummyctrl API. 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...
creates a DummyVertex at rank r inserted in the ctrl dict of the associated edge and layer. Arguments: r (int): rank value ctrl (dict): the edge's control vertices Returns: DummyVertex : the created DummyVertex.
"creates a DummyVertex at rank r inserted in the ctrl dict\n of the associated edge and layer.\n\n Arguments:\n r (int): rank value\n ctrl (dict): the edge's control vertices\n \n Returns:\n DummyVertex : the created DummyVertex."
41
false
bdcht/grandalf
dummyctrl
21,816
LDU_FT/Karaage-Cluster/python-tldap/value_to_db
LDU_FT
[ "<BEGIN>\n## `check_password`", "Check a plaintext password against a hashed password.\n<END>", "<BEGIN>\n## `reset`", "Reset transaction back to original state, discarding all\n uncompleted transactions.\n<END>", "<BEGIN>\n## `_cache_get_for_dn`", "Object state is cached. When an update is require...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the value_to_db API. 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 value_to_db API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Returns field's single value prepared for saving into a database.
"Returns field's single value prepared for saving into a database."
151
false
Karaage-Cluster/python-tldap
value_to_db
21,817
LDU_FT/Brazelton-Lab/bio_utils/binary_guesser
LDU_FT
[ "<BEGIN>\n## `binary_guesser`", "Raise error if file not likely binary", " Guesses if a file is binary, raises error if file is not likely binary,\n then returns to location in file when handle passed to binary_guesser.", " Args:\n handle (file): File handle of file thought to be binary", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the binary_guesser API. 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 binary_guesser API. 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...
Raise error if file not likely binary Guesses if a file is binary, raises error if file is not likely binary, then returns to location in file when handle passed to binary_guesser. Args: handle (file): File handle of file thought to be binary num_bytes (int): Bytes of file to read to gues...
"Raise error if file not likely binary\n\n Guesses if a file is binary, raises error if file is not likely binary,\n then returns to location in file when handle passed to binary_guesser.\n\n Args:\n handle (file): File handle of file thought to be binary\n\n num_bytes (int): Bytes of file to rea...
158
false
Brazelton-Lab/bio_utils
binary_guesser
21,818
LDU_FT/expfactory/expfactory/finish_user
LDU_FT
[ "<BEGIN>\n## `get_experiments`", "get_experiments will return loaded json for all valid experiments from an experiment folder\n :param base: full path to the base folder with experiments inside\n :param load: if True, returns a list of loaded config.json objects. If False (default) returns the paths to the ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the finish_user API. 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 finish_user API. 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...
finish user will append "finished" (or other) to the data folder when the user has completed (or been revoked from) the battery. For headless, this means that the session is ended and the token will not work again to rewrite the result. If the user needs to update or redo an experiment, th...
"finish user will append \"finished\" (or other) to the data folder when\n the user has completed (or been revoked from) the battery. \n For headless, this means that the session is ended and the token \n will not work again to rewrite the result. If the user needs to update\n or redo an experim...
128
false
expfactory/expfactory
finish_user
21,819
LDU_FT/cloudnull/turbolift/update_object
LDU_FT
[ "<BEGIN>\n## `start`", "Return a list of objects from the API for a container.\n<END>", "<BEGIN>\n## `_cdn`", "Retrieve a long list of all files in a container.", " :return final_list, list_count, last_obj:\n<END>", "<BEGIN>\n## `remove_dirs`", "Delete a directory recursively.", " :param...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_object API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_object API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Update an existing object in a swift container. This method will place new headers on an existing object or container. :param url: :param container: :param container_object:
"Update an existing object in a swift container.\n\n This method will place new headers on an existing object or container.\n\n :param url:\n :param container:\n :param container_object:"
148
false
cloudnull/turbolift
update_object
21,820
LDU_FT/refindlyllc/rets/filter_to_dmql
LDU_FT
[ "<BEGIN>\n## `parse`", "Parse the login xml response\n :param response: the login response from the RETS server\n :return: None\n<END>", "<BEGIN>\n## `read_line`", "Reads lines of XML and delimits, strips, and returns.\n<END>", "<BEGIN>\n## `generator`", "Takes a response socket connection a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter_to_dmql API. 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 filter_to_dmql API. 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...
Converts the filter dictionary into DMQL
"Converts the filter dictionary into DMQL"
51
false
refindlyllc/rets
filter_to_dmql
21,821
LDU_FT/mehmetg/streak_client/get_pipeline_field
LDU_FT
[ "<BEGIN>\n## `_get_req_fp`", "Decisions on what verb to use and content headers happen here\n\t\tArgs:\n\t\t\top \t\t\ta string specifying a http verb\n<END>", "<BEGIN>\n## `_req`", "HTTP reequest wrapper with data packaging fucntionality\n\t\tArgs:\n\t\t\top \t\t\thttp verb in str\n\t\t\turi \t\taddress of ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_pipeline_field API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_pipeline_field API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
Gets one/all field in a pipeline Args: pipeline_key key for pipeline field_key key for field (default: None i.e. ALL) returns status code, field dict or list thereof
"Gets one/all field in a pipeline\n\t\tArgs:\n\t\t\tpipeline_key \t\tkey for pipeline\n\t\t\tfield_key \t\t\tkey for field (default: None i.e. ALL)\n\t\t\treturns\t\t\t\tstatus code, field dict or list thereof"
90
false
mehmetg/streak_client
get_pipeline_field
21,822
LDU_FT/StellarCN/py-stellar-base/signature_base
LDU_FT
[ "<BEGIN>\n## `get`", "Retrieve the account data that corresponds to this :class:`Address`.", " Retrieve the account data from Horizon for the account that corresponds\n to this :class:`Address`. Attempt to retrieve the following attributes\n from Horizon:", " * Sequence Number\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the signature_base API. 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 signature_base API. 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 the signature base of this transaction envelope. Return the "signature base" of this transaction, which is the value that, when hashed, should be signed to create a signature that validators on the Stellar Network will accept. It is composed of a 4 prefix bytes followed by the xdr-...
"Get the signature base of this transaction envelope.\n\n Return the \"signature base\" of this transaction, which is the value\n that, when hashed, should be signed to create a signature that\n validators on the Stellar Network will accept.\n\n It is composed of a 4 prefix bytes followed by...
411
false
StellarCN/py-stellar-base
signature_base
21,823
LDU_FT/ejhigson/nestcheck/run_bootstrap_values
LDU_FT
[ "<BEGIN>\n## `save_load_result`", "Saves and/or loads func output (must be picklable).\n<END>", "<BEGIN>\n## `pickle_save`", "Saves object with pickle.", " Parameters\n ----------\n data: anything picklable\n Object to save.\n name: str\n Path to save to (includes dir, excludes ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run_bootstrap_values 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 run_bootstrap_values API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Uses bootstrap resampling to calculate an estimate of the standard deviation of the distribution of sampling errors (the uncertainty on the calculation) for a single nested sampling run. For more details about bootstrap resampling for estimating sampling errors see 'Sampling errors in nested sampling p...
"Uses bootstrap resampling to calculate an estimate of the\n standard deviation of the distribution of sampling errors (the\n uncertainty on the calculation) for a single nested sampling run.\n\n For more details about bootstrap resampling for estimating sampling\n errors see 'Sampling errors in nested samp...
394
false
ejhigson/nestcheck
run_bootstrap_values
21,824
LDU_FT/centralniak/py-raildriver/subscribe
LDU_FT
[ "<BEGIN>\n## `subscribe`", "Subscribe to given fields.", " Special fields cannot be subscribed to and will be checked on every iteration. These include:", " * loco name\n * coordinates\n * fuel level\n * gradient\n * current heading\n * is in tunnel\n * ...
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 extract...
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 extract...
Subscribe to given fields. Special fields cannot be subscribed to and will be checked on every iteration. These include: * loco name * coordinates * fuel level * gradient * current heading * is in tunnel * time You can of course still receive no...
"Subscribe to given fields.\n\n Special fields cannot be subscribed to and will be checked on every iteration. These include:\n\n * loco name\n * coordinates\n * fuel level\n * gradient\n * current heading\n * is in tunnel\n * time\n\n You can of course sti...
26
false
centralniak/py-raildriver
subscribe
21,825
LDU_FT/fbcotter/py3nvml/nvmlDeviceSetDriverModel
LDU_FT
[ "<BEGIN>\n## `grab_gpus`", "Checks for gpu availability and sets CUDA_VISIBLE_DEVICES as such.", " Note that this function does not do anything to 'reserve' gpus, it only\n limits what GPUS your program can see by altering the CUDA_VISIBLE_DEVICES\n variable. Other programs can still come along and sna...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the nvmlDeviceSetDriverModel 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 nvmlDeviceSetDriverModel API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
r""" /** * Set the driver model for the device. * * For Fermi &tm; or newer fully supported devices. * For windows only. * Requires root/admin permissions. * * On Windows platforms the device driver can run in either WDDM or WDM (TCC) mode. If a display is attached * to the d...
"r\"\"\"\n /**\n * Set the driver model for the device.\n *\n * For Fermi &tm; or newer fully supported devices.\n * For windows only.\n * Requires root/admin permissions.\n *\n * On Windows platforms the device driver can run in either WDDM or WDM (TCC) mode. If a display is attached\n ...
336
false
fbcotter/py3nvml
nvmlDeviceSetDriverModel
21,826
LDU_FT/defunkt/pystache/_find_path_required
LDU_FT
[ "<BEGIN>\n## `render`", "Return the given template string rendered using the given context.\n<END>", "<BEGIN>\n## `_get_value`", "Retrieve a key's value from a context item.", " Returns _NOT_FOUND if the key does not exist.", " The ContextStack.get() docstring documents this function's intended beha...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _find_path_required 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 _find_path_required API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Return the path to a template with the given file name.
"Return the path to a template with the given file name."
177
false
defunkt/pystache
_find_path_required
21,827
LDU_FT/idlesign/django-sitemessage/mark_read
LDU_FT
[ "<BEGIN>\n## `_build_message`", "Constructs a MIME message from message and dispatch models.\n<END>", "<BEGIN>\n## `schedule_email`", "Schedules an email message for delivery.", " :param dict, str message: str or dict: use str for simple text email;\n dict - to compile email from a template (defau...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mark_read API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mark_read API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Handles mark message as read request. :param Request request: :param int message_id: :param int dispatch_id: :param str hashed: :param str redirect_to: :return:
"Handles mark message as read request.\n\n :param Request request:\n :param int message_id:\n :param int dispatch_id:\n :param str hashed:\n :param str redirect_to:\n :return:"
137
false
idlesign/django-sitemessage
mark_read
21,828
LDU_FT/panosl/django-currencies/price_rounding
LDU_FT
[ "<BEGIN>\n## `get_imports`", "See if we have been passed a set of currencies or a setting variable\n or look for settings CURRENCIES or SHOP_CURRENCIES.\n<END>", "<BEGIN>\n## `log`", "Both prints to stdout/stderr and the django.currencies logger\n<END>", "<BEGIN>\n## `check_rates`", "Local helper f...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the price_rounding API. 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 price_rounding API. 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...
Takes a decimal price and rounds to a number of decimal places
"Takes a decimal price and rounds to a number of decimal places"
57
false
panosl/django-currencies
price_rounding
21,829
LDU_FT/sveetch/djangocodemirror/render
LDU_FT
[ "<BEGIN>\n## `codemirror_settings_update`", "Return a new dictionnary of configs updated with given parameters.", " You may use ``on`` and ``names`` arguments to select config or filter out\n some configs from returned dict.", " Arguments:\n configs (dict): Dictionnary of configurations to upd...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the render API. 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 render API. 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 this Widget rendered as HTML, as a Unicode string.
"Returns this Widget rendered as HTML, as a Unicode string."
125
false
sveetch/djangocodemirror
render
21,830
LDU_FT/dillonhicks/rekt/create_rest_client_class
LDU_FT
[ "<BEGIN>\n## `load_builtin_config`", "Uses package info magic to find the resource file located in the specs\n submodule.\n<END>", "<BEGIN>\n## `load_config`", "Loads a yaml configuration.", " :param path: a pathlib Path object pointing to the configuration\n<END>", "<BEGIN>\n## `load_swagger_config`...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_rest_client_class 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 create_rest_client_class API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Generate the api call functions and attach them to the generated RestClient subclass with the name <Service>Client.
"Generate the api call functions and attach them to the generated\n RestClient subclass with the name <Service>Client."
19
false
dillonhicks/rekt
create_rest_client_class
21,831
LDU_FT/pkkid/python-plexapi/getMedia
LDU_FT
[ "<BEGIN>\n## `registerPlexObject`", "Registry of library types we may come across when parsing XML. This allows us to\n define a few helper functions to dynamically convery the XML into objects. See\n buildItem() below for an example.\n<END>", "<BEGIN>\n## `cast`", "Cast the specified value to t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getMedia API. 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 getMedia API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Returns list of :class:`~plexapi.base.Playable` which belong to this sync item.
"Returns list of :class:`~plexapi.base.Playable` which belong to this sync item."
372
false
pkkid/python-plexapi
getMedia
21,832
LDU_FT/sci-bots/mpm/enabled_plugins
LDU_FT
[ "<BEGIN>\n## `update_plugin_dialog`", "Launch dialog to track status of update of specified plugin package.", " .. versionadded:: 0.19", " .. versionchanged:: 0.20\n Add support for updating multiple packages (update all **installed**\n plugins by default).", " Add :data:`update_a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the enabled_plugins API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the enabled_plugins API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
.. versionadded:: 0.21 Parameters ---------- installed_only : bool, optional Only consider enabled plugins that are installed in the Conda environment. Returns ------- list List of properties corresponding to each plugin that is **enabled**. If :data:`installed...
".. versionadded:: 0.21\n\n Parameters\n ----------\n installed_only : bool, optional\n Only consider enabled plugins that are installed in the Conda\n environment.\n\n Returns\n -------\n list\n List of properties corresponding to each plugin that is **enabled**.\n\n If :d...
181
false
sci-bots/mpm
enabled_plugins
21,833
LDU_FT/trustar/trustar-python/process_file
LDU_FT
[ "<BEGIN>\n## `from_dict`", "Create an indicator object from a dictionary.", " :param indicator: The dictionary.\n :return: The indicator object.\n<END>", "<BEGIN>\n## `to_dict`", "Creates a dictionary representation of the indicator.", " :param remove_nones: Whether ``None`` values sh...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Extract text from a file (pdf, txt, eml, csv, json) :param source_file path to file to read :return text from file
"Extract text from a file (pdf, txt, eml, csv, json)\n :param source_file path to file to read\n :return text from file"
243
false
trustar/trustar-python
process_file
21,834
LDU_FT/Cito/DBUtils/connection
LDU_FT
[ "<BEGIN>\n## `connection`", "Get a steady, cached DB-API 2 connection from the pool.", " If shareable is set and the underlying DB-API 2 allows it,\n then the connection may be shared with other threads.\n<END>", "<BEGIN>\n## `unshare`", "Decrease the share of a connection in the shared cache....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connection API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connection API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Get a steady, persistent DB-API 2 connection. The shareable parameter exists only for compatibility with the PooledDB connection method. In reality, persistent connections are of course never shared with other threads.
"Get a steady, persistent DB-API 2 connection.\n\n The shareable parameter exists only for compatibility with the\n PooledDB connection method. In reality, persistent connections\n are of course never shared with other threads."
80
false
Cito/DBUtils
connection
21,835
LDU_FT/adaptive-learning/proso-apps/str2type
LDU_FT
[ "<BEGIN>\n## `process_answer`", "This method is used during the answer streaming and is called after the\n predictive model for each answer.", " Args:\n user (int):\n identifier of ther user answering the question\n asked (int):\n identifier of t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the str2type API. 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 str2type API. 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...
Take a string and convert it to a value of proper type. .. testsetup:: from proso.coversion import str2type .. doctest:: >>> print(str2type("[1, 2, 3]") [1, 2, 3]
"Take a string and convert it to a value of proper type.\n\n\n .. testsetup::\n\n from proso.coversion import str2type\n\n .. doctest::\n\n >>> print(str2type(\"[1, 2, 3]\")\n [1, 2, 3]"
276
false
adaptive-learning/proso-apps
str2type
21,836
LDU_FT/shad7/tvrenamer/find_library
LDU_FT
[ "<BEGIN>\n## `execute`", "Renames a file based on the name generated using metadata.", " :param str filename: absolute path and filename of original file\n :param str formatted_name: absolute path and new filename\n<END>", "<BEGIN>\n## `get_series_by_name`", "Perform lookup for series", " :pa...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_library API. 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_library API. 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...
Search for the location of a series within the library. :param str series_path: name of the relative path of the series :returns: library path :rtype: str
"Search for the location of a series within the library.\n\n :param str series_path: name of the relative path of the series\n :returns: library path\n :rtype: str"
135
false
shad7/tvrenamer
find_library
21,837
LDU_FT/corpusops/pdbclone/do_clear
LDU_FT
[ "<BEGIN>\n## `parse_gdb_version`", "r\"\"\"Parse the gdb version from the gdb header.", " From GNU coding standards: the version starts after the last space of the\n first line.", " >>> DOCTEST_GDB_VERSIONS = [\n ... r'~\"GNU gdb (GDB) 7.5.1\\n\"',\n ... r'~\"GNU gdb (Sourcery CodeBench Lite 20...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_clear API. 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 do_clear API. 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...
cl(ear) filename:lineno\ncl(ear) [bpnumber [bpnumber...]] With a space separated list of breakpoint numbers, clear those breakpoints. Without argument, clear all breaks (but first ask confirmation). With a filename:lineno argument, clear all breaks at that line in that file.
"cl(ear) filename:lineno\\ncl(ear) [bpnumber [bpnumber...]]\n With a space separated list of breakpoint numbers, clear\n those breakpoints. Without argument, clear all breaks (but\n first ask confirmation). With a filename:lineno argument,\n clear all breaks at that line in that file."
129
false
corpusops/pdbclone
do_clear
21,838
LDU_FT/ONSdigital/sdc-rabbit/run
LDU_FT
[ "<BEGIN>\n## `_connect`", "Connect to a RabbitMQ instance", " :returns: Boolean corresponding to success of connection\n :rtype: bool\n<END>", "<BEGIN>\n## `_disconnect`", "Cleanly close a RabbitMQ connection.", " :returns: None\n<END>", "<BEGIN>\n## `publish_message`", "Publish a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Run the example consumer by connecting to RabbitMQ and then starting the IOLoop to block and allow the SelectConnection to operate.
"Run the example consumer by connecting to RabbitMQ and then\n starting the IOLoop to block and allow the SelectConnection to operate."
58
false
ONSdigital/sdc-rabbit
run
21,839
LDU_FT/rix0rrr/gcl/to_python
LDU_FT
[ "<BEGIN>\n## `from_spec`", "Return a schema object from a spec.", " A spec is either a string for a scalar type, or a list of 0 or 1 specs,\n or a dictionary with two elements: {'fields': { ... }, required: [...]}.\n<END>", "<BEGIN>\n## `validate`", "Validate an object according to its own AND an external...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_python API. 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_python API. 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...
Reify values to their Python equivalents. Does recursion detection, failing when that happens.
"Reify values to their Python equivalents.\n\n Does recursion detection, failing when that happens."
129
false
rix0rrr/gcl
to_python
21,840
LDU_FT/Robpol86/libnl/genl_ctrl_probe_by_name
LDU_FT
[ "<BEGIN>\n## `nla_ok`", "Check if the attribute header and payload can be accessed safely.", " https://github.com/thom311/libnl/blob/libnl3_2_25/lib/attr.c#L148", " Verifies that the header and payload do not exceed the number of bytes left in the attribute stream. This function\n must be called befo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the genl_ctrl_probe_by_name API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the genl_ctrl_probe_by_name API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
Look up generic Netlink family by family name querying the kernel directly. https://github.com/thom311/libnl/blob/libnl3_2_25/lib/genl/ctrl.c#L237 Directly query's the kernel for a given family name. Note: This API call differs from genl_ctrl_search_by_name in that it queries the kernel directly, allowin...
"Look up generic Netlink family by family name querying the kernel directly.\n\n https://github.com/thom311/libnl/blob/libnl3_2_25/lib/genl/ctrl.c#L237\n\n Directly query's the kernel for a given family name.\n\n Note: This API call differs from genl_ctrl_search_by_name in that it queries the kernel directly, ...
702
false
Robpol86/libnl
genl_ctrl_probe_by_name
21,841
LDU_FT/scott-griffiths/bitstring/_readsie
LDU_FT
[ "<BEGIN>\n## `offsetcopy`", "Return a copy of a ByteStore with the newoffset.", " Not part of public interface.\n<END>", "<BEGIN>\n## `equal`", "Return True if ByteStores a == b.", " Not part of public interface.\n<END>", "<BEGIN>\n## `structparser`", "Parse struct-like format string token into ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _readsie API. 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 _readsie API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Return interpretation of next bits as a signed interleaved exponential-Golomb code. Advances position to after the read code. Raises ReadError if the end of the bitstring is encountered while reading the code.
"Return interpretation of next bits as a signed interleaved exponential-Golomb code.\n\n Advances position to after the read code.\n\n Raises ReadError if the end of the bitstring is encountered while\n reading the code."
251
false
scott-griffiths/bitstring
_readsie
21,842
LDU_FT/MultipedRobotics/pyxl320/makeServoIDPacket
LDU_FT
[ "<BEGIN>\n## `makeServoIDPacket`", "Given the current ID, returns a packet to set the servo to a new ID\n<END>", "<BEGIN>\n## `packetToDict`", "Given a packet, this turns it into a dictionary ... is this useful?", "\tin: packet, array of numbers\n\tout: dictionary (key, value)\n<END>", "<BEGIN>\n## `sweep...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the makeServoIDPacket API. 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 makeServoIDPacket API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Given the current ID, returns a packet to set the servo to a new ID
"Given the current ID, returns a packet to set the servo to a new ID"
71
false
MultipedRobotics/pyxl320
makeServoIDPacket
21,843
LDU_FT/QualiSystems/cloudshell-networking-devices/_validate_artifact_info
LDU_FT
[ "<BEGIN>\n## `create_networking_resource_from_context`", "Creates an instance of Networking Resource by given context\n :param shell_name: Shell Name\n :type shell_name: str\n :param supported_os: list of supported OS\n :type supported_os: list\n :param context: cloudshell.shell.core.driver_context...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _validate_artifact_info API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _validate_artifact_info API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
Validate OrchestrationSavedArtifactInfo object for key components :param OrchestrationSavedArtifactInfo saved_config: object to validate
"Validate OrchestrationSavedArtifactInfo object for key components\n\n :param OrchestrationSavedArtifactInfo saved_config: object to validate"
87
false
QualiSystems/cloudshell-networking-devices
_validate_artifact_info
21,844
LDU_FT/gitpython-developers/smmap/make_cursor
LDU_FT
[ "<BEGIN>\n## `_copy_from`", "Copy all data from rhs into this instance, handles usage count\n<END>", "<BEGIN>\n## `use_region`", "Assure we point to a window which allows access to the given offset into the file", " :param offset: absolute offset in bytes into the file\n :param size: amount of...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_cursor API. 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 make_cursor API. 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 cursor pointing to the given path or file descriptor. It can be used to map new regions of the file into memory **Note:** if a file descriptor is given, it is assumed to be open and valid, but may be closed afterwards. To refer to the same file, you may reuse your existin...
":return: a cursor pointing to the given path or file descriptor.\n It can be used to map new regions of the file into memory\n\n **Note:** if a file descriptor is given, it is assumed to be open and valid,\n but may be closed afterwards. To refer to the same file, you may reuse\n your e...
49
false
gitpython-developers/smmap
make_cursor
21,845
LDU_FT/sveetch/py-css-styleguide/serialize_to_json
LDU_FT
[ "<BEGIN>\n## `digest_prelude`", "Walk on rule prelude (aka CSS selector) tokens to return a string of\n the value name (from css selector).", " Actually only simple selector and selector with descendant combinator\n are supported. Using any other selector kind may leads to unexpected\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the serialize_to_json API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the serialize_to_json API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Serialize given datas to any object from assumed JSON string. Arguments: name (string): Name only used inside possible exception message. datas (dict): Datas to serialize. Returns: object: Object depending from JSON content.
"Serialize given datas to any object from assumed JSON string.\n\n Arguments:\n name (string): Name only used inside possible exception message.\n datas (dict): Datas to serialize.\n\n Returns:\n object: Object depending from JSON content."
98
false
sveetch/py-css-styleguide
serialize_to_json
21,846
LDU_FT/droope/droopescan/update
LDU_FT
[ "<BEGIN>\n## `_convert_to_folder`", "Silverstripe's page contains a list of composer packages. This\n function converts those to folder names. These may be different due\n to installer-name.", " Implemented exponential backoff in order to prevent packager from\n being...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API. 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 update API. 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 ...
Update self.et with the sums as returned by VersionsX.sums_get @param sums: {'version': {'file1':'hash1'}}
"Update self.et with the sums as returned by VersionsX.sums_get\n @param sums: {'version': {'file1':'hash1'}}"
84
false
droope/droopescan
update
21,847
LDU_FT/halcy/Mastodon.py/list
LDU_FT
[ "<BEGIN>\n## `parse_version_string`", "Parses a semver version string, stripping off \"rc\" stuff if present.\n<END>", "<BEGIN>\n## `bigger_version`", "Returns the bigger version of two version strings.\n<END>", "<BEGIN>\n## `api_version`", "Version check decorator. Currently only checks Bigger Than.\n<EN...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Fetch info about a specific list. Returns a `list dict`_.
"Fetch info about a specific list.\n \n Returns a `list dict`_."
313
false
halcy/Mastodon.py
list
21,848
LDU_FT/riptano/ccm/put
LDU_FT
[ "<BEGIN>\n## `actively_watch_logs_for_error`", "Begins a thread that repeatedly scans system.log for new errors, every interval seconds.\n (The first pass covers the entire log contents written at that point,\n subsequent scans cover newly appended log messages).", " Reports new errors, by ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the put API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the put API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Copy a file (or directory recursively) to a location on the remote server :param local_path: Local path to copy to; can be file or directory :param remote_path: Remote path to copy to (default: None - Copies file or directory to home directory directory on the remote server)
"Copy a file (or directory recursively) to a location on the remote server\n\n :param local_path: Local path to copy to; can be file or directory\n :param remote_path: Remote path to copy to (default: None - Copies file or directory to\n home directory directory on the remote se...
108
false
riptano/ccm
put
21,849
LDU_FT/hydpy-dev/hydpy/calc_nbes_inzp_v1
LDU_FT
[ "<BEGIN>\n## `xml_replace`", "Read the content of an XML template file (XMLT), apply the given\n `replacements` to its substitution markers, and write the result into\n an XML file with the same name but ending with `xml` instead of `xmlt`.", " First, we write an XMLT file, containing a regular HTML c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calc_nbes_inzp_v1 API. 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 calc_nbes_inzp_v1 API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Calculate stand precipitation and update the interception storage accordingly. Required control parameters: |NHRU| |Lnk| Required derived parameter: |KInz| Required flux sequence: |NKor| Calculated flux sequence: |NBes| Updated state sequence: |Inzp| ...
"Calculate stand precipitation and update the interception storage\n accordingly.\n\n Required control parameters:\n |NHRU|\n |Lnk|\n\n Required derived parameter:\n |KInz|\n\n Required flux sequence:\n |NKor|\n\n Calculated flux sequence:\n |NBes|\n\n Updated state sequence:\...
3,847
true
hydpy-dev/hydpy
calc_nbes_inzp_v1
21,850
LDU_FT/metagriffin/asset/chunks
LDU_FT
[ "<BEGIN>\n## `load`", "Given a package asset-spec glob-pattern `pattern`, returns an\n :class:`AssetGroup` object, which in turn can act as a generator of\n :class:`Asset` objects that match the pattern.", " Example:", " .. code-block:: python", " import asset", " # concatenate all 'css' files i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the chunks API. 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 chunks API. 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 a generator of chunks from the `stream` with a maximum size of `size`. I don't know why this isn't part of core Python. :Parameters: stream : file-like object The stream to fetch the chunks from. Note that the stream will not be repositioned in any way. size : int | 'lines'; default: null ...
"Returns a generator of chunks from the `stream` with a maximum\n size of `size`. I don't know why this isn't part of core Python.\n\n :Parameters:\n\n stream : file-like object\n\n The stream to fetch the chunks from. Note that the stream will\n not be repositioned in any way.\n\n size : int | 'lines'; defau...
39
false
metagriffin/asset
chunks
21,851
LDU_FT/filestack/filestack-python/add_transform_task
LDU_FT
[ "<BEGIN>\n## `to_filelink`", "Checks is the status of the conversion is complete and, if so, converts to a Filelink", " *returns* [Filestack.Filelink]", " ```python\n filelink = av_convert.to_filelink()\n ```\n<END>", "<BEGIN>\n## `url`", "Returns the URL for the instance, whic...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_transform_task 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 add_transform_task 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...
Adds a transform task to the current instance and returns it *returns* Filestack.Transform
"Adds a transform task to the current instance and returns it\n\n *returns* Filestack.Transform"
82
false
filestack/filestack-python
add_transform_task
21,852
LDU_FT/pikepdf/pikepdf/_qname
LDU_FT
[ "<BEGIN>\n## `encode_pdf_date`", "Encode Python datetime object as PDF date string", " From Adobe pdfmark manual:\n (D:YYYYMMDDHHmmSSOHH'mm')\n D: is an optional prefix. YYYY is the year. All fields after the year are\n optional. MM is the month (01-12), DD is the day (01-31), HH is the\n hour (0...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _qname API. 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 _qname API. 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 name to an XML QName e.g. pdf:Producer -> {http://ns.adobe.com/pdf/1.3/}Producer
"Convert name to an XML QName\n\n e.g. pdf:Producer -> {http://ns.adobe.com/pdf/1.3/}Producer"
104
false
pikepdf/pikepdf
_qname
21,853
LDU_FT/ggravlingen/pytradfri/get_smart_task
LDU_FT
[ "<BEGIN>\n## `combine_data`", "Combines the data for this command with another.\n<END>", "<BEGIN>\n## `load_json`", "Load JSON data from a file and return as dict or list.", " Defaults to returning empty dict if file is not found.\n<END>", "<BEGIN>\n## `save_json`", "Save JSON data to a file.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_smart_task API. 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_smart_task API. 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...
Return specified transition. Returns a Command.
"Return specified transition.\n\n Returns a Command."
79
false
ggravlingen/pytradfri
get_smart_task
21,854
LDU_FT/base4sistemas/satcfe/consultar_status_operacional
LDU_FT
[ "<BEGIN>\n## `salvar`", "Salva o arquivo de log decodificado.", " :param str destino: (Opcional) Caminho completo para o arquivo onde os\n dados dos logs deverão ser salvos. Se não informado, será criado\n um arquivo temporário via :func:`tempfile.mkstemp`.", " :param str p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the consultar_status_operacional 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 consultar_status_operacional API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl...
Sobrepõe :meth:`~satcfe.base.FuncoesSAT.consultar_status_operacional`. :return: Uma resposta SAT especializada em ``ConsultarStatusOperacional``. :rtype: satcfe.resposta.consultarstatusoperacional.RespostaConsultarStatusOperacional
"Sobrepõe :meth:`~satcfe.base.FuncoesSAT.consultar_status_operacional`.\n\n :return: Uma resposta SAT especializada em ``ConsultarStatusOperacional``.\n :rtype: satcfe.resposta.consultarstatusoperacional.RespostaConsultarStatusOperacional"
208
false
base4sistemas/satcfe
consultar_status_operacional
21,855
LDU_FT/buzzfeed/caliendo/purge
LDU_FT
[ "<BEGIN>\n## `increment`", "Static method used to increment the depth of a context belonging to 'method'", " :param function method: A method with a context", " :rtype: caliendo.hooks.Context\n :returns: The context instance for the method.\n<END>", "<BEGIN>\n## `skip_once`", "Indicat...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the purge API. 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 purge API. 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...
Deletes all the cached files since the last call to reset_used that have not been used.
"Deletes all the cached files since the last call to reset_used that have not been used."
177
false
buzzfeed/caliendo
purge
21,856
LDU_FT/SwoopSearch/pyaddress/_get_dstk_intersections
LDU_FT
[ "<BEGIN>\n## `post_multipart`", "Post fields and files to an http host as multipart/form-data.\n fields is a sequence of (name, value) elements for regular form fields.\n files is a sequence of (name, filename, value) elements for data to be uploaded as files\n Return the server's response page.\n<END>",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_dstk_intersections 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_dstk_intersections API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
Find the unique tokens in the original address and the returned address.
"Find the unique tokens in the original address and the returned address."
45
false
SwoopSearch/pyaddress
_get_dstk_intersections
21,857
LDU_FT/jpablo128/simplystatic/_create_default_config
LDU_FT
[ "<BEGIN>\n## `make_site_obj`", "Instantiate and return the site. This will be used for all commands\n<END>", "<BEGIN>\n## `random_md_page`", "Generate random markdown page content..", " If the parameters are zero, instead of a fixed number of elements \n it uses a random number.\n<END>", "<BEGIN>\n#...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _create_default_config API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _create_default_config API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Create and write to disk a default site config file.
"Create and write to disk a default site config file."
85
false
jpablo128/simplystatic
_create_default_config
21,858
LDU_FT/korfuri/django-prometheus/ExportingCursorWrapper
LDU_FT
[ "<BEGIN>\n## `ExportMigrations`", "Exports counts of unapplied migrations.", " This is meant to be called during app startup, ideally by\n django_prometheus.apps.AppConfig.\n<END>", "<BEGIN>\n## `ExportingCursorWrapper`", "Returns a CursorWrapper class that knows its database's alias and\n vendor n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ExportingCursorWrapper 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 ExportingCursorWrapper API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Returns a CursorWrapper class that knows its database's alias and vendor name.
"Returns a CursorWrapper class that knows its database's alias and\n vendor name."
25
false
korfuri/django-prometheus
ExportingCursorWrapper
21,859
LDU_FT/sanger-pathogens/ariba/_update_threads
LDU_FT
[ "<BEGIN>\n## `_update_threads`", "Update available thread count post-construction.\n To be called any number of times from run() method\n<END>", "<BEGIN>\n## `_report_completion`", "Update shared counters to signal that we are done with this cluster.\n Call just before exiting run() method (in a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _update_threads API. 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 _update_threads API. 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...
Update available thread count post-construction. To be called any number of times from run() method
"Update available thread count post-construction.\n To be called any number of times from run() method"
105
false
sanger-pathogens/ariba
_update_threads
21,860
LDU_FT/hbldh/flask-pybankid/create_from_pybankid_exception
LDU_FT
[ "<BEGIN>\n## `init_app`", "Initialize the `app` for use with this :class:`~PyBankID`. This is\n called automatically if `app` is passed to :meth:`~PyBankID.__init__`.", " The app is configured according to the configuration variables\n ``PREFIX_CERT_PATH``, ``PREFIX_KEY_PATH`` and ``PREFIX_...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_from_pybankid_exception API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_from_pybankid_exception API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con...
Class method for initiating from a `PyBankID` exception. :param bankid.exceptions.BankIDError exception: :return: The wrapped exception. :rtype: :py:class:`~FlaskPyBankIDError`
"Class method for initiating from a `PyBankID` exception.\n\n :param bankid.exceptions.BankIDError exception:\n :return: The wrapped exception.\n :rtype: :py:class:`~FlaskPyBankIDError`"
16
false
hbldh/flask-pybankid
create_from_pybankid_exception
21,861
LDU_FT/fabric-bolt/fabric-bolt/get_success_url
LDU_FT
[ "<BEGIN>\n## `form_valid`", "After the form is valid lets let people know\n<END>", "<BEGIN>\n## `form_valid`", "First call the parent's form valid then let the user know it worked.\n<END>", "<BEGIN>\n## `post`", "Create the SSH file & then return the normal get method...\n<END>", "<BEGIN>\n## `web_hooks...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_success_url API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_success_url API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Get the url depending on what type of configuration I deleted.
"Get the url depending on what type of configuration I deleted."
65
false
fabric-bolt/fabric-bolt
get_success_url
21,862
LDU_FT/moralrecordings/mrcrowbar/ansi_format_iter
LDU_FT
[ "<BEGIN>\n## `decode_nfo`", "Decodes a byte string in NFO format (beloved by PC scener groups) from DOS Code Page 437 \n to Unicode.\n<END>", "<BEGIN>\n## `ansi_format_iter`", "Return the ANSI escape sequence to render the image.", " x_start\n Offset from the left of the image data to r...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ansi_format_iter API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ansi_format_iter API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Return the ANSI escape sequence to render the image. x_start Offset from the left of the image data to render from. Defaults to 0. y_start Offset from the top of the image data to render from. Defaults to 0. width Width of the image data to render. Defaults...
"Return the ANSI escape sequence to render the image.\n\n x_start\n Offset from the left of the image data to render from. Defaults to 0.\n\n y_start\n Offset from the top of the image data to render from. Defaults to 0.\n\n width\n Width of the image data to render...
214
false
moralrecordings/mrcrowbar
ansi_format_iter
21,863
LDU_FT/openstack/networking-hyperv/_get_network_vswitch_map_by_port_id
LDU_FT
[ "<BEGIN>\n## `handle_trunks`", "Trunk data model change from the server.\n<END>", "<BEGIN>\n## `handle_subports`", "Subport data model change from the server.\n<END>", "<BEGIN>\n## `_setup_trunk`", "Sets up VLAN trunk and updates the trunk status.\n<END>", "<BEGIN>\n## `main`", "The entry point for ne...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_network_vswitch_map_by_port_id 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 _get_network_vswitch_map_by_port_id API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates it...
Get the vswitch name for the received port id.
"Get the vswitch name for the received port id."
45
false
openstack/networking-hyperv
_get_network_vswitch_map_by_port_id
21,864
LDU_FT/davisd50/sparc.cache/import_source
LDU_FT
[ "<BEGIN>\n## `schema_map`", "Return a valid ICachedItemMapper.map for schema\n<END>", "<BEGIN>\n## `items`", "Returns a generator of available ICachableItem in the ICachableSource\n<END>", "<BEGIN>\n## `getById`", "Returns ICachableItem that matches id", " Args:\n id: String that ident...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the import_source API. 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 import_source API. 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...
Updates cache area and returns number of items updated with all available entries in ICachableSource
"Updates cache area and returns number of items updated with all available entries in ICachableSource"
37
false
davisd50/sparc.cache
import_source
21,865
LDU_FT/Geotab/mygeotab-python/process_parameters
LDU_FT
[ "<BEGIN>\n## `object_deserializer`", "Helper to deserialize a raw result dict into a proper dict.", " :param obj: The dict.\n<END>", "<BEGIN>\n## `login`", "Logs into a MyGeotab server and stores the returned credentials.", " :param session: The current Session object.\n :param user: The username...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_parameters API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_parameters API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
Allows the use of Pythonic-style parameters with underscores instead of camel-case. :param parameters: The parameters object. :type parameters: dict :return: The processed parameters. :rtype: dict
"Allows the use of Pythonic-style parameters with underscores instead of camel-case.\n\n :param parameters: The parameters object.\n :type parameters: dict\n :return: The processed parameters.\n :rtype: dict"
96
false
Geotab/mygeotab-python
process_parameters
21,866
LDU_FT/SamLau95/nbinteract/convert_notebooks_to_html_partial
LDU_FT
[ "<BEGIN>\n## `multiple_choice`", "Generates a multiple choice question that allows the user to select an\n answer choice and shows whether choice was correct.", " Args:\n question (str): Question text displayed above choices.", " choices (list str): Answer choices that user can select.", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_notebooks_to_html_partial API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_notebooks_to_html_partial API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ...
Converts notebooks in notebook_paths to HTML partials
"Converts notebooks in notebook_paths to HTML partials"
159
false
SamLau95/nbinteract
convert_notebooks_to_html_partial
21,867
LDU_FT/MisanthropicBit/colorise/fprint
LDU_FT
[ "<BEGIN>\n## `set_color`", "Set the current colors.", " If no arguments are given, sets default colors.\n<END>", "<BEGIN>\n## `cprint`", "Print a colored string to the target handle.", " fg and bg specify foreground- and background colors, respectively. The\n remaining keyword arguments are the s...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fprint API. 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 fprint API. 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 ...
Parse and print a colored and perhaps formatted string. The remaining keyword arguments are the same as for Python's built-in print function. Colors are returning to their defaults before the function returns.
"Parse and print a colored and perhaps formatted string.\n\n The remaining keyword arguments are the same as for Python's built-in print\n function. Colors are returning to their defaults before the function\n returns."
31
false
MisanthropicBit/colorise
fprint
21,868
LDU_FT/andresriancho/w3af-api-client/can_access_api
LDU_FT
[ "<BEGIN>\n## `log_entry_generator`", ":yield: The next LogEntry from the REST API\n :raise: StopIteration when there are no more log entries to show, please\n note that if you call this again at a later time the REST API\n could have different results and more data could be returned\n<END...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the can_access_api API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the can_access_api API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
:return: True when we can access the REST API
":return: True when we can access the REST API"
15
false
andresriancho/w3af-api-client
can_access_api
21,869
LDU_FT/maljovec/topopy/get_seeds
LDU_FT
[ "<BEGIN>\n## `build`", "Assigns data to this object and builds the Morse-Smale\n Complex\n @ In, X, an m-by-n array of values specifying m\n n-dimensional samples\n @ In, Y, a m vector of values specifying the output\n responses corresponding to the m samples...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_seeds API. 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_seeds API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Returns a list of seed points for isosurface extraction given a threshold value @ In, threshold, float, the isovalue for which we want to identify seed points for isosurface extraction
"Returns a list of seed points for isosurface extraction\n given a threshold value\n @ In, threshold, float, the isovalue for which we want to\n identify seed points for isosurface extraction"
57
false
maljovec/topopy
get_seeds
21,870
LDU_FT/bhmm/bhmm/generate_synthetic_state_trajectory
LDU_FT
[ "<BEGIN>\n## `_forward_backward`", "Estimation step: Runs the forward-back algorithm on trajectory with index itraj", " Parameters\n ----------\n itraj : int\n index of the observation trajectory to process", " Results\n -------\n logprob : float\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_synthetic_state_trajectory 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 generate_synthetic_state_trajectory API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates it...
Generate a synthetic state trajectory. Parameters ---------- nsteps : int Number of steps in the synthetic state trajectory to be generated. initial_Pi : np.array of shape (nstates,), optional, default=None The initial probability distribution, if samples are not...
"Generate a synthetic state trajectory.\n\n Parameters\n ----------\n nsteps : int\n Number of steps in the synthetic state trajectory to be generated.\n initial_Pi : np.array of shape (nstates,), optional, default=None\n The initial probability distribution, if samples...
497
false
bhmm/bhmm
generate_synthetic_state_trajectory
21,871
LDU_FT/touilleMan/mongopatcher/discover
LDU_FT
[ "<BEGIN>\n## `initialize`", "Initialize the manifest document in the given datamodel", " :param version: Actual version of the datamodel\n :param force: Replace manifest if it already exists\n<END>", "<BEGIN>\n## `update`", "Modify the datamodel's manifest", " :param version: New vers...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the discover API. 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 discover API. 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...
List the patches available in the given patches directory
"List the patches available in the given patches directory"
27
false
touilleMan/mongopatcher
discover
21,872