id stringlengths 1 8 | text stringlengths 6 1.05M | dataset_id stringclasses 1
value |
|---|---|---|
/python-watcher_metering_vsphere-0.21.18.0b0.tar.gz/python-watcher_metering_vsphere-0.21.18.0b0/watcher_metering_vsphere/opts.py |
from watcher_metering_vsphere import host_drivers
from watcher_metering_vsphere import vm_drivers
DRIVERS = [
host_drivers.VSphereHostClusterServicesCpufairnessLatest,
host_drivers.VSphereHostClusterServicesEffectivecpuAverage,
host_drivers.VSphereHostClusterServicesEffectivememAverage,
host_drivers.... | PypiClean |
/mir_ml_utils-0.0.13-py3-none-any.whl/mir_ml_utils/models/model_loaders.py | from pathlib import Path
from typing import Any, Callable, Union
import torch
import torch.nn as nn
from torchvision import models
from torchvision.models.detection.faster_rcnn import FastRCNNPredictor
from torchvision.models.detection.mask_rcnn import MaskRCNNPredictor
from loguru import logger
from .models_enum impo... | PypiClean |
/w2widget-0.0.1.tar.gz/w2widget-0.0.1/README.md | # w2widget
Widget for exploring and sampling words from text data through word2vec models in order to construct topic dictionaries.
## Package content
The `w2widget` package contains two modules:
- `doc2vec.py`
- `widget.py`
## Examples
In the `widget_example.ipynb` you can play with the widget from pretrained data... | PypiClean |
/chat_client_GB_course_april-0.1.tar.gz/chat_client_GB_course_april-0.1/client/transport.py | import socket
import time
import logging
import json
import threading
import hashlib
import hmac
import binascii
from PyQt5.QtCore import pyqtSignal, QObject
from common.utils import *
from common.variables import *
from common.errors import ServerError
# Логер и объект блокировки для работы с сокетом.
logger = loggi... | PypiClean |
/hassmart_homeassistant-0.65.4.tar.gz/hassmart_homeassistant-0.65.4/homeassistant/components/notify/joaoapps_join.py | import logging
import voluptuous as vol
from homeassistant.components.notify import (
ATTR_DATA, ATTR_TITLE, ATTR_TITLE_DEFAULT, PLATFORM_SCHEMA,
BaseNotificationService)
from homeassistant.const import CONF_API_KEY
import homeassistant.helpers.config_validation as cv
REQUIREMENTS = ['python-join-api==0.0.2']
... | PypiClean |
/file-config-1.0.0.tar.gz/file-config-1.0.0/README.rst | File Config
===========
.. image:: https://badge.fury.io/py/file-config.svg
:target: https://pypi.org/project/file-config/
:alt: PyPI version
.. image:: https://img.shields.io/pypi/pyversions/file-config.svg
:target: https://pypi.org/project/file-config/
:alt: Supported Versions
.. image:: https://img.sh... | PypiClean |
/fake_bpy_module_2.82-20230117-py3-none-any.whl/bpy/utils/previews.py | import sys
import typing
import bpy.types
GenericType = typing.TypeVar("GenericType")
class ImagePreviewCollection:
''' Dictionary-like class of previews. This is a subclass of Python's built-in dict type, used to store multiple image previews.
'''
def clear(self):
''' Clear all previews.
... | PypiClean |
/python_messenger_client-0.0.5.tar.gz/python_messenger_client-0.0.5/messenger2/client/gui/welcome.py | from PySide2.QtWidgets import QDialog
from PySide2.QtCore import QFile, Slot
from PySide2.QtUiTools import QUiLoader
from messenger2 import config
import os
from messenger2.client.gui.alert_window import AlertWindow
from messenger2.client.gui.client_window import ClientWindow
from messenger2.client.transport import Cli... | PypiClean |
/jupyterhub_url_sharing-0.1.0.tar.gz/jupyterhub_url_sharing-0.1.0/node_modules/eslint/lib/rules/prefer-arrow-callback.js | "use strict";
const astUtils = require("./utils/ast-utils");
//------------------------------------------------------------------------------
// Helpers
//------------------------------------------------------------------------------
/**
* Checks whether or not a given variable is a function name.
* @param {eslint... | PypiClean |
/django-cms-patched-2.3.5.tar.gz/django-cms-patched-2.3.5/docs/index.rst | .. django cms documentation master file, created by
sphinx-quickstart on Tue Sep 15 10:47:03 2009.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
######################################
Welcome to django CMS's documentation!
#####################... | PypiClean |
/psu-cashnet-2.1.0.tar.gz/psu-cashnet-2.1.0/psu_cashnet/models/transaction.py | from django.db import models
from psu_base.classes.Log import Log
from psu_base.services import auth_service, utility_service
from urllib.parse import urlencode
from django.urls import reverse
log = Log()
class Transaction(models.Model):
"""Item definitions"""
date_created = models.DateTimeField(auto_now_ad... | PypiClean |
/pyAya-2.0.0-py3-none-any.whl/geezlibs/geez/utils/tools.py | import asyncio
import math
import os
import shlex
from typing import Tuple
from PIL import Image
from pymediainfo import MediaInfo
from pyrogram.types import Message
import multiprocessing
import mimetypes
import functools
import threading
from concurrent.futures import ThreadPoolExecutor
max_workers = multiprocessi... | PypiClean |
/ada_core-0.3.20-py3-none-any.whl/ada_core/algorithms/binary_calculate_algorithms.py | from numbers import Number
import numpy as np
from ada_core import exceptions, utils, constants
from ada_core.algorithms import Algorithm
from ada_core.data_model.io_data_type import AlgorithmIODataType
from ada_core.data_model.time_series import TimeSeries
from ada_core.data_model.entry import Entry
class ValueArit... | PypiClean |
/pmacct-to-elasticsearch-0.3.3a1.tar.gz/pmacct-to-elasticsearch-0.3.3a1/pierky/p2es/readers.py |
import json
try:
from queue import Queue, Empty
except:
from Queue import Queue, Empty
from pierky.p2es.transformations import *
from pierky.p2es.threads import P2ESThread
import sys
class BaseReaderThread(P2ESThread):
def __init__(self, idx, CONFIG, errors_queue, writer_queue):
P2ESThread.__ini... | PypiClean |
/robotframework-lsp-1.11.0.tar.gz/robotframework-lsp-1.11.0/robotframework_ls/impl/auto_import_completions.py | from robotframework_ls.impl.protocols import (
ICompletionContext,
IRobotDocument,
ILibraryDoc,
IKeywordFound,
CompletionType,
)
from robocorp_ls_core.lsp import (
CompletionItemKind,
TextEditTypedDict,
CompletionItemTypedDict,
InsertTextFormat,
)
from typing import Optional, List, S... | PypiClean |
/nbex-0.4.1.tar.gz/nbex-0.4.1/HISTORY.rst | =======
History
=======
0.1.0 (2020-11-11)
------------------
* First release on PyPI.
0.2.0 (2020-11-12)
------------------
* Try to guess a useful value for is_interactive without user intervention.
0.2.4 (2020-11-27)
------------------
* Add support for publishing a conda version
0.3.0 (unreleased)
----------... | PypiClean |
/nose-performance-0.4.1.tar.gz/nose-performance-0.4.1/src/noseperf/plugin.py | from __future__ import absolute_import
from datetime import datetime
import json
import os
import sys
import time
from nose.plugins.base import Plugin
from noseperf.testcases import PerformanceTest
from noseperf.util import PatchContext
from noseperf.wrappers.base import FunctionWrapper
class PerformancePlugin(Plu... | PypiClean |
/energistics/etp/v12/datatypes/channel_data/data_item.py | import typing
from pydantic import validator
from etptypes import ETPModel, Field, Strict
from etptypes.energistics.etp.v12.datatypes.index_value import IndexValue
from etptypes.energistics.etp.v12.datatypes.data_value import DataValue
from etptypes.energistics.etp.v12.datatypes.data_attribute import DataAttribute
... | PypiClean |
/ped_editor-1.2.3-py3-none-any.whl/ped_core/ped_help.py | """ module to hold the help text for the ped editor """
help_string = """
--------------------------------------------------------------------------------------------------
Help for ped James' simple python editor
keystroke action
--------------------- --------------------------------------------------... | PypiClean |
/django-oscar-pg-search-0.9.6.tar.gz/django-oscar-pg-search-0.9.6/src/oscar_pg_search/filter_options/attribute_fields.py | from django.db.models import Q
from oscar.core.loading import get_model
from .base_fields import AttributeFieldBase
RangeProduct = get_model('offer', 'RangeProduct')
ConditionalOffer = get_model('offer', 'ConditionalOffer')
Product = get_model('catalogue', 'Product')
ProductAttribute = get_model('catalogue', 'Product... | PypiClean |
/controlnet_hinter-0.0.5-py3-none-any.whl/annotator/uniformer/mmcv/runner/fp16_utils.py | import functools
import warnings
from collections import abc
from inspect import getfullargspec
import numpy as np
import torch
import torch.nn as nn
from annotator.uniformer.mmcv.utils import TORCH_VERSION, digit_version
from .dist_utils import allreduce_grads as _allreduce_grads
try:
# If PyTorch version >= 1.... | PypiClean |
/py-pure-client-1.38.0.tar.gz/py-pure-client-1.38.0/pypureclient/flasharray/FA_2_2/models/retention_policy.py | import pprint
import re
import six
import typing
from ....properties import Property
if typing.TYPE_CHECKING:
from pypureclient.flasharray.FA_2_2 import models
class RetentionPolicy(object):
"""
Attributes:
swagger_types (dict): The key is attribute name
and the value is... | PypiClean |
/ty-sig-0.1.5.tar.gz/ty-sig-0.1.5/src/tysig/tysig.py | from typing import Union, Optional, Callable, get_type_hints
import typing
from functools import wraps
from tysig.tyerrors import DEFAULT_ERROR, SIG_TYPE_ERROR, ARGS_ERROR, \
UNEXP_ERROR, RET_TYPE_ERROR
class TySig(object):
@staticmethod
def getattr_name(invar) -> Optional[str]:
"""
gets ... | PypiClean |
/GxSphinx-1.0.0.tar.gz/GxSphinx-1.0.0/sphinx/util/tags.py | from typing import Iterator, List
from jinja2 import nodes
from jinja2.environment import Environment
from jinja2.nodes import Node
from jinja2.parser import Parser
env = Environment()
class BooleanParser(Parser):
"""
Only allow condition exprs and/or/not operations.
"""
def parse_compare(self) -> ... | PypiClean |
/sila2lib_implementations-0.1.1-py3-none-any.whl/sila2lib_implementations/DASGIP/DASGIPService/AgitationServicer/AgitationServicer_real.py | __version__ = "0.0.1"
# import general packages
import logging
import time # used for observables
import uuid # used for observables
import grpc # used for type hinting only
# import SiLA2 library
import sila2lib.framework.SiLAFramework_pb2 as silaFW_pb2
# import gRPC modules for this feature... | PypiClean |
/Orange3_Network-1.8.0-cp39-cp39-macosx_10_9_x86_64.whl/orangecontrib/network/widgets/OWNxGenerator.py | import string
from collections import defaultdict
import numpy as np
from AnyQt.QtCore import Qt
from AnyQt.QtWidgets import QSpinBox
from Orange.data import Table, Domain, StringVariable
from Orange.widgets import gui, widget, settings
from Orange.widgets.widget import Output, Msg
from orangecontrib.network import... | PypiClean |
/acceldata_sdk-2.7.2.tar.gz/acceldata_sdk-2.7.2/acceldata_sdk/models/profile.py | from enum import Enum
class Profile:
def __init__(self, assetId, createdAt, id, jobId, profilingType, sparkClusterContext, status, updatedAt, rows=None,
totalRows=None, jobType=None, autoProfileId=None, profileDataAvailable=None, marker=None,
profiledData=None, error=None, clien... | PypiClean |
/acapy_mydata_did_protocol-0.1.15-py3-none-any.whl/mydata_did/v1_0/messages/read_did.py | from aries_cloudagent.messaging.agent_message import AgentMessage, AgentMessageSchema
from aries_cloudagent.messaging.models.base import BaseModel, BaseModelSchema
from marshmallow import EXCLUDE, fields
from mydata_did.v1_0.message_types import PROTOCOL_PACKAGE, READ_DID
from mydata_did.v1_0.utils.regex import MYDATA_... | PypiClean |
/ase_koopmans-0.1.4-py3-none-any.whl/ase/build/general_surface.py | from math import gcd
import numpy as np
from numpy.linalg import norm, solve
from ase.build import bulk
def surface(lattice, indices, layers, vacuum=None, tol=1e-10, periodic=False):
"""Create surface from a given lattice and Miller indices.
lattice: Atoms object or str
Bulk lattice structure of all... | PypiClean |
/naver-web-0.0.1.post7.tar.gz/naver-web-0.0.1.post7/naver_web/connect.py | from cryptography.fernet import Fernet
import codecs
import random
memory = list()
def checkIfSaltExists(salt):
"""Verifica si una clave de una instancia de Fernet ya existe
Args:
salt (str): Clave de la instancia encriptada.
Returns:
bool: True si la clave ya existe, False si no.
"... | PypiClean |
/tencentcloud_iac_pulumi-0.1.5.tar.gz/tencentcloud_iac_pulumi-0.1.5/tencentcloud_iac_pulumi/mongodb/get_instance_backups.py |
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import _utilities
from . import outputs
__all__ = [
'GetInstanceBackupsResult',
'AwaitableGetInstanceBackupsResult',
'get_instance_backups',
'get_instance_backups_output',
]... | PypiClean |
/tw.dojo-0.9.181.tar.gz/tw.dojo-0.9.181/tw/dojo/static/1.8.1/min/dojox/editor/plugins/nls/sv/latinEntities.js.uncompressed.js | define(
"dojox/editor/plugins/nls/sv/latinEntities", ({
/* These are already handled in the default RTE
amp:"ampersand",lt:"less-than sign",
gt:"greater-than sign",
nbsp:"no-break space\nnon-breaking space",
quot:"quote",
*/
iexcl:"omvänt utropstecken",
cent:"cent",
pound:"pund",
curren:"valuta",
yen:"ye... | PypiClean |
/fslpy-3.14.1-py3-none-any.whl/fsl/data/mghimage.py | import os.path as op
import pathlib
import numpy as np
import nibabel as nib
import fsl.utils.path as fslpath
import fsl.transform.affine as affine
import fsl.data.image as fslimage
ALLOWED_EXTENSIONS = ['.mgz', '.mgh']
"""List of file extensions interpreted as MGH image files.
"""
EXTENS... | PypiClean |
/parachute-0.4.2.tar.gz/parachute-0.4.2/README.md | Parachute
=========
Parachute is a swiss army knife for ArduPilot settings. It helps you quickly and
easily back up all your parameters to a file (and restore them). It also lets
you get/set them, filter them, diff them, restore them or convert them to
parameter files compatible with Mission Planner/QGroundControl.
... | PypiClean |
/cloudbandPy-1.0.0-py3-none-any.whl/cloudbandpy/time_utilities.py | import datetime as dt
import logging
import pandas
import netCDF4 as nc
import numpy as np
from typing import Any
import sys
def convert_date2num(time_in) -> Any:
return nc.date2num(time_in, "hours since 1900-01-01 00:00:00.0", calendar="gregorian").astype(np.int32)
def convert_num2date(time_in) -> Any:
ret... | PypiClean |
/webviz-subsurface-0.2.22.tar.gz/webviz-subsurface-0.2.22/webviz_subsurface/plugins/_structural_uncertainty/views/map_data.py | from typing import List
import webviz_core_components as wcc
from dash import dcc, html
def map_data_layout(
uuid: str,
surface_attributes: List[str],
surface_names: List[str],
ensembles: List[str],
realizations: List[int],
use_wells: bool,
) -> html.Div:
"""Layout for the map data dialog... | PypiClean |
/msgraph-sdk-1.0.0a3.tar.gz/msgraph-sdk-1.0.0a3/msgraph/generated/workbooks/item/copy/copy_request_builder.py | from __future__ import annotations
from dataclasses import dataclass
from kiota_abstractions.get_path_parameters import get_path_parameters
from kiota_abstractions.method import Method
from kiota_abstractions.request_adapter import RequestAdapter
from kiota_abstractions.request_information import RequestInformation
fro... | PypiClean |
/ase_koopmans-0.1.4-py3-none-any.whl/ase/io/dacapo.py | import numpy as np
from ase.calculators.singlepoint import SinglePointCalculator
from ase.atom import Atom
from ase.atoms import Atoms
def read_dacapo_text(fileobj):
if isinstance(fileobj, str):
fileobj = open(fileobj)
lines = fileobj.readlines()
i = lines.index(' Structure: A1 ... | PypiClean |
/tfg-nightly-2022.7.23.tar.gz/tfg-nightly-2022.7.23/tensorflow_graphics/rendering/triangle_rasterizer.py | import enum
from typing import Dict
from typing import Tuple
import tensorflow as tf
from tensorflow_graphics.rendering import barycentrics as barycentrics_module
from tensorflow_graphics.rendering import interpolate
from tensorflow_graphics.rendering import rasterization_backend
from tensorflow_graphics.rendering im... | PypiClean |
/python3_albow-2.90.0-py3-none-any.whl/albow/demo/screens/DemoListBoxScreen.py | import logging
from logging import Logger
from albow.core.ResourceUtility import ResourceUtility
from albow.core.ui.Shell import Shell
from albow.core.ui.Widget import Widget
from albow.layout.Column import Column
from albow.themes.Theme import Theme
from albow.widgets.Label import Label
from albow.widgets.Button ... | PypiClean |
/pmap3.0.3-1.0.0-py3-none-any.whl/RAPID/network/model.py | import torch
import torch.nn as nn
import torch.nn.init as init
import torch.nn.functional as F
from math import floor
import copy
### TODO: Documentation
class Conv1DLayer(nn.Module):
def __init__(self, inchannel, outchannel, k, s, p):
super(Conv1DLayer, self).__init__()
self.conv1d = nn.Conv1d(i... | PypiClean |
/spreadsheet-wrangler-0.1.3.tar.gz/spreadsheet-wrangler-0.1.3/spreadsheet_wrangler.py | import click
import pandas as pd # type: ignore
import csv
import os
import numpy as np # type: ignore
import copy
import ast
import json
import re
#from pandas_ods_reader import read_ods
import pyexcel_ods3
def read_pseodonyms(string: str) -> dict:
if len(string.strip()) == 0:
return {}
return json.l... | PypiClean |
/xprizo_sdk_py-1.0.1-py3-none-any.whl/xprizo_sdk_py/paths/api_preference_set_visible_by_phone/put.py | from dataclasses import dataclass
import typing_extensions
import urllib3
from urllib3._collections import HTTPHeaderDict
from xprizo_sdk_py import api_client, exceptions
from datetime import date, datetime # noqa: F401
import decimal # noqa: F401
import functools # noqa: F401
import io # noqa: F401
import re # n... | PypiClean |
/macspeechX-1.1a.tar.gz/macspeechX-1.1a/macspeechX.py | # now needs pyobjc
from Foundation import *
from AppKit import *
#
import ctypes,ctypes.util
from ctypes import cdll,byref
import time
import platform
__sys_desc=platform.uname()
#load speachSynthesis dll
__SS_Available=None
try:
#__ssdll=cdll.LoadLibrary("/System/Library/Frameworks/ApplicationServices.framewo... | PypiClean |
/corva_sdk-1.9.1-py3-none-any.whl/corva/api.py | import json
import posixpath
import re
from typing import List, Optional, Sequence, Union
import requests
class Api:
"""Provides a convenient way to access the Corva Platform API and Corva Data API.
Api wraps the Python `requests` library and adds automatic authorization,
convenient URL usage and reason... | PypiClean |
/viv_synapse-0.0.7-py3-none-any.whl/synapse/compat.py | from __future__ import absolute_import,unicode_literals
'''
A module to isolate python version compatibility filth.
'''
import os
import sys
import time
import base64
import socket
import struct
import itertools
import collections
major = sys.version_info.major
minor = sys.version_info.minor
micro = sys.version_info.m... | PypiClean |
/bigdl_chronos-2.3.0b20230131-py3-none-macosx_10_11_x86_64.whl/bigdl/chronos/data/tsdataset.py |
import pandas as pd
import numpy as np
import functools
import logging
from bigdl.chronos.data.utils.feature import generate_dt_features, generate_global_features
from bigdl.chronos.data.utils.impute import impute_timeseries_dataframe
from bigdl.chronos.data.utils.deduplicate import deduplicate_timeseries_dataframe
f... | PypiClean |
/appdynamics_bindeps_linux_x86-21.8.0-cp34-none-any.whl/appdynamics_bindeps/google/protobuf/service.py | __author__ = 'petar@google.com (Petar Petrov)'
class RpcException(Exception):
"""Exception raised on failed blocking RPC method call."""
pass
class Service(object):
"""Abstract base interface for protocol-buffer-based RPC services.
Services themselves are abstract classes (implemented either by servers or... | PypiClean |
/actoolkit-2.6.8b1-py3-none-any.whl/tkSrc/clone.py | import json
import kubernetes
import sys
import time
import astraSDK
import tkSrc
def doClone(
cloneAppName,
clusterID,
oApp,
namespaceMapping,
cloneStorageClass,
backupID,
snapshotID,
sourceAppID,
background,
pollTimer,
resourceFilter,
verbose,
quiet,
):
"""C... | PypiClean |
/pysilico-server-0.20.0.tar.gz/pysilico-server-0.20.0/README.md | # PYSILICO server: Prosilica AVT camera controller for Plico

[](https://codecov.io/gh/... | PypiClean |
/easy-spider-1.1.2.tar.gz/easy-spider-1.1.2/readme.md | # Easy Spider
## release note
1.0.13: 添加自动保存功能
1.1.2: 引入中间件处理,优化 easy_spider.core.Spider 中对请求进行处理的逻辑。
## quick start
``` python
from easy_spider import async_env, AsyncSpider, Request, HTMLResponse
class MySpider(AsyncSpider):
def init(self):
super().__init__()
self.start_targets = ["https:... | PypiClean |
/kelvin_sdk_app-7.12.0-py3-none-any.whl/kelvin/core/context.py |
from abc import ABC, abstractmethod
from typing import List, Tuple
from kelvin.sdk.datatype import Message
class ContextInterface(ABC):
"""Context abstract base-class."""
@abstractmethod
def get_process_time(self) -> float:
"""
Returns the current time of the application.
This ... | PypiClean |
/django-ace-overlay-0.8.0.tar.gz/django-ace-overlay-0.8.0/ace_overlay/static/ace_overlay/ace/mode-snippets.js | define("ace/mode/folding/coffee",["require","exports","module","ace/lib/oop","ace/mode/folding/fold_mode","ace/range"], function(require, exports, module) {
"use strict";
var oop = require("../../lib/oop");
var BaseFoldMode = require("./fold_mode").FoldMode;
var Range = require("../../range").Range;
var FoldMode = ex... | PypiClean |
/chatterbot-corpus-1.2.0.tar.gz/chatterbot-corpus-1.2.0/chatterbot_corpus/corpus.py | import os
import io
import glob
import yaml
DIALOG_MAXIMUM_CHARACTER_LENGTH = 400
CURRENT_DIRECTORY = os.path.dirname(os.path.abspath(__file__))
DATA_DIRECTORY = os.path.join(CURRENT_DIRECTORY, 'data')
class CorpusObject(list):
"""
This is a proxy object that allow additional
attributes to be added to t... | PypiClean |
/askbot-tuan-1.5.tar.gz/askbot-tuan-1.5/askbot/setup_templates/static/tiny_mce/themes/advanced/langs/mn.js | tinyMCE.addI18n('mn.advanced',{"underline_desc":"\u0414\u043e\u043e\u0433\u0443\u0443\u0440 \u0437\u0443\u0440\u0430\u0430\u0441 (Ctrl+U)","italic_desc":"\u041d\u0430\u043b\u0443\u0443 (Ctrl+I)","bold_desc":"\u0422\u043e\u0434 (Ctrl+B)",dd:"\u0422\u0430\u0439\u043b\u0431\u0430\u0440",dt:"\u0422\u043e\u0434\u043e\u0440\... | PypiClean |
/love_course_2016_2019-2023.3.1.0-py3-none-any.whl/LoveCourse20162019/docs/an-xiao-yao/13-安小妖《好男人,你也要学会撩妹》:0-100:028约女生流程微信ziyuan-share.md | # 13-安小妖《好男人,你也要学会撩妹》:0-100:028约女生流程微信 ziyuan-share
本节目由习马来亚独家播出,将你用最强谣的说法方式,征服女人的内心世界,我是夏洛,哈喽,今天我来给大家讲一讲,关于腰跃女生的那些知识点,那很多男生觉得自己知识,所以追求不到喜欢的女生。
就是因为自己不会聊天,看着通讯中里面的女生,就是不知道该说什么好,其实今天我要告诉大家的是,聊天技巧 固然重要,但是在追求女生的过程中,最重要的是,你带动你和女生关系的能力,大家记住这个词 带动。
就是你要主导你和女生之间的,关系的发展,女生当然是不会主动,升级你们关系的 对吧,他只会给你释放一些,对你有兴趣的指标,女生不可能主动欠你的手,更不... | PypiClean |
/ixnetwork_restpy-1.1.10.tar.gz/ixnetwork_restpy-1.1.10/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/esmcrange_66e439c6dcc766717e9e3d164bc3e4af.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 EsmcRange(Base):
"""
The EsmcRange class encapsulates a list of esmcRange resources that are managed by the user.
A list of resources can... | PypiClean |
/ondamonitor-23.8.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl/om/lib/crystallography.py | from collections import deque
from typing import Any, Deque, Dict, List, Tuple, Union, cast
import numpy
from numpy.typing import NDArray
from om.algorithms.crystallography import Peakfinder8PeakDetection, TypePeakList
from om.lib.geometry import (
DataVisualizer,
GeometryInformation,
TypePixelMaps,
T... | PypiClean |
/perun.connector-3.7.3-py3-none-any.whl/perun/connector/perun_openapi/model/unset_role_with_user_complementary_objects.py | import re # noqa: F401
import sys # noqa: F401
from perun.connector.perun_openapi.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 |
/monk_keras_cuda92-0.0.1-py3-none-any.whl/monk/gluon/finetune/level_5_state_base.py | from monk.gluon.finetune.imports import *
from monk.system.imports import *
from monk.gluon.finetune.level_4_evaluation_base import finetune_evaluation
class finetune_state(finetune_evaluation):
'''
Base class for Monk states - train, eval_infer, resume, copy_from, pseudo_copy_from (for running sub-experim... | PypiClean |
/sparkfun_qwiic_eeprom-0.0.1.tar.gz/sparkfun_qwiic_eeprom-0.0.1/README.md | Qwiic_EEPROM_Py
===============
<p align="center">
<img src="https://cdn.sparkfun.com/assets/custom_pages/2/7/2/qwiic-logo-registered.jpg" width=200>
<img src="https://www.python.org/static/community_logos/python-logo-master-v3-TM.png" width=240>
</p>
<p align="center">
<a href="https://pypi.org/project/... | PypiClean |
/jdcloud_sdk-1.6.243.tar.gz/jdcloud_sdk-1.6.243/jdcloud_sdk/services/billing/models/AccountingRuleVo.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 |
/AX3%20OTP%20Auth-1.0.5.tar.gz/AX3 OTP Auth-1.0.5/ax3_OTP_Auth/views.py | from urllib import parse
from secrets import token_urlsafe
from django.shortcuts import redirect
from django.urls import reverse
from django.views.generic import FormView, TemplateView
from .forms import StartForm, VerifyForm
from .hotp import HOTP
from .settings import OTP_AUTH_PARAMS, LOGIN_URL
class StartView(Fo... | PypiClean |
/FMPy-0.3.11-py3-none-any.whl/fmpy/sundials/cvode_ls.py | from .libraries import sundials_cvode
from .sundials_matrix import *
from .sundials_linearsolver import *
# #include <sundials/sundials_direct.h>
# #include <sundials/sundials_iterative.h>
# #include <sundials/sundials_linearsolver.h>
# #include <sundials/sundials_matrix.h>
# #include <sundials/sundials_nvector.h>
#
#... | PypiClean |
/sf-elastic-apm-6.13.2.tar.gz/sf-elastic-apm-6.13.2/elasticapm/instrumentation/packages/asyncio/asyncpg.py |
from elasticapm.contrib.asyncio.traces import async_capture_span
from elasticapm.instrumentation.packages.asyncio.base import AsyncAbstractInstrumentedModule
from elasticapm.instrumentation.packages.dbapi2 import extract_signature
from elasticapm.utils import default_ports
from elasticapm.utils.encoding import shorten... | PypiClean |
/pulumi_azure_nextgen-0.6.2a1613157620.tar.gz/pulumi_azure_nextgen-0.6.2a1613157620/pulumi_azure_nextgen/web/get_site_instance_deployment_slot.py |
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union
from .. import _utilities, _tables
__all__ = [
'GetSiteInstanceDeploymentSlotResult',
'AwaitableGetSiteInstanceDeploymentSlotResult',
'get_site_instance_deployment_slot',
]
@pulumi.output_type
c... | PypiClean |
/talisman_dm-1.0.0a13-py3-none-any.whl/tdm/abstract/datamodel/document.py | from abc import ABCMeta, abstractmethod
from typing import Any, Callable, Dict, Iterable, Iterator, Optional, Set, Tuple, Type, TypeVar, Union
from .directive import AbstractDirective
from .fact import AbstractFact
from .identifiable import Identifiable
from .link import AbstractNodeLink
from .node import AbstractNode... | PypiClean |
/openapi_python_embyapi-4.8.0.36.tar.gz/openapi_python_embyapi-4.8.0.36/openapi_python_embyapi/api/user_library_service/delete_users_by_userid_favoriteitems_by_id.py | from http import HTTPStatus
from typing import Any, Dict, Optional, Union, cast
import httpx
from ... import errors
from ...client import AuthenticatedClient, Client
from ...models.user_item_data_dto import UserItemDataDto
from ...types import Response
def _get_kwargs(
user_id: str,
id: str,
*,
clie... | PypiClean |
/cxcli-0.1.2.tar.gz/cxcli-0.1.2/README.md | # cx: Experimental CLI for Citrix Cloud
>**Note:** Given that this is experimental software, your mileage may vary. The CLI-syntax is not yet finalized and may still change.
The CLI works using the REST APIs of Citrix Cloud, as documented on [Citrix's Developer Portal](https://developer.cloud.com).
<p float="left">... | PypiClean |
/odorik-0.5.tar.bz2/odorik-0.5/docs/command.rst | Odorik command line interface
=============================
.. program:: odorik
Synopsis
++++++++
.. code-block:: text
odorik [parameter] <command> [options]
Commands actually indicate which operation should be performed.
Description
+++++++++++
This module also installs :program:`odorik` program, which allo... | PypiClean |
/redcord.py-1.7.3.tar.gz/redcord.py-1.7.3/discord/client.py | import asyncio
import logging
import signal
import sys
import traceback
import aiohttp
from .user import User, Profile
from .invite import Invite
from .template import Template
from .widget import Widget
from .guild import Guild
from .channel import _channel_factory
from .enums import ChannelType
from .mentions impor... | PypiClean |
/scipion-pyworkflow-3.2.0.tar.gz/scipion-pyworkflow-3.2.0/pyworkflow/protocol/constants.py | # ------------------ Constants values -----------------------------------------
# Possible status of a protocol run, used mainly to monitor progress
STATUS_SAVED = "saved" # Parameters saved for later use
STATUS_LAUNCHED = "launched" # launched to queue system, only useful for protocols
STATUS_NEW = "new"
STATUS_RU... | PypiClean |
/EGOPY-1.1.202212-py3-none-any.whl/ego_rqdata/rqdata_datafeed.py | from datetime import datetime, timedelta
from typing import Dict, List, Optional
from numpy import ndarray
from pandas import DataFrame
from rqdatac import init
from rqdatac.services.get_price import get_price
from rqdatac.services.basic import all_instruments
from rqdatac.share.errors import AuthenticationFailed
fro... | PypiClean |
/boto3_type_annotations_with_docs-0.3.1.tar.gz/boto3_type_annotations_with_docs-0.3.1/boto3_type_annotations/dlm/client.py | from typing import Optional
from botocore.client import BaseClient
from typing import Dict
from botocore.paginate import Paginator
from botocore.waiter import Waiter
from typing import Union
from typing import List
class Client(BaseClient):
def can_paginate(self, operation_name: str = None):
"""
C... | PypiClean |
/Nitrous-0.9.3-py3-none-any.whl/turbogears/command/sacommand.py | from __future__ import print_function
from builtins import str
# from peak.rules import abstract, when, around
from turbogears import config
from turbogears.util import get_model
try:
from sqlalchemy import MetaData, exceptions, Table, String, Unicode
from turbogears.database import bind_metadata, metadata, get... | PypiClean |
/superset-2.0.0-custom-test-0.0.1.tar.gz/superset-2.0.0-custom-test-0.0.1/superset/charts/commands/bulk_delete.py | import logging
from typing import List, Optional
from flask_appbuilder.security.sqla.models import User
from flask_babel import lazy_gettext as _
from superset.charts.commands.exceptions import (
ChartBulkDeleteFailedError,
ChartBulkDeleteFailedReportsExistError,
ChartForbiddenError,
ChartNotFoundErro... | PypiClean |
/scikit-bio-0.5.9.tar.gz/scikit-bio-0.5.9/skbio/sequence/__init__.py | r"""
Sequences (:mod:`skbio.sequence`)
=================================
.. currentmodule:: skbio.sequence
This module provides classes for storing and working with sequences, including
generic/nonbiological sequences which have no alphabet restrictions
(``Sequence``) and sequences based on IUPAC-defined alphabets (`... | PypiClean |
/ensmallen_graph-0.6.0-cp37-cp37m-manylinux2010_x86_64.whl/ensmallen_graph/datasets/string/actinobaculumurinale.py | from typing import Dict
from ..automatic_graph_retrieval import AutomaticallyRetrievedGraph
from ...ensmallen_graph import EnsmallenGraph # pylint: disable=import-error
def ActinobaculumUrinale(
directed: bool = False,
verbose: int = 2,
cache_path: str = "graphs/string",
**additional_graph_kwargs: D... | PypiClean |
/google-endpoints-api-management-1.11.1.tar.gz/google-endpoints-api-management-1.11.1/endpoints_management/auth/tokens.py | from __future__ import absolute_import
import datetime
import jwkest
import time
from dogpile import cache
from jwkest import jws
from jwkest import jwt
from . import suppliers
INT_TYPES = (int, long)
class Authenticator(object): # pylint: disable=too-few-public-methods
"""Decodes and verifies the signature ... | PypiClean |
/safewise-1.1.0.tar.gz/safewise-1.1.0/safewiselib/transport/webusb.py |
import atexit
import logging
import sys
import time
from typing import Iterable, Optional
from . import SafeWISES, UDEV_RULES_STR, TransportException
from .protocol import ProtocolBasedTransport, ProtocolV1
LOG = logging.getLogger(__name__)
try:
import usb1
except Exception as e:
LOG.warning("WebUSB transpo... | PypiClean |
/networking_ansible-5.0.0-py3-none-any.whl/networking_ansible/ml2/mech_driver.py |
import os
from neutron.db import provisioning_blocks
from neutron.objects.network import Network
from neutron.objects.network import NetworkSegment
from neutron.objects.ports import Port
from neutron.objects.trunk import Trunk
from neutron.plugins.ml2.common import exceptions as ml2_exc
from neutron_lib.api.definiti... | PypiClean |
/smartautomatic_server_frontend-20220907.2-py3-none-any.whl/sas_frontend/frontend_es5/755ca74b.js | "use strict";(self.webpackChunksmartautomatic_server_frontend=self.webpackChunksmartautomatic_server_frontend||[]).push([[74535],{74535:function(e,t,r){r(44577);var i,n,o,a=r(37500),s=r(33310),l=r(14516),c=r(47181),u=r(58831),d=r(91741),f=r(85415);r(77576),r(10983),r(52039),r(3143);function p(e){return p="function"==ty... | PypiClean |
/powpy-0.1.1.tar.gz/powpy-0.1.1/README.md | # Proof of work
## A simple Proof Of Work module made with python
## **POW ALGORITHM**
The algorythm used in this module is very simple:
The inputs are an **initial SHA-256 hash** (that could be the last proof of work hash, like in bitcoin system) and a **difficult in number of zeroes**. That means the number of zeroe... | PypiClean |
/fret-0.3.5.tar.gz/fret-0.3.5/docs/source/index.rst | .. fret documentation master file, created by
sphinx-quickstart on Fri Mar 8 08:22:31 2019.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Documentation for fret
======================
Welcome to ``fret``’s documentation. ``fret`` stands for "F... | PypiClean |
/unicms-0.30.2-py3-none-any.whl/cms/api/views/carousel_item_link_localization.py | from django.contrib.contenttypes.models import ContentType
from django.http import Http404
from django.shortcuts import get_object_or_404
from cms.carousels.forms import CarouselItemLinkLocalizationForm
from cms.carousels.models import *
from cms.carousels.serializers import *
from rest_framework.permissions import I... | PypiClean |
/DLTrainer-0.1.2.tar.gz/DLTrainer-0.1.2/README.md | # Introduction
DLTrainer is an easy to use framework for quickly setting up deep learning experiments. This includes CPU, single GPU and distributed GPU experiments. Currently, this package only supports PyTorch.
This packages is primarily designed for running experiments from the command line, so that workloads can ... | PypiClean |
/smartai-1.0.tar.gz/smartai-1.0/smartui/static/admin/simpleui-x/elementui/umd/locale/af-ZA.js | (function (global, factory) {
if (typeof define === "function" && define.amd) {
define('element/locale/af-ZA', ['module', 'exports'], factory);
} else if (typeof exports !== "undefined") {
factory(module, exports);
} else {
var mod = {
exports: {}
};
factory(mod, mod.exports);
global... | PypiClean |
/tlidb-1.0.3.tar.gz/tlidb-1.0.3/dataset_preprocessing/friends/meld_manual_mapping.py | manual_mapping = {
"test-1": [
"s03_e19_c11_u001"
],
"test-2": [
"s03_e19_c11_u002"
],
"test-3": [
"s03_e19_c11_u004"
],
"test-19": [
"s01_e23_c11_u000"
],
"test-20": [
"s01_e23_c11_u000"
],
"test-21": [
"s01_e23_c11_u000"
],
"test-22": [
"s01_e23_c11_u000"
],
"... | PypiClean |
/accelbyte_py_sdk-0.48.0.tar.gz/accelbyte_py_sdk-0.48.0/accelbyte_py_sdk/api/legal/models/policy_version_object.py |
# template file: ags_py_codegen
# AccelByte Gaming Services Legal Service (1.32.0)
# pylint: disable=duplicate-code
# pylint: disable=line-too-long
# pylint: disable=missing-function-docstring
# pylint: disable=missing-module-docstring
# pylint: disable=too-many-arguments
# pylint: disable=too-many-branches
# pylint... | PypiClean |
/plonetheme.wmoWonen-2.7.tar.gz/plonetheme.wmoWonen-2.7/Paste-1.7.5.1-py2.6.egg/paste/util/scgiserver.py | import sys
import time
from scgi import scgi_server
def debug(msg):
timestamp = time.strftime("%Y-%m-%d %H:%M:%S",
time.localtime(time.time()))
sys.stderr.write("[%s] %s\n" % (timestamp, msg))
class SWAP(scgi_server.SCGIHandler):
"""
SCGI->WSGI application proxy: let an S... | PypiClean |
/mattermost_api_reference_client-4.0.0.post1.tar.gz/mattermost_api_reference_client-4.0.0.post1/mattermost_api_reference_client/models/playbook_run.py | from typing import TYPE_CHECKING, Any, Dict, List, Type, TypeVar, Union
import attr
from ..types import UNSET, Unset
if TYPE_CHECKING:
from ..models.checklist import Checklist
T = TypeVar("T", bound="PlaybookRun")
@attr.s(auto_attribs=True)
class PlaybookRun:
"""
Attributes:
id (Union[Unset, ... | PypiClean |
/formification-1.2.0-py3-none-any.whl/formulaic/static/admin/formulaic/ember-formulaic/node_modules/babel-register/node_modules/core-js/library/modules/_collection-weak.js | 'use strict';
var redefineAll = require('./_redefine-all')
, getWeak = require('./_meta').getWeak
, anObject = require('./_an-object')
, isObject = require('./_is-object')
, anInstance = require('./_an-instance')
, forOf = require('./_for-of')
, createArr... | PypiClean |
/aiauthenticator-0.3.tar.gz/aiauthenticator-0.3/README.md | # JupyterHub Authenticator #
Simple authenticator for [JupyterHub](http://github.com/jupyter/jupyterhub/)
that allows all user logins regardless of password. Useful only for testing,
do not use for anything actually serious!
## Installation ##
```
git clone https://github.com/jiangjialong/aiauthenticator.git
cd jupy... | PypiClean |
/rflow_tfx-1.1.18-py3-none-any.whl/tfx/components/pusher/executor_v1aphla2.py | """TFX pusher executor."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import os
import time
from typing import Any, Dict, List, Optional, Text
from absl import logging
from tfx import types
from tfx.components.util import model_utils
from tfx.dsl.comp... | PypiClean |
/mfpfile-1.2.tar.gz/mfpfile-1.2/README.md | # mfpfile
mfpfile is a module for reading of data files recorded with MFP devices (something like [this](https://www.asylumresearch.com/Products/MFP3DInfinity/MFP3DInfinity.shtml), I think). I am sorry for the lack of comments and documentation. This project is in a very early stage. Instead, you can have a look at th... | PypiClean |
/django-endless-pagination-angular-1.2.tar.gz/django-endless-pagination-angular-1.2/endless_pagination/settings.py |
from __future__ import unicode_literals
from django.conf import settings
# How many objects are normally displayed in a page
# (overwriteable by templatetag).
PER_PAGE = getattr(settings, 'ENDLESS_PAGINATION_PER_PAGE', 10)
# The querystring key of the page number.
PAGE_LABEL = getattr(settings, 'ENDLESS_PAGINATION_... | PypiClean |
/edge-genome-3.28.2.tar.gz/edge-genome-3.28.2/src/edge/static/edge/lib/jquery/src/effects.js | define( [
"./core",
"./core/camelCase",
"./var/document",
"./var/isFunction",
"./var/rcssNum",
"./var/rnothtmlwhite",
"./css/var/cssExpand",
"./css/var/isHiddenWithinTree",
"./css/adjustCSS",
"./data/var/dataPriv",
"./css/showHide",
"./core/init",
"./queue",
"./deferred",
"./traversing",
"./manipulatio... | PypiClean |
/cognite_neat-0.25.2.tar.gz/cognite_neat-0.25.2/cognite/neat/workflows/steps/data_contracts.py | from pathlib import Path
from cognite.client import CogniteClient
from cognite.client.data_classes import Relationship, RelationshipUpdate
from cognite.client.data_classes.data_modeling import EdgeApply, NodeApply
from cognite.neat.graph.stores import NeatGraphStore
from cognite.neat.rules.exporter.rules2dms import D... | PypiClean |
/pulumi_rancher2-5.2.0a1692857566.tar.gz/pulumi_rancher2-5.2.0a1692857566/pulumi_rancher2/get_project_role_template_binding.py |
import copy
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from . import _utilities
__all__ = [
'GetProjectRoleTemplateBindingResult',
'AwaitableGetProjectRoleTemplateBindingResult',
'get_project_role_template_binding',
'get_pro... | PypiClean |
/gpkgstatus-2.1.3.tar.gz/gpkgstatus-2.1.3/README.md | # gpkgstatus
## Get Current Package Status from Fedora Updates System
This program is a command-line tool for checking the status of packages on bodhi.fedoraproject.org.
It allows you to search for a specific package and get information about its current status, including the update ID, package name, and status.
[![... | PypiClean |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.