text
string
label
int64
{'name': 'init@tilemapbase/tiles.py', 'description': 'Initialise the cache. To avoid spamming the tile server, we cache the\nresulting tiles. We are a little paranoid, so by default, the package will\nnot work if no cache file exists. Fix this by running\n\n init(create=True)\n\nto build the cache. Optionally se...
1
{'name': 'CacheList.remove_removed@shingetsu/cache.py', 'description': 'Remove removed record from disk.', 'signature': 'def remove_removed(self):'}</s>enable2ch = _get_value(_extconf, 'Gateway', 'enable_2ch', False, 'boolean')
0
{'name': 'PBES2.decrypt@blockchain-env/lib/python3.7/site-packages/Cryptodome/IO/_PBES.py', 'description': 'Decrypt a piece of data using a passphrase and *PBES2*.\n\nThe algorithm to use is automatically detected.\n\n:Parameters:\n data : byte string\n The piece of data to decrypt.\n passphrase : byte string\n ...
1
{'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': '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': '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': 'fit_model@Last Christmas/main.py', 'description': 'Training function for network ', 'signature': 'def fit_model(type, X_train, y_train, X_test, y_test, batch_size, epochs):'}</s>{'name': 'prepare_data@Last Christmas/main.py', 'description': 'Data preprocessing for multistep forecast ', 'code': 'def prepare_da...
0
{'name': 'watch_dev@jupyterlab/commands.py', 'description': 'Run watch mode in a given directory.\n\nParameters\n----------\nlogger: :class:`~logger.Logger`, optional\n The logger instance.\n\nReturns\n-------\nA list of `WatchHelper` objects.', 'signature': 'def watch_dev(logger=None):'}</s>{'name': 'clean@jupyterl...
0
{'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': 'Diagram.normal_form@discopy/grammar/pregroup.py', 'description': 'Applies normal form to a pregroup diagram of the form\n``word @ ... @ word >> wires`` by normalising words and wires\nseperately before combining them, so it can be drawn with :meth:`draw`.', 'signature': 'def normal_form(diagram, **params):'}<...
0
{'name': 'wald@diffxpy/testing/tests.py', 'description': 'Perform Wald test for differential expression for each gene.\n\n:param data: Input data matrix (observations x features) or (cells x genes).\n:param factor_loc_totest: str, list of strings\n List of factors of formula to test with Wald test.\n E.g. "condit...
0
{'name': '_assign_with_converter@vendor/attr/_make.py', 'description': 'Unless *attr_name* has an on_setattr hook, use normal assignment after\nconversion. Otherwise relegate to _setattr_with_converter.', 'signature': 'def _assign_with_converter(attr_name, value_var, has_on_setattr):'}</s>{'name': '_make_init@vendor/at...
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': '_to_typedef@swagger_to/elm_client.py', 'description': 'Translate the intermediate type definition to a definition of an Elm type.\n\n:param intermediate_typedef: intermediate type definition\n:return: definition of an Elm type', 'signature': 'def _to_typedef(intermediate_typedef: swagger_to.intermediate.Typed...
0
{'name': 'TrimmedMatchDesignTest.testTooFewGeos@trimmed_match/design/tests/trimmed_match_design_test.py', 'description': 'Checks no design is returned if we have less than 10 pairs.', 'signature': 'def testTooFewGeos(self):'}</s>{'name': 'generate_balanced_random_assignment@trimmed_match/design/geo_assignment.py', 'des...
0
{'name': '_NestingState.Update@tools/caffe-sphereface/scripts/cpp_lint.py', 'description': 'Update nesting state with current 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 cal...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQPD_STRUC_ID = b'PD '
0
{'name': 'BaseTestDDSketches.test_merge_mixed@tests/test_ddsketch.py', 'description': 'Test merging DDSketches of different distributions', 'signature': 'def test_merge_mixed(self):'}</s>{'name': 'Exponential@tests/datasets.py', 'description': 'DOCSTRING', 'base_classes': ['Dataset'], 'methods': [{'name': 'Exponential....
1
{'name': 'carfac_init@python/np/carfac.py', 'description': 'Initialize state for one or more ears of a CARFAC model.\n\nThis allocates and zeros all the state vector storage in the cfp struct.\nArgs:\n cfp: the state structure for the filterbank\n\nReturns:\n A new version of the state structure with all initializati...
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': 'initProvider@BlendNet/providers/azure/__init__.py', 'description': 'Finds absolute path to the az tool', 'signature': 'def initProvider(settings = dict()):'}</s>{'name': 'getAgentsNamePrefix@BlendNet/providers/azure/__init__.py', 'description': 'DOCSTRING', 'code': "def getAgentsNamePrefix(session_id):\n r...
0
{'name': 'test_put_get_delete_replication@ut/test.py', 'description': '设置、获取、删除跨园区复制配置', 'signature': 'def test_put_get_delete_replication():'}</s>{'name': 'test_ci_get_doc_bucket@ut/test.py', 'description': 'DOCSTRING', 'code': 'def test_ci_get_doc_bucket():\n # 查询文档预览开通状态\n kwargs = {"ContentType": "application...
0
{'name': 'CheckPrintf@tools/cpplint.py', 'description': 'Check for printf related issues.\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 errors found.', 'signature': 'd...
0
{'name': 'ChainstateWriteCrashTest.restart_node@test/functional/feature_dbcrash.py', 'description': 'Start up a given node id, wait for the tip to reach the given block hash, and calculate the utxo hash.\n\nExceptions on startup should indicate node crash (due to -dbcrashratio), in which case we try again. Give up\naft...
0
{'name': 'Plant.get_observation@src/astrobotany/models.py', 'description': "A long-form description of the plant.\n\nThis includes a random observations and other specific details about\nthe plant's current stage.", 'signature': 'def get_observation(self, ansi_enabled: bool = False) -> str:'}</s>badge_143 = Badge("perf...
0
{'name': 'git_push_if_needed@src/oca_github_bot/github.py', 'description': 'Push current HEAD to remote branch.\n\nReturn True if push succeeded, False if there was nothing to push.\nRaises a celery Retry exception in case of non-fast-forward push.', 'signature': 'def git_push_if_needed(remote, branch, cwd=None):'}</s>...
0
{'name': 'ProcessFile@tools/cpplint.py', 'description': 'Does google-lint on a single file.\n\nArgs:\n filename: The name of the file to parse.\n\n vlevel: The level of errors to report. Every error of confidence\n >= verbose_level will be reported. 0 is a good default.\n\n extra_check_functions: An array of addi...
0
{'name': 'Distinct@src/api/python/z3/z3.py', 'description': "Create a Z3 distinct expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> Distinct(x, y)\nx != y\n>>> z = Int('z')\n>>> Distinct(x, y, z)\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z))\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z), blast_distinct=...
0
{'name': 'cleanup_unreachable@skosify/skosify.py', 'description': 'Remove triples which cannot be reached from the concepts by graph\ntraversal.', 'signature': 'def cleanup_unreachable(rdf):'}</s>{'name': 'hierarchy_cycles@skosify/check.py', 'description': 'Check if the graph contains skos:broader cycles and optionally...
0
{'name': 'clone_axom@scripts/llnl_scripts/find_unused_tpl_dirs.py', 'description': 'Creates a fresh clone of axom', 'signature': 'def clone_axom():'}</s>{'name': 'assertUberenvExists@scripts/llnl_scripts/llnl_lc_build_tools.py', 'description': 'DOCSTRING', 'code': 'def assertUberenvExists():\n if not os.path.exists(...
0
{'name': 'PFPool._to_string@pf/rule.py', 'description': 'Return the string representation of the address pool.', 'signature': 'def _to_string(self):'}</s>PFRULE_DROP = 0
0
{'name': 'imfilter2D_FrequencyDomain@training_codes/utils/utils_model.py', 'description': 'If the input and the kernel are both multichannel tensors then each\nchannel of the input is filtered by the corresponding channel of the \nkernel.Otherwise, if kernel has a single channel each channel of the input\nis filtered b...
0
{'name': 'require_session@garminexport/garminclient.py', 'description': 'Decorator that is used to annotate :class:`GarminClient`\nmethods that need an authenticated session before being called.', 'signature': 'def require_session(client_function):'}</s>{'name': 'GarminClient@garminexport/garminclient.py', 'description...
0
{'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': 'plot_legend@pymeteo/skewt.py', 'description': 'Plot skew-t legend', 'signature': 'def plot_legend(axes):'}</s>{'name': 'integral_Bdz@pymeteo/dynamics.py', 'description': 'DOCSTRING', 'code': 'def integral_Bdz(th, thp, z):\n\n n = len(z)\n\n th_avg = np.empty((n), np.float32)\n thp_avg = np.empty((n), np.fl...
0
{'name': 'fpToFP@src/api/python/z3/z3.py', 'description': 'Create a Z3 floating-point conversion expression from other term sorts\nto floating-point.\n\nFrom a bit-vector term in IEEE 754-2008 format:\n>>> x = FPVal(1.0, Float32())\n>>> x_bv = fpToIEEEBV(x)\n>>> simplify(fpToFP(x_bv, Float32()))\n1\n\nFrom a floating-p...
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': 'FindDevices.is_filtered_device@qmk_cli/subcommands/console.py', 'description': 'Returns True if the device should be included in the list of available consoles.\n ', 'signature': 'def is_filtered_device(self, hid_device):'}</s>{'name': 'int2hex@qmk_cli/subcommands/console.py', 'description': 'Returns a...
1
{'name': 'IULogger.log_service_call@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Message that we have received a service call', 'signature': 'def log_service_call('}</s>RES_TIMELINE_NEXT = "next"
0
{'name': 'get_local_part@src/future/backports/email/_header_value_parser.py', 'description': 'local-part = dot-atom / quoted-string / obs-local-part\n\n ', 'signature': 'def get_local_part(value):'}</s>PHRASE_ENDS = SPECIALS - set('."(')
1
{'name': 'wrap_many_related_manager_add@django_multitenant/mixins.py', 'description': 'Wraps the add method of many to many field to set tenant_id in through_defaults\nparameter of the add method.', 'signature': 'def wrap_many_related_manager_add(many_related_manager_add):'}</s>logger = logging.getLogger(__name__)
0
{'name': 'split_scopes@info_popup.py', 'description': 'Splits "foo, bar, baz" into ["foo", "bar", "baz"]', 'signature': 'def split_scopes(scopes):'}</s>{'name': 'Correction@symbols.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': 'Correction.__init__@symbols.py', 'description': 'DOCSTRI...
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': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQIAMO_TOTAL_MSGS_EXPIRED = 835
0
{'name': 'test_am_replacer_basic@sphinx_automodapi/tests/test_automodapi.py', 'description': 'Tests replacing an ".. automodapi::" with the automodapi no-option\ntemplate', 'signature': 'def test_am_replacer_basic(tmpdir):'}</s>am_replacer_noinh_expected = """ This comes before sphinx_automodapi.tests.example_module....
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': 'YoloV5.prepare@src/api_trt/modules/model_zoo/detectors/yolov5_face.py', 'description': 'Read network params and populate class parameters\n\n:param nms_treshold: Threshold for NMS IoU', 'signature': 'def prepare(self, nms_treshold: float = 0.4, **kwargs):'}</s>{'name': '_normalize_on_device@src/api_trt/module...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQXT_PUBLISH_EXIT = 22
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': '_dual_to_ugrid@uxarray/io/_mpas.py', 'description': 'Encodes the MPAS Dual-Mesh in the UGRID conventions.', 'signature': 'def _dual_to_ugrid(in_ds, out_ds):'}</s>EDGE_COORDINATES = ["edge_lon", "edge_lat"]
0
{'name': 'get_versions@versioneer.py', 'description': "Get the project version from whatever source is available.\n\nReturns dict with two keys: 'version' and 'full'.", 'signature': 'def get_versions(verbose=False):'}</s>{'name': 'do_vcs_install@versioneer.py', 'description': 'Git-specific installation logic for Versio...
0
{'name': 'IUSequence.icon@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return the icon to use in the frontend.', 'signature': 'def icon(self) -> str:'}</s>CONF_REFRESH_INTERVAL = "refresh_interval"
0
{'name': 'ClusterAction.start_clusters@qingcloud/iaas/actions/cluster.py', 'description': 'Start one or more clusters.\n@param clusters: the array of clusters IDs.', 'signature': 'def start_clusters(self, clusters,'}</s>ACTION_DESCRIBE_INSTANCES = "DescribeInstances"
0
{'name': 'Camera.save@cameratransform/camera.py', 'description': 'Saves the camera parameters to a json file.\n\nParameters\n----------\nfilename : str\n the filename where to store the parameters.', 'signature': 'def save(self, filename: str):'}</s>{'name': 'distanceLinePoint@cameratransform/ray.py', 'description':...
0
{'name': 'Controller.choose_and_send_file@tg/controllers.py', 'description': 'Call file picker and send chosen file based on mimetype', 'signature': 'def choose_and_send_file(self) -> None:'}</s>{'name': 'Tdlib@tg/tdlib.py', 'description': 'DOCSTRING', 'base_classes': ['Telegram'], 'methods': [{'name': 'Tdlib.parse_tex...
0
{'name': 'Downsampling.forward@models/blocks.py', 'description': ':param pos: (B, N, 3)\n:param x: (B, N, d)\n:return (B, rN, d)', 'signature': 'def forward(self, pos, x):'}</s>{'name': 'feature_interp@models/utils.py', 'description': ':param feat: (B, N, F)\n:param pos: (B, N, 3)\n:param pos_new:...
0
{'name': 'Controller.choose_and_send_file@tg/controllers.py', 'description': 'Call file picker and send chosen file based on mimetype', 'signature': 'def choose_and_send_file(self) -> None:'}</s>REPLY_MSG_PREFIX = "# >"
0
{'name': '_typedef@pyFileFixity/lib/profilers/visual/pympler/asizeof.py', 'description': 'Create a new typedef for an object.\n ', 'signature': 'def _typedef(obj, derive=False, infer=False):'}</s>{'name': 'basicsize@pyFileFixity/lib/profilers/visual/pympler/asizeof.py', 'description': 'Return the basic size of an ob...
0
{'name': 'validate@fairseq_cli/train.py', 'description': 'Evaluate the model on the validation set(s) and return the losses.', 'signature': 'def validate('}</s>{'name': 'print_embed_overlap@fairseq/utils.py', 'description': 'DOCSTRING', 'code': 'def print_embed_overlap(embed_dict, vocab_dict):\n embed_keys = set(emb...
0
{'name': '_type_expression@swagger_to/ts_angular5_client.py', 'description': 'Translate the type definition in Typescript representation to a type expression as Typescript code.\n\n:param typedef: Typescript representation of the type definition\n:param path: path in the Swagger spec\n:return: Typescript code', 'signat...
0
{'name': 'retryable@laika/downloader.py', 'description': 'Decorator to allow us to pass multiple URLs from which to download.\nAutomatically retry the request with the next URL on failure', 'signature': 'def retryable(f):'}</s>{'name': 'https_download_file@laika/downloader.py', 'description': 'DOCSTRING', 'code': "def ...
0
{'name': 'TestTcpTransport.test_bulk_read@tests/test_tcp_transport.py', 'description': 'TODO\n\n ', 'signature': 'def test_bulk_read(self):'}</s>MSG_CONNECT_WITH_AUTH_NEW_KEY2 = AdbMessage(command=constants.AUTH, arg0=0, arg1=0, data=b'host::unknown\0')
0
{'name': 'CortexM.write_core_registers_raw@pyocd/coresight/cortex_m.py', 'description': 'Write one or more core registers\n\nWrite core registers in reg_list with the associated value in\ndata_list. If any register in reg_list is a string, find the number\nassociated to this register in the lookup table CORE_REGISTER....
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': 'prepare_data@Last Christmas/main.py', 'description': 'Data preprocessing for multistep forecast ', 'signature': 'def prepare_data(target, window_X, window_y):'}</s>y_valid = y[train:]
0
{'name': 'CBSAuthMixin.handle_token@uamqp/authentication/cbs_auth.py', 'description': "This function is called periodically to check the status of the current\ntoken if there is one, and request a new one if needed.\nIf the token request fails, it will be retried according to the retry policy.\nA token refresh will be ...
0
{'name': 'FindStartOfExpressionInLine@tools/cpplint.py', 'description': 'Find position at the matching start of current expression.\n\nThis is almost the reverse of FindEndOfExpressionInLine, but note\nthat the input position and returned position differs by 1.\n\nArgs:\n line: a CleansedLines line.\n endpos: start s...
0
{'name': 'download_file_powershell@ez_setup.py', 'description': 'Download the file at url to target using Powershell.\n\nPowershell will validate trust.\nRaise an exception if the command cannot complete.', 'signature': 'def download_file_powershell(url, target):'}</s>{'name': '_install@ez_setup.py', 'description': 'In...
0
{'name': 'load_gensim_topicvec_sklearnclassifier@shorttext/classifiers/bow/topic/SkLearnClassification.py', 'description': 'Load the classifier, a wrapper that uses scikit-learn classifier, with\n feature vectors given by a topic model, from files.\n\n# Reference\n\nXuan Hieu Phan, Cam-Tu Nguyen, Dieu-Thu Le, Minh Le N...
0
{'name': 'TestGetStatAll.test_basic@datacommons/test/stat_vars_test.py', 'description': 'Calling get_stat_all with proper args.', 'signature': 'def test_basic(self, urlopen):'}</s>_MAX_LIMIT = 100
0
{'name': 'what@boxx/ylimg/ylimgTool.py', 'description': "tell you what's this by\npretty print `Document`, `Classes`, `Inner Struct`, `Attributes` of anything.\n\na magic tool to learn new Python Package\n\nParameters\n----------\nanything : anything in Python\n decompose all of anything\nfull : bool, default False\...
0
{'name': 'BinFile.read@wntr/epanet/io.py', 'description': 'Read a binary file and create a results object.\n\nParameters\n----------\nfilename : str\n An EPANET BIN output file\nconvergence_error: bool (optional)\n If convergence_error is True, an error will be raised if the\n simulation does not converge. If ...
0
{'name': 'hmac_sha256@src/pyelliptic/hash.py', 'description': 'Compute the key and the message with HMAC SHA5256', 'signature': 'def hmac_sha256(k, m):'}</s>{'name': 'hmac_sha512@src/pyelliptic/hash.py', 'description': 'Compute the key and the message with HMAC SHA512', 'code': 'def hmac_sha512(k, m):\n """\n Com...
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': 'download_iclr_paper@code/paper_downloader_ICLR.py', 'description': 'Download iclr papers between year 2013 and 2024.\n:param save_dir: str, paper save path\n:param year: int, iclr year, current only support year >= 2018\n:param base_url: str, paper website url\n:param time_step_in_seconds: int, the interval t...
1
{'name': 'Function.simplify_string_getter_from_storage@panoramix/function.py', 'description': 'a heuristic for finding string getters and replacing them\nwith a simplified version\n\ntest cases: unicorn\n 0xF7dF66B1D0203d362D7a3afBFd6728695Ae22619 name\n 0xf8e386EDa857484f5a12e4B5DAa9984E06E73705 ...
0
{'name': 'plot_sounding_data_uwyo@pymeteo/skewt.py', 'description': 'Plot SkewT from University of Wyoming sounding data\n\n:param filename: The name of the file containing sounding data\n:type filemane: str\n:param output: The name of the file to output plot\n:type output: str\n:param stationID: The station ID of a so...
0
{'name': 'on_download_logs@src/server/server.py', 'description': 'Download logs (as .zip file).', 'signature': 'def on_download_logs(data):'}</s>{'name': 'download_database@src/server/server.py', 'description': 'DOCSTRING', 'code': "def download_database(db_file):\n # read DB data and convert to Base64\n with ope...
0
{'name': 'BPF._sym_cache@src/python/bcc/__init__.py', 'description': '_sym_cache(pid)\n\nReturns a symbol cache for the specified PID.\nThe kernel symbol cache is accessed by providing any PID less than zero.', 'signature': 'def _sym_cache(pid):'}</s>{'name': 'BPFProgType@src/python/bcc/__init__.py', 'description': 'DO...
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': 'Distinct@src/api/python/z3/z3.py', 'description': "Create a Z3 distinct expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> Distinct(x, y)\nx != y\n>>> z = Int('z')\n>>> Distinct(x, y, z)\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z))\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z), blast_distinct=...
0
{'name': 'populate_translation_fields@modeltranslation/translator.py', 'description': 'When models are created or loaded from fixtures, replicates values\nprovided for translatable fields to some / all empty translation fields,\naccording to the current population mode.\n\nPopulation is performed only on keys (field na...
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': 'doc8@tasks.py', 'description': 'Check documentation with doc8', 'signature': 'def doc8(context):'}</s>{'name': 'docs@tasks.py', 'description': 'Build documentation using sphinx', 'code': 'def docs(context, builder="html"):\n "Build documentation using sphinx"\n cmdline = (\n f"python -msphinx -M ...
0
{'name': 'Stylus.find_imports@src/static_precompiler/compilers/stylus.py', 'description': 'Find the imported files in the source code.\n\n:param source: source code', 'signature': 'def find_imports(self, source: str) -> List[str]:'}</s>URL_PATTERN = re.compile( r""" url\( \s* # any amount of whitespace...
0
{'name': 'StdCmd@MRT_FUNC_PY4_influxDB.py', 'description': 'Use instead of writing ser.write all the time', 'signature': 'def StdCmd(ser,cmd):'}</s>baud = 115200
0
{'name': 'resize@torchvision_x_functional.py', 'description': 'resize the image\nTODO: opencv resize 之后图像就成了0~1了\nArguments:\n img {ndarray} -- the input ndarray image\n size {int, iterable} -- the target size, if size is intger, width and height will be resized to same otherwise,...
0
{'name': 'read_rdi@mhkit/dolfyn/io/rdi.py', 'description': "Read a TRDI binary data file.\n\nParameters\n----------\nfilename : string\n Filename of TRDI file to read.\nuserdata : True, False, or string of userdata.json filename\n Whether to read the '<base-filename>.userdata.json' file. Default = True\nnens : None, ...
0
{'name': 'S3ToGCSCopyTest.testProcessFromParams@tests/lib/exporters/s3_to_gcs.py', 'description': "Tests the exporter's Process() function when the list comes from\npassed in parameters.", 'signature': 'def testProcessFromParams(self,'}</s>{'name': 'AWSVolume@dftimewolf/lib/containers/containers.py', 'description': 'At...
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': 'parse_tcsh_args@src/python_scripts/afnipy/lib_apqc_io.py', 'description': 'Parse arguments for tcsh scripter.\n\nInput\n-----\nargv : list of args (not including prog name)\n\nReturn\n------\n\niopts : an object with the argument values stored, including a\n self-"check_req()" method, as well.', 'signature...
0
{'name': 'MaskRCNN.build@driving/maskModel.py', 'description': 'Build Mask R-CNN architecture.\ninput_shape: The shape of the input image.\nmode: Either "training" or "inference". The inputs and\n outputs of the model differ accordingly.', 'signature': 'def build(self, mode, config):'}</s>{'name': 'compose_image_met...
0
{'name': 'write_fortran_wrappers@src/services/mpiwrap/wrap.py', 'description': 'Writes primary fortran wrapper that handles arg translation.\nAlso outputs bindings for this wrapper for different types of fortran compilers.', 'signature': 'def write_fortran_wrappers(out, decl, return_val):'}</s>wrapper_diagnosics_macros...
0
{'name': 'Library.loader_path@util/build-third-party/paraview/make_macos_pvsdk_relocatable.py', 'description': 'The path to use for ``@loader_path`` references from the library.', 'signature': 'def loader_path(self):'}</s>{'name': 'Pipeline@util/build-third-party/paraview/make_macos_pvsdk_relocatable.py', 'description'...
0
{'name': 'generate_json@hackr/object_generator.py', 'description': 'Use generators to fill the data of each field', 'signature': 'def generate_json(count, **kwargs):'}</s>{'name': 'safe_email@hackr/generator.py', 'description': 'DOCSTRING', 'code': 'def safe_email(count):\n dataset = []\n for i in range(count):\n...
0
{'name': '_calculate_minimum_wheel_name@delocate/delocating.py', 'description': 'Return a wheel name with an updated platform tag.\n\nBased on the architecture of the libraries in the wheel and actual platform\ntag.\n\nParameters\n----------\nwheel_name : str\n The name of the wheel.\nwheel_dir : Path\n The direc...
0
{'name': 'github_headers@github_scanner.py', 'description': "Given a GitHub access token, produces a Python dict suitable for passing to requests' headers field.\nIf github_token is an empty string, this prints an error message and crashes the program.", 'signature': 'def github_headers(github_token: str) -> dict:'}</s...
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': 'main@maf/impl/naiveLiftUp.py', 'description': 'DOCSTRING', 'code': 'def main():\n parser = ArgumentParser(description=__doc...
0
{'name': 'PFOp._to_string@pf/rule.py', 'description': 'Return the string representation of the operation.', 'signature': 'def _to_string(self):'}</s>ICMP_ECHOREPLY = 0
0
{'name': 'find_all_arns@verify_security_groups.py', 'description': "@Description: This function will find the arns in the account (and region) so that QA can validate they've covered all resources expected.\n Resource Types covered thus far:\n - EC2\n - Lambda\n - ECS...
0