id stringlengths 1 8 | text stringlengths 6 1.05M | dataset_id stringclasses 1
value |
|---|---|---|
/robotcode_language_server-0.54.3.tar.gz/robotcode_language_server-0.54.3/README.md | # robotcode-language-server
[](https://pypi.org/project/robotcode-language-server)
[](https://pypi.org/project/robotcode-language-server)
[![Licens... | PypiClean |
/NeodroidAgent-0.4.8-py36-none-any.whl/neodroidagent/common/session_factory/vertical/single_agent_environment_session.py | import inspect
import time
from contextlib import suppress
from typing import Any, Type
import torch
import torchsnooper
from draugr import CaptureEarlyStop, add_early_stopping_key_combination, sprint
from draugr.torch_utilities import TensorBoardPytorchWriter, torch_seed
from neodroidagent import PROJECT_APP_PATH
fr... | PypiClean |
/eng_spacysentiment-2.3.0.tar.gz/eng_spacysentiment-2.3.0/eng_spacysentiment/eng_spacysentiment-2.3.0/README.md | sentiment analysis using spacy pipelines
| Feature | Description |
| --- | --- |
| **Name** | `eng_spacysentiment` |
| **Version** | `2.3.0` |
| **spaCy** | `>=3.5.3,<3.6.0` |
| **Default Pipeline** | `textcat` |
| **Components** | `textcat` |
| **Vectors** | 0 keys, 0 unique vectors (0 dimensions) |
| **Sources** | n... | PypiClean |
/CatLearn-0.6.2.tar.gz/CatLearn-0.6.2/catlearn/utilities/utilities.py | import numpy as np
import hashlib
from scipy.stats import pearsonr, spearmanr, kendalltau
from catlearn.preprocess.scaling import standardize
def formal_charges(atoms, ion_number=8, ion_charge=-2):
"""Return a list of formal charges on atoms.
Parameters
----------
atoms : object
ase.Atoms obj... | PypiClean |
/realms-wiki-0.9.3.tar.gz/realms-wiki-0.9.3/realms/static/vendor/ace-builds/src/theme-textmate.js | define("ace/theme/textmate",["require","exports","module","ace/lib/dom"], function(require, exports, module) {
"use strict";
exports.isDark = false;
exports.cssClass = "ace-tm";
exports.cssText = ".ace-tm .ace_gutter {\
background: #f0f0f0;\
color: #333;\
}\
.ace-tm .ace_print-margin {\
width: 1px;\
background: #e8e8e... | PypiClean |
/binalyzer_template_provider-1.0.3.tar.gz/binalyzer_template_provider-1.0.3/CHANGELOG.md | # Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [v1.0.3] - 13.10.2022
- Use Python 3.9 for CI pipeline
- Added ... | PypiClean |
/cookiepress-0.1.5.tar.gz/cookiepress-0.1.5/README.rst | ===========
CookiePress
===========
.. image:: https://img.shields.io/pypi/v/cookiepress.svg
:target: https://pypi.python.org/pypi/cookiepress
.. image:: https://img.shields.io/travis/com/elgertam/cookiepress.svg
:target: https://travis-ci.com/elgertam/cookiepress
.. image:: https://readthedocs.org/... | PypiClean |
/csle_common-0.3.8.tar.gz/csle_common-0.3.8/src/csle_common/dao/jobs/data_collection_job_config.py | from typing import Dict, Any, List
from csle_common.dao.emulation_action.attacker.emulation_attacker_action import EmulationAttackerAction
from csle_common.dao.emulation_action.defender.emulation_defender_action import EmulationDefenderAction
from csle_common.dao.emulation_config.emulation_trace import EmulationTrace
f... | PypiClean |
/nni_daily-1.5.2005180104-py3-none-manylinux1_x86_64.whl/nni_daily-1.5.2005180104.data/data/nni/node_modules/moment/locale/en-ie.js |
;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
&& typeof require === 'function' ? factory(require('../moment')) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
... | PypiClean |
/chess_tuning_tools-0.9.5-py3-none-any.whl/tune/priors.py | import warnings
from typing import Callable, List
import numpy as np
from scipy.optimize import curve_fit
from scipy.stats import halfnorm, invgamma
from scipy.stats._distn_infrastructure import rv_frozen # noqa
__all__ = ["make_invgamma_prior", "roundflat", "create_priors"]
def roundflat(x, a_low=2.0, a_high=8.0,... | PypiClean |
/audio.index-1.0.4.tar.gz/audio.index-1.0.4/.lib/setuptools/command/easy_install.py | from glob import glob
from distutils.util import get_platform
from distutils.util import convert_path, subst_vars
from distutils.errors import DistutilsArgError, DistutilsOptionError, \
DistutilsError, DistutilsPlatformError
from distutils.command.install import INSTALL_SCHEMES, SCHEME_KEYS
from distutils import lo... | PypiClean |
/GxSphinx-1.0.0.tar.gz/GxSphinx-1.0.0/CONTRIBUTING.rst | ======================
Contributing to Sphinx
======================
Interested in contributing to Sphinx? Hurrah! We welcome all forms of
contribution, including code patches, documentation improvements and bug
reports/feature requests.
Our contributing guide can be found online at:
https://www.sphinx-doc.org/en/ma... | PypiClean |
/tw.dojo-0.9.181.tar.gz/tw.dojo-0.9.181/tw/dojo/static/1.8.1/debug/dojox/grid/enhanced/nls/sv/Filter.js.uncompressed.js | define(
"dojox/grid/enhanced/nls/sv/Filter", ({
"clearFilterDialogTitle": "Rensa filter",
"filterDefDialogTitle": "Filter",
"ruleTitleTemplate": "Regel ${0}",
"conditionEqual": "lika med",
"conditionNotEqual": "inte lika med",
"conditionLess": "mindre än",
"conditionLessEqual": "mindre än eller lika med",
"cond... | PypiClean |
/bpi_13_python-0.1a4.tar.gz/bpi_13_python-0.1a4/domain_model/utils.py | import xes
# Format: [[(actor name, method name)*]]
action_log = [[]]
skip_log = False
def set_skip_log(val):
global skip_log
skip_log = val
def new_trace():
action_log.append([])
def log_activity(func):
'''
A decorator that logs an activity being performed by some actor.
:param func: The ... | PypiClean |
/git-deps-1.1.0.zip/git-deps-1.1.0/git_deps/html/node_modules/d3-tip/index.js |
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module with d3 as a dependency.
define(['d3'], factory)
} else if (typeof module === 'object' && module.exports) {
// CommonJS
module.exports = function(d3) {
d3.tip = factory(d3)
... | PypiClean |
/dbpedia_ent-0.1.9-py3-none-any.whl/dbpedia_ent/dto/syn/n2/t/rev_tr.py |
d_rev_tr = {'tr-1700_submarine': 'tr-1700_class_submarine',
'tr-1a_dragonlady': 'lockheed_u-2',
'tr-85_m1': 'tr-85',
'tr100_list': 'technology_review',
'tr3s_lunas': 'tres_lunas',
'tr_069': 'tr-069',
'tr_1': 'tr1',
'tr_1700': 'tr-1700_class_submarine',
'tr_1736': 'aristolochic_acid',
'tr_1b': 'lockheed_u-2',... | PypiClean |
/alipay-python-3.3.17.tar.gz/alipay-python-3.3.17/alipay/aop/api/domain/FengdieSitesCreateModel.py | import json
from alipay.aop.api.constant.ParamConstants import *
from alipay.aop.api.domain.FengdieActivityCreatePageData import FengdieActivityCreatePageData
from alipay.aop.api.domain.FengdieActivityCreatePagesData import FengdieActivityCreatePagesData
class FengdieSitesCreateModel(object):
def __init__(self)... | PypiClean |
/aliyun-log-python-sdk-0.8.8.tar.gz/aliyun-log-python-sdk-0.8.8/aliyun/log/resource_params.py | import json
from aliyun.log.util import Util
def check_type_for_init(**kwargs):
type_dict = kwargs["instance"].type_dict
del kwargs["instance"]
for key, value in kwargs.items():
if value is not None:
need_type = type_dict.get(key)
if not isinstance(value, need_type):
... | PypiClean |
/pyqg_jax-0.6.0-py3-none-any.whl/pyqg_jax/parameterizations/_defs.py |
import functools
import jax.numpy as jnp
from .. import state as _state
def uv_parameterization(param_func):
"""Decorator implementing parameterizations in terms of velocity.
The target function should take as its first three arguments
:pycode:`(state, param_aux, model)` as with any other
parameter... | PypiClean |
/swh.web-0.2.37.tar.gz/swh.web-0.2.37/static/jssources/core-js/internals/fix-regexp-well-known-symbol-logic.js | 'use strict';
// TODO: Remove from `core-js@4` since it's moved to entry points
require('../modules/es.regexp.exec');
var uncurryThis = require('../internals/function-uncurry-this-clause');
var defineBuiltIn = require('../internals/define-built-in');
var regexpExec = require('../internals/regexp-exec');
var fails = req... | PypiClean |
/ocstylemaster-0.2.3.tar.gz/ocstylemaster-0.2.3/src/OCStyleMaster/tools/blockAnalyzerH.py |
from OCStyleMaster.common import *
from OCStyleMaster.models import *
class BlockAnalyzerH:
def __init__(self,block,analyzePos):
self.block = block
self.text = block.text
self.length = 0
self.pos = analyzePos
def start(self):
# self.__clean_text()
self.__prep... | PypiClean |
/netdisco-3.0.0.tar.gz/netdisco-3.0.0/README.md | ## This library is deprecated. We will no longer release new versions, fix bugs or accept pull requests. If you are looking to make your Home Assistant integration discoverable, use [the zeroconf and SSDP manifest options](https://developers.home-assistant.io/docs/en/next/creating_integration_manifest.html#zeroconf).
... | PypiClean |
/pulumi_gcp_native-0.0.2a1617829075.tar.gz/pulumi_gcp_native-0.0.2a1617829075/pulumi_gcp_native/datafusion/v1beta1/instance.py |
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union
from ... import _utilities, _tables
from . import outputs
from ._inputs import *
__all__ = ['Instance']
class Instance(pulumi.CustomResource):
def __init__(__self__,
resource_name: str... | PypiClean |
/foundation-sphinx-theme-0.0.3.tar.gz/foundation-sphinx-theme-0.0.3/foundation_sphinx_theme/static/foundation/js/foundation/foundation.orbit.js | ;(function ($, window, document, undefined) {
'use strict';
Foundation.libs = Foundation.libs || {};
Foundation.libs.orbit = {
name: 'orbit',
version: '4.0.0',
settings: {
timer_speed: 10000,
animation_speed: 500,
bullets: true,
stack_on_small: true,
container_class: ... | PypiClean |
/riot-0.17.7.tar.gz/riot-0.17.7/README.md | # riot
A Python virtual environment constructor and command runner.
[](https://ddriot.readthedocs.io/)
[](https://pypi.org/project/riot/)
[
LOGGER = logging.getLogger('pb.suppress')
LOGGER.setLevel(logging.INFO)
def get_best_gridpoints(gps_start,
... | PypiClean |
/compliance-trestle-2.2.1.tar.gz/compliance-trestle-2.2.1/trestle/common/common_types.py |
# Copyright (c) 2020 IBM Corp. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law ... | PypiClean |
/covmatic_robotmanager-0.0.6-py3-none-any.whl/covmatic_robotmanager/config.py | import argparse
import configargparse
import os
import logging
from .singleton import SingletonMeta
from .utils import FunctionCaseStartWith
desktop_file = FunctionCaseStartWith(os.sys.platform)
@desktop_file.case('linux')
def desktop_file_linux():
return os.path.expanduser("~/.local/share/applications/covmatic-... | PypiClean |
/apache_tvm-0.12.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl/tvm/relay/testing/lstm.py | from tvm import relay
from . import layers
from .init import create_workload
def lstm_cell(num_hidden, batch_size=1, dtype="float32", name=""):
"""Long-Short Term Memory (LSTM) network cell.
Parameters
----------
num_hidden : int
Number of units in output symbol.
batch_size : int
... | PypiClean |
/echarts-china-counties-pypkg-0.0.2.tar.gz/echarts-china-counties-pypkg-0.0.2/echarts_china_counties_pypkg/resources/echarts-china-counties-js/3332cd94a38f960d9a73bf2afbdd06f8.js | (function (root, factory) {if (typeof define === 'function' && define.amd) {define(['exports', 'echarts'], factory);} else if (typeof exports === 'object' && typeof exports.nodeName !== 'string') {factory(exports, require('echarts'));} else {factory({}, root.echarts);}}(this, function (exports, echarts) {var log = func... | PypiClean |
/pulumi_azure_nextgen-0.6.2a1613157620.tar.gz/pulumi_azure_nextgen-0.6.2a1613157620/pulumi_azure_nextgen/securityinsights/v20190101preview/action.py |
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union
from ... import _utilities, _tables
__all__ = ['Action']
class Action(pulumi.CustomResource):
def __init__(__self__,
resource_name: str,
opts: Optional[pulumi.Resource... | PypiClean |
/Pizza.py-0.1.0.tar.gz/Pizza.py-0.1.0/pizza/gnu.py |
# gnu tool
oneline = "Create plots via GnuPlot plotting program"
docstr = """
g = gnu() start up GnuPlot
g.stop() shut down GnuPlot process
g.plot(a) plot vector A against linear index
g.plot(a,b) plot B against A
g.plot(a,b,c,d,...) plot B against A, D again... | PypiClean |
/jupyter_declarativewidgets-0.7.0.tar.gz/jupyter_declarativewidgets-0.7.0/declarativewidgets/static/urth_components/handsontable/dist/moment/locale/lb.js |
;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
&& typeof require === 'function' ? factory(require('../moment')) :
typeof define === 'function' && define.amd ? define(['moment'], factory) :
factory(global.moment)
}(this, function (moment) { 'use strict';
... | PypiClean |
/wq.app-2.0.0a2.tar.gz/wq.app-2.0.0a2/packages/material-web/README.md | [![@wq/material][logo]][docs]
**@wq/material-web** provides web bindings for [@wq/material], via the [Material UI] library.
### [Documentation][docs]
[**Installation**][installation]
•
[**API**][api]
•
[**Components**][components]
•
[Icons][icons]
•
[Inputs][inputs]
[logo]: https://wq.io/images/... | PypiClean |
/seeq_sysid-1.0.1-py3-none-any.whl/seeq_sysid/deployment_notebook/sysid_notebook.ipynb | ```
from seeq_sysid.app import SYSID
# from seeq import spy
# from IPython.display import Javascript
# jv = '''$('#header-container').hide();'''
# Javascript(jv)
# Login
# spy.login(username='', password='', url='', quiet=True)
# %%javascript
# if (document.addEventListener) {
# document.addEventListener('context... | PypiClean |
/codeforces_api-0.3.4.tar.gz/codeforces_api-0.3.4/codeforces/api/codeforces_api.py | import hashlib
import json
import operator
import random
import time
from collections import OrderedDict
from enum import Enum
from urllib.error import HTTPError
from urllib.request import urlopen
from .json_objects import Contest
from .json_objects import Hack
from .json_objects import Problem
from .json_objects impo... | PypiClean |
/webship-0.1.2.tar.gz/webship-0.1.2/README.md | Tools to deploy python web application. The build process is run in container
using podman so make sure you have podman properly setup on the build machine.
## Install
pipx install webship
## Usage
Create directory to hold the deploy project:-
mkdir -p myapp_deploy
Create `webship.ini` to hold configurati... | PypiClean |
/bob.db.base-3.2.0.zip/bob.db.base-3.2.0/doc/extend.rst | .. vim: set fileencoding=utf-8 :
.. Thu 13 Oct 2016 10:34:35 CEST
.. _annotations:
Annotations
-----------
Many databases come with additional information about their data. For image
databases, e.g., the locations of hand-labeled facial landmarks are provided.
Usually, these data is stored in additional text files.... | PypiClean |
/formification-1.2.0-py3-none-any.whl/formulaic/static/admin/formulaic/ember-formulaic/node_modules/bower/lib/node_modules/lodash/_createWrap.js | var baseSetData = require('./_baseSetData'),
createBind = require('./_createBind'),
createCurry = require('./_createCurry'),
createHybrid = require('./_createHybrid'),
createPartial = require('./_createPartial'),
getData = require('./_getData'),
mergeData = require('./_mergeData'),
setData =... | PypiClean |
/v2/model/update_nat_gateway_dnat_rule_option.py |
import pprint
import re
import six
class UpdateNatGatewayDnatRuleOption:
"""
Attributes:
openapi_types (dict): The key is attribute name
and the value is attribute type.
attribute_map (dict): The key is attribute name
and the value is ... | PypiClean |
/fake_bpy_module_3.4-20230117-py3-none-any.whl/mathutils/bvhtree.py | import sys
import typing
import bmesh.types
import bpy.types
import mathutils
GenericType = typing.TypeVar("GenericType")
class BVHTree:
@classmethod
def FromBMesh(cls, bmesh: 'bmesh.types.BMesh', epsilon: float = 0.0):
''' BVH tree based on `BMesh` data.
:param bmesh: BMesh data.
:t... | PypiClean |
/mitosheet3-0.3.281.tar.gz/mitosheet3-0.3.281/mitosheet/api/get_unique_value_counts.py |
# Copyright (c) Saga Inc.
# Distributed under the terms of the GPL License.
import json
from typing import Any, Dict
import pandas as pd
from mitosheet.types import StepsManagerType
from mitosheet.utils import get_row_data_array
# The maximum number of values the front-end sends to the backend
# See comments in func... | PypiClean |
/pycounts_j99thoms-0.1.0.tar.gz/pycounts_j99thoms-0.1.0/README.md | # pycounts_j99thoms
Calculate word counts in a text file!
## Installation
```bash
$ pip install pycounts_j99thoms
```
## Usage
`pycounts_j99thoms` can be used to count words in a text file and plot results
as follows:
```python
from pycounts_j99thoms.pycounts import count_words
from pycounts_j99thoms.plotting imp... | PypiClean |
/py-pure-client-1.38.0.tar.gz/py-pure-client-1.38.0/pypureclient/flasharray/FA_2_0/models/host_group_response.py | import pprint
import re
import six
import typing
from ....properties import Property
if typing.TYPE_CHECKING:
from pypureclient.flasharray.FA_2_0 import models
class HostGroupResponse(object):
"""
Attributes:
swagger_types (dict): The key is attribute name
and the value ... | PypiClean |
/tensorflow_ascend-1.15.0-cp37-cp37m-manylinux2014_aarch64.whl/tensorflow_core/contrib/receptive_field/python/util/receptive_field.py | """Functions to compute receptive field of a fully-convolutional network."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import numpy as np
from tensorflow.contrib.receptive_field.python.util import graph_compute_order
from tensorflow.contrib.receptive_... | PypiClean |
/forcebalance-1.9.5.tar.gz/forcebalance-1.9.5/tools/TagMol2.py |
from __future__ import division
from __future__ import print_function
import numpy as np
import itertools
import os, sys
import networkx as nx
from collections import defaultdict
from forcebalance.molecule import Molecule
from forcebalance import Mol2
#=================================================#
#| Mo... | PypiClean |
/hrm_omero-0.4.0-py3-none-any.whl/hrm_omero/cli.py |
import argparse
import os
import sys
import omero.gateway
from loguru import logger as log
from .__init__ import __version__
from . import formatting
from . import hrm
from . import omero as _omero
from . import transfer
from .misc import printlog, OmeroId
def bool_to_exitstatus(value):
"""Convert a boolean t... | PypiClean |
/wsuks-0.4.1.tar.gz/wsuks-0.4.1/README.md |  [](https://twitter.com/intent/follow?screen_name=al3x_n3ff)
# wsuks
_Weaponizing the WSUS Attack_
Gaining local administrative access on a Windows mac... | PypiClean |
/geoai_GDAL-3.4.3-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl/osgeo_utils/gdal_proximity.py |
import sys
from typing import Optional, Sequence
from osgeo import gdal
from osgeo_utils.auxiliary.util import GetOutputDriverFor
def Usage():
print("""
gdal_proximity.py srcfile dstfile [-srcband n] [-dstband n]
[-of format] [-co name=value]*
[-ot Byte/UInt16/UInt32/Float32/... | PypiClean |
/Nuitka_winsvc-1.7.10-cp310-cp310-win_amd64.whl/nuitka/nodes/NodeMakingHelpers.py | from nuitka import Options
from nuitka.__past__ import GenericAlias, UnionType
from nuitka.Builtins import builtin_names
from nuitka.Constants import isConstant
from nuitka.PythonVersions import python_version
from nuitka.Tracing import my_print, unusual_logger
def makeConstantReplacementNode(constant, node, user_pro... | PypiClean |
/ec2instanceconnectcli-ptc-1.0.1.tar.gz/ec2instanceconnectcli-ptc-1.0.1/doc/README.rst | ==========================
Building The Documentation
==========================
**Note: This is not complete and currently only does basic doc generation.**
Before building the documentation, make sure you have Python 2.7,
the ec2instanceconnectcli, and all the necessary dependencies installed. You can
install depe... | PypiClean |
/azure_mgmt_iothub-2.4.0-py3-none-any.whl/azure/mgmt/iothub/v2021_03_31/_iot_hub_client.py |
from copy import deepcopy
from typing import Any, TYPE_CHECKING
from azure.core.rest import HttpRequest, HttpResponse
from azure.mgmt.core import ARMPipelineClient
from . import models as _models
from .._serialization import Deserializer, Serializer
from ._configuration import IotHubClientConfiguration
from .operati... | PypiClean |
/dvha_stats-0.2.4.post1-py3-none-any.whl/dvhastats/plot.py | """Basic plotting class objects for DVHA-Stats based on matplotlib"""
#
# Copyright (c) 2020 Dan Cutright
# This file is part of DVHA-Stats, released under a MIT license.
# See the file LICENSE included with this distribution, also
# available at https://github.com/cutright/DVHA-Stats
from matplotlib import pypl... | PypiClean |
/ansible-8.3.0-py3-none-any.whl/ansible_collections/community/routeros/plugins/module_utils/_api_data.py |
# The data inside here is private to this collection. If you use this from outside the collection,
# you are on your own. There can be random changes to its format even in bugfix releases!
from __future__ import absolute_import, division, print_function
__metaclass__ = type
class APIData(object):
def __init__(s... | PypiClean |
/latent_features/optimizers.py | import tensorflow as tf
import abc
import logging
import math
logger = logging.getLogger(__name__)
logger.setLevel(logging.DEBUG)
OPTIMIZER_REGISTRY = {}
def register_optimizer(name, external_params=[], class_params={}):
def insert_in_registry(class_handle):
OPTIMIZER_REGISTRY[name] = class_handle
... | PypiClean |
/noah-vega-1.8.5.tar.gz/noah-vega-1.8.5/vega/networks/sgas_network.py |
# Copyright (C) 2020. Huawei Technologies Co., Ltd. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless require... | PypiClean |
/pulumi_azure_nextgen-0.6.2a1613157620.tar.gz/pulumi_azure_nextgen-0.6.2a1613157620/pulumi_azure_nextgen/search/v20150228/list_admin_key.py |
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union
from ... import _utilities, _tables
__all__ = [
'ListAdminKeyResult',
'AwaitableListAdminKeyResult',
'list_admin_key',
]
@pulumi.output_type
class ListAdminKeyResult:
"""
Response contai... | PypiClean |
/ixnetwork_restpy-1.1.10.tar.gz/ixnetwork_restpy-1.1.10/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/applysetfieldmissmask_a1d1c1318096b8b862772ca0daea5218.py | import sys
from ixnetwork_restpy.base import Base
from ixnetwork_restpy.files import Files
if sys.version_info >= (3, 5):
from typing import List, Any, Union
class ApplySetFieldMissMask(Base):
"""Select the type of Apply Set Field Miss mask capability that the table will support.
The ApplySetFieldMissMas... | PypiClean |
/rosettasciio-0.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl/rsciio/utils/skimage_exposure.py | from packaging.version import Version
import warnings
import numpy as np
import skimage
from skimage.exposure.exposure import intensity_range, _output_dtype
def rescale_intensity(image, in_range="image", out_range="dtype"):
"""Return image after stretching or shrinking its intensity levels.
The desired inte... | PypiClean |
/git-deps-1.1.0.zip/git-deps-1.1.0/git_deps/html/node_modules/es-abstract/2018/CopyDataProperties.js | 'use strict';
var GetIntrinsic = require('get-intrinsic');
var $TypeError = GetIntrinsic('%TypeError%');
var callBound = require('call-bind/callBound');
var forEach = require('../helpers/forEach');
var OwnPropertyKeys = require('../helpers/OwnPropertyKeys');
var $isEnumerable = callBound('Object.prototype.propertyI... | PypiClean |
/genie.libs.sdk-23.8.1-py3-none-any.whl/genie/libs/sdk/triggers/blitz/gnmi_util.py | from typing import List, Tuple
import logging
import re
import base64
import json
import sys
import pdb
from datetime import datetime
from threading import Thread, Event
import traceback
import time
from abc import ABC
from xml.etree.ElementPath import xpath_tokenizer_re
from google.protobuf import json_format
from six... | PypiClean |
/solvebio-2.24.0.tar.gz/solvebio-2.24.0/README.md | 
SolveBio Python Client
======================
This is the SolveBio Python package and command-line interface (CLI).
This module is tested against Python 2.7, 3.6, 3.7, 3.8, 3.10, PyPy and PyPy3.
D... | PypiClean |
/secrets_env-0.28.0-py3-none-any.whl/secrets_env/providers/vault/auth/userpass.py | import abc
import logging
import typing
import urllib.parse
from dataclasses import dataclass, field
from typing import Any, Dict, Optional
from secrets_env.exceptions import TypeError
from secrets_env.utils import (
create_keyring_login_key,
get_env_var,
prompt,
read_keyring,
)
from .base import Auth... | PypiClean |
/django-mssql-backend-2.8.1.tar.gz/django-mssql-backend-2.8.1/sql_server/pyodbc/operations.py | import datetime
import uuid
import warnings
from django.conf import settings
from django.db.backends.base.operations import BaseDatabaseOperations
from django.utils import timezone
from django.utils.encoding import force_str
import pytz
class DatabaseOperations(BaseDatabaseOperations):
compiler_module = 'sql_se... | PypiClean |
/iotlabsshcli-1.1.0.tar.gz/iotlabsshcli-1.1.0/README.rst |
SSH CLI Tools
=============
|PyPI| |CI| |Codecov|
**SSH CLI Tools** provides a set of commands for interacting remotely and easily
with IoT-Lab Linux nodes. See `here <https://www.iot-lab.info/docs/boards/iot-lab-a8-m3/>`_
to get more information on this kind of node.
All available actions provided by **SSH CLI Too... | PypiClean |
/py-pure-client-1.38.0.tar.gz/py-pure-client-1.38.0/pypureclient/pure1/Pure1_1_1/api/file_system_snapshots_api.py | from __future__ import absolute_import
import re
# python 2 and python 3 compatibility library
import six
from typing import List, Optional
from .. import models
class FileSystemSnapshotsApi(object):
def __init__(self, api_client):
self.api_client = api_client
def api11_file_system_snapshots_get_w... | PypiClean |
/django-twitter-tag-1.2.1.tar.gz/django-twitter-tag-1.2.1/README.rst | Django Twitter Tag
==================
.. image:: https://secure.travis-ci.org/coagulant/django-twitter-tag.png?branch=dev
:target: https://travis-ci.org/coagulant/django-twitter-tag
.. image:: https://coveralls.io/repos/coagulant/django-twitter-tag/badge.png?branch=dev
:target: https://coveralls.io/r/coagulan... | PypiClean |
/syntaxnet_with_tensorflow-0.2-cp27-cp27mu-manylinux1_x86_64.whl/syntaxnet_with_tensorflow-0.2.data/purelib/syntaxnet/util/registry.py | import inspect
import sys
from tensorflow.python.platform import tf_logging as logging
def _GetClass(name):
"""Looks up a class by name.
Args:
name: The fully-qualified type name of the class to return.
Returns:
The class associated with the |name|, or None on error.
"""
elements = name.split('.'... | PypiClean |
/python-network-0.0.1.tar.gz/python-network-0.0.1/pynet/datasets/brats.py | # Imports
from collections import namedtuple
import os
import logging
import numpy as np
import pandas as pd
import nibabel as nib
import progressbar
from pynet.datasets import Fetchers
# Global parameters
MODALITIES = ("t1", "t1ce", "t2", "flair")
Item = namedtuple("Item", ["input_path", "output_path", "metadata_pat... | PypiClean |
/python-bitcoinlib-0.12.2.tar.gz/python-bitcoinlib-0.12.2/bitcoin/bloom.py | import struct
import math
import bitcoin.core
import bitcoin.core.serialize
def _ROTL32(x, r):
assert x <= 0xFFFFFFFF
return ((x << r) & 0xFFFFFFFF) | (x >> (32 - r))
def MurmurHash3(nHashSeed, vDataToHash):
"""MurmurHash3 (x86_32)
Used for bloom filters. See http://code.google.com/p/smhasher/source... | PypiClean |
/v3/model/instance_item.py |
import pprint
import re
import six
class InstanceItem:
"""
Attributes:
openapi_types (dict): The key is attribute name
and the value is attribute type.
attribute_map (dict): The key is attribute name
and the value is json key in defini... | PypiClean |
/fastapi_user_auth-0.4.3.tar.gz/fastapi_user_auth-0.4.3/fastapi_user_auth/site.py | from typing import Type
from fastapi import FastAPI
from fastapi_amis_admin.admin import AdminSite, Settings
from fastapi_amis_admin.amis.components import ActionType, App, Dialog, Flex, Service
from fastapi_amis_admin.amis.constants import SizeEnum
from fastapi_amis_admin.amis.types import AmisAPI
from fastapi_amis_a... | PypiClean |
/Craft_xai-0.0.3-py3-none-any.whl/craft/craft_tf.py | from abc import ABC, abstractmethod
from typing import Union, Tuple, List, Callable, Dict, Optional, Any
import tensorflow as tf
import numpy as np
from sklearn.decomposition import NMF
from sklearn.exceptions import NotFittedError
from .sobol.sampler import HaltonSequence
from .sobol.estimators import JansenEstimato... | PypiClean |
/moodle-sdk-2.0.8.tar.gz/moodle-sdk-2.0.8/mdk/css.py | import logging
import os
from .tools import process
from .config import Conf
C = Conf()
class Css(object):
"""Class wrapping CSS related functions"""
_M = None
_debug = False
_compiler = 'grunt'
def __init__(self, M):
self._M = M
def setCompiler(self, compiler):
self._comp... | PypiClean |
/flora-blockchain-0.2.5.tar.gz/flora-blockchain-0.2.5/flora/wallet/cc_wallet/cc_wallet.py | from __future__ import annotations
import logging
import time
from dataclasses import replace
from secrets import token_bytes
from typing import Any, Dict, List, Optional, Set
from blspy import AugSchemeMPL, G2Element
from flora.consensus.cost_calculator import calculate_cost_of_program, NPCResult
from flora.full_no... | PypiClean |
/zeno_etl_libs-1.0.126.tar.gz/zeno_etl_libs-1.0.126/glue-jobs/src/scripts/distributor_ranking2/distributor_ranking2_main.py | import os
import sys
import argparse
import pandas as pd
import numpy as np
import datetime as dt
from dateutil.tz import gettz
from ast import literal_eval
from zeno_etl_libs.helper.aws.s3 import S3
from zeno_etl_libs.db.db import DB, MySQL
from zeno_etl_libs.logger import get_logger
from zeno_etl_libs.helper import... | PypiClean |
/bpy_2.79-1.0.0-py3-none-manylinux2014_x86_64.whl/bpy/2.79/scripts/addons/uv_magic_uv/muv_preserve_uv_aspect.py |
# ##### BEGIN GPL LICENSE BLOCK #####
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distri... | PypiClean |
/fds.sdk.StocksAPIforDigitalPortals-0.10.12-py3-none-any.whl/fds/sdk/StocksAPIforDigitalPortals/model/post_stock_notation_screener_search_request_data_performance_end_of_day_year_to_date.py | import re # noqa: F401
import sys # noqa: F401
from fds.sdk.StocksAPIforDigitalPortals.model_utils import ( # noqa: F401
ApiTypeError,
ModelComposed,
ModelNormal,
ModelSimple,
cached_property,
change_keys_js_to_python,
convert_js_args_to_python_args,
date,
datetime,
file_type... | PypiClean |
/lyrebird-ios-0.3.12.tar.gz/lyrebird-ios-0.3.12/lyrebird_ios/apis.py | import os
import lyrebird
from flask import request, jsonify, send_from_directory
from lyrebird import application
from lyrebird.mock.context import make_ok_response, make_fail_response
from .device_service import DeviceService
device_service = DeviceService()
storage = lyrebird.get_plugin_storage()
screenshot_dir = o... | PypiClean |
/capsolver_python-1.0.tar.gz/capsolver_python-1.0/capsolver_python/capsolver.py | import asyncio
import requests
from time import sleep
from .request_type import RequestType
from .utils import CapSolverException
class CapSolver:
_HOST_URL = "https://api.capsolver.com"
_BETA_HOST_URL = "https://api-beta.capsolver.com"
def __init__(self, client_key: str, beta: bool = False) -> None:
... | PypiClean |
/rh_elliott-1.0.15-py3-none-any.whl/elliottlib/cli/common.py | import asyncio
import sys
from functools import update_wrapper
import click
from elliottlib import Runtime, constants, dotconfig, version
from elliottlib.cli import cli_opts
from elliottlib.util import green_prefix, red_prefix, yellow_print
def print_version(ctx, param, value):
if not value or ctx.resilient_par... | PypiClean |
/otlmow_model-2.8.0-py3-none-any.whl/otlmow_model/BaseClasses/OTLObject.py | import math
import random
import warnings
from datetime import date, time
from datetime import datetime
from typing import Union, Dict, List, Generator
from otlmow_model.BaseClasses.DateField import DateField
from otlmow_model.BaseClasses.DateTimeField import DateTimeField
from otlmow_model.BaseClasses.KeuzelijstFiel... | PypiClean |
/azure-mgmt-appplatform-8.0.0.zip/azure-mgmt-appplatform-8.0.0/azure/mgmt/appplatform/v2022_05_01_preview/operations/_build_service_builder_operations.py | import sys
from typing import Any, Callable, Dict, IO, Iterable, Optional, TypeVar, Union, cast, overload
import urllib.parse
from azure.core.exceptions import (
ClientAuthenticationError,
HttpResponseError,
ResourceExistsError,
ResourceNotFoundError,
ResourceNotModifiedError,
map_error,
)
from... | PypiClean |
/pyportable_installer-4.4.2-py3-none-any.whl/pyportable_installer/main_flow/step3/step3_1/attachments.py | import os
from os import path as xpath
from shutil import copyfile
from lk_utils import filesniff
from .exclusions import attachments_exclusions_handler
from ....global_conf import gconf
from ....path_model import src_2_dst
from ....typehint import *
__all__ = ['copy_attachments']
def find_files(dir_i):
for f ... | PypiClean |
/qwif-0.0.5.tar.gz/qwif-0.0.5/CHANGELOG.md | Changelog
==========
This file documents notable changes to `qwif`.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
[0.0.5] - 2020-09-13
---------------------
Fix formatting/style issues, fix `ma... | PypiClean |
/ZMS-5.1.0-py3-none-any.whl/Products/zms/doc/epydoc/epydoc.js | function toggle_private() {
// Search for any private/public links on this page. Store
// their old text in "cmd," so we will know what action to
// take; and change their text to the opposite action.
var cmd = "?";
var elts = document.getElementsByTagName("a");
for(var ... | PypiClean |
/jupyterhub_url_sharing-0.1.0.tar.gz/jupyterhub_url_sharing-0.1.0/node_modules/webpack/lib/dependencies/RequireContextPlugin.js | "use strict";
const {
JAVASCRIPT_MODULE_TYPE_AUTO,
JAVASCRIPT_MODULE_TYPE_DYNAMIC
} = require("../ModuleTypeConstants");
const { cachedSetProperty } = require("../util/cleverMerge");
const ContextElementDependency = require("./ContextElementDependency");
const RequireContextDependency = require("./RequireContextDepe... | PypiClean |
/proxycurl-py_test-0.0.16.tar.gz/proxycurl-py_test-0.0.16/proxycurl_py_test/gevent/library.py | from proxycurl_py_test.config import (
BASE_URL, PROXYCURL_API_KEY, TIMEOUT, MAX_RETRIES, MAX_BACKOFF_SECONDS
)
from proxycurl_py_test.gevent.base import ProxycurlBase
from proxycurl_py_test.models import (
PersonEndpointResponse,
UrlResult,
ExtractionEmailResult,
PDLPhoneNumberResult,
PDLEmailR... | PypiClean |
/nm_transformers-1.5.1.42301-py3-none-any.whl/transformers/models/deberta/__init__.py |
from typing import TYPE_CHECKING
from ...utils import (
OptionalDependencyNotAvailable,
_LazyModule,
is_tf_available,
is_tokenizers_available,
is_torch_available,
)
_import_structure = {
"configuration_deberta": ["DEBERTA_PRETRAINED_CONFIG_ARCHIVE_MAP", "DebertaConfig", "DebertaOnnxConfig"],... | PypiClean |
/love_course_2016_2019-2023.3.1.0-py3-none-any.whl/LoveCourse20162019/docs/mi-guo-qing-gan/蜜果情感《苏晨私教课程》:恋爱技巧强化课:2.2男士主流穿衣风格.md | # 蜜果情感《苏晨私教课程》:恋爱技巧强化课:2.2男士主流穿衣风格
OK,那么今天呢,老师给大家讲一讲,男是主流的川伊风格。那么这些风格呢,是可以大家去进行参考的,根据自己的职业爱好去进行一个选择。那么有一些风格啊,今天老师只是讲主流风格,比如说一些西哈风啊。
包括彭克风格老师都没有讲为什么,因为这些他不是一个主流风格,比如说你想想想,你穿那一蛇西哈去见你外来的女朋友,对不对,第一次跟他约会,他呢正好怎么样。,刚刚下班穿了一身off-slade ON的职业状。
那你们两个走在一起,是不是看起来不像是一路人,对不对,他看起来很像你的姐姐。那么今天老师给大家推荐的这几种风格,都是非常适合都比较百大了。那么第一种风格叫什么呢,叫做... | PypiClean |
/safe_etmp_py-0.0.4-py3-none-any.whl/gnosis/safe/proxy_factory.py | from logging import getLogger
from typing import Optional
from eth_account.signers.local import LocalAccount
from eth_typing import ChecksumAddress
from web3.contract import Contract
from gnosis.eth import EthereumClient
from gnosis.eth.contracts import (
get_paying_proxy_deployed_bytecode,
get_proxy_1_0_0_de... | PypiClean |
/django-smart-selects-1.6.0.tar.gz/django-smart-selects-1.6.0/smart_selects/static/smart-selects/admin/js/chainedm2m.js | (function ($) {
"use strict";
window.chainedm2m = function () {
return {
fireEvent: function (element, event) {
var evt, rtn;
if (document.createEventObject) {
// dispatch for IE
evt = document.createEventObject();
... | PypiClean |
/tensorflow_directml-1.15.8-cp37-cp37m-win_amd64.whl/tensorflow_core/core/framework/reader_base_pb2.py |
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@protoc_in... | PypiClean |
/vortexpy-4.0.0.tar.gz/vortexpy-4.0.0/vortex/restful/RestfulResource.py | import json
import logging
from enum import Enum
from typing import Callable
from typing import List
from twisted.internet.defer import inlineCallbacks
from twisted.python.compat import nativeString
from twisted.web.server import NOT_DONE_YET
from txhttputil.site.BasicResource import BasicResource
from vortex import T... | PypiClean |
/eagle-cli-0.5.tar.gz/eagle-cli-0.5/eagle/tasks.py | import calendar
from datetime import date, datetime, timedelta
from .groups import add_group, group_exist
from .storage import Task, get_storage
from .tools import err_print
def parse_frequency(f, silent=True):
# 1. specific date.
if f.startswith("@"):
# Try (D)D/(M)M/YYYY
# or fallback to ... | PypiClean |
/collective.recipe.celery-1.0.tar.gz/collective.recipe.celery-1.0/collective/recipe/celery/README.txt | Example usage
=============
We'll start by creating a buildout that uses the recipe::
>>> write(sample_buildout, 'buildout.cfg',
... """
... [buildout]
... parts = celery
... index = %(server)s/index
... find-links = %(server)s
...
... [celery]
... recipe = collective.recipe.celer... | PypiClean |
/Cherrydoor-0.8.1-py3-none-any.whl/cherrydoor/static/js/socket.io.slim.js | !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.io=e():t.io=e()}(self,(function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].cal... | PypiClean |
/streamlit-code-editor-0.1.10.tar.gz/streamlit-code-editor-0.1.10/code_editor/frontend/build/f42a62d762c34d1ca7c418ea25726655.js | ace.define("ace/mode/verilog_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],(function(e,t,n){"use strict";var i=e("../lib/oop"),r=e("./text_highlight_rules").TextHighlightRules,o=function(){var e=this.createKeywordMapper({"support.function":"count|min|max|avg|sum|rank|now|... | PypiClean |
/lavue-2.83.4.tar.gz/lavue-2.83.4/doc/gui/configuration/hidrahttp.rst | Hidra/HTTP/ZMQ/ASAPO/NeXus Image Source Settings
================================================
The third tab of the configuration dialog contains **Image Sources** configuration.
It allows for the user to adjust image sources and their dialogs.
.. figure:: ../../_images/lavue_config_isources.png
**Hidra**
* ... | PypiClean |
/PyAmur-1.0.0.tar.gz/PyAmur-1.0.0/README.md | # PyAmur
PyAmur is an object-oriented Python interface to the Amur blockchain platform.
## Getting Started
You can install PyAmur using:
pip install pyamur
## Documentation
The library utilizes classes to represent various Amur data structures:
- pyamur.Address
- pyamur.Asset
- pyamur.AssetPair
- pyamur.Order... | PypiClean |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.