id stringlengths 1 8 | text stringlengths 6 1.05M | dataset_id stringclasses 1
value |
|---|---|---|
/xandikos-0.2.8.tar.gz/xandikos-0.2.8/notes/structure.rst | Xandikos has a fairly clear distinction between different components.
Modules
=======
The core WebDAV implementation lives in xandikos.webdav. This just implements
the WebDAV protocol, and provides abstract classes for WebDAV resources that can be
implemented by other code.
Several WebDAV extensions (access, CardDAV... | PypiClean |
/pyghc-0.1.0.tar.gz/pyghc-0.1.0/github/types/__init__.py | from .actor import Actor
from .app_permissions import AppPermissions
from .email import Email
from .event import Event
from .github_error import GithubError
from .headers import Headers
from .integration import Integration
from .issue import Issue
from .issue_comment import IssueComment
from .label import Label
from .l... | PypiClean |
/naturalsort-1.5.1.tar.gz/naturalsort-1.5.1/README.rst | Simple natural order sorting API for Python
===========================================
.. image:: https://travis-ci.org/xolox/python-naturalsort.svg?branch=master
:target: https://travis-ci.org/xolox/python-naturalsort
.. image:: https://coveralls.io/repos/xolox/python-naturalsort/badge.png?branch=master
:targ... | PypiClean |
/pulumiverse_mssql-0.0.7.tar.gz/pulumiverse_mssql-0.0.7/pulumiverse_mssql/server_permission.py |
import copy
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from . import _utilities
__all__ = ['ServerPermissionArgs', 'ServerPermission']
@pulumi.input_type
class ServerPermissionArgs:
def __init__(__self__, *,
permission... | PypiClean |
/functions-cli-0.1.0a1.tar.gz/functions-cli-0.1.0a1/functions/docker.py | from pydantic.main import BaseModel
from functions.constants import DockerLabel
from typing import List, Optional
import docker
from docker.models.images import Image as DockerImage
from docker.models.containers import Container as DockerContainer
from pydantic import ValidationError
from functions.types import Funct... | PypiClean |
/django-mstats-0.1.2.tar.gz/django-mstats-0.1.2/django_mstats/static/Chart.min.js | (function(){"use strict";var t=this,i=t.Chart,e=function(t){this.canvas=t.canvas,this.ctx=t;this.width=t.canvas.width,this.height=t.canvas.height;return this.aspectRatio=this.width/this.height,s.retinaScale(this),this};e.defaults={global:{animation:!0,animationSteps:60,animationEasing:"easeOutQuart",showScale:!0,scaleO... | PypiClean |
/pulumi_azure_native-2.5.1a1693590910.tar.gz/pulumi_azure_native-2.5.1a1693590910/pulumi_azure_native/machinelearningservices/v20230401/list_online_endpoint_keys.py |
import copy
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from ... import _utilities
__all__ = [
'ListOnlineEndpointKeysResult',
'AwaitableListOnlineEndpointKeysResult',
'list_online_endpoint_keys',
'list_online_endpoint_keys_o... | PypiClean |
/love_course_2016_2019-2023.3.1.0-py3-none-any.whl/LoveCourse20162019/docs/chris/2020『社交直覺養成』线上视频课:第02课:两性真相“关系升级”的基础筹码是什么?.md | # 2020『社交直覺養成』线上视频课:第02课:两性真相“关系升级”的基础筹码是什么?
3月2日,你好,這裡是梁叔,上捷克我們學習了關系核心3藥署以及他們的重要性,這捷克我們來聊一聊,3藥署的不同搭配組合可以將關系分別帶入什麼不同的方向,首先我們先來看第一種,有邏輯思考,有情緒好感傳口。
但是沒有升級關系,這樣的搭配結構會把你們的關系帶到有疑區關係模型,比如說你們是大學同學,互相關系很好,也一起經歷了不少事情,你們在一起的時候,他多半都是開心的愉快的,活潑亂跳的。
但是你一直不敢抓住機會進行關系升級,勇敢的統潑那城窗戶子,把友情升華為愛情,導致情緒好感傳口,一直大量的背浪費,最後你們的關系被固化在有疑區裡面,很難再有字的變化... | PypiClean |
/secretflow_lite-1.0.0b0-cp38-cp38-macosx_10_16_x86_64.whl/secretflow/ml/boost/sgb_v/factory/components/sampler/sampler.py |
from dataclasses import dataclass
from typing import List, Tuple, Union
import numpy as np
from secretflow.data import FedNdarray, PartitionWay
from secretflow.device import PYUObject
from secretflow.ml.boost.sgb_v.factory.params import default_params
from secretflow.ml.boost.sgb_v.factory.sgb_actor import SGBActor
... | PypiClean |
/mis_modulos-0.1.tar.gz/mis_modulos-0.1/wheel/cli/__init__.py | from __future__ import annotations
import argparse
import os
import sys
class WheelError(Exception):
pass
def unpack_f(args):
from .unpack import unpack
unpack(args.wheelfile, args.dest)
def pack_f(args):
from .pack import pack
pack(args.directory, args.dest_dir, args.build_number)
def co... | PypiClean |
/RotatingProxyBot-0.0.3.tar.gz/RotatingProxyBot-0.0.3/README.md | # RotatingProxyBot
A Bot that uses a Rotating Proxy to simulate many clients making a request to a single server
**Version 0.0.3**
### Author
**Daniel Gisolfi** - *All current work* - [dgisolfi](https://github.com/dgisolfi)
## Usage
```python
#!/usr/bin/python3
from RotatingProxyBot import ProxyBot
# Create new c... | PypiClean |
/django-admin-adminlte-1.0.5.tar.gz/django-admin-adminlte-1.0.5/admin_adminlte/static/plugins/flot/plugins/jquery.flot.resize.js |
Copyright (c) 2007-2014 IOLA and Ole Laursen.
Licensed under the MIT license.
It works by listening for changes on the placeholder div (through the jQuery
resize event plugin) - if the size changes, it will redraw the plot.
There are no options. If you need to disable the plugin for some plots, you
can just fix the ... | PypiClean |
/kivy-django-1.9.1.tar.gz/kivy-django-1.9.1/django/contrib/auth/management/commands/changepassword.py | from __future__ import unicode_literals
import getpass
from django.contrib.auth import get_user_model
from django.contrib.auth.password_validation import validate_password
from django.core.exceptions import ValidationError
from django.core.management.base import BaseCommand, CommandError
from django.db import DEFAULT... | PypiClean |
/sendmail-2.0.tar.gz/sendmail-2.0/sendmail.py | __author__ = 'Phil Budne <phil@ultimate.com>'
__version__ = '2.0'
__revision__ = '$Id: sendmail.py,v 1.10 2018/10/27 19:05:22 phil Exp $'
# Copyright (c) 2009,2018 Philip Budne (phil@ultimate.com)
# Licensed under the MIT licence:
#
# Permission is hereby granted, free of charge, to any perso... | PypiClean |
/ember-compressor-compiler-0.3.1.zip/ember-compressor-compiler-0.3.1/src/embercompressorcompiler/js/ember-template-compiler.js | (function() {
var Ember = { assert: function() {} };
// Version: v1.0.0-rc.6-242-g15a358a
// Last commit: 15a358a (2013-08-01 07:09:51 -0700)
(function() {
/**
@module ember
@submodule ember-handlebars-compiler
*/
// Eliminate dependency on any Ember to simplify precompilation workflow
var objectCreate = Object.crea... | PypiClean |
/inotipy-0.1.1-py3-none-any.whl/inotipy.py |
import os
import enum
import ctypes as ct
import struct
from weakref import \
ref as weak_ref, \
WeakValueDictionary
import asyncio
import atexit
libc = ct.CDLL("libc.so.6", use_errno = True)
NAME_MAX = 255 # from <linux/limits.h>
class inotify_event(ct.Structure) :
# from <sys/inotify.h>
_fields_ =... | PypiClean |
/django-ra-erp-1.3.1.tar.gz/django-ra-erp-1.3.1/ra/static/adminlte/plugins/datatables-responsive/js/dataTables.responsive.js | * @summary Responsive
* @description Responsive tables plug-in for DataTables
* @version 2.2.3
* @file dataTables.responsive.js
* @author SpryMedia Ltd (www.sprymedia.co.uk)
* @contact www.sprymedia.co.uk/contact
* @copyright Copyright 2014-2018 SpryMedia Ltd.
*
* This source file is ... | PypiClean |
/convex-api-py-0.2.6.tar.gz/convex-api-py-0.2.6/convex_api/utils.py | import binascii
import re
from cryptography.hazmat.backends.openssl.backend import backend
from cryptography.hazmat.primitives import hashes
def to_address(value):
"""
Convert address text with possible leading '#' to an interger address value.
:param str text: Address text to convert
:returns: In... | PypiClean |
/sahara_plugin_mapr-9.0.0.0rc1-py3-none-any.whl/sahara_plugin_mapr/plugins/mapr/domain/service.py |
from oslo_log import log as logging
from oslo_serialization import jsonutils as json
import sahara.plugins.exceptions as ex
import sahara.plugins.provisioning as p
from sahara.plugins import utils
from sahara_plugin_mapr.i18n import _
from sahara_plugin_mapr.plugins.mapr.util import commands as cmd
from sahara_plugi... | PypiClean |
/lsv2test-core-2.0.0.tar.gz/lsv2test-core-2.0.0/localstack/aws/protocol/validate.py | from typing import Any, Dict, List, NamedTuple
from botocore.model import OperationModel, Shape
from botocore.validate import ParamValidator as BotocoreParamValidator
from botocore.validate import ValidationErrors as BotocoreValidationErrors
from botocore.validate import type_check
from localstack.aws.api import Serv... | PypiClean |
/GTW-1.2.6.tar.gz/GTW-1.2.6/media/js/jquery.tablesorter.min.js | (function($){$.extend({tablesorter:new
function(){var parsers=[],widgets=[];this.defaults={cssHeader:"header",cssAsc:"headerSortUp",cssDesc:"headerSortDown",cssChildRow:"expand-child",sortInitialOrder:"asc",sortMultiSortKey:"shiftKey",sortForce:null,sortAppend:null,sortLocaleCompare:true,textExtraction:"simple",parsers... | PypiClean |
/karas_py-0.2.11.tar.gz/karas_py-0.2.11/karas/util/__init__.py | import hashlib
from time import time
from karas.exceptions import *
from karas.permission import PermissionEnum
class MetaBase(type):
def __new__(mcs, name, bases, namespace):
if not namespace.get("type"):
namespace["type"] = name
return super().__new__(mcs, name, bases, namespace)
c... | PypiClean |
/fdrtd_simon-0.5.7-py3-none-any.whl/fdrtd/plugins/simon/microprotocols/create.py | import fdrtd
import fdrtd.server.exceptions
def create(microprotocol):
if microprotocol == 'MinimumMaximum':
from fdrtd.plugins.simon.microprotocols.microprotocol_minimum_maximum import MicroprotocolMinimumMaximum
return MicroprotocolMinimumMaximum
if microprotocol == 'SecureSum':
fr... | PypiClean |
/asyncssh-unofficial-0.9.2.tar.gz/asyncssh-unofficial-0.9.2/asyncssh/stream.py | import asyncio
from .constants import *
from .misc import *
from .channel import *
class SSHReader:
"""SSH read stream handler"""
def __init__(self, session, datatype=None):
self._session = session
self._chan = session._chan
self._datatype = datatype
@property
def channel(se... | PypiClean |
/great_expectations_cta-0.15.43.tar.gz/great_expectations_cta-0.15.43/great_expectations/experimental/datasources/metadatasource.py | from __future__ import annotations
import logging
from pprint import pformat as pf
from typing import TYPE_CHECKING, Set, Type
import pydantic
from great_expectations.experimental.datasources.sources import _SourceFactories
if TYPE_CHECKING:
from great_expectations.experimental.datasources.interfaces import Dat... | PypiClean |
/qrm_client-0.1.0.tar.gz/qrm_client-0.1.0/README.md | # qrm
Queue Resources Manager

## Build
[](https://codecov.io/gh/final-israel/qrm)

![... | PypiClean |
/cdktf-cdktf-provider-google-9.0.1.tar.gz/cdktf-cdktf-provider-google-9.0.1/src/cdktf_cdktf_provider_google/data_catalog_policy_tag_iam_member/__init__.py | import abc
import builtins
import datetime
import enum
import typing
import jsii
import publication
import typing_extensions
from typeguard import check_type
from .._jsii import *
import cdktf as _cdktf_9a9027ec
import constructs as _constructs_77d1e7e8
class DataCatalogPolicyTagIamMember(
_cdktf_9a9027ec.Ter... | PypiClean |
/ryu-4.34.tar.gz/ryu-4.34/doc/source/writing_ryu_app.rst | *********************
The First Application
*********************
Whetting Your Appetite
======================
If you want to manage network gear (switches, routers, etc) your
own way, you just need to write your own Ryu application. Your application
tells Ryu how you want to manage the gear. Then Ryu configures the... | PypiClean |
/SCRIdb-1.2.11a2.tar.gz/SCRIdb-1.2.11a2/.eggs/jmespath-0.10.0-py3.7.egg/jmespath/ast.py |
def comparator(name, first, second):
return {'type': 'comparator', 'children': [first, second], 'value': name}
def current_node():
return {'type': 'current', 'children': []}
def expref(expression):
return {'type': 'expref', 'children': [expression]}
def function_expression(name, args):
return {'... | PypiClean |
/xs_transformers-1.0.7-py3-none-any.whl/xs_transformers/models/transfo_xl/modeling_tf_transfo_xl.py | from dataclasses import dataclass
from typing import List, Optional, Tuple, Union
import numpy as np
import tensorflow as tf
from ...modeling_tf_utils import (
TFModelInputType,
TFPreTrainedModel,
TFSequenceClassificationLoss,
get_initializer,
keras_serializable,
unpack_inputs,
)
from ...tf_ut... | PypiClean |
/DeepPhysX-22.6.tar.gz/DeepPhysX-22.6/src/Pipelines/BasePipeline.py | from typing import Dict, Optional, Any, List, Union
from DeepPhysX.Core.Network.BaseNetworkConfig import BaseNetworkConfig
from DeepPhysX.Core.Dataset.BaseDatasetConfig import BaseDatasetConfig
from DeepPhysX.Core.Environment.BaseEnvironmentConfig import BaseEnvironmentConfig
from DeepPhysX.Core.Manager.Manager import... | PypiClean |
/django-admin-modernize-1.0.3.tar.gz/django-admin-modernize-1.0.3/admin_modernize/static/assets/libs/bootstrap/js/dist/dom/selector-engine.js | (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('../util/index')) :
typeof define === 'function' && define.amd ? define(['../util/index'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.Sele... | PypiClean |
/image_bootstrap-2.0.5-py3-none-any.whl/directory_bootstrap/distros/centos.py |
import os
import re
import urllib.request, urllib.parse, urllib.error
from textwrap import dedent
from directory_bootstrap.distros.yum_based import YumBasedDirectoryBootstrapper
from directory_bootstrap.shared.loaders._bs4 import BeautifulSoup
def _abs_filename_to_url(abs_filename):
return 'file://%s' % urll... | PypiClean |
/jdcloud_sdk-1.6.243.tar.gz/jdcloud_sdk-1.6.243/jdcloud_sdk/services/apigateway/apis/CreateBackendConfigRequest.py |
# Copyright 2018 JDCLOUD.COM
#
# 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 required by applicable law or agreed to in writing,... | PypiClean |
/mvg_console-2021.2.12-py3-none-any.whl/mvg_console/main.py | import mvg_api as mvg
from .departure import Departure
from colr import color
from prettytable import PrettyTable
from typer import Typer
MVG_BG = "#2a4779"
MVG_FG = "#ffffff"
######
# Types of Transports
# 1. UBAHN
# 2. BUS
# 3. REGIONAL_BUS
# 4. TRAM
# 5. SBAHN
# 5. NACHT_BUSs
#######
app = Typer()
__package_na... | PypiClean |
/automodel-server-0.1.16.tar.gz/automodel-server-0.1.16/modellerstep/Malign.py | from Modeller_Caller import modeller_caller
import os
class Malign(object):
"""docstring for Malign"""
def __init__(self, path):
self.path = path
self.myscript = ""
def create_script_in_folder(self, template, best_sequence, loop_sequence):
script = """from modeller import *
import o... | PypiClean |
/galileo-db-0.10.4.tar.gz/galileo-db-0.10.4/galileodb/cli/recorder.py | import argparse
import logging
import os
import signal
import time
import redis
from galileodb.factory import create_experiment_database_from_env
from galileodb.model import Experiment, generate_experiment_id
from galileodb.recorder import Recorder
logger = logging.getLogger(__name__)
def create_experiment(args):
... | PypiClean |
/osmosis_protobuf-0.3.1.tar.gz/osmosis_protobuf-0.3.1/src/osmosis_protobuf/osmosis/valset_pref/v1beta1/query_pb2.py | from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
_sym_db = _symbol_database.Default()
from ....gogoproto import gogo_pb2 as gogopr... | PypiClean |
/matrix_sydent-2.5.6-py3-none-any.whl/sydent/sydent.py |
import gc
import logging
import logging.handlers
import os
import sqlite3
from typing import Optional
import attr
import prometheus_client
import twisted.internet.reactor
from matrix_common.versionstring import get_distribution_version_string
from signedjson.types import SigningKey
from twisted.internet import addres... | PypiClean |
/chromatinhd-0.0.21.tar.gz/chromatinhd-0.0.21/docs/source/quickstart/2_pred.py |
# %% [markdown]
# # ChromatinHD-*pred*
# %% tags=["hide_code", "hide_output"]
# autoreload
import IPython
if IPython.get_ipython() is not None:
IPython.get_ipython().run_line_magic("load_ext", "autoreload")
IPython.get_ipython().run_line_magic("autoreload", "2")
# %% tags=["hide_output"]
import chromatinhd ... | PypiClean |
/monk_cuda92-0.0.1-py3-none-any.whl/monk/gluon/finetune/level_13_updates_main.py | from monk.gluon.finetune.imports import *
from monk.system.imports import *
from monk.gluon.finetune.level_12_losses_main import prototype_losses
class prototype_updates(prototype_losses):
'''
Main class for all parametric update functions
Args:
verbose (int): Set verbosity levels
... | PypiClean |
/pulumi_azure_nextgen-0.6.2a1613157620.tar.gz/pulumi_azure_nextgen-0.6.2a1613157620/pulumi_azure_nextgen/domainregistration/v20190801/_inputs.py |
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union
from ... import _utilities, _tables
from ._enums import *
__all__ = [
'AddressArgs',
'ContactArgs',
'DomainPurchaseConsentArgs',
]
@pulumi.input_type
class AddressArgs:
def __init__(__self__... | PypiClean |
/Nuitka_winsvc-1.7.10-cp310-cp310-win_amd64.whl/nuitka/utils/CStrings.py | import codecs
import re
from nuitka.__past__ import unicode
def _identifierEncode(c):
"""Nuitka handler to encode unicode to ASCII identifiers for C compiler."""
return "$%02x$" % ord(c.object[c.end - 1]), c.end
codecs.register_error("c_identifier", _identifierEncode)
def _encodePythonStringToC(value):
... | PypiClean |
/dscript-0.2.4.tar.gz/dscript-0.2.4/docs/source/api/dscript.commands.rst | dscript.commands
================
dscript.commands.predict
------------------------
See `Prediction <../usage.html#prediction>`_ for full usage details.
.. automodule:: dscript.commands.predict
:members:
:undoc-members:
:show-inheritance:
dscript.commands.embed
----------------------
See `Embedding <../us... | PypiClean |
/pyelftools-0.29.tar.gz/pyelftools-0.29/elftools/elf/gnuversions.py | from ..construct import CString
from ..common.utils import struct_parse, elf_assert
from .sections import Section, Symbol
class Version(object):
""" Version object - representing a version definition or dependency
entry from a "Version Needed" or a "Version Dependency" table section.
This kind of... | PypiClean |
/chompack-2.3.2.tar.gz/chompack-2.3.2/examples/cholesky.py | from cvxopt import matrix, spmatrix, normal, amd, blas
from chompack import symbolic, cspmatrix, cholesky, llt, completion, projected_inverse, hessian, trsm, trmm,\
merge_size_fill, tril, symmetrize, perm, eye
import random
def sp_rand(m,n,a):
"""
Generates an mxn sparse 'd' matrix with round(a*m*n) nonzer... | PypiClean |
/spire.xls-13.4.0-py3-none-any.whl/spire/xls/XlsBordersCollection.py | from enum import Enum
from plum import dispatch
from typing import TypeVar,Union,Generic,List,Tuple
from spire.common import *
from spire.xls import *
from ctypes import *
import abc
class XlsBordersCollection ( CollectionBase[XlsBorder],IBorders) :
"""
"""
@property
def KnownColor(self)->'ExcelColo... | PypiClean |
/ym-xadmin-0.0.5.tar.gz/ym-xadmin-0.0.5/xadmin/js/xadmin.main.js | ;(function ($) {
$.fn.exform = function () {
this.each(function () {
var form = $(this);
for (var i = $.fn.exform.renders.length - 1; i >= 0; i--) {
$.fn.exform.renders[i](form)
}
;
form.addClass('rended');
})
}
$.f... | PypiClean |
/langchain_xfyun-0.0.275b2-py3-none-any.whl/langchain_xfyun/schema/prompt_template.py | from __future__ import annotations
import json
from abc import ABC, abstractmethod
from pathlib import Path
from typing import Any, Callable, Dict, List, Mapping, Optional, Union
import yaml
from langchain_xfyun.load.serializable import Serializable
from langchain_xfyun.pydantic_v1 import Field, root_validator
from ... | PypiClean |
/djangocms-googlecalendar-0.1.1.tar.gz/djangocms-googlecalendar-0.1.1/djangocms_googlecalendar/static/djangocms_googlecalendar/fullcalendar-3.4.0/locale/nl.js | !function(e){"function"==typeof define&&define.amd?define(["jquery","moment"],e):"object"==typeof exports?module.exports=e(require("jquery"),require("moment")):e(jQuery,moment)}(function(e,a){!function(){var e="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep... | PypiClean |
/hnzhu010506-0.0.1-py3-none-any.whl/poco/services/command_runners.py | import os
import platform
from subprocess import check_call, CalledProcessError
from .console_logger import ColorPrint
from .file_utils import FileUtils
from .project_utils import ProjectUtils
from .state import StateHolder
from .environment_utils import EnvironmentUtils
class AbstractPlanRunner(object):
@static... | PypiClean |
/fnal-column-analysis-tools-0.4.23.tar.gz/fnal-column-analysis-tools-0.4.23/fnal_column_analysis_tools/lookup_tools/json_converters.py | from fnal_column_analysis_tools.util import numpy as np
import json
def extract_json_histo_structure(parselevel, axis_names, axes):
if 'value' in parselevel.keys():
return
name = list(parselevel)[0].split(':')[0]
bins_pairs = [key.split(':')[-1].strip('[]').split(',') for key in parselevel.keys()]... | PypiClean |
/gamification-engine-0.4.0.tar.gz/gamification-engine-0.4.0/gengine/app/jsscripts/node_modules/caniuse-lite/data/regions/VI.js | module.exports={D:{"11":0.049,"38":0.0196,"45":0.0735,"46":0.0049,"47":0.0049,"49":0.1715,"53":0.1519,"56":0.0098,"57":0.0098,"58":0.1176,"59":0.2303,"60":0.0196,"61":0.0098,"62":0.049,"63":0.0833,"64":0.0539,"65":0.1274,"66":0.0833,"67":0.1029,"68":0.0539,"69":0.1274,"70":0.9114,"71":22.7164,"72":0.1127,"73":0.0343,"7... | PypiClean |
/PyQt6-6.5.2.tar.gz/PyQt6-6.5.2/uic/enum_map.py |
# Map enum member names to fully scoped names.
EnumMap = {
'Qt::AlignHCenter': 'Qt::AlignmentFlag::AlignHCenter',
'Qt::AlignJustify': 'Qt::AlignmentFlag::AlignJustify',
'Qt::AlignLeft': 'Qt::AlignmentFlag::AlignLeft',
'Qt::AlignRight': 'Qt::AlignmentFlag::AlignRigh... | PypiClean |
/nni-3.0rc1-py3-none-macosx_10_9_x86_64.whl/nni_node/node_modules/lodash/release.md | npm run build
npm run doc
npm i
git clone --depth=10 --branch=master git@github.com:lodash-archive/lodash-cli.git ./node_modules/lodash-cli
mkdir -p ./node_modules/lodash-cli/node_modules/lodash; cd $_; cp ../../../../lodash.js ./lodash.js; cp ../../../../package.json ./package.json
cd ../../; npm i --production; cd ..... | PypiClean |
/markdown-checklists-0.6.3.tar.gz/markdown-checklists-0.6.3/README | [Markdown Checklists](https://github.com/tobiashochguertel/markdown-checklists)
[](https://travis-ci.org/tobiashochguertel/markdown-checklists)
<!--[](htt... | PypiClean |
/m360-ptelegraf-3.2.2.tar.gz/m360-ptelegraf-3.2.2/m360/agents/tomcat/manager.py | import requests
import bs4
import re
import m360.base.manager as base
from logging import getLogger
LOG=getLogger('m360.agents.tomcat')
requests.packages.urllib3.disable_warnings()
class Manager(base.Manager):
@staticmethod
def list_processes(text_url, username, password):
'''
This function... | PypiClean |
/ClueDojo-1.4.3-1.tar.gz/ClueDojo-1.4.3-1/src/cluedojo/static/dojox/validate/README | -------------------------------------------------------------------------------
dojox.validate
-------------------------------------------------------------------------------
Version 0.02
Release date: 07/12/2007
-------------------------------------------------------------------------------
Project state: experimental... | PypiClean |
/apachecn_sec_zh_pt2-2022.9.27.0-py3-none-any.whl/ApachecnSecZhPt2/docs/real-world-crypto/02.md | # 二、哈希函数
本章涵盖了
* 哈希函数及其安全属性
* 当今广泛采用的哈希函数
* 现有的其他类型的哈希
将全球唯一标识符赋予任何事物,这是你将在本章中学习的第一个加密构造的承诺——哈希函数*。哈希函数在密码学中无处不在——无处不在!非正式地说,它们接受你想要的任何数据作为输入,并产生一个独特的字节串作为回报。给定相同的输入,哈希函数总是再现相同的字节串。这可能看起来没什么,但是这个简单的构造对于构建许多其他的密码学结构非常有用。在这一章中,你将学到关于哈希函数的所有知识,以及为什么它们如此通用。*
*## 2.1 什么是哈希函数?
在你面前,一个下载按钮正在占据页面的一大块。你可以阅读字母*下载*,点击... | PypiClean |
/remeha_tz-0.12.tar.gz/remeha_tz-0.12/remeha_core.py | import logging
from datetime import datetime
import struct
import sys
from datamap import datamap
log = logging.getLogger(__name__)
def eprint(*arguments, **kwargs):
print(*arguments, file=sys.stderr, **kwargs)
def parse_data(input_data, map_resolve=True):
for n, x in enumerate(input_data):
value ... | PypiClean |
/pixel_classifier_torch-0.2-py3-none-any.whl/pixel_classifier_torch-0.2.dist-info/LICENSE.md | GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Pream... | PypiClean |
/great_expectations_cta-0.15.43.tar.gz/great_expectations_cta-0.15.43/great_expectations/expectations/core/expect_column_values_to_be_in_set.py | from typing import TYPE_CHECKING, List, Optional, Union
from great_expectations.core import (
ExpectationConfiguration,
ExpectationValidationResult,
)
from great_expectations.expectations.expectation import (
ColumnMapExpectation,
InvalidExpectationConfigurationError,
)
from great_expectations.render i... | PypiClean |
/spectral-cube-0.6.2.tar.gz/spectral-cube-0.6.2/docs/index.rst | Spectral Cube documentation
===========================
The spectral-cube package provides an easy way to read, manipulate, analyze,
and write data cubes with two positional dimensions and one spectral dimension,
optionally with Stokes parameters. It provides the following main features:
- A uniform interface to spec... | PypiClean |
/cometml_api-0.1.tar.gz/cometml_api-0.1/README.md | # comet_ml_api
This is a set of _unofficial_ Python bindings for the CometML REST API. There are functions for all current endpoints as well as a couple of functions that build on the basic endpoint ones to provide, e.g., simpler output or filtering. I haven't used all of the endpoints myself, so some of the functions... | PypiClean |
/DTSR-0.2.0.tar.gz/DTSR-0.2.0/dtsr/bin/optimize_spillover.py | import argparse
import os
import sys
import itertools
import re
import pandas as pd
from dtsr.baselines import LM
import gc
from dtsr.config import Config
from dtsr.io import read_data
from dtsr.formula import Formula
from dtsr.data import preprocess_data, compute_splitID, compute_partition
from dtsr.util import mse, ... | PypiClean |
/sftpgo-client-0.3.1.tar.gz/sftpgo-client-0.3.1/sftpgo_client/base/api/admins/generate_admin_totp_secret.py | from typing import Any, Dict, Optional, Union, cast
import httpx
from ...client import AuthenticatedClient
from ...models.generate_admin_totp_secret_json_body import (
GenerateAdminTotpSecretJsonBody,
)
from ...models.generate_admin_totp_secret_response_200 import (
GenerateAdminTotpSecretResponse200,
)
from ... | PypiClean |
/bpelib-v0.1.2.tar.gz/bpelib-v0.1.2/bpe/bpe.py | import os
import re
import pickle
import collections
import numpy as np
from tqdm import tqdm
from typing import List, Tuple, Dict, Iterable
from abc import ABC, abstractmethod, abstractproperty
try:
import bpelib.bpe.libc as bpelibc
except ImportError as import_error:
print(import_error)
print("Continuing ... | PypiClean |
/tvb-ext-xircuits-1.1.0.tar.gz/tvb-ext-xircuits-1.1.0/xai_components/xai_tvb_models/stefanescu_jirsa.py |
import numpy
from tvb.simulator.models.base import Model
from typing import Union
from xai_components.base import xai_component, InArg, OutArg
from xai_components.base_tvb import ComponentWithWidget
from xai_components.utils import print_component_summary, set_values
@xai_component(color='rgb(101, 179, 46)')
class R... | PypiClean |
/cdktf_cdktf_provider_datadog-9.0.0-py3-none-any.whl/cdktf_cdktf_provider_datadog/provider/__init__.py | import abc
import builtins
import datetime
import enum
import typing
import jsii
import publication
import typing_extensions
from typeguard import check_type
from .._jsii import *
import cdktf as _cdktf_9a9027ec
import constructs as _constructs_77d1e7e8
class DatadogProvider(
_cdktf_9a9027ec.TerraformProvider... | PypiClean |
/FreePyBX-1.0-RC1.tar.gz/FreePyBX-1.0-RC1/freepybx/public/js/dojox/widget/DocTester.js.uncompressed.js | define("dojox/widget/DocTester", ["dijit","dojo","dojox","dojo/require!dojo/string,dijit/_Widget,dijit/_Templated,dojox/form/BusyButton,dojox/testing/DocTest"], function(dijit,dojo,dojox){
dojo.provide("dojox.widget.DocTester");
dojo.require("dojo.string");
dojo.require("dijit._Widget");
dojo.require("dijit._Templated... | PypiClean |
/langchain_ibis-0.0.100-py3-none-any.whl/langchain/document_loaders/notebook.py | import json
from pathlib import Path
from typing import Any, List
from langchain.docstore.document import Document
from langchain.document_loaders.base import BaseLoader
def concatenate_cells(
cell: dict, include_outputs: bool, max_output_length: int, traceback: bool
) -> str:
"""Combine cells information in... | PypiClean |
/great_expectations_cta-0.15.43.tar.gz/great_expectations_cta-0.15.43/great_expectations/rule_based_profiler/parameter_builder/simple_date_format_string_parameter_builder.py | from __future__ import annotations
import logging
from typing import TYPE_CHECKING, Dict, Iterable, List, Optional, Set, Union
import great_expectations.exceptions as ge_exceptions
from great_expectations.core.domain import Domain
from great_expectations.rule_based_profiler.attributed_resolved_metrics import (
At... | PypiClean |
/azure-cli-dla-0.2.6.tar.gz/azure-cli-dla-0.2.6/azure/cli/command_modules/dla/_params.py | from argcomplete.completers import FilesCompleter
from knack.arguments import CLIArgumentType
from azure.cli.core.commands.parameters import (
tags_type, get_resource_name_completion_list, resource_group_name_type, get_enum_type)
from azure.cli.command_modules.dla._validators import validate_resource_group_name,... | PypiClean |
/apache-airflow-providers-google-10.7.0.tar.gz/apache-airflow-providers-google-10.7.0/airflow/providers/google/cloud/links/dataform.py | """This module contains Google Dataflow links."""
from __future__ import annotations
from typing import TYPE_CHECKING
from airflow.models import BaseOperator
from airflow.providers.google.cloud.links.base import BaseGoogleLink
if TYPE_CHECKING:
from airflow.utils.context import Context
DATAFORM_BASE_LINK = "/bi... | PypiClean |
/testflows.core-1.9.230705.1122619.tar.gz/testflows.core-1.9.230705.1122619/testflows/_core/contrib/pygments/lexers/ruby.py | import re
from testflows._core.contrib.pygments.lexer import Lexer, RegexLexer, ExtendedRegexLexer, include, \
bygroups, default, LexerContext, do_insertions, words
from testflows._core.contrib.pygments.token import Text, Comment, Operator, Keyword, Name, String, \
Number, Punctuation, Error, Generic
from test... | PypiClean |
/Sqlcarve-0.4.31-py3-none-any.whl/sqlcarve/validator/commentsValidator.py | from sqlcarve.validator.helpers import *
from sqlcarve.validator.errorManager import *
import re
regex = r"(?:\/\/[^\n]*|\/\*(?:(?!\*\/).)*\*\/)|(--.*?\n)"
# regex = r"\/\*.*?\*\/|--.*?\n"
class CommentsValidator:
"""
Classe commentaire
"""
def __init__(self):
"""
Cette classe init... | PypiClean |
/Tensorforce-0.6.5.tar.gz/Tensorforce-0.6.5/tensorforce/agents/a2c.py |
from collections import OrderedDict
from tensorforce import TensorforceError
from tensorforce.agents import TensorforceAgent
class AdvantageActorCritic(TensorforceAgent):
"""
[Advantage Actor-Critic](https://arxiv.org/abs/1602.01783) agent
(specification key: `a2c`).
Args:
states (specifica... | PypiClean |
/urbanaccess-0.2.2.tar.gz/urbanaccess-0.2.2/CHANGELOG.rst | v0.2.2
======
2020/11/09
* allows passing matplotlib axes to urbanaccess.plot.plot_net()
* adds flexibility to calendar/date handling (calendar_dates.txt now supported)
* improves GTFS downloading (solves issue where requests were rejected due to missing user agent header)
* improves text encoding support
v0.2.1
===... | PypiClean |
/Pylouis-0.0.1-py3-none-any.whl/louis/__init__.py | from __future__ import unicode_literals
from ctypes import *
import atexit
import sys
# Some general utility functions
def _createTablesString(tablesList):
"""Creates a tables string for liblouis calls"""
return b",".join([x.encode(filesystemencoding) if isinstance(x, str) else bytes(x) for x in tablesList])
... | PypiClean |
/garage-2021.3.0.tar.gz/garage-2021.3.0/docs/user/environment_libraries.md | # Environment Libraries
Garage supports a variety of external environment libraries for different RL
training purposes. This section introduces the environment libraries
supported by garage and how to work with them.
## OpenAI `gym`
OpenAI's [gym](https://github.com/openai/gym) comes with the default garage
installat... | PypiClean |
/openimis-be-product-1.5.1.tar.gz/openimis-be-product-1.5.1/product/migrations/0001_initial.py |
import core.fields
import datetime
from django.db import migrations, models
import django.db.models.deletion
import product.models
import uuid
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Product',
... | PypiClean |
/mm_sdk-0.1.316-py3-none-any.whl/sdk/analytics.py | import json
from typing import List, Optional
from pydantic import BaseModel, HttpUrl
from sdk import Gender
from .client import Empty, SDKClient, SDKResponse
class Service(BaseModel):
name: str
price_code: str
cost: str
class Client(BaseModel):
uuid: str
fio: str
sex: str
birth: str... | PypiClean |
/qmpy-tri-2022.7.21.tar.gz/qmpy-tri-2022.7.21/qmpy/web/static/js/jsmol/j2s/J/render/FontLineShapeRenderer.js | Clazz.declarePackage ("J.render");
Clazz.load (["J.render.ShapeRenderer", "J.util.P3", "$.P3i", "$.V3"], "J.render.FontLineShapeRenderer", ["java.lang.Float", "J.constant.EnumAxesMode", "J.util.TextFormat"], function () {
c$ = Clazz.decorateAsClass (function () {
this.imageFontScaling = 0;
this.atomA = null;
this.atomB... | PypiClean |
/flask-admin-markdown-2020.3.27.1.tar.gz/flask-admin-markdown-2020.3.27.1/flask_admin_markdown/static/editormd/lib/codemirror/mode/tiddlywiki/tiddlywiki.js | //{{{
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mod(require("../../lib/codemirror"));
else if (typeof define == "function" && define.amd) // AMD
define(["../../lib/codemirror"], mod);
else // Plain browser env
mod(CodeMirror);
})(function(CodeMirror) {
... | PypiClean |
/uvm-python-0.3.0.tar.gz/uvm-python-0.3.0/test/examples/simple/registers/models/user-defined/regmodel.py |
from uvm.macros import uvm_object_utils
from uvm.reg import *
from uvm.base import *
#//
#// This example demonstrates how to include a user-defined register
#// in a register model.
#//
#//
#// The user_acp_reg has a user-defined behavior
#//
#// It increments by 1 after every write
#//
class user_acp_incr_on_writ... | PypiClean |
/uos_statphys-0.1.12.tar.gz/uos_statphys-0.1.12/uos_statphys/ImportManager.py | __all__ = ['']
class Import_Manager:
'''class for import manager for classes.'''
def __init__(self, globs= None):
self._modules = {}
self._funcs = {}
self._alls = {}
def copy(self, targets, globs):
if isinstance(targets, dict):
self.requireAs(globs = glo... | PypiClean |
/gaussianfft-1.1.1.post1.tar.gz/gaussianfft-1.1.1.post1/tools/build/test/builtin_glob_archive.py |
# Copyright 2014 Steven Watanabe
# Copyright 2015 Artur Shepilko
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
# This tests the GLOB_ARCHIVE rule.
import os
import sys
try:
from StringIO import StringIO
except:
f... | PypiClean |
/django-rte-0.4.0.tar.gz/django-rte-0.4.0/rte/static/rte/tiny_mce/themes/advanced/langs/sq.js | tinyMCE.addI18n('sq.advanced',{"underline_desc":"I N\u00ebnvizuar (Ctrl+U)","italic_desc":"I Pjerr\u00ebt (Ctrl+I)","bold_desc":"I Trash\u00eb (Ctrl+B)",dd:"P\u00ebrshkrimi i p\u00ebrcaktimit",dt:"Terma e p\u00ebrcaktimit ",samp:"Shembull kodi",code:"Kod",blockquote:"Bllok",h6:"Kok\u00eb 6",h5:"Kok\u00eb 5",h4:"Kok\u00... | PypiClean |
/ibmJupyterNotebookStyles-0.0.7.tar.gz/ibmJupyterNotebookStyles-0.0.7/README.md | # IbmJupyterNotebookStyles
## Install
```bash
$ pip install ibmJupyterNotebookStyles
```
## Use
```bash
$ import ibmJupyterNotebookStyles
$ ibmJupyterNotebookStyles.apply_ibm_styles()
```
## Documentation
### The package does the following:
- Changes the default font to IBM Plex and IBM Plex monospace.
- Changes ... | PypiClean |
/zimports-0.6.0.tar.gz/zimports-0.6.0/test_files/type_checking3.no_unused_types.py | from types import TYPE_CHECKING
if TYPE_CHECKING:
from sqlalchemy import alias
from sqlalchemy import all_
from sqlalchemy import and_
from sqlalchemy import any_
from sqlalchemy import ARRAY
from sqlalchemy import asc
from sqlalchemy import between
from sqlalchemy import BIGINT
fro... | PypiClean |
/klaviyo-api-beta-2.0.2.tar.gz/klaviyo-api-beta-2.0.2/src/openapi_client/model/campaign_partial_update_query.py | import re # noqa: F401
import sys # noqa: F401
from openapi_client.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,
none_type,
... | PypiClean |
/alipay_sdk_python-3.6.740-py3-none-any.whl/alipay/aop/api/request/AlipayOpenMiniWidgetGoodsQueryRequest.py | import json
from alipay.aop.api.FileItem import FileItem
from alipay.aop.api.constant.ParamConstants import *
from alipay.aop.api.domain.AlipayOpenMiniWidgetGoodsQueryModel import AlipayOpenMiniWidgetGoodsQueryModel
class AlipayOpenMiniWidgetGoodsQueryRequest(object):
def __init__(self, biz_model=None):
... | PypiClean |
/dash_daq-0.5.0.tar.gz/dash_daq-0.5.0/dash_daq/__init__.py | import os as _os
import dash as _dash
import sys as _sys
import json
_basepath = _os.path.dirname(__file__)
_filepath = _os.path.abspath(_os.path.join(_basepath, 'package-info.json'))
with open(_filepath) as f:
__version__ = json.loads(f.read())['version']
_current_path = _os.path.dirname(_os.path.abspath(__file... | PypiClean |
/tensorflow-probability-0.2.0.tar.gz/tensorflow-probability-0.2.0/tensorflow_probability/python/math/custom_gradient.py | """Functions for specifying custom gradients."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import tensorflow as tf
__all__ = [
'custom_gradient',
]
def is_list_like(x):
return isinstance(x, (tuple, list))
def identity(x, dtype=None, name=... | PypiClean |
/hybrid-vocal-classifier-0.3.1.tar.gz/hybrid-vocal-classifier-0.3.1/src/hvc/parse/predict.py | import os
import copy
import csv
import yaml
import joblib
from .utils import check_for_missing_keys, flatten
path = os.path.abspath(__file__)
dir_path = os.path.dirname(path)
with open(os.path.join(dir_path, "validation.yml")) as val_yaml:
validate_dict = yaml.load(val_yaml, Loader=yaml.FullLoader)
REQUIRED_T... | PypiClean |
/taskcc-alipay-sdk-python-3.3.398.tar.gz/taskcc-alipay-sdk-python-3.3.398/alipay/aop/api/domain/AlipayEcoEduKtBillingModifyModel.py | import json
from alipay.aop.api.constant.ParamConstants import *
class AlipayEcoEduKtBillingModifyModel(object):
def __init__(self):
self._buyer_logon_id = None
self._buyer_user_id = None
self._fund_change = None
self._gmt_refund = None
self._out_request_no = None
... | PypiClean |
/wasi-0.4.1.tar.gz/wasi-0.4.1/README.md | <p align="center">
<a href="https://github.com/wasienv/wasienv" target="_blank" rel="noopener noreferrer">
<img height="180" src="https://raw.githubusercontent.com/wasienv/wasienv/master/logo.png" alt="Wasienv logo">
</a>
</p>
<p align="center">
<a href="https://github.com/wasienv/wasienv/actions?workflow=CI... | PypiClean |
/aspose-tasks-cloud-22.12.0.tar.gz/aspose-tasks-cloud-22.12.0/asposetaskscloud/models/task.py | import pprint
import re # noqa: F401
import six
class Task(object):
"""Represents project task.
"""
"""
Attributes:
swagger_types (dict): The key is attribute name
and the value is attribute type.
attribute_map (dict): The key is attribute name
... | PypiClean |
/odmantic-0.9.2.tar.gz/odmantic-0.9.2/.mongodb-cluster-action/README.md | # MongoDB Cluster Action
[](https://github.com/art049/mongodb-cluster-action/actions/workflows/ci.yml)
## Github Action Usage
#### Basic
```yaml
steps:
# Create the MongoDB cluster
- uses: art049/mongodb-cluste... | PypiClean |
/nodeconductor-digitalocean-0.10.0.tar.gz/nodeconductor-digitalocean-0.10.0/src/nodeconductor_digitalocean/migrations/0001_initial.py | from __future__ import unicode_literals
from django.db import migrations, models
import nodeconductor.logging.loggers
import model_utils.fields
import nodeconductor.core.fields
import nodeconductor.structure.models
import nodeconductor.core.models
import django.db.models.deletion
import django.utils.timezone
import ta... | PypiClean |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.