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/pymoca/pymoca/save_model
LDU_FT
[ "<BEGIN>\n## `call`", "Convenience method for calling methods with walker.\n<END>", "<BEGIN>\n## `der`", "Get the derivative of the variable, create it if it doesn't exist.\n<END>", "<BEGIN>\n## `log`", "Convenience function for printing indenting debug output.\n<END>", "<BEGIN>\n## `flatten_component_r...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_model API. 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 save_model API. 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...
Saves a CasADi model to disk. :param model_folder: Folder where the precompiled CasADi model will be stored. :param model_name: Name of the model. :param model: Model instance. :param compiler_options: Dictionary of compiler options.
"Saves a CasADi model to disk.\n\n :param model_folder: Folder where the precompiled CasADi model will be stored.\n :param model_name: Name of the model.\n :param model: Model instance.\n :param compiler_options: Dictionary of compiler options."
61
false
pymoca/pymoca
save_model
141,773
LDU_FT/aliyun/aliyun-odps-python-sdk/train
LDU_FT
[ "<BEGIN>\n## `_process_worker`", "Evaluates calls from call_queue and places the results in result_queue.", " This worker is run in a separate process.", " Args:\n call_queue: A multiprocessing.Queue of _CallItems that will be read and\n evaluated by the worker.\n result_queue: ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the train API. 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 train API. 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...
Perform training on a DataFrame. The label field is specified by the ``label_field`` method. :param train_data: DataFrame to be trained. Label field must be specified. :type train_data: DataFrame :return: Trained model :rtype: MLModel
"Perform training on a DataFrame.\n The label field is specified by the ``label_field`` method.\n\n :param train_data: DataFrame to be trained. Label field must be specified.\n :type train_data: DataFrame\n\n :return: Trained model\n :rtype: MLModel"
1,057
true
aliyun/aliyun-odps-python-sdk
train
141,774
LDU_FT/rkhleics/wagtailmodeladmin/create_view
LDU_FT
[ "<BEGIN>\n## `process_request`", "Ignore unnecessary actions for static file requests, posts, or ajax\n requests. We're only interested in redirecting following a 'natural'\n request redirection to the `wagtailadmin_explore_root` or\n `wagtailadmin_explore` views.\n<END>", "<BEGIN>\n## `get...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_view API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_view API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Instantiates a class-based view to provide 'creation' functionality for the assigned model, or redirect to Wagtail's create view if the assigned model extends 'Page'. The view class used can be overridden by changing the 'create_view_class' attribute.
"Instantiates a class-based view to provide 'creation' functionality for\n the assigned model, or redirect to Wagtail's create view if the\n assigned model extends 'Page'. The view class used can be overridden by\n changing the 'create_view_class' attribute."
52
false
rkhleics/wagtailmodeladmin
create_view
141,775
LDU_FT/andrewsnowden/dota2py/parse_game_event
LDU_FT
[ "<BEGIN>\n## `load_heroes`", "Load hero details from JSON file into memoy\n<END>", "<BEGIN>\n## `load_items`", "Load item details fom JSON file into memory\n<END>", "<BEGIN>\n## `debug_dump`", "Utility while developing to dump message data to play with in the\n interpreter\n<END>", "<BEGIN>\n## `get_...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_game_event API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_game_event API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Game events contain the combat log as well as 'chase_hero' events which could be interesting
"Game events contain the combat log as well as 'chase_hero' events which\n could be interesting"
45
false
andrewsnowden/dota2py
parse_game_event
141,776
LDU_FT/mcs07/ChemDataExtractor/_parse_tag
LDU_FT
[ "<BEGIN>\n## `train_punkt`", "Train Punkt sentence splitter using sentences in input.\n<END>", "<BEGIN>\n## `sentences`", "Read input document, and output sentences.\n<END>", "<BEGIN>\n## `_in_stoplist`", "Return True if the entity is in the stoplist.\n<END>", "<BEGIN>\n## `tag`", "Run individual chem...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_tag API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_tag API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Extract the namespace and tag from an element.
"Extract the namespace and tag from an element."
243
false
mcs07/ChemDataExtractor
_parse_tag
141,777
LDU_FT/jonbretman/jinja-to-js/_process_if
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_if API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _process_if API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Processes an if block e.g. `{% if foo %} do something {% endif %}`
"Processes an if block e.g. `{% if foo %} do something {% endif %}`"
43
false
jonbretman/jinja-to-js
_process_if
141,778
LDU_FT/aquatix/python-utilkit/to_smart_columns
LDU_FT
[ "<BEGIN>\n## `archive_if_exists`", "Move `filename` out of the way, archiving it by appending the current datetime\n Can be a file or a directory\n<END>", "<BEGIN>\n## `ensure_dir_exists`", "Ensure the existence of the (parent) directory of f\n<END>", "<BEGIN>\n## `list_files`", "List all files in dire...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_smart_columns API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_smart_columns API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Nicely format the 2-dimensional list into columns
"Nicely format the 2-dimensional list into columns"
24
false
aquatix/python-utilkit
to_smart_columns
141,779
LDU_FT/nickstenning/honcho/dashrepl
LDU_FT
[ "<BEGIN>\n## `add_process`", "Add a process to this manager instance. The process will not be started\n until :func:`~honcho.manager.Manager.loop` is called.\n<END>", "<BEGIN>\n## `loop`", "Start all the added processes and multiplex their output onto the bound\n printer (which by default will p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dashrepl API. 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 dashrepl API. 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...
Replace any non-word characters with a dash.
"Replace any non-word characters with a dash."
15
false
nickstenning/honcho
dashrepl
141,780
LDU_FT/jonathf/chaospy/_bnd
LDU_FT
[ "<BEGIN>\n## `call`", "Evaluate a polynomial along specified axes.", " Args:\n poly (Poly):\n Input polynomial.\n args (numpy.ndarray):\n Argument to be evaluated. Masked values keeps the variable intact.", " Returns:\n (Poly, numpy.ndarray):\n If ma...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _bnd API. 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 _bnd API. 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...
Distribution bounds. Example: >>> print(chaospy.Uniform().range([-2, 0, 2, 4])) [[0. 0. 0. 0.] [1. 1. 1. 1.]] >>> print(chaospy.Trunc(chaospy.Uniform(), 0.6).range([-2, 0, 2, 4])) [[0. 0. 0. 0. ] [0.6 0.6 0.6 0.6]] >>> pri...
"Distribution bounds.\n\n Example:\n >>> print(chaospy.Uniform().range([-2, 0, 2, 4]))\n [[0. 0. 0. 0.]\n [1. 1. 1. 1.]]\n >>> print(chaospy.Trunc(chaospy.Uniform(), 0.6).range([-2, 0, 2, 4]))\n [[0. 0. 0. 0. ]\n [0.6 0.6 0.6 0.6]]\n ...
713
false
jonathf/chaospy
_bnd
141,781
LDU_FT/bionikspoon/pureyaml/dump
LDU_FT
[ "<BEGIN>\n## `_gt_from_lt`", "Return a > b. Computed by @total_ordering from (not a < b) and (a != b).\n<END>", "<BEGIN>\n## `_le_from_lt`", "Return a <= b. Computed by @total_ordering from (a < b) or (a == b).\n<END>", "<BEGIN>\n## `_ge_from_lt`", "Return a >= b. Computed by @total_ordering from (not ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dump API. 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 dump API. 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...
Dump object to a file like object or string. :param obj: :param fp: Open file like object :param int indent: Indent size, default 2 :param bool sort_keys: Optionally sort dictionary keys. :return: Yaml serialized data.
"Dump object to a file like object or string.\n\n :param obj:\n :param fp: Open file like object\n :param int indent: Indent size, default 2\n :param bool sort_keys: Optionally sort dictionary keys.\n :return: Yaml serialized data."
70
false
bionikspoon/pureyaml
dump
141,782
LDU_FT/Capitains/Nautilus/getReffs
LDU_FT
[ "<BEGIN>\n## `r_cts`", "Actual main route of CTS APIs. Transfer typical requests through the ?request=REQUESTNAME route", " :return: Response\n<END>", "<BEGIN>\n## `cts_error`", "Create a CTS Error reply", " :param error_name: Name of the error\n :param message: Message of the Error\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getReffs API. 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 getReffs API. 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...
Retrieve the siblings of a textual node :param textId: PrototypeText Identifier :type textId: str :param level: Depth for retrieval :type level: int :param subreference: Passage Reference :type subreference: str :return: List of references :rtype: [str]
"Retrieve the siblings of a textual node\n\n :param textId: PrototypeText Identifier\n :type textId: str\n :param level: Depth for retrieval\n :type level: int\n :param subreference: Passage Reference\n :type subreference: str\n :return: List of references\n :rtyp...
110
false
Capitains/Nautilus
getReffs
141,783
LDU_FT/wq/django-natural-keys/create_by_natural_key
LDU_FT
[ "<BEGIN>\n## `get_by_natural_key`", "Return the object corresponding to the provided natural key.", " (This is a generic implementation of the standard Django function)\n<END>", "<BEGIN>\n## `create_by_natural_key`", "Create a new object from the provided natural key values. If the\n natural ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_by_natural_key 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_by_natural_key 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 a new object from the provided natural key values. If the natural key contains related objects, recursively get or create them by their natural keys.
"Create a new object from the provided natural key values. If the\n natural key contains related objects, recursively get or create them by\n their natural keys."
14
false
wq/django-natural-keys
create_by_natural_key
141,784
LDU_FT/maljovec/topopy/get_x
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_x API. 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 get_x API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Returns the input data requested by the user @ In, rows, a list of non-negative integers specifying the row indices to return @ In, cols, a list of non-negative integers specifying the column indices to return @ Out, a matrix of floating point values specifyin...
"Returns the input data requested by the user\n @ In, rows, a list of non-negative integers specifying the\n row indices to return\n @ In, cols, a list of non-negative integers specifying the\n column indices to return\n @ Out, a matrix of floating point values spe...
57
false
maljovec/topopy
get_x
141,785
LDU_FT/globus/globus-cli/supported_activation_methods
LDU_FT
[ "<BEGIN>\n## `role_show`", "Executor for `globus endpoint role show`\n<END>", "<BEGIN>\n## `outformat_is_json`", "Only safe to call within a click context.\n<END>", "<BEGIN>\n## `outformat_is_unix`", "Only safe to call within a click context.\n<END>", "<BEGIN>\n## `outformat_is_text`", "Only safe to c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the supported_activation_methods 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 supported_activation_methods API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl...
Given an activation_requirements document returns a list of activation methods supported by this endpoint.
"Given an activation_requirements document\n returns a list of activation methods supported by this endpoint."
186
false
globus/globus-cli
supported_activation_methods
141,786
LDU_FT/kxgames/vecrec/circle_touching_line
LDU_FT
[ "<BEGIN>\n## `random`", "Create a unit vector pointing in a random direction.\n<END>", "<BEGIN>\n## `from_rectangle`", "Create a vector randomly within the given rectangle.\n<END>", "<BEGIN>\n## `interpolate`", "Move this vector towards the given towards the target by the given \n extent. The exte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the circle_touching_line API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the circle_touching_line API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Return true if the given circle intersects the given segment. Note that this checks for intersection with a line segment, and not an actual line. :param center: Center of the circle. :type center: Vector :param radius: Radius of the circle. :type radius: float :param start: The first end...
"Return true if the given circle intersects the given segment. Note \n that this checks for intersection with a line segment, and not an actual \n line.\n\n :param center: Center of the circle.\n :type center: Vector\n :param radius: Radius of the circle.\n :type radius: float\n :param start: The ...
49
false
kxgames/vecrec
circle_touching_line
141,787
LDU_FT/mdickinson/refcycle/snapshot
LDU_FT
[ "<BEGIN>\n## `restore_gc_state`", "Restore the garbage collector state on leaving the with block.\n<END>", "<BEGIN>\n## `children`", "Return the list of immediate children of the given vertex.\n<END>", "<BEGIN>\n## `parents`", "Return the list of immediate parents of this vertex.\n<END>", "<BEGIN>\n## `...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the snapshot API. 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 snapshot API. 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 the graph of all currently gc-tracked objects. Excludes the returned :class:`~refcycle.object_graph.ObjectGraph` and objects owned by it. Note that a subsequent call to :func:`~refcycle.creators.snapshot` will capture all of the objects owned by this snapshot. The :meth:`~refcycle.object_g...
"Return the graph of all currently gc-tracked objects.\n\n Excludes the returned :class:`~refcycle.object_graph.ObjectGraph` and\n objects owned by it.\n\n Note that a subsequent call to :func:`~refcycle.creators.snapshot` will\n capture all of the objects owned by this snapshot. The\n :meth:`~refcycle....
98
false
mdickinson/refcycle
snapshot
141,788
LDU_FT/DeepHorizons/iarm/MOV
LDU_FT
[ "<BEGIN>\n## `ADR`", "ADR Ra, [PC, #imm10_4]\n ADR Ra, label", " Load the address of label or the PC offset into Ra\n Ra must be a low register\n<END>", "<BEGIN>\n## `LDR`", "LDR Ra, [PC, #imm10_4]\n LDR Ra, label\n LDR Ra, =equate\n LDR Ra, [Rb, Rc]\n LDR Ra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the MOV API. 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 MOV API. 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...
MOV Rx, Ry MOV PC, Ry Move the value of Ry into Rx or PC
"MOV Rx, Ry\n MOV PC, Ry\n\n Move the value of Ry into Rx or PC"
253
false
DeepHorizons/iarm
MOV
141,789
LDU_FT/steffann/pylisp/to_bytes
LDU_FT
[ "<BEGIN>\n## `from_bytes`", "Look at the type of the message, instantiate the correct class and\n let it parse the message.\n<END>", "<BEGIN>\n## `sanitize`", "Check if the current settings conform to the LISP specifications and\n fix them where possible.\n<END>", "<BEGIN>\n## `calculate_authe...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_bytes API. 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 to_bytes API. 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...
r''' Create bytes from properties >>> message = DataPacket(nonce='XyZ', instance_id=1234, ... payload='SomeDummyPayloadData') >>> message.to_bytes() '\x88XyZ\x00\x04\xd2\x00SomeDummyPayloadData'
"r'''\n Create bytes from properties\n\n >>> message = DataPacket(nonce='XyZ', instance_id=1234,\n ... payload='SomeDummyPayloadData')\n >>> message.to_bytes()\n '\\x88XyZ\\x00\\x04\\xd2\\x00SomeDummyPayloadData'"
85
false
steffann/pylisp
to_bytes
141,790
LDU_FT/pydata/numexpr/getConstants
LDU_FT
[ "<BEGIN>\n## `set_vml_accuracy_mode`", "Set the accuracy mode for VML operations.", " The `mode` parameter can take the values:\n - 'high': high accuracy mode (HA), <1 least significant bit\n - 'low': low accuracy mode (LA), typically 1-2 least significant bits\n - 'fast': enhanced performance mode ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getConstants API. 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 getConstants API. 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...
RAM: implemented magic method __lt__ for ASTNode to fix issues #88 and #209. The following test code works now, as does the test suite. import numexpr as ne a = 1 + 3j; b = 5.0 ne.evaluate( 'a*2 + 15j - b' )
"RAM: implemented magic method __lt__ for ASTNode to fix issues\n #88 and #209. The following test code works now, as does the test suite.\n import numexpr as ne\n a = 1 + 3j; b = 5.0\n ne.evaluate( 'a*2 + 15j - b' )"
69
false
pydata/numexpr
getConstants
141,791
LDU_FT/ausaki/subfinder/rm_subtitles
LDU_FT
[ "<BEGIN>\n## `_gen_subname`", "generate filename of subtitles\n :TODO: fix the conflict of subname\n<END>", "<BEGIN>\n## `_compute_video_hash`", "compute videofile's hash\n reference: https://docs.google.com/document/d/1w5MCBO61rKQ6hI5m9laJLWse__yTYdRugpVyz4RzrmM/preview\n<END>", "<BEGIN>\n## ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rm_subtitles API. 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 rm_subtitles API. 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...
delete all subtitles in path recursively
"delete all subtitles in path recursively"
26
false
ausaki/subfinder
rm_subtitles
141,792
LDU_FT/KelSolaar/Umbra/language
LDU_FT
[ "<BEGIN>\n## `restore_geometry_on_layout_change`", "Setter for **self.__restore_geometry_on_layout_change** attribute.", " :param value: Attribute value.\n :type value: bool\n<END>", "<BEGIN>\n## `get`", "Returns given layout value.", " :param layout: Layout name.\n :type layou...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the language API. 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 language API. 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...
Setter for **self.__language** attribute. :param value: Attribute value. :type value: unicode
"Setter for **self.__language** attribute.\n\n :param value: Attribute value.\n :type value: unicode"
1,432
true
KelSolaar/Umbra
language
141,793
LDU_FT/micha030201/aionationstates/resolution_at_vote
LDU_FT
[ "<BEGIN>\n## `tgcanrecruit`", "Whether the nation will receive a recruitment telegram.", " Useful in conjunction with the Telegrams API.", " Parameters\n ----------\n region : str\n Name of the region you are recruiting for.", " Returns\n -------\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resolution_at_vote 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 resolution_at_vote API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
The proposal currently being voted on. Returns ------- :class:`ApiQuery` of :class:`ResolutionAtVote` :class:`ApiQuery` of None If no resolution is currently at vote.
"The proposal currently being voted on.\n\n Returns\n -------\n :class:`ApiQuery` of :class:`ResolutionAtVote`\n :class:`ApiQuery` of None\n If no resolution is currently at vote."
156
false
micha030201/aionationstates
resolution_at_vote
141,794
LDU_FT/ManiacalLabs/PixelWeb/match
LDU_FT
[ "<BEGIN>\n## `_re_flatten`", "Turn all capturing groups in a regular expression pattern into\n non-capturing groups.\n<END>", "<BEGIN>\n## `redirect`", "Aborts execution and causes a 303 or 302 redirect, depending on\n the HTTP protocol version.\n<END>", "<BEGIN>\n## `_file_iter_range`", "Yi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the match API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the match API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Return a (target, url_agrs) tuple or raise HTTPError(400/404/405).
"Return a (target, url_agrs) tuple or raise HTTPError(400/404/405)."
100
false
ManiacalLabs/PixelWeb
match
141,795
LDU_FT/mailgun/talon/cut_gmail_quote
LDU_FT
[ "<BEGIN>\n## `safe_format`", "Helper: formats string with any combination of bytestrings/unicode\n strings without raising exceptions\n<END>", "<BEGIN>\n## `to_unicode`", "Safely returns a unicode version of a given string\n >>> utils.to_unicode('привет')\n u'привет'\n >>> utils.to_unicode(u'п...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cut_gmail_quote API. 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 cut_gmail_quote API. 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...
Cuts the outermost block element with class gmail_quote.
"Cuts the outermost block element with class gmail_quote."
140
false
mailgun/talon
cut_gmail_quote
141,796
LDU_FT/senaite/senaite.core/remove_get_department_uids
LDU_FT
[ "<BEGIN>\n## `get_type_id`", "Returns the type id for the context passed in\n<END>", "<BEGIN>\n## `get_suffix`", "Get the suffix of the ID, e.g. '-R01' or '-P05'", " The current regex determines a pattern of a single uppercase character with\n at most 2 numbers following at the end of the ID as the su...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_get_department_uids API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_get_department_uids API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
Removes getDepartmentUIDs indexes and metadata
"Removes getDepartmentUIDs indexes and metadata"
2,333
true
senaite/senaite.core
remove_get_department_uids
141,797
LDU_FT/troeger/opensubmit/graded_submissions
LDU_FT
[ "<BEGIN>\n## `read_config`", "Read configuration file, perform sanity check and return configuration\n dictionary used by other functions.\n<END>", "<BEGIN>\n## `check_config`", "Check the executor config file for consistency.\n<END>", "<BEGIN>\n## `has_config`", "Determine if the given config file...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the graded_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. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the graded_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. Th...
Queryset for the graded submissions, which are worth closing.
"Queryset for the graded submissions, which are worth closing."
254
false
troeger/opensubmit
graded_submissions
141,798
LDU_FT/eleme/meepo/prepare_info
LDU_FT
[ "<BEGIN>\n## `zmq_sub`", "0mq fanout sub.", " This sub will use zeromq to fanout the events.", " :param bind: the zmq pub socket or zmq device socket.\n :param tables: the events of tables to follow.\n :param forwarder: set to True if zmq pub to a forwarder device.\n :param green: weather to us...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prepare_info API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prepare_info API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Return all session unique ids recorded in prepare phase. :param ts: timestamp, default to current timestamp :return: set of session unique ids
"Return all session unique ids recorded in prepare phase.\n\n :param ts: timestamp, default to current timestamp\n :return: set of session unique ids"
110
false
eleme/meepo
prepare_info
141,799
LDU_FT/vsergeev/python-periphery/close
LDU_FT
[ "<BEGIN>\n## `read`", "Read the brightness of the LED.", " Returns:\n int: Current brightness.", " Raises:\n LEDError: if an I/O or OS error occurs.\n<END>", "<BEGIN>\n## `write`", "Set the brightness of the LED to `brightness`.", " `brightness` can be a boolea...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the close API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the close API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Unmap the MMIO object's mapped physical memory.
"Unmap the MMIO object's mapped physical memory."
86
false
vsergeev/python-periphery
close
141,800
LDU_FT/tbreitenfeldt/invisible_ui/logger
LDU_FT
[ "<BEGIN>\n## `handle_event`", "An abstract method that must be overwritten by child classes used to handle events.", " event - the event to be handled", " returns true or false if the event could be handled here", " default code is given for this method, however subclasses must still ov...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the logger API. 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 logger API. 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 ...
Set the logger if is not None, and it is of type Logger.
"Set the logger if is not None, and it is of type Logger."
36
false
tbreitenfeldt/invisible_ui
logger
141,801
LDU_FT/ttinies/sc2players/updatePlayer
LDU_FT
[ "<BEGIN>\n## `attrs`", "provide a copy of this player's attributes as a dictionary\n<END>", "<BEGIN>\n## `simpleAttrs`", "provide a copy of this player's attributes as a dictionary, but with objects flattened into a string representation of the object\n<END>", "<BEGIN>\n## `_validateAttrs`", "prove that a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the updatePlayer API. 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 updatePlayer API. 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...
update an existing PlayerRecord setting and save to disk file
"update an existing PlayerRecord setting and save to disk file"
32
false
ttinies/sc2players
updatePlayer
141,802
LDU_FT/datajoint/datajoint-python/exists
LDU_FT
[ "<BEGIN>\n## `is_foreign_key`", ":param line: a line from the table definition\n :return: true if the line appears to be a foreign key definition\n<END>", "<BEGIN>\n## `compile_foreign_key`", ":param line: a line from a table definition\n :param context: namespace containing referenced objects\n :par...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the exists API. 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 exists API. 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: true if the associated schema exists on the server
":return: true if the associated schema exists on the server"
198
false
datajoint/datajoint-python
exists
141,803
LDU_FT/holtjma/msbwt/extendSeed
LDU_FT
[ "<BEGIN>\n## `extendSeed`", "This function is intended to be an interactive technique for constructing transcripts, probably to be released\n in a future version of msbwt\n @param bwtFN - the filename of the BWT to load\n @param seedKmer - the seed sequence to use for construction\n @p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extendSeed API. 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 extendSeed API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
This function is intended to be an interactive technique for constructing transcripts, probably to be released in a future version of msbwt @param bwtFN - the filename of the BWT to load @param seedKmer - the seed sequence to use for construction @param threshold - minimum number for a p...
"This function is intended to be an interactive technique for constructing transcripts, probably to be released\n in a future version of msbwt\n @param bwtFN - the filename of the BWT to load\n @param seedKmer - the seed sequence to use for construction\n @param threshold - minimum number fo...
84
false
holtjma/msbwt
extendSeed
141,804
LDU_FT/rackerlabs/fastfood/process_stencil
LDU_FT
[ "<BEGIN>\n## `metadata`", "Return dict representation of this cookbook's metadata.rb .\n<END>", "<BEGIN>\n## `berksfile`", "Return this cookbook's Berksfile instance.\n<END>", "<BEGIN>\n## `from_dict`", "Create a MetadataRb instance from a dict.\n<END>", "<BEGIN>\n## `depends_statement`", "Return a va...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_stencil API. 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 process_stencil API. 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...
Process the stencil requested, writing any missing files as needed. The stencil named 'stencilset_name' should be one of templatepack's stencils.
"Process the stencil requested, writing any missing files as needed.\n\n The stencil named 'stencilset_name' should be one of\n templatepack's stencils."
68
false
rackerlabs/fastfood
process_stencil
141,805
LDU_FT/iopipe/iopipe-python/patch_botocore_session_send
LDU_FT
[ "<BEGIN>\n## `upload_profiler_report`", "Uploads a profiler report to IOpipe", " :param url: The signed URL\n :param filename: The profiler report file\n :param config: The IOpipe config\n<END>", "<BEGIN>\n## `read_pid_stat`", "Mocks read_pid_stat as this is a Linux-specific operation.\n<END>", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the patch_botocore_session_send API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the patch_botocore_session_send API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
Monkey patches botocore's vendored requests, if available. Overloads the Session class' send method to add tracing and metric collection.
"Monkey patches botocore's vendored requests, if available. Overloads the\n Session class' send method to add tracing and metric collection."
93
false
iopipe/iopipe-python
patch_botocore_session_send
141,806
LDU_FT/FujiMakoto/IPS-Vagrant/write_nginx_config
LDU_FT
[ "<BEGIN>\n## `dev_tools_installer`", "Installer factory\n @param cv: Current version (The version of Developer Tools we are installing)\n @type cv: ips_vagrant.common.version.Version\n @return: Installer instance\n @rtype: ips_vagrant.installer.dev_tools.latest.DevToolsInstaller\n<END>", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_nginx_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. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_nginx_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. Th...
Write the Nginx configuration file for this Site
"Write the Nginx configuration file for this Site"
87
false
FujiMakoto/IPS-Vagrant
write_nginx_config
141,807
LDU_FT/google/python_portpicker/bind
LDU_FT
[ "<BEGIN>\n## `_should_allocate_port`", "Determine if we should allocate a port for use by the given process id.\n<END>", "<BEGIN>\n## `_parse_command_line`", "Configure and parse our command line flags.\n<END>", "<BEGIN>\n## `_parse_port_ranges`", "Given a 'N-P,X-Y' description of port ranges, return a se...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bind API. 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 bind API. 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...
Try to bind to a socket of the specified type, protocol, and port. This is primarily a helper function for PickUnusedPort, used to see if a particular port number is available. For the port to be considered available, the kernel must support at least one of (IPv6, IPv4), and the port must be available...
"Try to bind to a socket of the specified type, protocol, and port.\n\n This is primarily a helper function for PickUnusedPort, used to see\n if a particular port number is available.\n\n For the port to be considered available, the kernel must support at least\n one of (IPv6, IPv4), and the port must be av...
42
false
google/python_portpicker
bind
141,808
LDU_FT/OnroerendErfgoed/language-tags/error
LDU_FT
[ "<BEGIN>\n## `types`", "Get the types of a subtag string (excludes redundant and grandfathered).", " :param str subtag: subtag.\n :return: list of types. The return list can be empty.\n<END>", "<BEGIN>\n## `subtags`", "Get a list of existing :class:`language_tags.Subtag.Subtag` objects given t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the error API. 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 error API. 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...
Get the :class:`language_tags.Tag.Tag.Error` of a specific Tag error code. The error creates a message explaining the error. It also refers to the respective (sub)tag(s). :param int code: a Tag error error: * 1 = Tag.ERR_DEPRECATED * 2 = Tag.ERR_NO_LANGUAGE ...
"Get the :class:`language_tags.Tag.Tag.Error` of a specific Tag error code.\n The error creates a message explaining the error.\n It also refers to the respective (sub)tag(s).\n\n :param int code: a Tag error error:\n\n * 1 = Tag.ERR_DEPRECATED\n * 2 = Tag.ERR_NO_LANGUAGE\n ...
50
false
OnroerendErfgoed/language-tags
error
141,809
LDU_FT/sqlboy/fileseq/issuperset
LDU_FT
[ "<BEGIN>\n## `xfrange`", "Returns a generator that yields the frames from start to stop, inclusive.\n In other words it adds or subtracts a frame, as necessary, to return the\n stop value as well, if the stepped range would touch that value.", " Args:\n start (int):\n stop (int):\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the issuperset API. 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 issuperset API. 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...
Check if the contents of `self` is a superset of the contents of `other.` Args: other (:class:`FrameSet`): Returns: bool: :class:`NotImplemented`: if `other` fails to convert to a :class:`FrameSet`
"Check if the contents of `self` is a superset of the contents of\n `other.`\n\n Args:\n other (:class:`FrameSet`):\n\n Returns:\n bool:\n :class:`NotImplemented`: if `other` fails to convert to a :class:`FrameSet`"
146
false
sqlboy/fileseq
issuperset
141,810
LDU_FT/ff0000/scarlet/post
LDU_FT
[ "<BEGIN>\n## `get_add_link`", "Appends the popup=1 query string to the url so the\n destination url treats it as a popup.\n<END>", "<BEGIN>\n## `render_view`", "Return an string version of a View with as_string method.\n First argument is the name of the view. Any other arguments\n should be keyw...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the post API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the post API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Method for handling POST requests. Expects the 'vid' of the version to act on to be passed as in the POST variable 'version'. If a POST variable 'revert' is present this will call the revert method and then return a 'render redirect' to the result of the `get_done_url` method. ...
"Method for handling POST requests.\n Expects the 'vid' of the version to act on\n to be passed as in the POST variable 'version'.\n\n If a POST variable 'revert' is present this will\n call the revert method and then return a 'render\n redirect' to the result of the `get_done_url` me...
548
false
ff0000/scarlet
post
141,811
LDU_FT/Giphy/giphy-python-client/gifs_random_get
LDU_FT
[ "<BEGIN>\n## `gifs_categories_category_get`", "Category Tags Endpoint.\n Returns a list of tags for a given category. NOTE `limit` and `offset` must both be set; otherwise they're ignored.\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, pleas...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gifs_random_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 e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gifs_random_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 e...
Random Endpoint Returns a random GIF, limited by tag. Excluding the tag parameter will return a random GIF from the GIPHY catalog. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receivi...
"Random Endpoint\n Returns a random GIF, limited by tag. Excluding the tag parameter will return a random GIF from the GIPHY catalog.\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please define a `callback` function\n to be invoked when re...
48
false
Giphy/giphy-python-client
gifs_random_get
141,812
LDU_FT/svasilev94/GraphLibrary/DFS_Tree
LDU_FT
[ "<BEGIN>\n## `dijkstra`", "Compute shortest path length between satrt\r\n and all other reachable nodes for a weight graph.\r\n return -> ({vertex: weight form start, }, {vertex: predeseccor, })\n<END>", "<BEGIN>\n## `dijkstra_single_path_length`", "Compute shortest path length between satrt\r\n and ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the DFS_Tree API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the DFS_Tree API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Return an oriented tree constructed from dfs.
"Return an oriented tree constructed from dfs."
24
false
svasilev94/GraphLibrary
DFS_Tree
141,813
LDU_FT/jwkvam/bowtie/make_event
LDU_FT
[ "<BEGIN>\n## `notify`", "Notify the client.", " The function passed to ``App.respond`` will get called.\n<END>", "<BEGIN>\n## `validate`", "Check that the key is a string or bytestring.", " That's the only valid type of key.\n<END>", "<BEGIN>\n## `pack`", "Encode ``x`` into msgpack with addi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_event API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_event API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Create an event from a method signature.
"Create an event from a method signature."
82
false
jwkvam/bowtie
make_event
141,814
LDU_FT/ianepperson/telnetsrvlib/setterm
LDU_FT
[ "<BEGIN>\n## `inputcooker_store_queue`", "Put the cooked data in the input queue (no locking needed)\n<END>", "<BEGIN>\n## `streamserver_handle`", "Translate this class for use in a StreamServer\n<END>", "<BEGIN>\n## `check_channel_shell_request`", "Request to start a shell on the given channel\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setterm API. 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 setterm API. 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...
Set the curses structures for this terminal
"Set the curses structures for this terminal"
45
false
ianepperson/telnetsrvlib
setterm
141,815
LDU_FT/NuGrid/NuGridPy/species_list
LDU_FT
[ "<BEGIN>\n## `_obsolete_plot_iso_abund_marco`", "Interface to plot average over mass_range.", " Parameters\n ----------\n directory : string\n Location of h5 file to plot. Needed for plot_tools.\n name_h5_file : string\n Name of h5 file. Needed for plot_tools.\n mass_range : list\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the species_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 extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the species_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 extr...
provide default lists of elements to plot. what_list : string String name of species lists provided. If what_list is "CNONe", then C, N, O and some other light elements. If what_list is "s-process", then s-process indicators.
"provide default lists of elements to plot.\n\n what_list : string\n String name of species lists provided.\n\n If what_list is \"CNONe\", then C, N, O and some other light\n elements.\n\n If what_list is \"s-process\", then s-process indicators."
713
false
NuGrid/NuGridPy
species_list
141,816
LDU_FT/saltant-org/saltant-py/from_env
LDU_FT
[ "<BEGIN>\n## `sync`", "Sync this model with latest data on the saltant server.", " Note that in addition to returning the updated object, it also\n updates the existing object.", " Returns:\n :class:`saltant.models.base_task_type.BaseTaskType`:\n This task type i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_env API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_env API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Return a client configured from environment variables. Essentially copying this: https://github.com/docker/docker-py/blob/master/docker/client.py#L43. The environment variables looked for are the following: .. envvar:: SALTANT_API_URL The URL of the saltant API. For examp...
"Return a client configured from environment variables.\n\n Essentially copying this:\n https://github.com/docker/docker-py/blob/master/docker/client.py#L43.\n\n The environment variables looked for are the following:\n\n .. envvar:: SALTANT_API_URL\n\n The URL of the saltant API....
134
false
saltant-org/saltant-py
from_env
141,817
LDU_FT/croach/django-simple-rest/to_json
LDU_FT
[ "<BEGIN>\n## `calculate_signature`", "Calculates the signature for the given request data.\n<END>", "<BEGIN>\n## `to_json`", "Serializes a python object as JSON", " This method uses the DJangoJSONEncoder to to ensure that python objects\n such as Decimal objects are properly serialized. It can also se...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted...
Serializes a python object as JSON This method uses the DJangoJSONEncoder to to ensure that python objects such as Decimal objects are properly serialized. It can also serialize Django QuerySet objects.
"Serializes a python object as JSON\n\n This method uses the DJangoJSONEncoder to to ensure that python objects\n such as Decimal objects are properly serialized. It can also serialize\n Django QuerySet objects."
24
false
croach/django-simple-rest
to_json
141,818
LDU_FT/jlaine/python-netfilter/flush_chain
LDU_FT
[ "<BEGIN>\n## `log`", "Writes the contents of the Extension to the logging system.\n<END>", "<BEGIN>\n## `specbits`", "Returns the array of arguments that would be given to\n iptables for the current Extension.\n<END>", "<BEGIN>\n## `log`", "Writes the contents of the Rule to the logging system.\n<E...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the flush_chain API. 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 flush_chain API. 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...
Flushes the specified chain (all the chains in the table if none is given). This is equivalent to deleting all the rules one by one.
"Flushes the specified chain (all the chains in the table if\n none is given). This is equivalent to deleting all the rules\n one by one."
20
false
jlaine/python-netfilter
flush_chain
141,819
LDU_FT/google/prettytensor/as_fn
LDU_FT
[ "<BEGIN>\n## `_remove_non_methods`", "Removes any object in dict that is not a registered method.\n<END>", "<BEGIN>\n## `regularizer`", "Wraps a regularizer in a parameter-function.", " Args:\n name: The name scope for this regularizer.\n regularization_fn: A function with signature:\n fn(variab...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the as_fn API. 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 as_fn API. 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...
Creates a function by binding the arguments in the given order. Args: *binding_order: The unbound variables. This must include all values. Returns: A function that takes the arguments of binding_order. Raises: ValueError: If the bindings are missing values or include unknown values.
"Creates a function by binding the arguments in the given order.\n\n Args:\n *binding_order: The unbound variables. This must include all values.\n Returns:\n A function that takes the arguments of binding_order.\n Raises:\n ValueError: If the bindings are missing values or include unknown value...
551
false
google/prettytensor
as_fn
141,820
LDU_FT/theonion/djes/mapping
LDU_FT
[ "<BEGIN>\n## `stringify`", "Turns all dictionary values into strings\n<END>", "<BEGIN>\n## `batched_queryset`", "Iterate over a Django Queryset ordered by the primary key", " This method loads a maximum of chunksize (default: 1000) rows in it's\n memory at the same time while django normally would loa...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mapping API. 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 mapping API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Get a mapping class for this model This method will return a Mapping class for your model, generating it using settings from a `Mapping` class on your model (if one exists). The generated class is cached on the manager.
"Get a mapping class for this model\n\n This method will return a Mapping class for your model, generating it using settings from a\n `Mapping` class on your model (if one exists). The generated class is cached on the manager."
30
false
theonion/djes
mapping
141,821
LDU_FT/savvastj/nbashots/get_team_id
LDU_FT
[ "<BEGIN>\n## `get_all_player_ids`", "Returns a pandas DataFrame containing the player IDs used in the\n stats.nba.com API.", " Parameters\n ----------\n ids : { \"shots\" | \"all_players\" | \"all_data\" }, optional\n Passing in \"shots\" returns a DataFrame that contains the player IDs of\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_team_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. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_team_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. The extra...
Returns the team ID associated with the team name that is passed in. Parameters ---------- team_name : str The team name whose ID we want. NOTE: Only pass in the team name (e.g. "Lakers"), not the city, or city and team name, or the team abbreviation. Returns ------- t...
"Returns the team ID associated with the team name that is passed in.\n\n Parameters\n ----------\n team_name : str\n The team name whose ID we want. NOTE: Only pass in the team name\n (e.g. \"Lakers\"), not the city, or city and team name, or the team\n abbreviation.\n\n Returns\n ...
77
false
savvastj/nbashots
get_team_id
141,822
LDU_FT/buckmaxwell/neoapi/delete_relationship
LDU_FT
[ "<BEGIN>\n## `resource_collection_response`", "This method is deprecated for version 1.1.0. Please use get_collection\n<END>", "<BEGIN>\n## `get_collection`", "r\"\"\"\n Used to fetch a collection of resource object of type 'cls' in response to a GET request\\\n . get_resource_or_collection sho...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_relationship 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 delete_relationship 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...
Deprecated for version 1.1.0. Please use update_relationship
"Deprecated for version 1.1.0. Please use update_relationship"
33
false
buckmaxwell/neoapi
delete_relationship
141,823
LDU_FT/jgorset/fandjango/process_response
LDU_FT
[ "<BEGIN>\n## `facebook_authorization_required`", "Require the user to authorize the application.", " :param redirect_uri: A string describing an URL to redirect to after authorization is complete.\n If ``None``, redirects to the current URL in the Facebook canvas\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_response API. 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_response API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Set compact P3P policies and save auth token to cookie. P3P is a WC3 standard (see http://www.w3.org/TR/P3P/), and although largely ignored by most browsers it is considered by IE before accepting third-party cookies (ie. cookies set by documents in iframes). If they are not set correctly, IE w...
"Set compact P3P policies and save auth token to cookie.\n\n P3P is a WC3 standard (see http://www.w3.org/TR/P3P/), and although largely ignored by most\n browsers it is considered by IE before accepting third-party cookies (ie. cookies set by\n documents in iframes). If they are not set correctly,...
34
false
jgorset/fandjango
process_response
141,824
LDU_FT/jorgenschaefer/elpy/translate_changes
LDU_FT
[ "<BEGIN>\n## `get_pydoc_completions`", "Get possible completions for modulename for pydoc.", " Returns a list of possible values to be passed to pydoc.\n<END>", "<BEGIN>\n## `get_modules`", "Return a list of modules and packages under modulename.", " If modulename is not given, return a list of all ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the translate_changes API. 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 translate_changes API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Translate rope.base.change.Change instances to dictionaries. See Refactor.get_changes for an explanation of the resulting dictionary.
"Translate rope.base.change.Change instances to dictionaries.\n\n See Refactor.get_changes for an explanation of the resulting\n dictionary."
97
false
jorgenschaefer/elpy
translate_changes
141,825
LDU_FT/getsentry/raven-python/captureQuery
LDU_FT
[ "<BEGIN>\n## `async_send`", "Spawn an async request to a remote webserver.\n<END>", "<BEGIN>\n## `send`", "Sends a request to a remote webserver using HTTP POST.\n<END>", "<BEGIN>\n## `extract_auth_vars`", "raven-js will pass both Authorization and X-Sentry-Auth depending on the browser\n and server co...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the captureQuery API. 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 captureQuery API. 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...
Creates an event for a SQL query. >>> client.captureQuery('SELECT * FROM foo')
"Creates an event for a SQL query.\n\n >>> client.captureQuery('SELECT * FROM foo')"
126
false
getsentry/raven-python
captureQuery
141,826
LDU_FT/googlesamples/assistant-sdk-python/assist
LDU_FT
[ "<BEGIN>\n## `main`", "File based sample for the Google Assistant API.", " Examples:\n $ python -m audiofileinput -i <input file> -o <output file>\n<END>", "<BEGIN>\n## `process_event`", "Pretty prints events.", " Prints all events that occur with two spaces between each new\n conversation a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the assist API. 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 assist API. 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 ...
Send a voice request to the Assistant and playback the response. Returns: True if conversation should continue.
"Send a voice request to the Assistant and playback the response.\n\n Returns: True if conversation should continue."
72
false
googlesamples/assistant-sdk-python
assist
141,827
LDU_FT/kajala/django-jacc/receivables_account
LDU_FT
[ "<BEGIN>\n## `balance`", "Returns account balance after this entry.\n :return: Decimal\n<END>", "<BEGIN>\n## `get_balance`", "Returns account balance before specified datetime (excluding entries on the datetime).\n :param t: datetime\n :return: Decimal\n<END>", "<BEGIN>\n## `needs_settl...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the receivables_account 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 receivables_account 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...
Returns receivables account. Receivables account is assumed to be the one were invoice rows were recorded. :return: Account or None
"Returns receivables account. Receivables account is assumed to be the one were invoice rows were recorded.\n :return: Account or None"
31
false
kajala/django-jacc
receivables_account
141,828
LDU_FT/veeti/decent/Instance
LDU_FT
[ "<BEGIN>\n## `as_dict`", "Returns the error as a path to message dictionary. Paths are joined\n with the ``join`` string.\n<END>", "<BEGIN>\n## `as_dict`", "Returns all the errors in this collection as a path to message\n dictionary. Paths are joined with the ``join`` string.\n<END>", "<BEGIN>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Instance API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Instance API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Creates a validator that checks if the given value is an instance of ``expected``. A custom message can be specified with ``message``.
"Creates a validator that checks if the given value is an instance of\n ``expected``.\n\n A custom message can be specified with ``message``."
47
false
veeti/decent
Instance
141,829
LDU_FT/mozillazg/python-pinyin/_pinyin
LDU_FT
[ "<BEGIN>\n## `convert_zero_consonant`", "零声母转换,还原原始的韵母", " i行的韵母,前面没有声母的时候,写成yi(衣),ya(呀),ye(耶),yao(腰),\n you(忧),yan(烟),yin(因),yang(央),ying(英),yong(雍)。", " u行的韵母,前面没有声母的时候,写成wu(乌),wa(蛙),wo(窝),wai(歪),\n wei(威),wan(弯),wen(温),wang(汪),weng(翁)。", " ü行的韵母,前面没有声母的时候,写成yu(迂),yue(约),yuan(冤),\n yun(晕...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _pinyin API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _pinyin API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
:param words: 经过分词处理后的字符串,只包含中文字符或只包含非中文字符, 不存在混合的情况。
":param words: 经过分词处理后的字符串,只包含中文字符或只包含非中文字符,\n 不存在混合的情况。"
75
false
mozillazg/python-pinyin
_pinyin
141,830
LDU_FT/MacHu-GWU/rolex-project/add_years
LDU_FT
[ "<BEGIN>\n## `add_seconds`", "Returns a time that n seconds after a time.", " :param datetimestr: a datetime object or a datetime str\n :param n: number of seconds, value can be negative", " **中文文档**", " 返回给定日期N秒之后的时间。\n<END>", "<BEGIN>\n## `add_months`", "Returns a time that n months after ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_years API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_years API. 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 time that n years after a time. :param datetimestr: a datetime object or a datetime str :param n: number of years, value can be negative :param return_date: returns a date object instead of datetime **中文文档** 返回给定日期N年之后的时间。
"Returns a time that n years after a time.\n\n :param datetimestr: a datetime object or a datetime str\n :param n: number of years, value can be negative\n :param return_date: returns a date object instead of datetime\n\n **中文文档**\n\n 返回给定日期N年之后的时间。"
103
false
MacHu-GWU/rolex-project
add_years
141,831
LDU_FT/anuragkumarak95/wordnet/return_net
LDU_FT
[ "<BEGIN>\n## `paint`", "Utility func, for printing colorful logs in console...", " @args:\n --\n str : String to be modified.\n color : color code to which the string will be formed. default is 'r'=RED", " @returns:\n --\n str : final modified string with foreground color as per parameter...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the return_net API. 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 return_net API. 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...
Creates a list of unique words that are at a provided depth from root word. @Args: -- word : root word from which the linked words should be returned. word_net : word network (dictionary of word instances)to be refered in this process. depth : depth to which this process must traverse and...
"Creates a list of unique words that are at a provided depth from root word.\n\n @Args:\n --\n word : root word from which the linked words should be returned.\n word_net : word network (dictionary of word instances)to be refered in this process.\n depth : depth to which this process must trave...
23
false
anuragkumarak95/wordnet
return_net
141,832
LDU_FT/reflexsc/reflex/_run__group
LDU_FT
[ "<BEGIN>\n## `configure`", "Configure Monitor, pull list of what to monitor, initialize threads\n<END>", "<BEGIN>\n## `feed_monitors`", "Pull from the cached monitors data and feed the workers queue. Run\n every interval (refresh:test).\n<END>", "<BEGIN>\n## `update_monitors`", "Periodically check...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _run__group API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _run__group API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Run a group of actions in sequence. >>> Action().run("several", actions={ ... "several": { ... "type": "group", ... "actions": ["hello","call","then"] ... }, "hello": { ... "type": "exec", ... "cmd": "echo version=%{version...
"Run a group of actions in sequence.\n\n >>> Action().run(\"several\", actions={\n ... \"several\": {\n ... \"type\": \"group\",\n ... \"actions\": [\"hello\",\"call\",\"then\"]\n ... }, \"hello\": {\n ... \"type\": \"exec\",\n ... ...
35
false
reflexsc/reflex
_run__group
141,833
LDU_FT/theno/utlz/update_or_append_line
LDU_FT
[ "<BEGIN>\n## `flo`", "Return the string given by param formatted with the callers locals.\n<END>", "<BEGIN>\n## `_wrap_with`", "Color wrapper.", " Example:\n >>> blue = _wrap_with('34')\n >>> print(blue('text'))\n \\033[34mtext\\033[0m\n<END>", "<BEGIN>\n## `clean`", "Delete temp...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_or_append_line API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_or_append_line API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Search in file 'filename' for a line starting with 'prefix' and replace the line by 'new_line'. If a line starting with 'prefix' not exists 'new_line' will be appended. If the file not exists, it will be created. Return False if new_line was appended, else True (i.e. if the prefix was found within...
"Search in file 'filename' for a line starting with 'prefix' and replace\n the line by 'new_line'.\n\n If a line starting with 'prefix' not exists 'new_line' will be appended.\n If the file not exists, it will be created.\n\n Return False if new_line was appended, else True (i.e. if the prefix was\n foun...
68
false
theno/utlz
update_or_append_line
141,834
LDU_FT/andreafioraldi/angrdbg/sim
LDU_FT
[ "<BEGIN>\n## `get_dbg_brk_linux64`", "Return the current brk value in the debugged process (only x86_64 Linux)\n<END>", "<BEGIN>\n## `get_dbg_brk_linux32`", "Return the current brk value in the debugged process (only x86 Linux)\n<END>", "<BEGIN>\n## `get_unconstrained_bytes`", "Get some consecutive uncons...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sim API. 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 sim API. 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...
key: memory address(int) or register name(str) size: size of object in bytes
"key: memory address(int) or register name(str)\n size: size of object in bytes"
24
false
andreafioraldi/angrdbg
sim
141,835
LDU_FT/broadinstitute/fiss/get_entity
LDU_FT
[ "<BEGIN>\n## `_set_session`", "Sets global __SESSION and __USER_ID if they haven't been set\n<END>", "<BEGIN>\n## `_fiss_agent_header`", "Return request headers for fiss.\n Inserts FISS as the User-Agent.\n Initializes __SESSION if it hasn't been set.", " Args:\n headers (dict): Incl...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_entity API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_entity API. 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 entity in this workspace. Args: etype (str): Entity type entity_id (str): Entity name/unique id
"Return entity in this workspace.\n\n Args:\n etype (str): Entity type\n entity_id (str): Entity name/unique id"
375
false
broadinstitute/fiss
get_entity
141,836
LDU_FT/Metatab/metatab/slugify
LDU_FT
[ "<BEGIN>\n## `split_term`", "Split a term in to parent and record term components\n :param term: combined term text\n :return: Tuple of parent and record term\n<END>", "<BEGIN>\n## `split_term_lower`", "Like split_term, but also lowercases both parent and record term\n :param term: combin...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the slugify API. 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 slugify API. 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...
Normalizes string, converts to lowercase, removes non-alpha characters, and converts spaces to hyphens.type(
"Normalizes string, converts to lowercase, removes non-alpha characters,\n and converts spaces to hyphens.type("
102
false
Metatab/metatab
slugify
141,837
LDU_FT/AndresMWeber/Nomenclate/get_udim
LDU_FT
[ "<BEGIN>\n## `purge_tokens`", "Removes all specified token_attrs that exist in instance.token_attrs", " :param token_attrs: list(str), list of string values of tokens to remove. If None, removes all\n<END>", "<BEGIN>\n## `combine_dicts`", "Combines all arguments (if they are dictionaries) and kwargs...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_udim API. 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_udim API. 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...
Checks a string for a possible base name of an object (no prefix, no suffix) :param name: str, string that represents a possible name of an object :returns: int, the last found match because convention keeps UDIM markers at the end.
"Checks a string for a possible base name of an object (no prefix, no suffix)\n\n :param name: str, string that represents a possible name of an object\n :returns: int, the last found match because convention keeps UDIM markers at the end."
140
false
AndresMWeber/Nomenclate
get_udim
141,838
LDU_FT/ahwillia/tensortools/still_optimizing
LDU_FT
[ "<BEGIN>\n## `unfold`", "Returns the mode-`mode` unfolding of `tensor`.", " Parameters\n ----------\n tensor : ndarray\n mode : int", " Returns\n -------\n ndarray\n unfolded_tensor of shape ``(tensor.shape[mode], -1)``", " Author\n ------\n Jean Kossaifi <https://github...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the still_optimizing API. 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 still_optimizing API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
True unless converged or maximum iterations/time exceeded.
"True unless converged or maximum iterations/time exceeded."
158
false
ahwillia/tensortools
still_optimizing
141,839
LDU_FT/crm416/semantic/convert
LDU_FT
[ "<BEGIN>\n## `parseUnits`", "Carries out a conversion (represented as a string) and returns the\n result as a human-readable string.", " Args:\n inp (str): Text representing a unit conversion, which should\n include a magnitude, a description of the initial units,\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert API. 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 convert API. 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...
Converts a string representation of some quantity of units into a quantities object. Args: inp (str): A textual representation of some quantity of units, e.g., "fifty kilograms". Returns: A quantities object representing the described quantity and its ...
"Converts a string representation of some quantity of units into a\n quantities object.\n\n Args:\n inp (str): A textual representation of some quantity of units,\n e.g., \"fifty kilograms\".\n\n Returns:\n A quantities object representing the described quantity...
75
false
crm416/semantic
convert
141,840
LDU_FT/jpablo128/simplystatic/author
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 author API. 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 author API. 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 the full path of the theme used by this page.
"Return the full path of the theme used by this page."
85
false
jpablo128/simplystatic
author
141,841
LDU_FT/pesaply/sarafu/make_payment
LDU_FT
[ "<BEGIN>\n## `get_account_details`", "This method can be used in a number of scenarios:\n 1. When it is necessary to very account information\n 2. When there's a need to filter transactions by an account id\n 3. When account details (e.g. name of account) are needed\n<END>", "<BEGIN>\n## `g...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_payment API. 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 make_payment API. 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...
make_payment allows for automated payments. A use case includes the ability to trigger a payment to a customer who requires a refund for example. You only need to provide the recipient and the amount to be transfered. It supports transfers in Kobo as well, just add the necessary decimals...
"make_payment allows for automated payments.\n A use case includes the ability to trigger a payment to a customer\n who requires a refund for example.\n You only need to provide the recipient and the amount to be transfered.\n It supports transfers in Kobo as well, just add the necessary dec...
30
false
pesaply/sarafu
make_payment
141,842
LDU_FT/OCA/openupgradelib/savepoint
LDU_FT
[ "<BEGIN>\n## `_adjust_merged_values_orm`", "This method deals with the values on the records to be merged +\n the target record, performing operations that makes sense on the meaning\n of the model.", " :param field_spec: Dictionary with field names as keys and forced operation\n to perform as val...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the savepoint API. 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 savepoint API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
return a context manager wrapping postgres savepoints
"return a context manager wrapping postgres savepoints"
190
false
OCA/openupgradelib
savepoint
141,843
LDU_FT/elemoine/papyrus/count
LDU_FT
[ "<BEGIN>\n## `add_column_xsd`", "Add the XSD for a column to tb (a TreeBuilder)\n<END>", "<BEGIN>\n## `add_column_property_xsd`", "Add the XSD for a column property to the ``TreeBuilder``.\n<END>", "<BEGIN>\n## `add_class_properties_xsd`", "Add the XSD for the class properties to the ``TreeBuilder``. And\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the count API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the count API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Return the number of records matching the given filter.
"Return the number of records matching the given filter."
57
false
elemoine/papyrus
count
141,844
LDU_FT/Tinche/cattrs/_get_dis_func
LDU_FT
[ "<BEGIN>\n## `make_dict_unstructure_fn`", "Generate a specialized dict unstructuring function for a class.\n<END>", "<BEGIN>\n## `unstruct_strat`", "The default way of unstructuring ``attrs`` classes.\n<END>", "<BEGIN>\n## `register_structure_hook`", "Register a primitive-to-class converter function for a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_dis_func API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_dis_func API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Fetch or try creating a disambiguation function for a union.
"Fetch or try creating a disambiguation function for a union."
43
false
Tinche/cattrs
_get_dis_func
141,845
LDU_FT/johnnoone/json-spec/validate_format
LDU_FT
[ "<BEGIN>\n## `check`", "Check if value exists into object.", " :param doc: the document base\n :param pointer: the path to search in\n :param expected: the expected value\n :param raise_onerror: should raise on error?\n :return: boolean\n<END>", "<BEGIN>\n## `add`", "Add element to sequence, ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_format API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_format API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
================= ============ Expected draft04 Alias of ----------------- ------------ date-time rfc3339.datetime email email hostname hostname ipv4 ipv4 ipv6 ipv6 uri uri =====...
"================= ============\n Expected draft04 Alias of\n ----------------- ------------\n date-time rfc3339.datetime\n email email\n hostname hostname\n ipv4 ipv4\n ipv6 ipv6\n uri uri\n ...
113
false
johnnoone/json-spec
validate_format
141,846
LDU_FT/webadmin87/midnight/get_page_tpl_ctx
LDU_FT
[ "<BEGIN>\n## `show_menu`", "Тег для подключения меню", " Пример использования::", " {% show_menu 'menu_slug' 2 class='menu-class' %}", " :param context: контекст шаблона\n :param slug: символьный код родительского пункта меню\n :param level: максимальный уровень вложенности\n :param kw...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_page_tpl_ctx API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_page_tpl_ctx API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Возвращает контекст для рендеринга представления текстовой страницы :param page: модель страницы :param request: запрос :return:
"Возвращает контекст для рендеринга представления текстовой страницы\n :param page: модель страницы\n :param request: запрос\n :return:"
84
false
webadmin87/midnight
get_page_tpl_ctx
141,847
LDU_FT/linkhub-sdk/popbill.py/FAXSend
LDU_FT
[ "<BEGIN>\n## `getSenderNumberMgtURL`", "팩스 전송내역 팝업 URL\n args\n CorpNum : 회원 사업자번호\n UserID : 회원 팝빌아이디\n return\n 30초 보안 토큰을 포함한 url\n raise\n PopbillException\n<END>", "<BEGIN>\n## `getUnitCost`", "팩스 전송 단가 확인\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the FAXSend API. 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 FAXSend API. 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...
선팩스 전송 args CorpNum : 팝빌회원 사업자번호 statement : 전자명세서 객체 SendNum : 팩스 발신번호 ReceiveNum : 팩스 수신번호 UserID : 팝빌회원 아이디 return 팩스전송 접수번호(receiptNum) raise PopbillException
"선팩스 전송\r\n args\r\n CorpNum : 팝빌회원 사업자번호\r\n statement : 전자명세서 객체\r\n SendNum : 팩스 발신번호\r\n ReceiveNum : 팩스 수신번호\r\n UserID : 팝빌회원 아이디\r\n return\r\n 팩스전송 접수번호(receiptNum)\r\n raise\r\n ...
216
false
linkhub-sdk/popbill.py
FAXSend
141,848
LDU_FT/smnorris/bcdata/get_count
LDU_FT
[ "<BEGIN>\n## `parse_db_url`", "provided a db url, return a dict with connection properties\n<END>", "<BEGIN>\n## `from_like_context`", "Return the value for an option from the context if the option\n or `--all` is given, else return None.\n<END>", "<BEGIN>\n## `info`", "Print basic metadata about a Dat...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_count API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_count API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Ask DataBC WFS how many features there are in a table/query
"Ask DataBC WFS how many features there are in a table/query"
35
false
smnorris/bcdata
get_count
141,849
LDU_FT/GeorgeArgyros/sfalearn/_find_bad_transition
LDU_FT
[ "<BEGIN>\n## `_add_training_data`", "Training_data is a dictionary from strings to lists.\n - Each string (key) is an access string\n - Each list (value) is a list of tuples (target_state, [symbols directed to that\n state]). These represent that a transition exists from the state used as key...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _find_bad_transition 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 _find_bad_transition API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Checks for bad DFA transitions using the examined string Args: mma (DFA): The hypothesis automaton w_string (str): The examined string to be consumed Returns: str: The prefix of the examined string that matches
"Checks for bad DFA transitions using the examined string\n Args:\n mma (DFA): The hypothesis automaton\n w_string (str): The examined string to be consumed\n Returns:\n str: The prefix of the examined string that matches"
60
false
GeorgeArgyros/sfalearn
_find_bad_transition
141,850
LDU_FT/Adarnof/adarnauth-esi/_time_to_expiry
LDU_FT
[ "<BEGIN>\n## `sso_redirect`", "Generates a :model:`esi.CallbackRedirect` for the specified request.\n Redirects to EVE for login.\n Accepts a view or URL name as a redirect after SSO.\n<END>", "<BEGIN>\n## `receive_callback`", "Parses SSO callback, validates, retrieves :model:`esi.Token`, and internally...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _time_to_expiry API. 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 _time_to_expiry API. 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...
Determines the seconds until a HTTP header "Expires" timestamp :param expires: HTTP response "Expires" header :return: seconds until "Expires" time
"Determines the seconds until a HTTP header \"Expires\" timestamp\n :param expires: HTTP response \"Expires\" header\n :return: seconds until \"Expires\" time"
45
false
Adarnof/adarnauth-esi
_time_to_expiry
141,851
LDU_FT/pletzer/pnumpy/plot
LDU_FT
[ "<BEGIN>\n## `getStringPartition`", "Get the string representation of the current partition\n @return string like \":-1,0:2\"\n<END>", "<BEGIN>\n## `getPrimeFactors`", "Get all the prime factor of given integer\n @param n integer\n @return list [1, ..., n]\n<END>", "<BEGIN>\n## `getNeighborProc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot API. 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 plot API. 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...
Plot distributed array @param nxG number of global cells in x @param nyG number of global cells in y @param iBeg global starting index in x @param iEnd global ending index in x @param jBeg global starting index in y @param jEnd global ending index in y @param data local array @param titl...
"Plot distributed array\n @param nxG number of global cells in x\n @param nyG number of global cells in y\n @param iBeg global starting index in x\n @param iEnd global ending index in x\n @param jBeg global starting index in y\n @param jEnd global ending index in y\n @param data local array\n @p...
54
false
pletzer/pnumpy
plot
141,852
LDU_FT/adafruit/Adafruit_Python_DHT/platform_detect
LDU_FT
[ "<BEGIN>\n## `get_platform`", "Return a DHT platform interface for the currently detected platform.\n<END>", "<BEGIN>\n## `read`", "Read DHT sensor of specified sensor type (DHT11, DHT22, or AM2302) on\n specified pin and return a tuple of humidity (as a floating point value\n in percent) and temperatur...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the platform_detect API. 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 platform_detect API. 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...
Detect if running on the Raspberry Pi or Beaglebone Black and return the platform type. Will return RASPBERRY_PI, BEAGLEBONE_BLACK, or UNKNOWN.
"Detect if running on the Raspberry Pi or Beaglebone Black and return the\n platform type. Will return RASPBERRY_PI, BEAGLEBONE_BLACK, or UNKNOWN."
13
false
adafruit/Adafruit_Python_DHT
platform_detect
141,853
LDU_FT/simpleai-team/simpleai/tree_to_str
LDU_FT
[ "<BEGIN>\n## `_all_expander`", "Expander that expands all nodes on the fringe.\n<END>", "<BEGIN>\n## `beam`", "Beam search.", " beam_size is the size of the beam.\n If iterations_limit is specified, the algorithm will end after that\n number of iterations. Else, it will continue until it can't find...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tree_to_str API. 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 tree_to_str API. 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 a string representation of a decision tree with root node `root`.
"Returns a string representation of a decision tree with\n root node `root`."
130
false
simpleai-team/simpleai
tree_to_str
141,854
LDU_FT/asifpy/django-crudbuilder/generate_delete_view
LDU_FT
[ "<BEGIN>\n## `extract_args`", "Takes any arguments like a model and crud, or just one of\n those, in any order, and return a model and crud.\n<END>", "<BEGIN>\n## `register`", "Register a crud.", " Two unordered arguments are accepted, at least one should be passed:\n - a model,\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_delete_view API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_delete_view API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Generate class based view for DeleteView
"Generate class based view for DeleteView"
31
false
asifpy/django-crudbuilder
generate_delete_view
141,855
LDU_FT/jcrobak/parquet-python/read_plain_boolean
LDU_FT
[ "<BEGIN>\n## `_get_footer_size`", "Read the footer size in bytes, which is serialized as little endian.\n<END>", "<BEGIN>\n## `_read_footer`", "Read the footer from the given file object and returns a FileMetaData object.", " This method assumes that the fo references a valid parquet file.\n<END>", "<B...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_plain_boolean 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 read_plain_boolean 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...
Read `count` booleans using the plain encoding.
"Read `count` booleans using the plain encoding."
71
false
jcrobak/parquet-python
read_plain_boolean
141,856
LDU_FT/waleedka/hiddenlayer/write
LDU_FT
[ "<BEGIN>\n## `format_step`", "Return the step value in format suitable for display.\n<END>", "<BEGIN>\n## `log`", "Record metrics at a specific step. E.g.", " my_history.log(34, loss=2.3, accuracy=0.2)", " Okay to call multiple times for the same step. New values overwrite\n older one...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Like print(), but recognizes tensors and arrays and show more details about them. Example: hl.write("My Tensor", my_tensor) Prints: My Tensor float32 (10, 3, 224, 224) min: 0.0 max: 1.0
"Like print(), but recognizes tensors and arrays and show\n more details about them.\n\n Example:\n hl.write(\"My Tensor\", my_tensor)\n \n Prints:\n My Tensor float32 (10, 3, 224, 224) min: 0.0 max: 1.0"
50
false
waleedka/hiddenlayer
write
141,857
LDU_FT/aio-libs/yarl/join
LDU_FT
[ "<BEGIN>\n## `is_default_port`", "A check for default port.", " Return True if port is default for specified scheme,\n e.g. 'http://python.org' or 'http://python.org:80', False\n otherwise.\n<END>", "<BEGIN>\n## `origin`", "Return an URL with scheme, host and port parts only.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the join API. 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 join API. 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...
Join URLs Construct a full (“absolute”) URL by combining a “base URL” (self) with another URL (url). Informally, this uses components of the base URL, in particular the addressing scheme, the network location and (part of) the path, to provide missing components in the ...
"Join URLs\n\n Construct a full (“absolute”) URL by combining a “base URL”\n (self) with another URL (url).\n\n Informally, this uses components of the base URL, in\n particular the addressing scheme, the network location and\n (part of) the path, to provide missing components in the\...
62
false
aio-libs/yarl
join
141,858
LDU_FT/timmahrt/ProMo/getManipulatedParamaters
LDU_FT
[ "<BEGIN>\n## `plotF0`", "Plots the original data in a graph above the plot of the dtw'ed data\n<END>", "<BEGIN>\n## `f0Morph`", "Resynthesizes the pitch track from a source to a target wav file", " fromPitchData and toPitchData should be segmented according to the\n portions that you want to morph. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getManipulatedParamaters 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 getManipulatedParamaters API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Get intervals for source and target audio files Use this information to find out how much to stretch/shrink each source interval. The target values are based on modfunc.
"Get intervals for source and target audio files\n \n Use this information to find out how much to stretch/shrink each source\n interval.\n \n The target values are based on modfunc."
75
false
timmahrt/ProMo
getManipulatedParamaters
141,859
LDU_FT/sffjunkie/astral/solar_noon_utc
LDU_FT
[ "<BEGIN>\n## `timezone`", "The name of the time zone for the location.", " A list of time zone names can be obtained from pytz. For example.", " >>> from pytz import all_timezones\n >>> for timezone in all_timezones:\n ... print(timezone)\n<END>", "<BEGIN>\n## `sun`", "Retu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the solar_noon_utc API. 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 solar_noon_utc API. 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...
Calculate solar noon time in the UTC timezone. :param date: Date to calculate for. :type date: :class:`datetime.date` :param longitude: Longitude - Eastern longitudes should be positive :type longitude: float :return: The UTC date and time at which noon occurs. ...
"Calculate solar noon time in the UTC timezone.\n\n :param date: Date to calculate for.\n :type date: :class:`datetime.date`\n :param longitude: Longitude - Eastern longitudes should be positive\n :type longitude: float\n\n :return: The UTC date and time at which noon ...
177
false
sffjunkie/astral
solar_noon_utc
141,860
LDU_FT/vmlaker/mpipe/doTask
LDU_FT
[ "<BEGIN>\n## `init2`", "Create *num_workers* worker objects with *input_tube* and \n an iterable of *output_tubes*. The worker reads a task from *input_tube* \n and writes the result to *output_tubes*.\n<END>", "<BEGIN>\n## `assemble`", "Create, assemble and start workers.\n Workers are c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the doTask API. 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 doTask API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Filter input *task* to pipelines -- make sure each one has no more than *max_tasks* tasks in it. Return a tuple (*task*, *results*) where *task* is the given task, and *results* is a list of latest retrieved results from pipelines.
"Filter input *task* to pipelines -- make sure each one has no more\n than *max_tasks* tasks in it. Return a tuple\n (*task*, *results*)\n where *task* is the given task, and *results* is \n a list of latest retrieved results from pipelines."
28
false
vmlaker/mpipe
doTask
141,861
LDU_FT/twisted/twistedchecker/getPathList
LDU_FT
[ "<BEGIN>\n## `_isInner`", "Determine whether the given node is, at any point in its syntactic\n parentage, defined within a function.", " @param node: The node to inspect.\n @type node: L{logilab.astng.bases.NodeNG}", " @return: a boolean indicating if the given node is defined as an inner\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getPathList API. 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 getPathList API. 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...
Transform a list of modules to path. @param filesOrModules: a list of modules (may be foo/bar.py or foo.bar)
"Transform a list of modules to path.\n\n @param filesOrModules: a list of modules (may be foo/bar.py or\n foo.bar)"
146
false
twisted/twistedchecker
getPathList
141,862
LDU_FT/blockstack/pybitcoin/pending_transactions
LDU_FT
[ "<BEGIN>\n## `random_passphrase_from_wordlist`", "An extremely entropy efficient passphrase generator.", " This function:\n -Pulls entropy from the safer alternative to /dev/urandom: /dev/random\n -Doesn't rely on random.seed (words are selected right from the entropy)\n -Only requir...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pending_transactions 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 pending_transactions 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 no. of pending transactions (0 confirmations) on a server
"get the no. of pending transactions (0 confirmations) on a server"
79
false
blockstack/pybitcoin
pending_transactions
141,863
LDU_FT/BreakingBytes/simkit/f_total_irrad
LDU_FT
[ "<BEGIN>\n## `register`", "Register outputs and metadata.", " * ``initial_value`` - used in dynamic calculations\n * ``size`` - number of elements per timestep\n * ``uncertainty`` - in percent of nominal value\n * ``variance`` - dictionary of covariances, diagonal is square of\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the f_total_irrad API. 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 f_total_irrad API. 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...
Calculate total irradiance :param times: timestamps :param surface_tilt: panel tilt from horizontal [deg] :param surface_azimuth: panel azimuth from north [deg] :param solar_zenith: refracted solar zenith angle [deg] :param solar_azimuth: solar azimuth [deg] :param dni: direct normal irradiance...
"Calculate total irradiance\n\n :param times: timestamps\n :param surface_tilt: panel tilt from horizontal [deg]\n :param surface_azimuth: panel azimuth from north [deg]\n :param solar_zenith: refracted solar zenith angle [deg]\n :param solar_azimuth: solar azimuth [deg]\n :param dni: direct normal ir...
227
false
BreakingBytes/simkit
f_total_irrad
141,864
LDU_FT/onnx/onnx/load_external_data_for_model
LDU_FT
[ "<BEGIN>\n## `run_node`", "Simple run one operator and return the results.\n Args:\n outputs_info: a list of tuples, which contains the element type and\n shape of each output. First element of the tuple is the dtype, and\n the second element is the shape. More use case can...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_external_data_for_model API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_external_data_for_model API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl...
Loads external tensors into model @params model: ModelProto to load external data to base_dir: directory that contains external data
"Loads external tensors into model\n\n @params\n model: ModelProto to load external data to\n base_dir: directory that contains external data"
72
false
onnx/onnx
load_external_data_for_model
141,865
LDU_FT/noahbenson/pimms/itable
LDU_FT
[ "<BEGIN>\n## `to_argv_schema`", "to_argv_schema(instructions) yields a valid tuple of CommandLineParser instructions for the\n given instructions tuple; by itself, this will only return the instructions as they are, but\n optional arguments (below) will override the values in the instructions if provide...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the itable API. 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 itable API. 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 ...
itable(...) yields a new immutable table object from the given set of arguments. The arguments may be any number of maps or itables followed by any number of keyword arguments. All the entries from the arguments and keywords are collapsed left-to-right (respecting laziness), and the resulting column s...
"itable(...) yields a new immutable table object from the given set of arguments. The arguments\n may be any number of maps or itables followed by any number of keyword arguments. All the\n entries from the arguments and keywords are collapsed left-to-right (respecting laziness),\n and the resulting colu...
241
false
noahbenson/pimms
itable
141,866
LDU_FT/LISE-B26/pylabcontrol/reset_avaliable
LDU_FT
[ "<BEGIN>\n## `instantiate_probes`", "Creates instances of the probes inputed;", " Args:\n probes: probes is a nested dictionary with\n (key, sub_dict ) = (name of the probe, {'probe_name': value_probe, 'instrument_name': value_inst}),\n where value_probe is a valid name of a pr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reset_avaliable API. 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 reset_avaliable API. 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...
Resets the dialog box by finding all avaliable scripts that can be imported in the input folder :param folder: folder in which to find scripts
"Resets the dialog box by finding all avaliable scripts that can be imported in the input folder\n :param folder: folder in which to find scripts"
301
false
LISE-B26/pylabcontrol
reset_avaliable
141,867
LDU_FT/teepark/junction/publish
LDU_FT
[ "<BEGIN>\n## `wait_connected`", "Wait for connections to be made and their handshakes to finish", " :param conns:\n a single or list of (host, port) tuples with the connections that\n must be finished before the method will return. defaults to all the\n peers the :class:`...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the publish API. 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 publish API. 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...
Send a 1-way message :param service: the service name (the routing top level) :type service: anything hash-able :param routing_id: The id used for routing within the registered handlers of the service. :type routing_id: int :param method: the method name ...
"Send a 1-way message\n\n :param service: the service name (the routing top level)\n :type service: anything hash-able\n :param routing_id:\n The id used for routing within the registered handlers of the\n service.\n :type routing_id: int\n :param method: the met...
131
false
teepark/junction
publish
141,868
LDU_FT/openstack/monasca-common/read_body
LDU_FT
[ "<BEGIN>\n## `fmtd_sub_expr_str`", "Get the entire sub expressions as a string with spaces.\n<END>", "<BEGIN>\n## `normalized_operator`", "Get the operator as one of LT, GT, LTE, or GTE.\n<END>", "<BEGIN>\n## `_get_conn`", "Get or create a connection to a broker using host and port\n<END>", "<BEGIN>\n##...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_body API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_body API. 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...
Reads HTTP payload according to given content_type. Function is capable of reading from payload stream. Read data is then processed according to content_type. Note: Content-Type is validated. It means that if read_body body is not capable of reading data in requested type, it will ...
"Reads HTTP payload according to given content_type.\n\n Function is capable of reading from payload stream.\n Read data is then processed according to content_type.\n\n Note:\n Content-Type is validated. It means that if read_body\n body is not capable of reading data in requested type,\n ...
227
false
openstack/monasca-common
read_body
141,869
LDU_FT/nsavch/python-xonotic-db/remove_all_cts_records_by
LDU_FT
[ "<BEGIN>\n## `parse_line`", "Parse a line from database\n :param line: line to parse\n<END>", "<BEGIN>\n## `save`", "Write database to a file. If a file with the specified name exists it's backed up\n :param file_path: file path\n<END>", "<BEGIN>\n## `filter`", "Filter database key by patter...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_all_cts_records_by API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_all_cts_records_by API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Remove all cts records set by player with CRYPTO_IDFP
"Remove all cts records set by player with CRYPTO_IDFP"
20
false
nsavch/python-xonotic-db
remove_all_cts_records_by
141,870
LDU_FT/trustar/trustar-python/search_indicators_page
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 search_indicators_page API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search_indicators_page API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Search for indicators containing a search term. :param str search_term: The term to search for. If empty, no search term will be applied. Otherwise, must be at least 3 characters. :param list(str) enclave_ids: list of enclave ids used to restrict to indicators found in reports in specific...
"Search for indicators containing a search term.\n\n :param str search_term: The term to search for. If empty, no search term will be applied. Otherwise, must\n be at least 3 characters.\n :param list(str) enclave_ids: list of enclave ids used to restrict to indicators found in reports in spe...
243
false
trustar/trustar-python
search_indicators_page
141,871
LDU_FT/cuducos/getgist/output
LDU_FT
[ "<BEGIN>\n## `run_getgist`", "Passes user inputs to GetGist() and calls get()\n<END>", "<BEGIN>\n## `run_getmy`", "Shortcut for run_getgist() reading username from env var\n<END>", "<BEGIN>\n## `run_putgist`", "Passes user inputs to GetGist() and calls put()\n<END>", "<BEGIN>\n## `get`", "Reads the re...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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. The extracted ...
A helper to used like print() or click's secho() tunneling all the outputs to sys.stdout or sys.stderr :param message: (str) :param color: (str) check click.secho() documentation :return: (None) prints to sys.stdout or sys.stderr
"A helper to used like print() or click's secho() tunneling all the\n outputs to sys.stdout or sys.stderr\n :param message: (str)\n :param color: (str) check click.secho() documentation\n :return: (None) prints to sys.stdout or sys.stderr"
44
false
cuducos/getgist
output
141,872