text
string
label
int64
{'name': 'QueueManager.connect_with_options@code/pymqi/__init__.py', 'description': "connect_with_options(name [, opts=cnoopts][ ,cd=mqcd][ ,sco=mqsco])\n connect_with_options(name, cd, [sco])\n\nConnect immediately to the Queue Manager 'name', using the\noptional MQCNO Options opts, the optional MQCD connection\ndes...
0
{'name': 'PrintFormatCommand.do_invoke@gef.py', 'description': 'Default value for print-format command.', 'signature': 'def do_invoke(self, _: list[str], **kwargs: Any) -> None:'}</s>{'name': 'gef_makedirs@gef.py', 'description': 'Recursive mkdir() creation. If successful, return the absolute path of the directory crea...
0
{'name': 'go@grizli/pipeline/auto_script.py', 'description': 'Run the full pipeline for a given target\n\nParameters\n----------\nroot : str\n Rootname of the `mastquery` file.\n\nextract_maglim : [min, max]\n Magnitude limits of objects to extract and fit.', 'signature': "def go(root='j010311+131615', "}</s>{'na...
0
{'name': 'PacketFilter.get_queues@pf/filter.py', 'description': 'Retrieve the currently loaded queues.\n\nReturn a tuple of PFQueue objects.', 'signature': 'def get_queues(self):'}</s>PFRULE_RETURN = 8
0
{'name': 'render_positive_time_period@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Resolve a template that specifies a timedelta', 'signature': 'def render_positive_time_period(data: dict, key: str) -> None:'}</s>{'name': 'IURunQueue@custom_components/irrigation_unlimited/irrigation_...
0
{'name': 'QueueManager.connect_tcp_client@code/pymqi/__init__.py', 'description': "Connect immediately to the remote Queue Manager 'name', using\na TCP Client connection, with channnel 'channel' and the\nTCP connection string 'conn_name'. All other connection\noptons come from 'cd'.", 'signature': 'def connect_tcp_clie...
0
{'name': 'Topic.__init__@code/pymqi/__init__.py', 'description': "Associate a Topic instance with the QueueManager object 'queue_manager'\nand optionally open the Topic.\n\nIf topic_desc is passed ignore topic_string and topic_name.\n\nIf open_opts is passed, it specifies topic open options, and\nthe topic is opened im...
0
{'name': 'Numeral.__rgt__@src/api/python/z3/z3num.py', 'description': 'Return True if `other > self`.\n\n>>> 2 > Numeral(Sqrt(2))\nTrue', 'signature': 'def __rgt__(self, other):'}</s>{'name': 'fpNaN@src/api/python/z3/z3.py', 'description': 'Create a Z3 floating-point NaN term.\n\n>>> s = FPSort(8, 24)\n>>> set_fpa_pret...
0
{'name': 'filter_duplicates@sms_wsj/database/dynamic_mixing.py', 'description': ">>> filter_duplicates([{'a': 1}, {'b': 1}, {'a': 1}])\n[{'a': 1}, {'b': 1}]", 'signature': 'def filter_duplicates(l):'}</s>{'name': 'split_rirs_and_sources@sms_wsj/database/dynamic_mixing.py', 'description': 'Split a dataset in the rir and...
0
{'name': 'Element.find_ids@src/svgutils/compose.py', 'description': 'Find elements with given IDs.\n\nParameters\n----------\nelement_ids : list of strings\n list of IDs to find\n\nReturns\n-------\na new `Panel` object which contains all the found elements.', 'signature': 'def find_ids(self, element_ids):'}</s>{'na...
0
{'name': 'Win32Serial.open@stino/pyarduino/base/pyserial/serialwin32.py', 'description': 'Open port with current settings. This may throw a SerialException\nif the port cannot be opened.', 'signature': 'def open(self):'}</s>MARKPARITY = 3
0
{'name': 'WorkerTestCase.test_sigusr1@tests/integration/test_worker.py', 'description': 'Print stacktrace on SIGUSR1', 'signature': 'def test_sigusr1(self):'}</s>{'name': 'function2@tests/tasks.py', 'description': 'DOCSTRING', 'code': "def function2(sender, task, args, kwargs):\n print('function2')\n print(sender...
0
{'name': 'FaultSupervisionSubscriptionsView.create@FaultManagement/views.py', 'description': 'Create a single subscription\n\nTo create a subscription the representation of the subscription is POSTed on the /subscriptions collection resource.', 'signature': 'def create(self, request, *args, **kwargs):'}</s>...
1
{'name': 'TimeEntrySet.all_from_reports@toggl/api/models.py', 'description': 'Method that implements fetching of all time entries through Report API.\nNo limitation on number of time entries.\n\n:param start: From when time entries should be fetched. Defaults to today - 6 days.\n:param stop: Until when time entries sho...
0
{'name': 'calc_rms@examples/python/mcc172/continuous_scan.py', 'description': 'Calculate RMS value from a block of samples. ', 'signature': 'def calc_rms(data, channel, num_channels, num_samples_per_channel):'}</s>{'name': 'mcc172@daqhats/mcc172.py', 'description': 'The class for an MCC 172 board.\n\nArgs:\n address...
0
{'name': 'create_app@app/__init__.py', 'description': 'Create an application context with blueprints.', 'signature': 'def create_app(debug=False):'}</s>{'name': 'page_not_found@app/__init__.py', 'description': '404 handler.', 'code': 'def page_not_found(e):\n """404 handler."""\n logger.info("404 triggered: Path ...
1
{'name': 'localtime@tool/mkarchive.py', 'description': 'Return YYYY-mm-dd HH:MM.', 'signature': 'def localtime(stamp=0):'}</s>rss = "1"
0
{'name': 'main@github_invite_to_org.py', 'description': 'Read a JSON file with a dictionary mapping organization roles to lists of members usernames.\n\nArguments:\n\n--token XXX = GitHub Personal Access Token (default = defined in github_coinfig.py)\n--file XXX = JSON file with format: { role:[username, ...] } whe...
0
{'name': 'vee_validate_rules@vuetifyforms/templatetags/crispy_forms_vuetify.py', 'description': 'Generates vee validate rules based on django validators. Throws exception when validator is unknown.', 'signature': 'def vee_validate_rules(parser, token):'}</s>{'name': 'rule_EmailValidator@vuetifyforms/templatetags/crispy...
0
{'name': 'findAllQuestionId@static/watool/utilities/Code/exportImportWAFR.py', 'description': "Find all question ID's ", 'signature': 'def findAllQuestionId('}</s>{'name': 'updateAnswersForQuestion@static/watool/utilities/Code/exportImportWAFR.py', 'description': 'Update a answer to a question ', 'code': 'def updateAns...
0
{'name': 'GlyphsBuilder._fake_designspace@Lib/glyphsLib/builder/builders.py', 'description': 'Build a fake designspace with the given UFOs as sources, so that all\nbuilder functions can rely on the presence of a designspace.', 'signature': 'def _fake_designspace(self, ufos):'}</s>{'name': '_agl_compliant_name@Lib/glyph...
0
{'name': 'main@mne_bids_pipeline/steps/sensor/_01_make_evoked.py', 'description': 'Run evoked.', 'signature': 'def main(*, config: SimpleNamespace) -> None:'}</s>{'name': '_all_conditions@mne_bids_pipeline/_report.py', 'description': 'DOCSTRING', 'code': 'def _all_conditions(*, cfg: SimpleNamespace) -> list[str]:\n ...
0
{'name': 'PacketFilter.kill_states@pf/filter.py', 'description': 'Clear states matching the specified arguments.\n\nStates can be specified by address family, layer-4 protocol, source and\ndestination addresses, interface name, label and routing domain. Return\nthe number of killed states.', 'signature': 'def kill_stat...
0
{'name': 'scale_matrix@utils/transformations.py', 'description': 'Return matrix to scale by factor around origin in direction.\n\nUse factor -1 for point symmetry.\n\n>>> v = (numpy.random.rand(4, 5) - 0.5) * 20\n>>> v[3] = 1\n>>> S = scale_matrix(-1.234)\n>>> numpy.allclose(numpy.dot(S, v)[:3], -1.234*v[:3])\nTrue\n>>...
0
{'name': 'Euler_angles_to_quaternion@python/pix2face_estimation/geometry_utils.py', 'description': 'default order applies rotation around x axis first, y second, and z third.\n ', 'signature': "def Euler_angles_to_quaternion(theta1, theta2, theta3, order='XYZ'):"}</s>{'name': 'matrix_to_quaternion@python/pix2face_es...
0
{'name': '_read_esmf@uxarray/io/_esmf.py', 'description': 'Reads in an Xarray dataset containing an ESMF formatted Grid dataset and\nencodes it in the UGRID conventions.\n\nAdheres to the ESMF Unstructrued Grid Format (ESMFMESH) outlined in the ESMF documentation:\nhttps://earthsystemmodeling.org/docs/release/latest/ES...
1
{'name': 'loadFilesFromDisk@FastProject/CLI.py', 'description': 'Loads files from disk into data structures\n\nTypically called before calling Pipelines.Analysis()\n\nParameters\n----------\nargs : dict\n Contains file locations on disk\n\nReturns\n-------\nexpressionMatrix : ExpressionData\nsignatures : list of Sig...
0
{'name': 'rednet_pipeline@predict.py', 'description': 'rednet in altizure pipeline ', 'signature': 'def rednet_pipeline(mvs_list):'}</s>{'name': 'randomColor@preprocess.py', 'description': 'DOCSTRING', 'code': 'def randomColor(image):\n\n random_factor = np.random.randint(1, 301) / 100.\n color_image = ImageEnhan...
0
{'name': 'EVPTestCase.test_load_key_string_pubkey_rsa@tests/test_evp.py', 'description': 'Testing creating a PKey instance from PEM string.', 'signature': 'def test_load_key_string_pubkey_rsa(self):'}</s>{'name': 'MessageDigest@src/M2Crypto/EVP.py', 'description': 'Message Digest', 'base_classes': ['object'], 'methods'...
0
{'name': 'Command.check_next_arg@sievelib/commands.py', 'description': 'Argument validity checking\n\nThis method is usually used by the parser to check if detected\nargument is allowed for this command.\n\nWe make a distinction between required and optional\narguments. Optional (or tagged) arguments can be provided\nu...
0
{'name': 'send_to_modchat@tor/core/helpers.py', 'description': "Send a message to #general on ToR mod chat.\n\n:param message: String; the message that is to be encoded\n:param cfg: the global config dict.\n:param channel: String; the name of the channel to send to. '#' optional.\n:return: None.", 'signature': 'def sen...
0
{'name': 'CheckForNewlineAtEOF@third_party/cpplint/cpplint.py', 'description': 'Logs an error if there is no newline char at the end of the file.\n\nArgs:\n filename: The name of the current file.\n lines: An array of strings, each representing a line of the file.\n error: The function to call with any errors found....
0
{'name': 'Camera.addLandmarkInformationGPS@cameratransform/camera.py', 'description': 'Add a term to the camera probability used for fitting. This term includes the probability to observe the given\nlandmarks and the specified positions in the image.\n\nParameters\n----------\nlm_points_image : ndarray\n the pixel p...
0
{'name': 'ReplaceByFeeTest.test_spends_of_conflicting_outputs@test/functional/feature_rbf.py', 'description': 'Replacements that spend conflicting tx outputs are rejected', 'signature': 'def test_spends_of_conflicting_outputs(self):'}</s>OP_16 = CScriptOp(0x60)
0
{'name': 'DagBuilder.make_task@dagfactory/dagbuilder.py', 'description': 'Takes an operator and params and creates an instance of that operator.\n\n:returns: instance of operator object', 'signature': 'def make_task(operator: str, task_params: Dict[str, Any]) -> BaseOperator:'}</s>{'name': 'get_datasets_uri_yaml_file@d...
0
{'name': 'ConvolutionalBoxPredictor._predict@object_detection/predictors/convolutional_box_predictor.py', 'description': 'Computes encoded object locations and corresponding confidences.\n\nArgs:\n image_features: A list of float tensors of shape [batch_size, height_i,\n width_i, channels_i] containing features for...
0
{'name': 'QueueManager._is_connected@code/pymqi/__init__.py', 'description': "Try pinging the queue manager in order to see whether the application\nis connected to it. Note that the method is merely a convienece wrapper\naround MQCMD_PING_Q_MGR, in particular, there's still possibility that\nthe app will disconnect be...
0
{'name': 'classify_single@autofocus/predict/app/app.py', 'description': 'Classify a single image', 'signature': 'def classify_single():'}</s>{'name': 'predict_multiple@autofocus/predict/app/model.py', 'description': 'DOCSTRING', 'code': 'def predict_multiple(path_list):\n predictions = {}\n for path in path_list:...
0
{'name': 'QueueManager.put1@code/pymqi/__init__.py', 'description': "Put the single message in string buffer 'msg' on the queue\nusing the MQI PUT1 call. This encapsulates calls to MQOPEN,\nMQPUT and MQCLOSE. put1 is the optimal way to put a single\nmessage on a queue.\n\nqDesc identifies the Queue either by name (if i...
0
{'name': 'parse_content_transfer_encoding_header@src/future/backports/email/_header_value_parser.py', 'description': 'mechanism\n\n ', 'signature': 'def parse_content_transfer_encoding_header(value):'}</s>{'name': 'decode_rfc2231@src/future/backports/email/utils.py', 'description': 'Decode string according to RFC 22...
0
{'name': 'Connection.is_writeable@runner/tez/apache-hive-0.13.0.2.1.0.0-92-bin/lib/py/thrift/server/TNonblockingServer.py', 'description': 'Returns True if connection should be added to write list of select.', 'signature': 'def is_writeable(self):'}</s>SEND_ANSWER = 3
1
{'name': 'AnkiDataFrame.add_cards@ankipandas/ankidf.py', 'description': "Add cards belonging to notes of one model.\n\nArgs:\n nid: Note IDs of the notes that you want to add cards for\n cdeck: Name of deck to add cards to as string or list of strings\n (different deck for each nid).\n cord: Number of t...
0
{'name': 'PCFExecute.__init__@code/pymqi/__init__.py', 'description': "PCFExecute(name = '')\n\nConnect to the Queue Manager 'name' (default value '') ready\nfor a PCF command. If name is a QueueManager instance, it is\nused for the connection, otherwise a new connection is made ", 'signature': 'def __init__(self, name...
0
{'name': 'ExpressionEngine._convert_text@src/chameleon/compiler.py', 'description': 'Converts value given by ``target`` to text.', 'signature': 'def _convert_text(self, target, char_escape):'}</s>emit_bool = template(is_func=True, func_args=('target', 's', 'default_marker', 'default'), ...
0
{'name': 'TrainCtx._on_backward@persia/ctx.py', 'description': "Update the embeddings' gradients\n\nArguments:\n loss_scale (float): the loss that scaled by GradScalar, loss_scale always equal\n to 1 for cpu training scenes.\n embedding_gradient_check_frequency (int): the frequency to check gradient finite...
0
{'name': 'QueueManager._is_connected@code/pymqi/__init__.py', 'description': "Try pinging the queue manager in order to see whether the application\nis connected to it. Note that the method is merely a convienece wrapper\naround MQCMD_PING_Q_MGR, in particular, there's still possibility that\nthe app will disconnect be...
0
{'name': 'load_hconfig_v2_options_from_file@hier_config/utils.py', 'description': 'Load Hier Config v2 options file to v3 driver format.\n\nArgs:\n options_file (str): The v2 options file.\n platform (Platform): The Hier Config v3 Platform enum for the target platform.\n\nReturns:\n HConfigDriverBase: A v3 dri...
0
{'name': 'mat2d.set_row_strlabs@src/python_scripts/afnipy/lib_mat2d_base.py', 'description': 'input a list of strings; must match number of mat rows', 'signature': 'def set_row_strlabs(self, L):'}</s>{'name': 'ttest@src/python_scripts/afnipy/afni_util.py', 'description': 'just a top-level function', 'code': 'def ttest(...
0
{'name': 'CheckForNonConstReference@llvm-12.0.0-project/compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': 'Check for non-const references.\n\nSeparate from CheckLanguage since it scans backwards from current\nline, instead of scanning forward.\n\nArgs:\n filename: The name of the current file.\n cl...
0
{'name': 'Connection.read@nsq/connection.py', 'description': 'Responses from an established socket', 'signature': 'def read(self):'}</s>FRAME_TYPE_MESSAGE = 2
0
{'name': '_init@third_party/libassimp/port/PyAssimp/pyassimp/core.py', 'description': "Custom initialize() for C structs, adds safely accessible member functionality.\n\n:param target: set the object which receive the added methods. Useful when manipulating\npointers, to skip the intermediate 'contents' deferencing.", ...
0
{'name': 'Device.open@src/LabJackPython.py', 'description': 'Device.open(devType, Ethernet=False, firstFound = True, serial = None, localId = None, devNumber = None, ipAddress = None, handleOnly = False, LJSocket = None)\n\nOpen a device of type devType. ', 'signature': 'def open(self, devType, Ethernet=False, firstFou...
0
{'name': 'AlexaMediaFlowHandler.__init__@custom_components/alexa_media/config_flow.py', 'description': 'Initialize the config flow.', 'signature': 'def __init__(self):'}</s>CONF_INCLUDE_DEVICES = "include_devices"
1
{'name': 'test_no_archive@tests/test_availability_api.py', 'description': "ArchiveNotInAvailabilityAPIResponse may be raised if Wayback Machine did not\nreplied with the archive despite the fact that we know the site has million\nof archives. Don't know the reason for this wierd behavior.\n\nAnd also if really there ar...
1
{'name': 'P2PConnection._on_data@test/functional/test_framework/mininode.py', 'description': 'Try to read P2P messages from the recv buffer.\n\nThis method reads data from the buffer in a loop. It deserializes,\nparses and verifies the P2P header, then passes the P2P payload to\nthe on_message callback for processing.'...
0
{'name': 'QueueManager.connect_tcp_client@code/pymqi/__init__.py', 'description': "Connect immediately to the remote Queue Manager 'name', using\na TCP Client connection, with channnel 'channel' and the\nTCP connection string 'conn_name'. All other connection\noptons come from 'cd'.", 'signature': 'def connect_tcp_clie...
0
{'name': 'SpliceComments@tools/yapf/yapf/yapflib/comment_splicer.py', 'description': 'Given a pytree, splice comments into nodes of their own right.\n\nExtract comments from the prefixes where they are housed after parsing.\nThe prefixes that previously housed the comments become empty.\n\nArgs:\n tree: a pytree.Node ...
1
{'name': 'PanDataSet.setData@src/pangaeapy/pandataset.py', 'description': "This method populates the data DataFrame with data from a PANGAEA dataset.\nIn addition to the data given in the tabular ASCII file delivered by PANGAEA.\n\n\nParameters:\n-----------\naddEventColumns : boolean\n In case Latitude, Longititude...
0
{'name': 'summaryReport@pipelines/pipeline_scxl.py', 'description': 'Prepare a PDF summary report.', 'signature': 'def summaryReport(infile, outfile):'}</s>{'name': 'plotUmapSingleR@pipelines/pipeline_scxl.py', 'description': 'Plot the SingleR primary identity assignments on a UMAP', 'code': 'def plotUmapSingleR(infile...
0
{'name': 'RestApi.delete_deck@tinycards/networking/rest_api.py', 'description': 'Delete an existing deck.\n\nArgs:\n deck_id (str): The ID of the Deck to delete.\n\nReturns:\n Deck: The deleted Deck object if deletion was successful.', 'signature': 'def delete_deck(self, deck_id):'}</s>{'name': 'json_to_card@tiny...
0
{'name': 'Sphere.hit@pyrt/geometry/sphere.py', 'description': 'Hit ray with sphere.\n\n:param ray: the ray to check hit\n:param hitrecord: the hitrecord which is only valid if there is a hit\n:return: True if there is a hit', 'signature': 'def hit(self, ray: Ray, hitrecord: HitRecord) -> bool:'}</s>{'name': 'Sphere@pyr...
1
{'name': 'configure_events_view_set@django_eventstream/viewsets.py', 'description': 'Configure the EventsViewSet class with specific channels and message types.', 'signature': 'def configure_events_view_set(channels=None, messages_types=None):'}</s>{'name': 'EventsViewSet@django_eventstream/viewsets.py', 'description':...
1
{'name': 'FindOutgoingInterface@comtypes/client/_events.py', 'description': 'XXX Describe the strategy that is used...', 'signature': 'def FindOutgoingInterface(source: IUnknown) -> Type[IUnknown]:'}</s>COWAIT_ALERTABLE = 2
0
{'name': 'guess_json_utf@src/requests/utils.py', 'description': ':rtype: str', 'signature': 'def guess_json_utf(data):'}</s>{'name': 'dict_to_sequence@src/requests/utils.py', 'description': 'Returns an internal sequence dictionary update.', 'code': 'def dict_to_sequence(d):\n """Returns an internal sequence dictiona...
0
{'name': 'babel_extract@blockchain-env/lib/python3.7/site-packages/jinja2/ext.py', 'description': 'Babel extraction method for Jinja templates.\n\n.. versionchanged:: 2.3\n Basic support for translation comments was added. If `comment_tags`\n is now set to a list of keywords for extraction, the extractor will\n ...
0
{'name': 'PFOp._to_string@pf/rule.py', 'description': 'Return the string representation of the operation.', 'signature': 'def _to_string(self):'}</s>ICMP6_TIME_EXCEED_REASSEMBLY = 1
0
{'name': 'IUClock.load@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Load config data', 'signature': 'def load(self, config: OrderedDict) -> "IUClock":'}</s>{'name': 'render_positive_time_period@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Resolve a...
0
{'name': 'ValidationError.flatten@src/jsonspec/validators/exceptions.py', 'description': 'Flatten nested errors.\n\n{pointer: reasons}', 'signature': 'def flatten(self):'}</s>{'name': 'CompilationError@src/jsonspec/validators/exceptions.py', 'description': 'Raised while schema parsing', 'base_classes': ['Exception'], '...
0
{'name': 'walk_stack@vertx-web/src/test/sockjs-protocol/traceback2/__init__.py', 'description': 'Walk a stack yielding the frame and line number for each frame.\n\nThis will follow f.f_back from the given frame. If no frame is given, the\ncurrent stack is used. Usually used with StackSummary.extract.', 'signature': 'de...
0
{'name': 'Topic.__init__@code/pymqi/__init__.py', 'description': "Associate a Topic instance with the QueueManager object 'queue_manager'\nand optionally open the Topic.\n\nIf topic_desc is passed ignore topic_string and topic_name.\n\nIf open_opts is passed, it specifies topic open options, and\nthe topic is opened im...
0
{'name': 'ensure_core@jupyterlab/commands.py', 'description': 'Ensure that the core assets are available.', 'signature': 'def ensure_core(logger=None):'}</s>{'name': 'watch@jupyterlab/commands.py', 'description': 'Watch the application.\n\nParameters\n----------\napp_options: :class:`AppOptions`, optional\n The appl...
0
{'name': 'GenerateCard@pyexfil/includes/data_generator.py', 'description': '[Wrapper] Generate credit card.\n:param kind: CardTypes Types\n:return: [company, number]', 'signature': 'def GenerateCard(kind):'}</s>PREFIX = { CardTypes.VISA: [ ['4', '5', '3', '9'], ['4', '5', '5', '6'], ['4', '9', '1', '6'], ['4',...
0
{'name': 'QueueManager._is_connected@code/pymqi/__init__.py', 'description': "Try pinging the queue manager in order to see whether the application\nis connected to it. Note that the method is merely a convienece wrapper\naround MQCMD_PING_Q_MGR, in particular, there's still possibility that\nthe app will disconnect be...
0
{'name': 'Controller.get_selected_configs@tools/ipp_custom_library_tool_python/gui/controller.py', 'description': 'Collecting all user-specified information about future dynamic library into dictionary', 'signature': 'def get_selected_configs(self):'}</s>C_STRING_VALUE_REGEX = ".*"(?P<value>.*)".*"
0
{'name': 'normalize_answer@third_party/evaluate_mlqa.py', 'description': 'Lower text and remove punctuation, articles and extra whitespace.', 'signature': 'def normalize_answer(s, lang):'}</s>{'name': 'whitespace_tokenize@third_party/evaluate_mlqa.py', 'description': 'DOCSTRING', 'code': 'def whitespace_tokenize(text):...
1
{'name': 'ParserElement.setDebug@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/pip/_vendor/pyparsing.py', 'description': 'Enable display of debugging messages while doing pattern matching.\nSet ``flag`` to True to enable, False to disable.\n\nExample::\n\n wd = Word(alphas).setName("alphaword")\n integer = Word(num...
0
{'name': 'AdbDevice.push@adb_shell/adb_device.py', 'description': "Push a file or directory to the device.\n\nParameters\n----------\nlocal_path : str, BytesIO\n A filename, directory, or BytesIO stream to push to the device\ndevice_path : str\n Destination on the device to write to.\nst_mode : int\n Stat mode...
0
{'name': 'TypeErrorTests.test_keyword_sort_cmpkey@didyoumean/didyoumean_sugg_tests.py', 'description': 'Sort and sorted functions have a cmp/key param dep. on the vers.', 'signature': 'def test_keyword_sort_cmpkey(self):'}</s>{'name': 'my_generator@didyoumean/didyoumean_sugg_tests.py', 'description': 'Generate values f...
0
{'name': 'test_in_place_or_with_two_empty_counters@tests/test_counter.py', 'description': 'Test RedisCounter.__ior__() with two empty counters', 'signature': 'def test_in_place_or_with_two_empty_counters(redis: Redis) -> None:'}</s>{'name': 'test_basic_usage@tests/test_counter.py', 'description': 'DOCSTRING', 'code': "...
0
{'name': 'BaseLiteApp.flags@py/jupyterlite-core/jupyterlite_core/app.py', 'description': 'Get CLI flags, including ones provided by addons.', 'signature': 'def flags(self):'}</s>{'name': 'LiteBuildApp@py/jupyterlite-core/jupyterlite_core/app.py', 'description': 'build a JupyterLite site, including user content', 'base_...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQRCCF_QUEUES_VALUE_ERROR = 3051
0
{'name': 'test_single_build_pkg_dir@test/test_utils.py', 'description': 'Builds the "one" recipe with pkg_dir.', 'signature': 'def test_single_build_pkg_dir(recipes_fixture):'}</s>{'name': 'test_skip_unsatisfiable_pin_compatible@test/test_utils.py', 'description': 'Test unsatisfiable variants which are skipped get filt...
0
{'name': 'DonutModel.plot_results@loudml/donut.py', 'description': '# Arguments:\n models (tuple): encoder and decoder models\n data (tuple): test data and label\n model_name (string): which model is using this function', 'signature': 'def plot_results('}</s>{'name': 'ConnectionTimeout@loudml/errors.py', 'desc...
0
{'name': 'PCFExecute.__init__@code/pymqi/__init__.py', 'description': "PCFExecute(name = '')\n\nConnect to the Queue Manager 'name' (default value '') ready\nfor a PCF command. If name is a QueueManager instance, it is\nused for the connection, otherwise a new connection is made ", 'signature': 'def __init__(self, name...
0
{'name': 'write@code/html/generate_static_website.py', 'description': 'Writes a generated HTML page to a file, but checks with a HTML parser before.\n:param text:\n:param file:', 'signature': 'def write(text, path):'}</s>github_top_ignored_repos = ('https://github.com/Hopson97/MineCraft-One-Week-Challenge.git', 'https:...
0
{'name': 'random_sized_crop_list@models/SlowFast/slowfast/datasets/cv2_transform.py', 'description': 'Perform random sized cropping on the given list of images. Random crop with\n size 8% - 100% image area and aspect ratio in [3/4, 4/3].\nArgs:\n images (list): image to crop.\n size (int): size to crop.\n a...
0
{'name': 'test_HindcastEnsemble_verify_lead0_lead1@src/climpred/tests/test_HindcastEnsemble_class.py', 'description': 'Checks that HindcastEnsemble.verify() returns the same results with a lead-0 and\nlead-1 framework.', 'signature': 'def test_HindcastEnsemble_verify_lead0_lead1('}</s>{'name': 'test_HindcastEnsemble_re...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCRC_BRIDGE_ERROR = 3
0
{'name': 'checkDependencies@BlendNet/providers/local/__init__.py', 'description': 'No dependencies for the local provider', 'signature': 'def checkDependencies(settings):'}</s>{'name': 'getProviderInfo@BlendNet/providers/local/__init__.py', 'description': 'DOCSTRING', 'code': 'def getProviderInfo():\n return {}'}
0
{'name': 'normalise_pins@scripts/build_lib_ic.py', 'description': 'Convert YAML representation of pins into a normal structure, which is\na list of (left, right) tuples, where each tuple is a symbol unit,\nand left and right are either empty lists, or lists of groups,\nwhere each group is a list of [name, number, type]...
0
{'name': 'keypoints_ui@Pose2Sim/synchronization.py', 'description': 'Step 1: Initializes the UI for selecting keypoints.\n\nThis function creates an interactive GUI for selecting keypoints. It displays\na human figure with selectable keypoints, allows users to toggle keypoint names,\nselect all or none, and confirm the...
1
{'name': '_makeTags@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_vendor/pyparsing.py', 'description': 'Internal helper to construct opening and closing tag expressions, given a tag name', 'signature': 'def _makeTags(tagStr, xml):'}</s>{'name': 'MatchFirst@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_vendor/pypa...
0
{'name': 'SingleSubjectWindow.CB_line_text@src/python_scripts/afnipy/gui_uber_subj.py', 'description': 'call-back for text updates in the level 3 gbox', 'signature': 'def CB_line_text(self):'}</s>{'name': 'addActions@src/python_scripts/afnipy/lib_qt_gui.py', 'description': 'add a list of actions to the target\n\nif an ...
0
{'name': 'SpliceComments@tools/yapf/yapf/yapflib/comment_splicer.py', 'description': 'Given a pytree, splice comments into nodes of their own right.\n\nExtract comments from the prefixes where they are housed after parsing.\nThe prefixes that previously housed the comments become empty.\n\nArgs:\n tree: a pytree.Node ...
0
{'name': 'AnkiDataFrame.normalize@ankipandas/ankidf.py', 'description': 'Bring a :class:`AnkiDataFrame` from the ``raw`` format (i.e. the\nexact format that Anki uses in its internal representation) to our\nconvenient format.\n\nArgs:\n inplace: If False, return new dataframe, else update old one\n force: If a pr...
0
{'name': 'ProcessLine@third_party/cpplint/cpplint.py', 'description': 'Processes a single line in the file.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n clean_lines: An array of strings, each representing a line of the file,\n ...
1
{'name': 'CSSParser.parse_selectors@SneakerBot 2019/venv/lib/python3.7/site-packages/soupsieve/css_parser.py', 'description': 'Parse selectors.', 'signature': 'def parse_selectors(self, iselector, index=0, flags=0):'}</s>SEL_OUT_OF_RANGE = 256
1
{'name': 'QueueManager.connect_tcp_client@code/pymqi/__init__.py', 'description': "Connect immediately to the remote Queue Manager 'name', using\na TCP Client connection, with channnel 'channel' and the\nTCP connection string 'conn_name'. All other connection\noptons come from 'cd'.", 'signature': 'def connect_tcp_clie...
0
{'name': 'is_positive_definite@autolab_core/utils.py', 'description': 'Checks if a given matrix is positive definite.\n\nSee https://stackoverflow.com/a/16266736 for details.\n\nParameters\n----------\nA : :obj:`numpy.ndarray` of float or int\n The square matrix of interest\n\nReturns\n-------\nbool\n whether or ...
0
{'name': 'Vector.get@fn/immutable/trie.py', 'description': 'Returns a value accossiated with position', 'signature': 'def get(self, pos):'}</s>reduce = reduce
0