text string | label int64 |
|---|---|
{'name': 'deploy@hokusai/cli/review_app.py', 'description': "Update the project's deployment(s) to reference the given image tag", 'signature': 'def deploy(app_name, tag, migration, constraint, git_remote, timeout, update_config, verbose):'}</s>{'name': 'setup@hokusai/cli/review_app.py', 'description': 'Setup a new Rev... | 0 |
{'name': 'PFState._to_string@pf/state.py', 'description': 'Return a string representing the state.', 'signature': 'def _to_string(self):'}</s>ICMP_PARAMPROB_OPTABSENT = 1 | 0 |
{'name': 'Video.select_best_media@plex_mpv_shim/media.py', 'description': 'Nodes are accessed via XPath, which is technically 1-indexed, while\nPlex is 0-indexed.', 'signature': 'def select_best_media(self, part=0):'}</s>log = logging.getLogger('media') | 1 |
{'name': 'training_pipeline@alphapy/__main__.py', 'description': 'AlphaPy Training Pipeline\n\nParameters\n----------\nmodel : alphapy.Model\n The model object for controlling the pipeline.\n\nReturns\n-------\nmodel : alphapy.Model\n The final results are stored in the model object.\n\nRaises\n------\nKeyError\n... | 1 |
{'name': 'ParserElement.setDebugActions@tests/_lib_vendors/pkg_resources/_vendor/pyparsing.py', 'description': 'Enable display of debugging messages while doing pattern matching.', 'signature': 'def setDebugActions( self, startAction, successAction, exceptionAction ):'}</s>{'name': 'delimitedList@tests/_lib_vendors/pkg... | 0 |
{'name': 'Iso.__init__@IsoSpecPy/IsoSpecPy.py', 'description': 'Initialize Iso.\n\nArgs:\n formula (str): a chemical formula, e.g. "C2H6O1" or "C2H6O".\n get_confs (boolean): should we report counts of isotopologues?\n atomCounts (list): a list of atom counts (alternative to \'formula\').\n isotopeMasses (l... | 0 |
{'name': '_PhenotypicPhasePlaneChunkEvaluator.mass_yield@cameo/flux_analysis/analysis.py', 'description': 'gram product divided by gram of feeding source\n\nonly defined when we have only one product (as defined by the model\nobjective) and only one compound as carbon source (as defined by the\nmodel medium).\n\nReturn... | 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>MIRI... | 0 |
{'name': 'sourceforge_import@code/synchronization/sourceforge_import.py', 'description': 'Scraps Sourceforge project sites and adds developer information to the entries', 'signature': 'def sourceforge_import():'}</s>web_screenshots_path = web_path / 'screenshots' | 0 |
{'name': 'setup_training_attention_classification@main.py', 'description': 'Does setup before starting training (run_training)', 'signature': 'def setup_training_attention_classification(model):'}</s>{'name': 'Vocab@data.py', 'description': 'Vocabulary class for mapping between words and ids (integers)', 'base_classes'... | 0 |
{'name': '_MXNetModule.__make_numerical_loss@datawig/imputer.py', 'description': 'Generate output symbol for univariate numeric loss\n\n:param latents:\n:param label_field_name:\n:return: mxnet symbols for predictions and loss', 'signature': 'def __make_numerical_loss(latents: mx.symbol,'}</s>{'name': 'compute_ece@data... | 0 |
{'name': 'register_functions@llvm-4.0.0-project/clang/bindings/python/clang/cindex.py', 'description': 'Register function prototypes with a libclang library instance.\n\nThis must be called as part of library instantiation so Python knows how\nto call out to the shared library.', 'signature': 'def register_functions(li... | 0 |
{'name': 'CScript.GetSigOpCount@qa/rpc-tests/test_framework/script.py', 'description': 'Get the SigOp count.\n\nfAccurate - Accurately count CHECKMULTISIG, see BIP16 for details.\n\nNote that this is consensus-critical.', 'signature': 'def GetSigOpCount(self, fAccurate):'}</s>OP_SUB = CScriptOp(0x94) | 0 |
{'name': 'BlockParser.getBlocks@libc/kernel/tools/cpp.py', 'description': 'Return all the blocks parsed.', 'signature': 'def getBlocks(self, tokzer=None):'}</s>tokBINXOR = "^" | 0 |
{'name': 'OneVsAllAggregative.classify@quapy/method/aggregative.py', 'description': 'If the base quantifier is not probabilistic, returns a matrix of shape `(n,m,)` with `n` the number of\ninstances and `m` the number of classes. The entry `(i,j)` is a binary value indicating whether instance\n`i `belongs to class `j`.... | 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': 'VectorWind.__init__@windspharm/xarray.py', 'description': "Initialize a VectorWind instance.\n\n**Arguments:**\n\n*u*, *v*\n Zonal and meridional components of the vector wind\n respectively. Both components should be `~xarray.DataArray`\n instances. The components must have the same dimension\n c... | 1 |
{'name': 'parse_args@src/python_scripts/afnipy/lib_cdiflist.py', 'description': 'Go through user-entered options and fill an object with the values.\nThese will be used to setup plotting.', 'signature': 'def parse_args(full_argv):'}</s>{'name': 'read_text_file@src/python_scripts/afnipy/afni_util.py', 'description': "re... | 0 |
{'name': 'And@src/api/python/z3/z3.py', 'description': "Create a Z3 and-expression or and-probe.\n\n>>> p, q, r = Bools('p q r')\n>>> And(p, q, r)\nAnd(p, q, r)\n>>> P = BoolVector('p', 5)\n>>> And(P)\nAnd(p__0, p__1, p__2, p__3, p__4)", 'signature': 'def And(*args):'}</s>{'name': 'FreshFunction@src/api/python/z3/z3.py... | 0 |
{'name': 'intersect_downstream_lines@oggm/core/centerlines.py', 'description': 'Find tributaries to a main glacier by intersecting downstream lines\n\nThe GlacierDirectories must at least contain a `downstream_line`.\nIf you have a lot of candidates, only execute the necessary tasks for that\nand do the rest of the pre... | 0 |
{'name': 'count_nac@kb_python/count.py', 'description': 'Generates RNA velocity matrices for single-cell RNA seq.\n\nArgs:\n index_path: Path to kallisto index\n t2g_path: Path to transcript-to-gene mapping\n cdna_t2c_path: Path to cDNA transcripts-to-capture file\n intron_t2c_path: Path to intron transcrip... | 0 |
{'name': 'OAuthServer._check_timestamp@weibopy/oauth.py', 'description': 'Verify that timestamp is recentish.', 'signature': 'def _check_timestamp(self, timestamp):'}</s>{'name': 'OAuthError@weibopy/oauth.py', 'description': 'Generic exception class.', 'base_classes': ['RuntimeError'], 'methods': [{'name': 'OAuthError.... | 1 |
{'name': 'CheckBraces@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Looks for misplaced braces (e.g. at the end of line).\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\n error: The function to ca... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQBACF_CONNECTION_ID = 7006 | 0 |
{'name': 'ReplaceByFeeTest.test_doublespend_chain@qa/rpc-tests/replace-by-fee.py', 'description': 'Doublespend of a long chain', 'signature': 'def test_doublespend_chain(self):'}</s>{'name': 'make_utxo@qa/rpc-tests/replace-by-fee.py', 'description': 'Create a txout with a given amount and scriptPubKey\n\nMines coins as... | 1 |
{'name': 'R2Diffop.__init__@e2cnn/nn/modules/r2_conv/r2diffop.py', 'description': 'G-steerable planar partial differential operator mapping between the\ninput and output :class:`~e2cnn.nn.FieldType` s specified by\nthe parameters ``in_type`` and ``out_type``.\nThis operation is equivariant under the action of :math:`\\... | 1 |
{'name': 'PythonTypeObjectFunctionPrototype.GetDataTypeDescription@yaldevtools/source_code.py', 'description': 'Retrieves the data type description.\n\nReturns:\n str: data type description.', 'signature': 'def GetDataTypeDescription(self):'}</s>DATA_TYPE_FAT_DATE_TIME = "fat_date_time" | 0 |
{'name': 'SessionRedirectMixin.rebuild_proxies@src/requests/sessions.py', 'description': 'This method re-evaluates the proxy configuration by considering the\nenvironment variables. If we are redirected to a URL covered by\nNO_PROXY, we strip the proxy configuration. Otherwise, we set missing\nproxy keys for this URL (... | 0 |
{'name': 'get_network_fn@nets/nets_factory.py', 'description': 'Returns a network_fn such as `logits, end_points = network_fn(images)`.\n\nArgs:\n name: The name of the network.\n num_classes: The number of classes to use for classification.\n weight_decay: The l2 coefficient for the model weights.\n is_training: `... | 1 |
{'name': 'CheckTrailingSemicolon@third_party/cpplint/cpplint.py', 'description': 'Looks for redundant trailing semicolon.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\n error: The function to call with any... | 0 |
{'name': '_populate_edge_centroids@uxarray/grid/coordinates.py', 'description': 'Finds the centroids using cartesian averaging of the edges based off the\nvertices. The centroid is defined as the average of the x, y, z\ncoordinates, normalized.\n\nParameters\n----------\nrepopulate : bool, optional\n Bool used to tu... | 1 |
{'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': 'fit_p2@cmd/mcorr-fit/mcorr/fit.py', 'description': 'Fit p2', 'signature': 'def fit_p2(fitdatas, r1_func=const_r1, disable_progress_bar=False):'}</s>{'name': 'fit_zerorecombo@cmd/mcorr-fit/mcorr/fit.py', 'description': "fitting correlation profile with the 'null recombination model'; this is obsolete ", 'code'... | 0 |
{'name': '_skip_whitespace@fips-files/generators/sjson/__init__.py', 'description': 'skip whitespace. Returns the next character if a new position within the\nstream was found; returns None if the end of the stream was hit.', 'signature': 'def _skip_whitespace(stream):'}</s>{'name': 'dump@fips-files/generators/sjson/__... | 0 |
{'name': 'check_multiple_rvt_shift_opts@src/python_scripts/afnipy/lib_physio_opts.py', 'description': "Can only use at most one '-rvt_shift*' opt. Simplest to check for\nthat at one time.\n\nParameters\n----------\nargs_dict : dict\n The dictionary of arguments and option values.\n\nReturns\n-------\nis_bad : int\n... | 0 |
{'name': 'ExportHtml.format_text@ExportHtml.py', 'description': 'Format the text.', 'signature': 'def format_text(self, line, text, color, bgcolor, style, empty, annotate=False):'}</s>{'name': 'plugin_loaded@ExportHtml.py', 'description': 'Setup plugin.', 'code': 'def plugin_loaded():\n """Setup plugin."""\n\n gl... | 0 |
{'name': 'Arcball.next@transformations.py', 'description': 'Continue rotation in direction of last drag.', 'signature': 'def next(self, acceleration=0.0):'}</s>{'name': 'unit_vector@transformations.py', 'description': 'Return ndarray normalized by length, i.e. Euclidean norm, along axis.\n\n>>> v0 = numpy.random.random... | 0 |
{'name': 'picked_locs@picasso/postprocess.py', 'description': 'Finds picked localizations.\n\nParameters\n----------\nlocs : np.recarray\n Localization list.\ninfo : list of dicts\n Metadata of the localizations list.\npicks : list\n List of picks.\npick_shape : {\'Circle\', \'Rectangle\', \'Polygon\'}\n Sh... | 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': 'control_write_defaults@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Write default control values', 'signature': 'def control_write_defaults():'}</s>{'name': 'validate_interface@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Check if interface exists', 'code': 'def validate_inte... | 0 |
{'name': 'set_bar@library/dothat/backlight.py', 'description': 'Does nothing.\n\nImplemented for library compatibility with Dot3k backlight.', 'signature': 'def set_bar(index, value):'}</s>graph_set_led_polarity = cap.set_led_polarity | 0 |
{'name': 'ResourceManager.resource_listdir@blockchain-env/lib/python3.7/site-packages/pip/_vendor/pkg_resources/__init__.py', 'description': 'List the contents of the named resource directory', 'signature': 'def resource_listdir(self, package_or_requirement, resource_name):'}</s>{'name': 'DistributionNotFound@blockchai... | 0 |
{'name': 'Contract.create@ib_insync/contract.py', 'description': 'Create and a return a specialized contract based on the given secType,\nor a general Contract if secType is not given.', 'signature': "def create(**kwargs) -> 'Contract':"}</s>{'name': 'df@ib_insync/util.py', 'description': 'Create pandas DataFrame from ... | 0 |
{'name': 'train@gns/train.py', 'description': 'Train the model.\n\nArgs:\n rank: local rank\n world_size: total number of ranks\n device: torch device type', 'signature': 'def train(rank, flags, world_size, device):'}</s>{'name': 'get_data_loader_by_trajectories@gns/data_loader.py', 'description': 'Returns a data lo... | 0 |
{'name': 'DECIMER_Predictor.__init__@DECIMER/Repack_model.py', 'description': 'Load the tokenizers, the maximum input and output length and the\nmodel.\n\nArgs:\n encoder (tf.keras.model): The encoder model\n tokenizer (tf.keras.tokenizer): Output tokenizer, defines which character is assigned to what token\n ... | 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': 'ParseArguments@scripts/cpplint.py', 'description': 'Parses the command line arguments.\n\nThis may set the output format and verbosity level as side-effects.\n\nArgs:\n args: The command line arguments:\n\nReturns:\n The list of filenames to lint.', 'signature': 'def ParseArguments(args):'}</s>_global_error... | 0 |
{'name': 'BagTopicHelper.get_topic_types@bag_tools/scripts/plot.py', 'description': "Retrieves the type and topic info and cached them.\nThe first time it opens the bag file and then closes it.\nIf there's any error opening or reading the bag file, the error flag is\nset to True.\n\n:returns: array of (topic, type) tup... | 1 |
{'name': 'test_read_mapping_file@vermouth/tests/test_map_input.py', 'description': 'Test that regular mapping files are read as expected.', 'signature': 'def test_read_mapping_file(case):'}</s>{'name': 'test_read_mapping_directory_error@vermouth/tests/test_map_input.py', 'description': 'Test that :func:`vermouth.map_in... | 0 |
{'name': 'get_light_gamut@script.service.hue/resources/lib/rgbxy/__init__.py', 'description': 'Gets the correct color gamut for the provided model id.\nDocs: http://www.developers.meethue.com/documentation/supported-lights', 'signature': 'def get_light_gamut(modelId):'}</s>{'name': 'Converter@script.service.hue/resourc... | 0 |
{'name': 'ArmInterface.joint_velocity@franka_interface/src/franka_interface/arm.py', 'description': 'Return the requested joint velocity.\n\n:type joint: str\n:param joint: name of a joint\n:rtype: float\n:return: velocity in radians/s of individual joint', 'signature': 'def joint_velocity(self, joint):'}</s>{'name': '... | 1 |
{'name': 'get_root@versioneer.py', 'description': 'Get the project root directory.\n\nWe require that all commands are run from the project root, i.e. the\ndirectory that contains setup.py, setup.cfg, and versioneer.py .', 'signature': 'def get_root():'}</s>{'name': 'versions_from_parentdir@versioneer.py', 'description... | 0 |
{'name': 'update_model_for_controls@wntr/sim/hydraulics.py', 'description': 'Parameters\n----------\nm: wntr.sim.aml.aml.Model\nwn: wntr.network.model.WaterNetworkModel\nmodel_updater: wntr.sim.models.utils.ModelUpdater\nchange_tracker: wntr.network.controls.ControlChangeTracker', 'signature': 'def update_model_for_con... | 0 |
{'name': 'Queue.get@code/pymqi/__init__.py', 'description': "Return a message from the queue. If the queue is not already\nopen, it is opened now with the option 'MQOO_INPUT_AS_Q_DEF'.\n\nmaxLength, if present, specifies the maximum length for the\nmessage. If the message received exceeds maxLength, then the\nbehavior ... | 0 |
{'name': 'main@examples/gutenberg/gutenberg.py', 'description': 'Main function ', 'signature': 'def main():'}</s>LABELS = [] | 1 |
{'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': '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': 'CheckTrailingSemicolon@third_party/cpplint/cpplint.py', 'description': 'Looks for redundant trailing semicolon.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\n error: The function to call with any... | 0 |
{'name': 'Win32Serial.setRTS@stino/pyarduino/base/pyserial/serialwin32.py', 'description': 'Set terminal status line: Request To Send', 'signature': 'def setRTS(self, level=1):'}</s>SETXOFF = 1 | 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': 'process_direct_grism_visit@grizli/prep.py', 'description': 'Full processing of a direct (+grism) image visit.\n\nParameters\n----------\ndirect : dict\n Dictionary with keys \'files\' and \'product\' for the direct images.\n\ngrism : dict\n Dictionary with keys \'files\' and \'product\' for the grism im... | 0 |
{'name': 'test_sorting@voluptuous/tests/tests.py', 'description': 'Expect alphabetic sorting', 'signature': 'def test_sorting():'}</s>{'name': 'test_number_when_precision_none_n_invalid_scale_yield_decimal_true@voluptuous/tests/tests.py', 'description': 'Test with Number with no precision and invalid scale', 'code': 'd... | 0 |
{'name': '_batched_write_command_impl@venv/Lib/site-packages/pymongo/message.py', 'description': 'Create a batched OP_QUERY write command.', 'signature': 'def _batched_write_command_impl('}</s>{'name': '_encode_batched_write_command@venv/Lib/site-packages/pymongo/message.py', 'description': 'Encode the next batched ins... | 0 |
{'name': 'waveshow@librosa/display.py', 'description': 'Visualize a waveform in the time domain.\n\nThis function constructs a plot which adaptively switches between a raw\nsamples-based view of the signal (`matplotlib.pyplot.step`) and an\namplitude-envelope view of the signal (`matplotlib.pyplot.fill_between`)\ndepen... | 0 |
{'name': 'create_test_loader@mseg_semantic/tool/mseg_dataloaders.py', 'description': 'Create a Pytorch dataloader from a dataroot and list of relative paths.\n\nArgs:\n args: CfgNode object\n use_batched_inference: whether to process images in batch mode\n\nReturns:\n test_loader\n data_list: list of 2-tupl... | 0 |
{'name': 'NMEASentence.parse@pynmea2/nmea.py', 'description': 'parse(line)\n\nParses a string representing a NMEA 0183 sentence, and returns a\nNMEASentence object\n\nRaises ValueError if the string could not be parsed, or if the checksum\ndid not match.', 'signature': 'def parse(line, check=False):'}</s>{'name': 'Sent... | 1 |
{'name': 'ExportHtmlCommand.run@ExportHtml.py', 'description': 'Run command.', 'signature': 'def run(self, **kwargs):'}</s>CODE_END = "</code>" | 0 |
{'name': 'validation_region@MWAA/verify_env/verify_env.py', 'description': "verify environment name doesn't have path to files or unexpected input\nREGION: example is us-east-1", 'signature': 'def validation_region(input_region):'}</s>{'name': 'check_egress_acls@MWAA/verify_env/verify_env.py', 'description': "method to... | 0 |
{'name': 'ParseArguments@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Parses the command line arguments.\n\nThis may set the output format and verbosity level as side-effects.\n\nArgs:\n args: The command line arguments:\n\nReturns:\n The list of filenames to lint.', 'signature': 'def ParseArguments(args)... | 0 |
{'name': 'PFDivert._to_string@pf/rule.py', 'description': 'Return a string representation of the object.', 'signature': 'def _to_string(self):'}</s>PFTM_TCP_FIRST_PACKET = 0 | 0 |
{'name': 'include_decl@src/services/mpiwrap/wrap.py', 'description': 'This function is used by macros to include attributes MPI declarations in their scope.', 'signature': 'def include_decl(scope, decl):'}</s>{'name': 'OuterRegionLexer@src/services/mpiwrap/wrap.py', 'description': 'DOCSTRING', 'base_classes': ['LineTra... | 0 |
{'name': 'BaseRequest.is_xhr@src/back/kite/bottle.py', 'description': 'True if the request was triggered by a XMLHttpRequest. This only\nworks with JavaScript libraries that support the `X-Requested-With`\nheader (most of the popular libraries do). ', 'signature': 'def is_xhr(self):'}</s>{'name': 'view@src/back/kite/bo... | 0 |
{'name': 'PrintUsage@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Prints a brief usage string and exits, optionally with an error message.\n\nArgs:\n message: The optional error message.', 'signature': 'def PrintUsage(message):'}</s>{'name': '_SetFilters@ament_cpplint/ament_cpplint/cpplint.py', 'descriptio... | 0 |
{'name': 'openLabJack@src/LabJackPython.py', 'description': 'openLabJack(deviceType, connectionType, firstFound = True, pAddress = 1, LJSocket = None)\n\nNote: On Windows, UE9 over Ethernet, pAddress MUST be the IP address. ', 'signature': 'def openLabJack(deviceType, connectionType, firstFound = True, pAddress = None,... | 0 |
{'name': 'test_put_get_delete_replication@ut/test.py', 'description': '设置、获取、删除跨园区复制配置', 'signature': 'def test_put_get_delete_replication():'}</s>{'name': 'test_cos_get_live_code@ut/test.py', 'description': 'DOCSTRING', 'code': "def test_cos_get_live_code():\n # 获取数字验证码\n response, data = ai_recognition_client.c... | 0 |
{'name': 'SQL@grizli/aws/db.py', 'description': "Send a query to a database through `pandas.read_sql_query`\n\nParameters\n----------\nquery_text : str\n Query text, e.g., 'SELECT count(*) FROM table;'.\n\nengine : `sqlalchemy.engine.Engine`\n DB connection engine initialized with `~grizli.aws.db.get_db_engine`. ... | 0 |
{'name': 'Mqtt.on_log@flask_mqtt/__init__.py', 'description': 'Decorate a callback function to handle MQTT logging.\n\n**Example Usage:**\n\n::\n\n @mqtt.on_log()\n def handle_logging(client, userdata, level, buf):\n print(client, userdata, level, buf)', 'signature': 'def on_log(self) -> Callable:'}</s>Top... | 0 |
{'name': 'DNSIncoming.readOthers@stino/pyarduino/base/zeroconf.py', 'description': 'Reads the answers, authorities and additionals section of the\npacket', 'signature': 'def readOthers(self):'}</s>_CHECK_TIME = 175 | 0 |
{'name': 'PerfectModelEnsemble.generate_uninitialized@src/climpred/classes.py', 'description': 'Generate an uninitialized ensemble by resampling from the control simulation.\n\nReturns:\n ``uninitialzed`` resampled from ``control`` added\n to :py:class:`.PerfectModelEnsemble`', 'signature': 'def generate_uninitia... | 0 |
{'name': 'datetime_from_timestamp@yaql/standard_library/date_time.py', 'description': ':yaql:datetime\n\nReturns datetime object built by timestamp.\n\n:signature: datetime(timestamp, offset => timespan(0))\n:arg timestamp: timespan object to represent datetime\n:argType timestamp: number\n:arg offset: datetime offset ... | 0 |
{'name': 'parseOptionsAndInitTestdirs@lldb/packages/Python/lldbsuite/test/dotest.py', 'description': "Initialize the list of directories containing our unittest scripts.\n\n'-h/--help as the first option prints out usage info and exit the program.", 'signature': 'def parseOptionsAndInitTestdirs():'}</s>test_runner_name... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQDCC_SOURCE_ENC_MASK = py23long(0x000000f0) | 0 |
{'name': 'analyze_build@libscanbuild/analyze.py', 'description': 'Entry point for analyze-build command. ', 'signature': 'def analyze_build():'}</s>IGNORED_FLAGS = {
'-c': 0, # compile option will be overwritten
'-fsyntax-only': 0, # static analyzer option will be overwritten
'-o': 1, # will set up own o... | 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>DIOCXCOMMIT = _IOWR('D', 82, pfioc_trans) | 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': 'get_connection@examples/multi_threaded_inserts.py', 'description': 'Returns a new connection to the database. ', 'signature': 'def get_connection(db=DATABASE):'}</s>{'name': 'run_benchmark@examples/multi_threaded_inserts.py', 'description': 'Run a set of InsertWorkers and record their performance. ', 'code': ... | 0 |
{'name': 'IUSequence.zone_duration@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return the duration for the specified zone including adjustments\nand constraints', 'signature': 'def zone_duration('}</s>CONF_AUTOPLAY = "autoplay" | 0 |
{'name': 'init_screen@displays/inkyphat.py', 'description': 'Prepare the screen for drawing and return the draw variables\n ', 'signature': 'def init_screen(color):'}</s>btcpay_lnd_3 = "BTCPay LND wallet." | 0 |
{'name': 'create_reduced_sets@datasets/make_files/generate_datasets.py', 'description': 'Create reduced single-label train/validation/test sets.', 'signature': 'def create_reduced_sets(save: bool = False) -> None:'}</s>{'name': 'read_dict@enzynet/tools.py', 'description': 'Reads Python dictionary stored in a csv file.'... | 1 |
{'name': 'FilesystemConnection.__init__@cloud_browser/cloud/fs.py', 'description': 'Initializer.', 'signature': 'def __init__(self, root):'}</s>{'name': 'os_to_path@cloud_browser/cloud/fs.py', 'description': 'DOCSTRING', 'code': 'def os_to_path(path):\n return path.replace(os.path.sep, SEP)'} | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQXEPO_CURRENT_VERSION = 1 | 0 |
{'name': 'pytest_pycollect_makeitem_convert_async_functions_to_subclass@pytest_asyncio/plugin.py', 'description': 'Converts coroutines and async generators collected as pytest.Functions\nto AsyncFunction items.', 'signature': 'def pytest_pycollect_makeitem_convert_async_functions_to_subclass('}</s>{'name': '_get_event_... | 0 |
{'name': 'check_media@src/apyanki/cli.py', 'description': 'Check media.', 'signature': 'def check_media() -> None:'}</s>{'name': 'add@src/apyanki/cli.py', 'description': 'Add notes interactively from terminal.\n\nExamples:\n\n\x08\n # Add notes to deck "MyDeck" with tags \'my-tag\' and \'new-tag\'\n apy add -t "m... | 0 |
{'name': 'Differ._diff_dirs@tests/integration/differ.py', 'description': "Diffs two folders containing files.\nReturns True if all files match. Returns False if the folders' contents\ndon't match, or as soon as one non-matching file is found.", 'signature': 'def _diff_dirs(self):'}</s>{'name': '_split_linenumber_sequen... | 0 |
{'name': 'IUCoordinator.load@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Load config data for the system', 'signature': 'def load(self, config: OrderedDict) -> "IUCoordinator":'}</s>SERVICE_CANCEL = "cancel" | 0 |
{'name': 'PackageFinder._link_package_versions@scripts/pdns/lib/python2.7/site-packages/pip/index.py', 'description': 'Return an InstallationCandidate or None', 'signature': 'def _link_package_versions(self, link, search):'}</s>asciiLowercase = frozenset(string.ascii_lowercase) | 0 |
{'name': '_smooth_covariance@FDApy/representation/functional_data.py', 'description': "Smooth the covariance.\n\nParameters\n----------\ncovariance_matrix\n The samnpled covariance.\nargvals\n The sampling points at which the raw covariance is estimated.\npoints\n The sampling points at which the smoothed cova... | 0 |
{'name': 'Record.body_string@shingetsu/cache.py', 'description': 'Remove attach field.', 'signature': 'def body_string(self):'}</s>dnsname_should_match = _get_value(_extconf, 'Network', 'dnsname_should_match', True, 'boolean') | 0 |
{'name': 'Fzip@amptk/amptklib.py', 'description': 'function to zip as fast as it can, pigz -> bgzip -> gzip', 'signature': 'def Fzip(input, output, cpus):'}</s>{'name': 'git_version@amptk/amptklib.py', 'description': 'DOCSTRING', 'code': "def git_version():\n def _minimal_ext_cmd(cmd):\n # construct minimal e... | 0 |
{'name': 'CollapsingMergeTree.get_insert_batch@src/django_clickhouse/engines.py', 'description': 'Gets a list of model_cls instances to insert into database\n:param model_cls: ClickHouseModel subclass to import\n:param objects: A list of django Model instances to sync\n:return: A list of model_cls objects', 'signature'... | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.