id stringlengths 1 8 | text stringlengths 6 1.05M | dataset_id stringclasses 1
value |
|---|---|---|
/OpenAISurveyWrapper-0.0.6.tar.gz/OpenAISurveyWrapper-0.0.6/CONTRIBUTING.md | # How to contribute
## How to get started
Before anything else, please install the git hooks that run automatic scripts during each commit and merge to strip the notebooks of superfluous metadata (and avoid merge conflicts). After cloning the repository, run the following command inside it:
```
nbdev_install_git_hook... | PypiClean |
/Notification/notification.py | from entegywrapper.schemas.profile import ProfileIdentifier
def send_notification(
self,
title: str,
message: str,
*,
profile_id: str | None = None,
external_reference: str | None = None,
internal_reference: str | None = None,
badge_reference: str | None = None,
target_page: dict[s... | PypiClean |
/suds2-0.7.1.zip/suds2-0.7.1/suds/options.py | from suds.cache import Cache, NoCache
from suds.properties import *
from suds.store import DocumentStore, defaultDocumentStore
from suds.transport import Transport
from suds.wsse import Security
from suds.xsd.doctor import Doctor
class TpLinker(AutoLinker):
"""
Transport (auto) linker used to manage linkage b... | PypiClean |
/pythondata_misc_opentitan-0.0.post5512-py3-none-any.whl/pythondata_misc_opentitan/resources/sw/vendor/riscv_compliance/riscv-test-suite/README.md | # RISC-V Test Suites
Tests are grouped into different functional test suites targeting the different subsets of the full RISC-V specifications. There will be ISA and privilege suites.
For information on the test framework and other documentation on the compliance tests look at : [../doc/README.adoc](../doc/README.ad... | PypiClean |
/easylearn-0.1.20a0.tar.gz/easylearn-0.1.20a0/eslearn/machine_learning/classfication/pca_relieff_svc_cv.py | import numpy as np
from sklearn import svm
from sklearn.model_selection import KFold
from sklearn import preprocessing
import nibabel as nib
import os
from eslearn.utils.lc_evaluation_model_performances import eval_performance
from eslearn.utils.lc_niiProcessor import NiiProcessor
import eslearn.utils.el_preprocessing... | PypiClean |
/teamrubber.pdberrorlog-1.1.tar.gz/teamrubber.pdberrorlog-1.1/README.txt | Introduction
============
Adds the "errorlog" command to pdb sessions. This is only useful in functional test cases in PloneTestCase.::
(Pdb) errorlog
(Pdb) admin.open("http://nohost/plone/createObject")
*** HTTPError: HTTP Error 500: Internal Server Error
(Pdb) admin.open("http://nohost/plone/create... | PypiClean |
/oda_api-1.1.41-py3-none-any.whl/oda_api/token.py | import json
import base64
import logging
import os
from typing import Union, Tuple
from os import environ, getcwd, path, remove, chmod
from enum import Enum
from types import FunctionType
import time
import traceback
from jwt.exceptions import ExpiredSignatureError # type: ignore
default_algorithm = 'HS256'
token_em... | PypiClean |
/pulumi_azure_nextgen-0.6.2a1613157620.tar.gz/pulumi_azure_nextgen-0.6.2a1613157620/pulumi_azure_nextgen/insights/getguest_diagnostics_setting.py |
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union
from .. import _utilities, _tables
from . import outputs
__all__ = [
'GetguestDiagnosticsSettingResult',
'AwaitableGetguestDiagnosticsSettingResult',
'getguest_diagnostics_setting',
]
@pulumi.ou... | PypiClean |
/resoto_plugin_slack-3.6.5-py3-none-any.whl/resoto_plugin_slack/__init__.py | import resotolib.logger
import threading
import time
import ssl
import slack_sdk
from typing import List, Any
from retrying import retry
from resotolib.utils import utc_str
from .resources import (
SlackRegion,
SlackTeam,
SlackUser,
SlackUsergroup,
SlackConversation,
)
from resotolib.baseplugin imp... | PypiClean |
/ovos-tts-plugin-polly-0.0.1.tar.gz/ovos-tts-plugin-polly-0.0.1/ovos_tts_plugin_polly/__init__.py | import logging
import boto3
from ovos_plugin_manager.templates.tts import TTS, TTSValidator
logging.getLogger('botocore').setLevel(logging.CRITICAL)
logging.getLogger('boto3').setLevel(logging.CRITICAL)
logging.getLogger('urllib3.util.retry').setLevel(logging.CRITICAL)
class PollyTTS(TTS):
def __init__(self, *a... | PypiClean |
/Sider-0.3.1.tar.gz/Sider-0.3.1/sider/set.py | from __future__ import absolute_import
import collections
from .session import Session
from .types import Bulk, String
from .transaction import manipulative, query
from . import utils
class Set(collections.MutableSet):
"""The Python-side representaion of Redis set value. It behaves
alike built-in Python :cla... | PypiClean |
/odoo12_addon_server_environment-12.0.2.0.5-py3-none-any.whl/odoo/addons/server_environment/readme/DESCRIPTION.rst | This module provides a way to define an environment in the main Odoo
configuration file and to read some configurations from files
depending on the configured environment: you define the environment in
the main configuration file, and the values for the various possible
environments are stored in the ``server_environme... | PypiClean |
/aerostat_launcher-0.0.9-py3-none-any.whl/aerostat/core/checks.py | import subprocess
import time
import typer
from rich import print
from rich.progress import track
from aerostat.core.installer import DEPENDENCIES
from aerostat.core.loginer import get_aws_profile_credentials
from aerostat.core.utils import OS
def installed_check(command: str = None):
"""Check if a dependency a... | PypiClean |
/airflow_provider_grafana_loki-0.0.2-py3-none-any.whl/grafana_loki_provider/log/loki_task_handler.py | import time
from typing import Any, Dict, Optional, Tuple, List
import typing
import gzip
if typing.TYPE_CHECKING:
from airflow.models import TaskInstance
from typing import Optional, Tuple
import logging
logging.raiseExceptions = True
import time
from typing import Optional
import json
from datetime import timed... | PypiClean |
/py-pure-client-1.38.0.tar.gz/py-pure-client-1.38.0/pypureclient/flasharray/FA_2_22/models/saml2_sso_get_response.py | import pprint
import re
import six
import typing
from ....properties import Property
if typing.TYPE_CHECKING:
from pypureclient.flasharray.FA_2_22 import models
class Saml2SsoGetResponse(object):
"""
Attributes:
swagger_types (dict): The key is attribute name
and the val... | PypiClean |
/git-machete-3.11.3.tar.gz/git-machete-3.11.3/git_machete/utils.py | import inspect
from enum import auto, Enum
from typing import Any, Callable, Dict, Iterable, List, Optional, Set, Tuple, TypeVar
import os
import sys
import re
import subprocess
T = TypeVar('T')
# To avoid displaying the same warning multiple times during a single run.
displayed_warnings: Set[str] = set()
# Let's ke... | PypiClean |
/msgraph_beta_sdk-1.0.0a9-py3-none-any.whl/msgraph/generated/groups/item/events/item/single_value_extended_properties/count/count_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 |
/gaeframework-2.0.10.tar.gz/gaeframework-2.0.10/google_appengine/lib/django_1_2/django/db/backends/sqlite3/introspection.py | import re
from django.db.backends import BaseDatabaseIntrospection
# This light wrapper "fakes" a dictionary interface, because some SQLite data
# types include variables in them -- e.g. "varchar(30)" -- and can't be matched
# as a simple dictionary lookup.
class FlexibleFieldLookupDict:
# Maps SQL types to Django... | PypiClean |
/dataclasses_avroschema-0.47.2.tar.gz/dataclasses_avroschema-0.47.2/dataclasses_avroschema/case.py | import typing
import casefy
from .fields.field_utils import ENUM
# casefy.camelcase('foo_bar_baz') # => "fooBarBaz"
# casefy.capitalcase('foo_bar_baz') # => "Foo_bar_baz"
# casefy.constcase('FooBarBaz') # => "_FOO_BAR_BAZ"
# casefy.lowercase('FooBarBaz') # => "foobarbaz"
# casefy.pascalcase('FooBarBaz') # => "FooBar... | PypiClean |
/check_ezproxy-0.2.1.tar.gz/check_ezproxy-0.2.1/README.md | ##Check for EZProxy configurations
A simple command-line script to check that EZProxy configurations exist
for library databases. Built for checking LibGuides A-Z databases and
OCLC Knowledge Base, but can be easily extended. Built/Tested with
Python 3.4, but should work back to at least 2.7.
##Installation
Easiest... | PypiClean |
/django-mp-suppliers-0.4.3.tar.gz/django-mp-suppliers-0.4.3/suppliers/models.py | from django.db import models
from django.utils.translation import ugettext_lazy as _
from ordered_model.models import OrderedModel
from ckeditor.fields import RichTextField
from exchange.models import CurrencyField
class Supplier(models.Model):
name = models.CharField(_('Supplier name'), max_length=255)
s... | PypiClean |
/social-auth-steemconnect-0.0.3.tar.gz/social-auth-steemconnect-0.0.3/README.md | python-social-auth-steemconnect
===========================
Pluggable authentication backend for python-social-auth, that allows authentication via SteemConnect (v2).
## Installation instructions
From pypi
$ pip install social-auth-steemconnect
or clone from Github
$ git clone git@github.com:wise-team/py... | PypiClean |
/msgraph-sdk-1.0.0a3.tar.gz/msgraph-sdk-1.0.0a3/msgraph/generated/me/joined_teams/item/channels/item/messages/item/replies/delta/delta_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 |
/akari_client-0.3.3-py3-none-any.whl/akari_client/grpc/m5stack.py | import json
from typing import Dict, Iterator, Optional, cast
import grpc
from akari_client.color import Color
from akari_client.position import Positions
from akari_proto import m5stack_pb2
from akari_proto.grpc.error import deserialize_error
from akari_proto.m5stack_pb2_grpc import M5StackServiceStub
from google.pro... | PypiClean |
/tensorflow_tflex-1.13.1rc1-cp27-cp27mu-manylinux1_x86_64.whl/tensorflow_tflex-1.13.1rc1.data/purelib/tensorflow/python/layers/core.py | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from tensorflow.python.keras import layers as keras_layers
from tensorflow.python.layers import base
from tensorflow.python.ops import init_ops
from tensorflow.python.util import deprecation
from tensorflow.py... | PypiClean |
/ariadne_codegen-0.8.0.tar.gz/ariadne_codegen-0.8.0/ariadne_codegen/schema.py | from pathlib import Path
from typing import Dict, Generator, List, Optional, Tuple, cast
import httpx
from graphql import (
DefinitionNode,
DirectiveLocation,
FragmentDefinitionNode,
GraphQLArgument,
GraphQLDirective,
GraphQLSchema,
GraphQLString,
GraphQLSyntaxError,
IntrospectionQu... | PypiClean |
/tb-rest-client-3.5.tar.gz/tb-rest-client-3.5/tb_rest_client/models/models_pe/notification_rule_recipients_config.py | # Copyright 2023. ThingsBoard
#
# 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 writi... | PypiClean |
/alipay_sdk_python-3.6.740-py3-none-any.whl/alipay/aop/api/request/AlipayFundWalletTokenCreateRequest.py | import json
from alipay.aop.api.FileItem import FileItem
from alipay.aop.api.constant.ParamConstants import *
from alipay.aop.api.domain.AlipayFundWalletTokenCreateModel import AlipayFundWalletTokenCreateModel
class AlipayFundWalletTokenCreateRequest(object):
def __init__(self, biz_model=None):
self._... | PypiClean |
/digimat.blink1-0.1.5.tar.gz/digimat.blink1-0.1.5/src/digimat/blink1/blink1.py | import logging
import time
import sys
from contextlib import contextmanager
import usb
import webcolors
from kelvin import kelvin_to_rgb, COLOR_TEMPERATURES
class BlinkConnectionFailed(RuntimeError):
"""Raised when we cannot connect to a Blink(1)
"""
class InvalidColor(ValueError):
"""Raised when the use... | PypiClean |
/JaqalPaq-1.2.0a1.tar.gz/JaqalPaq-1.2.0a1/src/jaqalpaq/emulator/pygsti/model.py | import numpy as np
from pygsti.modelmembers.operations import (
OpFactory,
StaticUnitaryOp,
StaticArbitraryOp,
)
from pygsti.modelmembers.povms import ComputationalBasisPOVM
from pygsti.modelmembers.states import ComputationalBasisState
from pygsti.models import LocalNoiseModel
from pygsti.processors impor... | PypiClean |
/hassmart_homeassistant-0.65.4.tar.gz/hassmart_homeassistant-0.65.4/homeassistant/components/binary_sensor/skybell.py | from datetime import timedelta
import logging
import voluptuous as vol
from homeassistant.components.binary_sensor import (
BinarySensorDevice, PLATFORM_SCHEMA)
from homeassistant.components.skybell import (
DEFAULT_ENTITY_NAMESPACE, DOMAIN as SKYBELL_DOMAIN, SkybellDevice)
from homeassistant.const import (
... | PypiClean |
/tensorflow_ascend-1.15.0-cp37-cp37m-manylinux2014_aarch64.whl/tensorflow_core/contrib/distributions/python/ops/bijectors/cholesky_outer_product.py | """CholeskyOuterProduct bijector."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import numpy as np
from tensorflow.python.ops import array_ops
from tensorflow.python.ops import check_ops
from tensorflow.python.ops import control_flow_ops
from tensorfl... | PypiClean |
/zope.deferredimport-5.0.tar.gz/zope.deferredimport-5.0/CHANGES.rst | =========
Changes
=========
5.0 (2023-06-29)
================
- Drop support for Python 2.7, 3.5, 3.6.
- Add support for Python 3.11.
4.4 (2021-12-10)
================
- Add support for Python 3.8, 3.9 and 3.10.
- Drop support for Python 3.4.
4.3.1 (2019-08-05)
==================
- Avoid race condition in ``... | PypiClean |
/diffusersTangkhode-0.0.1.tar.gz/diffusersTangkhode-0.0.1/src/diffusers/commands/env.py |
import platform
from argparse import ArgumentParser
import huggingface_hub
from .. import __version__ as version
from ..utils import is_accelerate_available, is_torch_available, is_transformers_available, is_xformers_available
from . import BaseDiffusersCLICommand
def info_command_factory(_):
return Environmen... | PypiClean |
/openpiv_python_lite-0.1-py3-none-any.whl/openpiv_python_lite/pyprocess.py | __licence_ = """
Copyright (C) 2011 www.openpiv.net
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 3 of the License, or
(at your option) any later version.
This program is distributed... | PypiClean |
/pulumi_aws_native-0.75.1a1693503310.tar.gz/pulumi_aws_native-0.75.1a1693503310/pulumi_aws_native/ec2/get_local_gateway_route.py |
import copy
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import _utilities
__all__ = [
'GetLocalGatewayRouteResult',
'AwaitableGetLocalGatewayRouteResult',
'get_local_gateway_route',
'get_local_gateway_route_output',
]... | PypiClean |
/alipay-python-3.3.17.tar.gz/alipay-python-3.3.17/alipay/aop/api/request/AlipayTradePayConsultRequest.py | import json
from alipay.aop.api.FileItem import FileItem
from alipay.aop.api.constant.ParamConstants import *
from alipay.aop.api.domain.AlipayTradePayConsultModel import AlipayTradePayConsultModel
class AlipayTradePayConsultRequest(object):
def __init__(self, biz_model=None):
self._biz_model = biz_mo... | PypiClean |
/MergePythonSDK.ticketing-2.2.2-py3-none-any.whl/MergePythonSDK/hris/model/group_type_enum.py | import re # noqa: F401
import sys # noqa: F401
from typing import (
Optional,
Union,
List,
Dict,
)
from MergePythonSDK.shared.model_utils import ( # noqa: F401
ApiTypeError,
ModelComposed,
ModelNormal,
ModelSimple,
cached_property,
OpenApiModel,
change_keys_js_to_python,... | PypiClean |
/ddns-2.13.3.tar.gz/ddns-2.13.3/util/cache.py | from os import path, stat
from pickle import dump, load
from time import time
from logging import info, debug, warning
try:
from collections.abc import MutableMapping
except ImportError:
# Python 2 imports
from collections import MutableMapping
class Cache(MutableMapping):
"""
using file to Cach... | PypiClean |
/apache_tvm-0.12.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl/tvm/script/parser/tir/operation.py | """The tir expression operation registration"""
from typing import Type
from tvm import tir
from tvm.tir import IntImm
from .._core import OpMethod, doc, register_op
def _register_expr_op(ty: Type): # pylint: disable=invalid-name
ty._dispatch_type = ty # pylint: disable=protected-access
def _and(a, b):
... | PypiClean |
/shootpandora_Cloud-20230725.1.4-py3-none-any.whl/shootpandora_cloud/flask/static/_next/static/chunks/238-882950710bdd3e1e.js | (self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([[238], {
3530: function(e, t, n) {
"use strict";
n.d(t, {
iv: function() {
return y
},
tZ: function() {
return b
},
F4: function() {
... | PypiClean |
/Vespa_Suite-1.1.0-py37-none-any.whl/vespa/common/wx_gravy/image_panel_roi.py |
import math
# 3rd party modules
import matplotlib
import matplotlib.cm as cm
import wx
import numpy as np
# If we set the backend unconditionally, we sometimes get an undesirable
# message.
if matplotlib.get_backend() != "WXAgg":
matplotlib.use('WXAgg')
import matplotlib.patches
from matplotlib.transforms imp... | PypiClean |
/django-backtalk-1.0.tar.gz/django-backtalk-1.0/backtalk/templatetags/comments.py | from django import template
from django.template.loader import render_to_string
from django.conf import settings
from django.contrib.contenttypes.models import ContentType
from django.utils import six
from django.utils.deprecation import RenameMethodsBase
from django.utils.encoding import smart_text
import backtalk
... | PypiClean |
/pyreess-1.0.tar.gz/pyreess-1.0/README.md | # py-reess
CLI application for deterministic password generation and recall
Failing to **REE**call your pa**SS**word? Try **py-REESS**!
[](https://www.python.org/downloads/)
[
-----------------------------------------------------
* Significantly reduced module binary size (10-20%) when compiled in C++11 mode
with GCC/Clang,... | PypiClean |
/polygon_finance-1.0.0-py3-none-any.whl/sdks/webull_sdk/derivative_query.py | class QueryDerivatives:
def __init__(self, option_data):
self.open = option_data.get('open')
self.high = option_data.get('high')
self.low = option_data.get('low')
self.strikePrice = option_data.get('strikePrice')
self.isStdSettle = option_data.get('isStdSettle')
self.... | PypiClean |
/stock_core-0.4.6.tar.gz/stock_core-0.4.6/src/stock_core/nfscrapy/nfs/spiders/c104.py | import time
from scrapy.selector import Selector
from nfs import items
from nfs.spiders import common
# cmd usage : scrapy crawl c104_aq -a code=005930
# 총 8페이지를 스크랩하는 각각의 클래스 존재함.
class C104Base(common.C103C104Base):
# 개별 C104클래스가 상속하는 기반클래스
basename = 'c104'
def parse_c104(self, response, code):
... | PypiClean |
/cacheless-airflow-1.9.0.tar.gz/cacheless-airflow-1.9.0/airflow/contrib/auth/backends/ldap_auth.py | from future.utils import native
import flask_login
from flask_login import login_required, current_user, logout_user
from flask import flash
from wtforms import (
Form, PasswordField, StringField)
from wtforms.validators import InputRequired
from ldap3 import Server, Connection, Tls, LEVEL, SUBTREE, BASE
import s... | PypiClean |
/bolton-eris-0.2.3.tar.gz/bolton-eris-0.2.3/CHANGELOG.md | # Changelog for `eris`
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog], and this project adheres to
[Semantic Versioning].
[Keep a Changelog]: https://keepachangelog.com/en/1.0.0/
[Semantic Versioning]: https://semver.org/
## [Unreleased](https://githu... | PypiClean |
/arcor2_arserver-1.1.0.tar.gz/arcor2_arserver-1.1.0/arcor2_arserver/rpc/objects.py | import asyncio
from dataclasses import dataclass, field
from typing import NamedTuple
from websockets.server import WebSocketServerProtocol as WsClient
from arcor2 import helpers as hlp
from arcor2.cached import CachedProject, CachedScene
from arcor2.clients import aio_scene_service as scene_srv
from arcor2.data impo... | PypiClean |
/tableau_tools-6.0.0.tar.gz/tableau_tools-6.0.0/tableau_tools/examples/modifying_users_immediately_before_sso.py | from tableau_tools import *
import datetime
# This script is to show how to add or modify a user prior to SSO
# The use case is for passing in properties to a user session in a secure way
# When using Restricted (standard) Trusted Tickets, a user cannot see or modify their Full Name property,
# which allows it to be r... | PypiClean |
/cds-sorenson-0.1.8.tar.gz/cds-sorenson-0.1.8/docs/usage.rst | ..
This file is part of CERN Document Server.
Copyright (C) 2016 CERN.
Invenio 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 late... | PypiClean |
/kivy-django-1.9.1.tar.gz/kivy-django-1.9.1/django/contrib/admin/static/admin/js/admin/DateTimeShortcuts.js | (function() {
'use strict';
var DateTimeShortcuts = {
calendars: [],
calendarInputs: [],
clockInputs: [],
dismissClockFunc: [],
dismissCalendarFunc: [],
calendarDivName1: 'calendarbox', // name of calendar <div> that gets toggled
calendarDivName2: 'calenda... | PypiClean |
/dsin100daysv33-6.0.1.tar.gz/dsin100daysv33-6.0.1/notebook/static/components/codemirror/src/display/update_line.js | import { buildLineContent } from "../line/line_data.js"
import { lineNumberFor } from "../line/utils_line.js"
import { ie, ie_version } from "../util/browser.js"
import { elt } from "../util/dom.js"
import { signalLater } from "../util/operation_group.js"
// When an aspect of a line changes, a string is added to
// li... | PypiClean |
/napari-blossom-0.0.4.tar.gz/napari-blossom-0.0.4/.napari/DESCRIPTION.md |
<!-- This file is designed to provide you with a starting template for documenting
the functionality of your plugin. Its content will be rendered on your plugin's
napari hub page.
The sections below are given as a guide for the flow of information only, and
are in no way prescriptive. You should feel free to merge, ... | PypiClean |
/open_aea-1.38.0-py3-none-win32.whl/aea/cli/publish.py | """Implementation of the 'aea publish' subcommand."""
import os
import shutil
from abc import ABC, abstractmethod
from contextlib import suppress
from pathlib import Path
from shutil import copyfile
from tempfile import TemporaryDirectory
from typing import cast
import click
from aea.cli.push import _save_item_local... | PypiClean |
/threemystic_cloud_data_client-0.1.89-py3-none-any.whl/threemystic_cloud_data_client/cloud_providers/azure/client/actions/secrets.py | from threemystic_cloud_data_client.cloud_providers.azure.client.actions.base_class.base import cloud_data_client_azure_client_action_base as base
import asyncio
from azure.mgmt.keyvault import KeyVaultManagementClient
from azure.keyvault.secrets import SecretClient
from azure.keyvault.keys import KeyClient
from azure.k... | PypiClean |
/dsconfig-1.6.7.tar.gz/dsconfig-1.6.7/README.md | # Dsconfig
This is a command line tool for managing configuration of Tango device servers.
It runs on python 2.7 as well as 3.6 and up.
The goal of this project is to provide tools for configuring a Tango database in a convenient way. Right now the focus is on supporting Excel files as input ("xls2json"), but support... | PypiClean |
/py-pure-client-1.38.0.tar.gz/py-pure-client-1.38.0/pypureclient/flasharray/FA_2_11/models/protection_group.py | import pprint
import re
import six
import typing
from ....properties import Property
if typing.TYPE_CHECKING:
from pypureclient.flasharray.FA_2_11 import models
class ProtectionGroup(object):
"""
Attributes:
swagger_types (dict): The key is attribute name
and the value i... | PypiClean |
/formification-1.2.0-py3-none-any.whl/formulaic/static/admin/formulaic/ember-formulaic/node_modules/eslint/lib/rules/accessor-pairs.js | "use strict";
//------------------------------------------------------------------------------
// Helpers
//------------------------------------------------------------------------------
/**
* Checks whether or not a given node is an `Identifier` node which was named a given name.
* @param {ASTNode} node - A node t... | PypiClean |
/accelbyte_py_sdk-0.48.0.tar.gz/accelbyte_py_sdk-0.48.0/accelbyte_py_sdk/api/platform/operations/service_plugin_config/update_section_plugin_config.py |
# template file: ags_py_codegen
# 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: disable=too-many-instance-attributes
# pylint: dis... | PypiClean |
/prismacloud_api-5.2.7-py3-none-any.whl/prismacloud/api/pccs/pccs.py |
import json
import time
import requests
class PrismaCloudAPIPCCSMixin():
""" Requests and Output """
# pylint: disable=too-many-arguments,too-many-branches,too-many-locals,too-many-statements
def execute_code_security(self, action, endpoint, query_params=None, body_params=None, request_headers=None, for... | PypiClean |
/django-geoprisma-0.0.1.tar.gz/django-geoprisma-0.0.1/geoprisma/static/geoprisma/lib/OpenLayers/tools/jsmin.py |
# This code is original from jsmin by Douglas Crockford, it was translated to
# Python by Baruch Even. The original code had the following copyright and
# license.
#
# /* jsmin.c
# 2007-01-08
#
# Copyright (c) 2002 Douglas Crockford (www.crockford.com)
#
# Permission is hereby granted, free of charge, to any perso... | PypiClean |
/Ardy-0.0.6.tar.gz/Ardy-0.0.6/ardy/core/cmd/main.py | from __future__ import unicode_literals, print_function
import argparse
import sys
import traceback
from ardy.config import GlobalConfig
from ardy.core.build import Build
from ardy.core.deploy import Deploy
from ardy.utils.log import logger
class Command(object):
config = None
parser = None
args = []
... | PypiClean |
/tensorflow_tflex-1.13.1rc1-cp27-cp27mu-manylinux1_x86_64.whl/tensorflow_tflex-1.13.1rc1.data/purelib/tensorflow/python/layers/layers.py |
# pylint: disable=line-too-long
"""This library provides a set of high-level neural networks layers."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
# pylint: disable=g-bad-import-order,unused-import
# Base objects.
from tensorflow.python.layers.base i... | PypiClean |
/scribes.file.quick-open-fix-0.2.3.tar.gz/scribes.file.quick-open-fix-0.2.3/PluginFixedQuickOpen.py | import time
import os
from gio import File
import gobject
name = "Fixed Quick Open plugin"
authors = ["Anton Bobrov <bobrov@vl.ru>"]
version = 0.2
autoload = True
class_name = "FixedQuickOpenPlugin"
short_description = "Keep start directory from changing"
long_description = "Patches original QuickOpen for emmiting onl... | PypiClean |
/py-pure-client-1.38.0.tar.gz/py-pure-client-1.38.0/pypureclient/flashblade/FB_2_7/models/api_clients_response.py | import pprint
import re
import six
import typing
from ....properties import Property
if typing.TYPE_CHECKING:
from pypureclient.flashblade.FB_2_7 import models
class ApiClientsResponse(object):
"""
Attributes:
swagger_types (dict): The key is attribute name
and the value... | PypiClean |
/winevtrc-20220106.tar.gz/winevtrc-20220106/docs/sources/eventlog-providers/Provider-SceSrv.md | ## SceSrv
Seen on:
* Windows 10 (1511, 1607, 1703, 1709, 1803, 1809, 1903, 1909, 2004, 20H2)
* Windows 11 (21H2)
* Windows 2000
* Windows 2003
* Windows 2008
* Windows 2012
* Windows 7
* Windows 8.0
* Windows 8.1
* Windows Vista
* Windows XP 32-bit
* Windows XP 64-bit
<table border="1" class="docutils">
<tbody>
... | PypiClean |
/pyrallel.lib-0.0.10.tar.gz/pyrallel.lib-0.0.10/pyrallel/parallel_processor.py | import multiprocess as mp
import threading
import queue
import inspect
import sys
import typing
from typing import Callable, Iterable
from pyrallel import Paralleller
if sys.version_info >= (3, 8):
from pyrallel import ShmQueue
class Mapper(object):
"""
Mapper class.
This defines how mapper works.
... | PypiClean |
/utils/library_functions.py | from scipy.signal import butter, lfilter, filtfilt
from scipy import interpolate as interp
import numpy as np
from numpy import pi, cos, sin, arctan2, sqrt, dot
import matplotlib.dates as mdates
import datetime
import math
import pandas as pd
from loguru import logger as logging
import urllib3
from urllib3 import PoolM... | PypiClean |
/dxtbx-3.0.4.1.tar.gz/dxtbx-3.0.4.1/format/FormatHDF5PAL.py | from __future__ import absolute_import, division, print_function
import sys
import h5py
import numpy as np
from scitbx.array_family import flex
from dxtbx.format.FormatHDF5 import FormatHDF5
class FormatHDF5PAL(FormatHDF5):
@staticmethod
def understand(image_file):
with h5py.File(image_file, "r") ... | PypiClean |
/casai-home-frontend-20220503.0.tar.gz/casai-home-frontend-20220503.0/hass_frontend/frontend_latest/5edb7400.js | "use strict";(self.webpackChunkhome_assistant_frontend=self.webpackChunkhome_assistant_frontend||[]).push([[65040],{3555:(e,t,r)=>{var i=r(86251),n=r(31338),o=r(37500),a=r(33310);function s(){s=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method",... | PypiClean |
/online_judge_template_generator-4.8.1-py3-none-any.whl/onlinejudge_template/analyzer/output_types.py | from typing import *
from onlinejudge_template.analyzer.simplify import simplify
from onlinejudge_template.types import *
# TODO: remove this
def _get_variable_on_code(*, decl: VarDecl, indices: List[Expr], decls: Dict[VarName, VarDecl]) -> str:
var = str(decl.name)
for index, base in zip(indices, decl.bases... | PypiClean |
/simple-mailer-1.1.1.tar.gz/simple-mailer-1.1.1/src/simple_mailer/web.py | import json
from bottle import request, response, default_app, AppStack, get, post, run
from simple_mailer import checks
from simple_mailer import exceptions
from simple_mailer.config import settings
from simple_mailer.dispatcher import Dispatcher
from simple_mailer.utils import cloak, get_logger
log = get_logger(__n... | PypiClean |
/squirrel-0.1.0.tar.gz/squirrel-0.1.0/share/BabelRessource.py |
# Resource object code
#
# Created by: The Resource Compiler for PyQt5 (Qt v5.9.1)
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore
qt_resource_data = b"\
\x00\x00\x00\x80\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x24\x00\x00\x00\x24\x08\x04\x0... | PypiClean |
/series_de_tiempo_pabloatarama-2021.12.1-py3-none-any.whl/SeriesDeTiempo/mediaMovilDoble.py |
import SeriesDeTiempo.serie
import copy
import numpy as np
class MediaMovilDoble(SeriesDeTiempo.serie.Modelo):
"""docstring for MediaMovilDoble."""
def __init__(self, data,longitud,desfasada):
self.modelo = "MEDIA MÓVIL DOBLE"
self.data = data
self.comprobado = True
self.desfa... | PypiClean |
/openerp-sale-7.0.406.tar.gz/openerp-sale-7.0.406/edi/sale_order.py | from openerp.osv import osv, fields
from openerp.addons.edi import EDIMixin
from openerp.tools.translate import _
from urllib import urlencode
SALE_ORDER_LINE_EDI_STRUCT = {
'sequence': True,
'name': True,
#custom: 'date_planned'
'product_id': True,
'product_uom': True,
'price_unit': True,
... | PypiClean |
/tw.dojo-0.9.181.tar.gz/tw.dojo-0.9.181/tw/dojo/static/1.8.1/debug/dojox/drawing/ui/dom/Zoom.js.uncompressed.js | define("dojox/drawing/ui/dom/Zoom", ["dojo", "../../util/oo", "../../plugins/_Plugin"],
function(dojo, oo, Plugin){
var Zoom = oo.declare(
// NOTE:
// dojox.drawing.ui.dom.Zoom is DEPRECATED.
// This was a temporary DOM solution. Use the non-dom
// tools for Toolbar and Plugins.
// summary:
// A plugin tha... | PypiClean |
/trojanzoo-2.0.2.tar.gz/trojanzoo-2.0.2/trojanvision/datasets/folder/cub200.py |
from trojanvision.datasets.imagefolder import ImageFolder
from trojanzoo.utils.output import ansi, prints
from torchvision.datasets.utils import download_file_from_google_drive, extract_archive, check_integrity
import os
import shutil
import pandas as pd
from trojanvision import __file__ as root_file
root_dir = os.p... | PypiClean |
/heresuperset-0.27.6.tar.gz/heresuperset-0.27.6/superset/security.py | """A set of constants and methods to manage permissions and security"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
import logging
from flask import g
from flask_appbuilder.security.sqla import models as ab_models... | PypiClean |
/ImageStega-0.0.1.tar.gz/ImageStega-0.0.1/README.md | # Image Steganography
***
## Table of Contents
1. [General Info](#general-info)
2. [Technologies](#technologies)
3. [Example](#example)
4. [FAQs](#faqs)
## General Info
***
This project deals with hiding text message inside a image.
Also called as Image Steganography. It is extremely useful technique
for conceling t... | PypiClean |
/rockset-v2-alpha-0.1.13.tar.gz/rockset-v2-alpha-0.1.13/rockset/model/azure_blob_storage_integration_creation_request.py | import re # noqa: F401
import sys # noqa: F401
from rockset.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,
valida... | PypiClean |
/azure-multiapi-storage-1.2.0.tar.gz/azure-multiapi-storage-1.2.0/azure/multiapi/storage/v2017_04_17/file/fileservice.py | import sys
from os import path
from azure.common import AzureHttpError
from ..common._auth import (
_StorageSharedKeyAuthentication,
_StorageSASAuthentication,
)
from ..common._common_conversion import (
_int_to_str,
_to_str,
_get_content_md5,
)
from ..common._connection import _ServiceParameters
... | PypiClean |
/sherpa_client-0.12.7-py3-none-any.whl/sherpa_client/api/alt_texts/get_alt_texts.py | from http import HTTPStatus
from typing import Any, Dict, List, Optional
import httpx
from ... import errors
from ...client import Client
from ...models.alt_text import AltText
from ...types import Response
def _get_kwargs(
project_name: str,
*,
client: Client,
) -> Dict[str, Any]:
url = "{}/project... | PypiClean |
/31-2.2.tar.gz/31-2.2/s31/main.py | import argparse
import sys
import os
import json
from .config import Config, update_config
from .notify import notify
from .command import Command
from .foreach import MAX_FOREACHES, parse_foreach_args, parse_values
from .interruptable_runner import InterruptableRunner
from .process_manager import list_procesess, stop... | PypiClean |
/pyalc7t-1.1.0.tar.gz/pyalc7t-1.1.0/matplotlib/PlotDialog.py |
from PyQt4 import QtCore, QtGui
from pyqtgraph import GraphicsLayoutWidget
import os,time
import pyqtgraph as pg
import numpy as np
class cls_PlotDialog(QtGui.QDialog):
def __init__(self,kanal, kanalnummer,parent=None):
QtGui.QDialog.__init__(self,None)
self.resize(700, 500)
self.vlayout=QtGui.Q... | PypiClean |
/ShaPy-1.0.1.tar.gz/ShaPy-1.0.1/shapy/framework/netlink/htb.py | import os
from shapy.framework.netlink.message import Attr
from .constants import *
from struct import Struct
from shapy.framework.utils import nl_us2ticks
class HTBQdiscAttr(Attr):
"""Representation of HTB qdisc options."""
#struct tc_htb_glob {
# __u32 version; /* to match HTB/TC */
# __u3... | PypiClean |
/arrivy-google-cloud-bigquery-0.0.6.tar.gz/arrivy-google-cloud-bigquery-0.0.6/arrivy/google/cloud/bigquery/query.py | import six
from google.cloud.iterator import HTTPIterator
from arrivy.google.cloud.bigquery._helpers import _TypedProperty
from arrivy.google.cloud.bigquery._helpers import _rows_from_json
from arrivy.google.cloud.bigquery.dataset import Dataset
from arrivy.google.cloud.bigquery.job import QueryJob
from arrivy.google.... | PypiClean |
/root_pack-1.1.1.tar.gz/root_pack-1.1.1/root_pack/__init__.py | name = "root_pack"
import pandas as pd
import re
import string
import os
def pathfile(file):
THIS_FOLDER = os.path.dirname(os.path.abspath(__file__))
my_file = os.path.join(THIS_FOLDER, file)
return my_file
def li(file):
my_file = pathfile(file)
dictfile=open(my_file,"r")
dictlines=dictfile.re... | PypiClean |
/matrix_nio-0.21.2-py3-none-any.whl/nio/events/common.py |
# Copyright © 2020 Damir Jelić <poljar@termina.org.uk>
#
# Permission to use, copy, modify, and/or distribute this software for
# any purpose with or without fee is hereby granted, provided that the
# above copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND THE A... | PypiClean |
/carp-0.0.3.tar.gz/carp-0.0.3/src/carp.py |
import abc
import argparse
import collections
import logging
import os
import shutil
import clepy
import jinja2
import jinja2.meta
log = logging.getLogger('carp')
class CarpScript(object):
__metaclass__ = abc.ABCMeta
@staticmethod
def find_carpdir():
for d in clepy.walkup():
if '... | PypiClean |
/azureml_core-1.53.0-py3-none-any.whl/azureml/_restclient/models/iot_service_response.py |
from .service_response_base import ServiceResponseBase
class IotServiceResponse(ServiceResponseBase):
"""IotServiceResponse.
:param id: The service Id.
:type id: str
:param name: The service name.
:type name: str
:param description: The service description.
:type description: str
:pa... | PypiClean |
/jupyterlab_remote_contents-0.1.1.tar.gz/jupyterlab_remote_contents-0.1.1/node_modules/jsdom/lib/jsdom/living/generated/DOMParser.js | "use strict";
const conversions = require("webidl-conversions");
const utils = require("./utils.js");
const convertSupportedType = require("./SupportedType.js").convert;
const impl = utils.implSymbol;
class DOMParser {
constructor() {
return iface.setup(Object.create(new.target.prototype));
}
parseFromStr... | PypiClean |
/inspursmsdk-2.1.2-py3-none-any.whl/ism.py | # -*- coding:utf-8 -*-
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
import os
import sys
import json
import signal
from importlib import import_module
from inspur_sm_sdk.command import RestFunc
import time
import collections
try:
from inspur_sm_sdk.util import configUti... | PypiClean |
/gamification-engine-0.4.0.tar.gz/gamification-engine-0.4.0/gengine/app/jsscripts/node_modules/webpack/lib/optimize/AggressiveSplittingPlugin.js | "use strict";
const identifierUtils = require("../util/identifier");
function toIndexOf(list) {
return function(item) {
return list.indexOf(item);
};
}
function toChunkModuleIndices(modules) {
return function(idx) {
return modules[idx];
};
}
function moveModuleBetween(oldChunk, newChunk) {
return function(... | PypiClean |
/ScopeFoundry-1.2.2.tar.gz/ScopeFoundry-1.2.2/measurement.py | from __future__ import absolute_import, print_function
from qtpy import QtCore, QtWidgets
import threading
import time
from .logged_quantity import LQCollection
from .helper_funcs import load_qt_ui_file
from collections import OrderedDict
import pyqtgraph as pg
from ScopeFoundry.helper_funcs import get_logger_from_cla... | PypiClean |
/openapi_jira_client-3.0.1-py3-none-any.whl/openapi_jira_client/api/issue_custom_field_contexts/add_issue_types_to_context.py | from typing import Any, Dict, List, Optional, Union, cast
import httpx
from attr import asdict
from ...client import AuthenticatedClient, Client
from ...models.issue_type_ids import IssueTypeIds
from ...types import UNSET, Response
def _get_kwargs(
*,
client: AuthenticatedClient,
field_id: str,
cont... | PypiClean |
/odooku_odoo_base-11.0.7-py35-none-any.whl/odoo/addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js | (function( factory ) {
"use strict";
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
define([
"jquery",
"jquery-ui/sortable"
], factory );
} else {
// Browser globals
factory( window.jQuery );
}
}(function($) {
"use strict";
function isOverAxis( x, ... | PypiClean |
/qg.core-0.1.6.tar.gz/qg.core-0.1.6/qg/core/log.py |
# Copyright 2011 OpenStack Foundation.
# Copyright 2010 United States Government as represented by the
# Administrator of the National Aeronautics and Space Administration.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance ... | PypiClean |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.