text string | label int64 |
|---|---|
{'name': 'Input.get_fields@verif/input.py', 'description': 'Get the available fields in this input\n\nReturns:\n list(verif.field): The available fields', 'signature': 'def get_fields(self):'}</s>{'name': 'get_intervals@verif/util.py', 'description': 'Returns a list of interval objects. If bin_type is *within*, then\... | 0 |
{'name': 'toggle_fullscreen@soundrts/clientmedia.py', 'description': 'toggle full screen mode, and say it', 'signature': 'def toggle_fullscreen():'}</s>INVITE = [4058] | 0 |
{'name': 'isa_c@riscvmodel/isa.py', 'description': 'Decorator for the instructions. The decorator contains the static information for the\ninstructions, in particular the encoding parameters and the assembler mnemonic.\n\n:param mnemonic: Assembler mnemonic\n:return: Wrapper class that overwrites the actual definition ... | 0 |
{'name': 'NacosClient.subscribe@nacos/client.py', 'description': 'reference at `/nacos/v1/ns/instance/list` in https://nacos.io/zh-cn/docs/open-api.html\n:param listener_fn 监听方法,可以是元组,列表,单个监听方法\n:param listener_interval 监听间隔,在 HTTP 请求 OpenAPI 时间间隔\n:return:', 'signature': 'def subscribe(self,'}</s>{'name'... | 0 |
{'name': '_AddMessageMethods@third_party/dawn/third_party/protobuf/python/google/protobuf/internal/python_message.py', 'description': 'Adds implementations of all Message methods to cls.', 'signature': 'def _AddMessageMethods(message_descriptor, cls):'}</s>_AnyFullTypeName = "google.protobuf.Any" | 0 |
{'name': 'engine.classical@src/bids/external/inflect.py', 'description': 'turn classical mode on and off for various categories\n\nturn on all classical modes:\nclassical()\nclassical(all=True)\n\nturn on or off specific claassical modes:\ne.g.\nclassical(herd=True)\nclassical(names=False)\n\nBy default all classical m... | 0 |
{'name': 'Contract.make_asts@panoramix/contract.py', 'description': 'we need to do ast creation from the contract, not function level,\nbecause some simplifications (type/field removal) require insight to all the functions,\nnot just a single one', 'signature': 'def make_asts(self):'}</s>{'name': 'to_exp2@panoramix/uti... | 0 |
{'name': 'NewDatabase.write_superstructure_db_to_brightway@premise/new_database.py', 'description': 'Register a super-structure database,\naccording to https://github.com/dgdekoning/brightway-superstructure\n:param name: name of the super-structure database\n:param filepath: filepath of the "scenarios difference file"\... | 0 |
{'name': 'make_utxo@qa/rpc-tests/replace-by-fee.py', 'description': 'Create a txout with a given amount and scriptPubKey\n\nMines coins as needed.\n\nconfirmed - txouts created will be confirmed in the blockchain;\n unconfirmed otherwise.', 'signature': 'def make_utxo(node, amount, confirmed=True, scriptPubK... | 0 |
{'name': 'PFState._to_string@pf/state.py', 'description': 'Return a string representing the state.', 'signature': 'def _to_string(self):'}</s>LOG_ERR = 3 | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQADOPT_CHECK_NONE = 0 | 0 |
{'name': 'from_jd@src/convertdate/positivist.py', 'description': 'Convert a Julian day count to Positivist date.', 'signature': 'def from_jd(jd):'}</s>{'name': 'format@src/convertdate/gregorian.py', 'description': 'DOCSTRING', 'code': 'def format(year, month, day, format_string="%-d %B %y"):\n # pylint: disable=rede... | 0 |
{'name': 'takePantiltSequence@source/pi-timolo.py', 'description': 'Take a sequence of images based on a list of pantilt positions and save with\na sequence number appended to the filename', 'signature': 'def takePantiltSequence(filename, daymode, pix_ave, num_count, num_path):'}</s>{'name': 'videoRepeat@source/pi-timo... | 0 |
{'name': 'on_download_logs@src/server/server.py', 'description': 'Download logs (as .zip file).', 'signature': 'def on_download_logs(data):'}</s>APP = Flask(__name__, static_url_path='/static') | 0 |
{'name': 'GitlabTree.__init__@gitlabber/gitlab_tree.py', 'description': 'Initialize GitlabTree.\n\nArgs:\n url: GitLab instance URL\n token: Personal access token\n method: Clone method (SSH or HTTP)\n naming: Folder naming strategy\n archived: Whether to include archived projects\n includes: List of ... | 1 |
{'name': 'export_tflite_graph@object_detection/export_tflite_ssd_graph_lib.py', 'description': 'Exports a tflite compatible graph and anchors for ssd detection model.\n\nAnchors are written to a tensor and tflite compatible graph\nis written to output_dir/tflite_graph.pb.\n\nArgs:\n pipeline_config: a pipeline.proto o... | 0 |
{'name': 'ancestors@rest_models/backend/compiler.py', 'description': 'generator the return the list of ancestors of an alias\n:param alias:\n:return:', 'signature': 'def ancestors(alias):'}</s>{'name': 'extract_exact_pk_value@rest_models/backend/compiler.py', 'description': 'check if the where node given represent a ex... | 0 |
{'name': 'HTTPConnectionPool.is_same_host@src/ahip/connectionpool.py', 'description': 'Check if the given ``url`` is a member of the same host as this\nconnection pool.', 'signature': 'def is_same_host(self, url):'}</s>{'name': '_add_transport_headers@src/ahip/connectionpool.py', 'description': 'Adds the transport fram... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQSMPO_CURRENT_LENGTH = 20 | 0 |
{'name': 'OrderFileTestCase.test@llvm-project/lldb/test/API/macosx/order/TestOrderFile.py', 'description': 'Test debug symbols follow the correct order by the order file.', 'signature': 'def test(self):'}</s>{'name': 'get_line_numbers@llvm-project/lldb/packages/Python/lldbsuite/test/lldbutil.py', 'description': 'Return... | 0 |
{'name': 'QuantifierRef.sort@src/api/python/z3/z3.py', 'description': 'Return the Boolean sort or sort of Lambda.', 'signature': 'def sort(self):'}</s>{'name': 'get_version@src/api/python/z3/z3.py', 'description': 'DOCSTRING', 'code': 'def get_version():\n major = ctypes.c_uint(0)\n minor = ctypes.c_uint(0)\n ... | 0 |
{'name': 'Device._buildReadRegisterPacket@src/LabJackPython.py', 'description': 'self._buildReadRegisterPacket(addr, numReg)\n\nBuilds a raw modbus "Read Register" packet to be written to a device\n\nReturns a tuple:\n(<Packet as a list>, <number of bytes to read>)', 'signature': 'def _buildReadRegisterPacket(self, add... | 0 |
{'name': 'post_comment@shingetsu/mch/post.py', 'description': 'Post article.', 'signature': 'def post_comment(env, thread_key, name, mail, body, passwd, tag=None):'}</s>pid = run_dir + "/pid.txt" | 0 |
{'name': 'test_fit_verbose_raises_error@sysidentpy/neural_network/tests/test_narxnn.py', 'description': 'Fit raises ValueError if verbose=True but no validation data is provided.', 'signature': 'def test_fit_verbose_raises_error():'}</s>train_percentage = 90 | 0 |
{'name': 'ProcessFileData@third_party/cpplint/cpplint.py', 'description': 'Performs lint checks and reports any errors to the given error function.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n lines: An array of strings, each rep... | 0 |
{'name': 'Router._send_remote@da/sim.py', 'description': 'Forward `mesg` to remote process `dest`.\n\n ', 'signature': 'def _send_remote(self, src, dest, mesg, flags=0, transport=None, **params):'}</s>GlobalOptions = None | 0 |
{'name': 'YoutubeBaseInfoExtractor._login@script.module.youtube.dl/lib/youtube_dl/extractor/youtube.py', 'description': 'Attempt to log in to YouTube.\nTrue is returned if successful or skipped.\nFalse is returned if login failed.\n\nIf _LOGIN_REQUIRED is set and no authentication was provided, an error is raised.', 's... | 0 |
{'name': 'parseMappingFile@amptk/amptklib.py', 'description': 'function to parse mapping file pull out primers and barcode sequences', 'signature': 'def parseMappingFile(input, output):'}</s>{'name': 'checkRversion@amptk/amptklib.py', 'description': 'DOCSTRING', 'code': "def checkRversion():\n #need to have R versio... | 0 |
{'name': 'CirqSimulateStateTest.test_state_empty_circuit@tensorflow_quantum/core/ops/cirq_ops_test.py', 'description': 'Test empty circuits', 'signature': 'def test_state_empty_circuit(self):'}</s>{'name': 'from_tensor@tensorflow_quantum/python/util.py', 'description': 'Convert a tensor of tfq primitives back to Python... | 0 |
{'name': 'showBox@source/pi-timolo.py', 'description': 'Show stream image detection area on image to align camera\nThis is a quick fix for restricting motion detection\nto a portion of the final image. Change the stream image size\non line 206 and 207 above\nAdjust track config.py file MOTION_TRACK_TRIG_LEN as required... | 0 |
{'name': 'XMTransformerModel.build_model@fairseq/models/speech_to_text/xm_transformer.py', 'description': 'Build a new model instance.', 'signature': 'def build_model(cls, args, task):'}</s>{'name': 'fill_with_neg_inf@fairseq/utils.py', 'description': 'FP16-compatible function that fills a tensor with -inf.', 'code': '... | 0 |
{'name': '__listAllUE9Unix@src/LabJackPython.py', 'description': 'Private listAll function for use on unix and mac machines to find UE9s.\n ', 'signature': 'def __listAllUE9Unix(connectionType):'}</s>{'name': 'openLabJack@src/LabJackPython.py', 'description': 'openLabJack(deviceType, connectionType, firstFound = Tru... | 1 |
{'name': 'X509.save@src/M2Crypto/X509.py', 'description': 'Saves X.509 certificate to a file. Default output\nformat is PEM.\n\n:param filename: Name of the file the cert will be saved to.\n\n:param format: Controls what output format is used to save the cert.\n Either FORMAT_PEM or FORMAT_DER to save in ... | 0 |
{'name': 'takePano@source/pi-timolo.py', 'description': 'Take a series of overlapping images using pantilt at specified PANO_CAM_STOPS\nthen attempt to stitch the images into one panoramic image. Note this\nwill take time so depending on number of cpu cores and speed. The PANO_TIMER\nshould be set to avoid multiple sti... | 1 |
{'name': 'InfobloxObject.fetch@infoblox_client/objects.py', 'description': 'Fetch object from NIOS by _ref or searchfields\n\nUpdate existent object with fields returned from NIOS\n\nReturns:\n True if object successfully fetched. False otherwise.\nRaises:\n InfobloxFetchGotMultipleObjects:\n If fetch got ... | 0 |
{'name': 'Device._buildReadRegisterPacket@src/LabJackPython.py', 'description': 'self._buildReadRegisterPacket(addr, numReg)\n\nBuilds a raw modbus "Read Register" packet to be written to a device\n\nReturns a tuple:\n(<Packet as a list>, <number of bytes to read>)', 'signature': 'def _buildReadRegisterPacket(self, add... | 0 |
{'name': 'execute_and_aggregate_exclusive_ops@self_organising_systems/biomakerca/env_logic.py', 'description': 'Execute all exclusive functions and aggregate them all into a single\nExclusiveOp for each cell.\n\nThis function constructs sanitized interfaces for the input excl_fs and \nagent_excl_f, making sure that no ... | 0 |
{'name': 'ParseCodeLine@vimdoc/parser.py', 'description': 'Parses one line of code and creates the appropriate CodeLine.', 'signature': 'def ParseCodeLine(line):'}</s>vim_error = re.compile(r'^E\d+$') | 0 |
{'name': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQRCCF_UNKNOWN_REMOTE_CHANNEL = 4033 | 0 |
{'name': 'create_build_configuration@internal/engine/third_party/scann-1.2.1/configure.py', 'description': 'Main function to create build configuration.', 'signature': 'def create_build_configuration():'}</s>_BAZEL_QUERY = ".bazel-query.sh" | 1 |
{'name': 'right_shift_blockwise@tensor2tensor_envi/layers/common_attention.py', 'description': 'Right shifts once in every block.\n\nArgs:\n x: a tensor of shape [batch, height, width, depth]\n query_shape: A 2d tuple of ints\n name: a string\n\nReturns:\n output: a tensor of the same shape as x', 'signature': 'def... | 0 |
{'name': 'PosixSerial.getRI@stino/pyarduino/base/pyserial/serialposix.py', 'description': 'Read terminal status line: Ring Indicator', 'signature': 'def getRI(self):'}</s>TIOCM_DTR_str = struct.pack('I', TIOCM_DTR) | 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': 'CreateDatatypes@src/api/python/z3/z3.py', 'description': "Create mutually recursive Z3 datatypes using 1 or more Datatype helper objects.\n\nIn the following example we define a Tree-List using two mutually recursive datatypes.\n\n>>> TreeList = Datatype('TreeList')\n>>> Tree = Datatype('Tree')\n>>> # Tre... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQREGO_VARIABLE_USER_ID = 1048576 | 0 |
{'name': 'PFOp._to_string@pf/rule.py', 'description': 'Return the string representation of the operation.', 'signature': 'def _to_string(self):'}</s>ICMP6_WRUREPLY = 140 | 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': 'ConvertToZarr.__init__@openavalancheproject/convert_to_zarr.py', 'description': 'Initialize the class\n\nKeyword Arguments\nseasons: list of season values to process\nregions: dictonary of Key: State and Value: List of Regions to process for that state\ndata_root: the root path of the data folders which conta... | 0 |
{'name': 'DistanceToCamera.calculate@server/auto_driver.py', 'description': 'Calculates the distance to an object through a geometry model using monocular vision', 'signature': 'def calculate(self, v, h, x_shift, image):'}</s>{'name': 'VideoStreamHandler@server/auto_driver.py', 'description': 'DOCSTRING', 'base_classes... | 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': 'func_get_searcher@python/ffi_navigator/pattern.py', 'description': 'Search pattern <func_name>("<skey>")\n\nParameters\n----------\nfunc_names : list\n List of macro names to match.\n\nfcreate : Function (skey, path, range, func_name) -> result.', 'signature': 'def func_get_searcher(func_names, fcreate=Non... | 0 |
{'name': 'TogglSet.get@toggl/api/base.py', 'description': 'Method for fetching detail object of the entity. it fetches the object based on specified conditions.\n\nIf ID is used then detail URL is used to fetch object.\nIf other conditions are used to specify the object, then TogglSet will fetch all objects using listi... | 0 |
{'name': 'Torrent.load_torrent_json_data@src/ptpapi/torrent.py', 'description': 'Load torrent data from a JSON call', 'signature': 'def load_torrent_json_data(self):'}</s>session = TokenSession(3, 0.5) | 1 |
{'name': 'SendClient.send_message@uamqp/client.py', 'description': 'Send a single message or batched message.\n\n:param messages: A message to send. This can either be a single instance\n of `Message`, or multiple messages wrapped in an instance of `BatchMessage`.\n:type message: ~uamqp.message.Message\n:param close_on... | 0 |
{'name': 'StandaloneQ2Q.setup_Q2Q@vertex/q2qstandalone.py', 'description': 'Set up a Q2Q service.\n ', 'signature': 'def setup_Q2Q(self, path,'}</s>connectionCounter = itertools.count().next | 0 |
{'name': 'liberty_join@scripts/python-skywater-pdk/skywater_pdk/liberty.py', 'description': ">>> l = [5, 1.0, 10]\n>>> liberty_join(l)(l)\n'5.0000000000, 1.0000000000, 10.000000000'\n\n>>> l = [1, 5, 8]\n>>> liberty_join(l)(l)\n'1, 5, 8'", 'signature': 'def liberty_join(l):'}</s>{'name': 'cell_corner_file@scripts/pytho... | 0 |
{'name': 'test_merged_dup_stream_blocks@maf/impl/naiveLiftUp.py', 'description': 'Check merged_dup_stream behavior on Blocks.', 'signature': 'def test_merged_dup_stream_blocks():'}</s>{'name': 'merge_blocks_job@maf/impl/naiveLiftUp.py', 'description': "Combine the lifted blocks and add in the current genome's sequence.... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQADOPT_TYPE_CLUSRCVR = 16 | 0 |
{'name': 'set_jwst_to_hst_keywords@grizli/jwst_utils.py', 'description': 'Make primary header look like an HST instrument\n\nParameters\n----------\ninput : str, `~astropy.io.fits.HDUList`\n Filename or FITS HDUList object to modify.\n\nreset : bool\n Reset original JWST keywords to their original values.\n\nverb... | 0 |
{'name': 'test_testosterone@permute/data/tests/test_data.py', 'description': 'Test that "testosterone" data can be loaded. ', 'signature': 'def test_testosterone():'}</s>{'name': 'chrom17m@permute/data/__init__.py', 'description': 'The\n\n ', 'code': 'def chrom17m():\n r"""The\n\n """\n return load(_os.path... | 0 |
{'name': 'generate@code/html/generate_static_website.py', 'description': 'Regenerates the whole static website given an already imported set of entries, inspirations and developers.\nThese datasets must be valid for each other, i.e. each inspiration listed in entries must also have an\nentry in inspirations and the sam... | 1 |
{'name': 'average_temporal_pooling_2d@src/joint_learning/custom_opt.py', 'description': 'Spatial average pooling function.\n\nThis function acts similarly to :class:`~functions.Convolution2D`, but\nit computes the average of input spatial patch for each channel\nwithout any parameter instead of computing the inner prod... | 1 |
{'name': 'ServiceMethodCompiler.py_output_message_type@src/betterproto/plugin/models.py', 'description': 'String representation of the Python type corresponding to the\noutput message.\n\nReturns\n-------\nstr\n String representation of the Python type corresponding to the output message.', 'signature': 'def py_outp... | 0 |
{'name': 'get_delete_mails_by_query@_google_/gmail/__init__.py', 'description': 'Get and Delete a list of messages from GMail by Query.\n\nArgs:\n db: Local db connection object.\n messages_obj: Authenticated GMail user object.\n user_id: User\'s email address. The special value "me"\n can be used to indica... | 1 |
{'name': 'draw_isobars@pymeteo/skewt.py', 'description': 'Plot isobars on axes\n\n:parameter axes: The axes to draw on\n:type axes: :py:class:`matplotlib.axes`\n\nThis function draws isobars at intervals of 2*dp.', 'signature': 'def draw_isobars(axes):'}</s>{'name': 'plot_sounding_data_csv@pymeteo/skewt.py', 'descripti... | 0 |
{'name': '_build_agg@loudml/influx.py', 'description': 'Build requested aggregation', 'signature': 'def _build_agg(feature):'}</s>{'name': 'make_ts_ns@loudml/influx.py', 'description': 'Build a nanosecond timestamp from a mixed input\n(second timestamp or string)', 'code': 'def make_ts_ns(mixed):\n """\n Build a ... | 0 |
{'name': 'networkd_netdevs@kayobe/plugins/filter/networkd.py', 'description': 'Return a dict representation of networkd NetDev configuration.\n\nThe format is compatible with the systemd_networkd_netdev variable in the\nstackhpc.linux.systemd_networkd role.\n\n:param context: a Jinja2 Context object.\n:param names: Lis... | 0 |
{'name': 'parse@docstring_parser/parser.py', 'description': 'Parse the docstring into its components.\n\n:param text: docstring text to parse\n:param style: docstring style\n:returns: parsed docstring representation', 'signature': 'def parse(text: str, style: DocstringStyle = DocstringStyle.AUTO) -> Docstring:'}</s>{'n... | 1 |
{'name': 'generate_gbnf_grammar_and_documentation@examples/pydantic_models_to_grammar.py', 'description': 'Generate GBNF grammar and documentation for a list of Pydantic models.\n\nArgs:\n pydantic_model_list: List of Pydantic model classes.\n outer_object_name (str): Outer object name for the GBNF grammar. If No... | 1 |
{'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': 'GenerateOutput@gyp/pylib/gyp/generator/msvs.py', 'description': "Generate .sln and .vcproj files.\n\nThis is the entry point for this generator.\nArguments:\n target_list: List of target pairs: 'base/base.gyp:base'.\n target_dicts: Dict of target properties keyed on target pair.\n data: Dictionary containi... | 0 |
{'name': 'on_set_race_format@src/server/server.py', 'description': 'set current race_format ', 'signature': 'def on_set_race_format(data):'}</s>Server_ipaddress_str = None | 0 |
{'name': 'search_ast@core/text.py', 'description': 'Returns the number of descendants of `node` that match `template`\n(either a type or tuple that is passed to `isinstance`,\nor a partial AST that is passed to `is_ast_like`)\nand satisfy the optional predicate.', 'signature': 'def search_ast(node, template, predicate=... | 0 |
{'name': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQIACF_USAGE_INUSE_BUFFERS = 1339 | 0 |
{'name': 'HostRecordV6.ipv6addrs@infoblox_client/objects.py', 'description': ':meta private:', 'signature': 'def ipv6addrs(self):'}</s>{'name': 'SshKey@infoblox_client/objects.py', 'description': 'DOCSTRING', 'base_classes': ['SubObjects'], 'methods': []} | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCACF_FIRST = 3001 | 0 |
{'name': 'TGRG@riskfolio/src/RiskFunctions.py', 'description': 'Calculate the Tail Gini range of a returns series.\n\nParameters\n----------\nX : 1d-array\n Returns series, must have Tx1 size.\nalpha : float, optional\n Significance level of Tail Gini of losses. The default is 0.05.\na_sim : float, optional\n ... | 0 |
{'name': 'indigenous_peoples_day@src/convertdate/holidays.py', 'description': 'Celebrated on the second Monday in October in the United States.', 'signature': "def indigenous_peoples_day(year, country='usa'):"}</s>{'name': 'legal_date@src/convertdate/gregorian.py', 'description': 'Check if this is a legal date in the G... | 0 |
{'name': '_visible_width@misc/tabulate.py', 'description': 'Visible width of a printed string. ANSI color codes are removed.\n\n>>> _visible_width(\'\x1b[31mhello\x1b[0m\'), _visible_width("world")\n(5, 5)', 'signature': 'def _visible_width(s):'}</s>{'name': '_isconvertible@misc/tabulate.py', 'description': 'DOCSTRING'... | 0 |
{'name': 'make_SEP_catalog@grizli/prep.py', 'description': "Make a catalog from drizzle products using the SEP implementation of SourceExtractor\n\nParameters\n----------\nroot : str\n Rootname of the FITS images to use for source extraction. This\n function is designed to work with the single-image products fro... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIAMO_MONITOR_GB = 100000000 | 0 |
{'name': 'import_cmaps@src/cmasher/utils.py', 'description': "Reads in custom colormaps from a provided file or directory `cmap_path`;\ntransforms them into :obj:`~matplotlib.colors.ListedColormap` objects; and\nmakes them available in the :mod:`cmasher.cm` module, in addition to\nregistering them in the :mod:`matplotl... | 0 |
{'name': 'apply_flt_dq@grizli/utils.py', 'description': 'Read and apply the compact exposure information file\n\nParameters\n----------\nfilename : str\n FLT/FLC filename.\n\nreplace : (str, str)\n Replace arguments for output DQ filename:\n\n >>> output_filename = filename.replace(replace[0], replace[1])\n\no... | 0 |
{'name': 'List.cast_item@nbtlib/tag.py', 'description': 'Cast list item to the appropriate tag type.\n\n.. doctest::\n\n >>> List[Int].cast_item(123)\n Int(123)\n\nArguments:\n item:\n Can be any object convertible to the current tag type. If the\n conversion fails, the method raises a :class:`Ca... | 0 |
{'name': 'azero@pf/rule.py', 'description': "Return True if all numbers in 'seq' are 0s.", 'signature': 'def azero(seq):'}</s>{'name': 'pf_queue_fqspec@pf/_struct.py', 'description': 'DOCSTRING', 'base_classes': ['Structure'], 'methods': []} | 0 |
{'name': 'Win32Serial._reconfigurePort@stino/pyarduino/base/pyserial/serialwin32.py', 'description': 'Set communication parameters on opened port.', 'signature': 'def _reconfigurePort(self):'}</s>{'name': 'FileLike@stino/pyarduino/base/pyserial/serialutil.py', 'description': 'An abstract file like class.\n\nThis class ... | 0 |
{'name': 'TokenizerTrainer._lexicon_covering@montreal_forced_aligner/tokenization/trainer.py', 'description': 'Builds covering grammar and lexicon FARs.', 'signature': 'def _lexicon_covering(self, input_path=None, output_path=None) -> None:'}</s>{'name': 'TokenizerValidator@montreal_forced_aligner/tokenization/tokenize... | 0 |
{'name': 'read_brat_folder_into_core_format@ronec_v1/scripts/convertors/scripts.py', 'description': 'Given a folder will read the .ann file an return a list of Sentence objects.\nIt will search in all sub-folders for .ann files', 'signature': 'def read_brat_folder_into_core_format (folder):'}</s>{'name': 'read_file@ron... | 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': 'Simplifier.using_params@src/api/python/z3/z3.py', 'description': 'Return a simplifier that uses the given configuration options', 'signature': 'def using_params(self, *args, **keys):'}</s>{'name': 'Not@src/api/python/z3/z3.py', 'description': "Create a Z3 not expression or probe.\n\n>>> p = Bool('p')\n>>> Not... | 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>{'name': 'get_rpc_proxy@test/functional/test_framework/util.py', 'description': 'A... | 0 |
{'name': 'SpiderList.set@scrapyd/webservice.py', 'description': 'Calculate, cache and return the ``scrapy list`` output for the project and version, bypassing the cache.', 'signature': 'def set(self, project, version, *, runner):'}</s>{'name': 'ListJobs@scrapyd/webservice.py', 'description': '.. versionchanged:: 1.1.0\... | 0 |
{'name': 'main@spatialmedia/__main__.py', 'description': 'Main function for printing and injecting spatial media metadata.', 'signature': 'def main():'}</s>{'name': 'get_spatial_audio_metadata@spatialmedia/metadata_utils.py', 'description': 'DOCSTRING', 'code': 'def get_spatial_audio_metadata(ambisonic_order, head_lock... | 1 |
{'name': 'gate2zx@discopy/quantum/zx.py', 'description': 'Turns gates into ZX diagrams. ', 'signature': 'def gate2zx(box):'}</s>circuit2zx = quantum.circuit.Functor(
ob={qubit: PRO(1)}, ar=gate2zx, cod=Category(PRO, Diagram)) | 1 |
{'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': 'Probe@src/api/python/z3/z3.py', 'desc... | 0 |
{'name': 'MultiLingualMaskedLMTask.load_dataset@fairseq/tasks/multilingual_masked_lm.py', 'description': 'Load a given dataset split.\n\nArgs:\n split (str): name of the split (e.g., train, valid, test)', 'signature': 'def load_dataset(self, split, epoch=1, combine=False, **kwargs):'}</s>{'name': 'NumelDataset@fairs... | 1 |
{'name': 'up_to_climate@oggm/tests/test_workflow.py', 'description': 'Run the tasks you want.', 'signature': 'def up_to_climate(reset=False, use_mp=None):'}</s>{'name': 'process_dummy_cru_file@oggm/shop/cru.py', 'description': 'Create a simple baseline climate file for this glacier - for testing!\n\nThis simply reprodu... | 0 |
{'name': 'PFState._from_struct@pf/state.py', 'description': 'Initialize class attributes from a pfsync_state structure.', 'signature': 'def _from_struct(self, s):'}</s>PF_SK_STACK = 1 | 1 |
{'name': 'convert_entries@code/html/generate_static_website.py', 'description': ':param entries:\n:param inspirations:\n:param developers:\n:return:', 'signature': 'def convert_entries(entries, inspirations, developers):'}</s>{'name': 'shortcut_url@code/html/generate_static_website.py', 'description': ':param url:\n:pa... | 1 |
{'name': 'run@TDScanner/sqlmap/thirdparty/bottle/bottle.py', 'description': 'Start a server instance. This method blocks until the server terminates.\n\n:param app: WSGI application or target string supported by\n :func:`load_app`. (default: :func:`default_app`)\n:param server: Server adapter to use. See :data:`s... | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.