id
stringlengths
1
265
text
stringlengths
6
5.19M
dataset_id
stringclasses
7 values
/AyiinXd-0.0.8-cp311-cp311-macosx_10_9_universal2.whl/fipper/node_modules/@types/node/tls.d.ts
declare module 'tls' { import { X509Certificate } from 'node:crypto'; import * as net from 'node:net'; import * as stream from 'stream'; const CLIENT_RENEG_LIMIT: number; const CLIENT_RENEG_WINDOW: number; interface Certificate { /** * Country code. */ C: string...
PypiClean
/ClueDojo-1.4.3-1.tar.gz/ClueDojo-1.4.3-1/src/cluedojo/static/dojox/date/php.js
if(!dojo._hasResource["dojox.date.php"]){ dojo._hasResource["dojox.date.php"]=true; dojo.provide("dojox.date.php"); dojo.require("dojo.date"); dojo.require("dojox.string.tokenize"); dojox.date.php.format=function(_1,_2){ var df=new dojox.date.php.DateFormat(_2); return df.format(_1); }; dojox.date.php.DateFormat=functi...
PypiClean
/LigBinder-0.1.4-py3-none-any.whl/ligbinder/report.py
import os import logging from typing import List import pytraj import yaml from ligbinder.settings import SETTINGS from ligbinder.tree import Tree import math logger = logging.getLogger(__name__) class Reporter: def __init__(self, tree: Tree) -> None: self.tree = tree self.path = tree.path ...
PypiClean
/Data-CAT-0.7.2.tar.gz/Data-CAT-0.7.2/dataCAT/property_dset.py
from __future__ import annotations from typing import Union, Sequence, Any, Optional, Dict, TYPE_CHECKING import h5py import numpy as np import pandas as pd from assertionlib import assertion if TYPE_CHECKING: from numpy.typing import DTypeLike else: DTypeLike = 'numpy.typing.DTypeLike' __all__ = ['create_...
PypiClean
/KFlask-AppBuilder-1.0.1.tar.gz/KFlask-AppBuilder-1.0.1/flask_appbuilder/models/sqla/filters.py
import logging from flask_babel import lazy_gettext from ..filters import BaseFilter, FilterRelation, BaseFilterConverter log = logging.getLogger(__name__) __all__ = ['SQLAFilterConverter', 'FilterEqual', 'FilterNotStartsWith', 'FilterStartsWith', 'FilterContains', 'FilterNotEqual', 'FilterEndsWith', 'Fil...
PypiClean
/Flask-LwAdmin-0.6.3.tar.gz/Flask-LwAdmin-0.6.3/README.rst
============= Flask-LwAdmin ============= Flask Lightningwolf Admin ------------------------- LwAdmin is a set of macros, classes, and methods to assist in the creation of administrative panels based on the bootstrap framework. At the moment we are working on the main section of the navigation and basic helpers for C...
PypiClean
/Firefly%20III%20API%20Python%20Client-1.5.6.post2.tar.gz/Firefly III API Python Client-1.5.6.post2/firefly_iii_client/model/category.py
import re # noqa: F401 import sys # noqa: F401 from firefly_iii_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
/NehorayRapid-0.0.1-py3-none-any.whl/mmedit/models/common/mask_conv_module.py
from mmcv.cnn import ConvModule class MaskConvModule(ConvModule): """Mask convolution module. This is a simple wrapper for mask convolution like: 'partial conv'. Convolutions in this module always need a mask as extra input. Args: in_channels (int): Same as nn.Conv2d. out_channels (i...
PypiClean
/FoundryDataBrowser-190903.1.tar.gz/FoundryDataBrowser-190903.1/viewers/hyperspec_3d_h5.py
from ScopeFoundry.data_browser import HyperSpectralBaseView import numpy as np import h5py import pyqtgraph as pg from .scalebars import ConfocalScaleBar from matplotlib.cm import ScalarMappable from pyqtgraph.opengl import GLViewWidget, GLAxisItem, GLGridItem, GLVolumeItem from scipy.interpolate import interp1d from q...
PypiClean
/NNBuilder-0.3.7.tar.gz/NNBuilder-0.3.7/nnbuilder/layers/misc.py
from simple import * class beamsearch(LayerBase): def __init__(self, **kwargs): LayerBase.__init__(self, **kwargs) def apply_predict_contexts(self, batchsize): ''' Return two ordereddicts First one's keys are names of contexts and values are corresponding updates graph of cont...
PypiClean
/Loglan-Core-0.0.4.tar.gz/Loglan-Core-0.0.4/loglan_core/addons/word_getter.py
from typing import Union from sqlalchemy import or_ from sqlalchemy.orm import Session from loglan_core.connect_tables import t_connect_keys from loglan_core.definition import BaseDefinition from loglan_core.event import BaseEvent from loglan_core.key import BaseKey class AddonWordGetter: """AddonWordGetter mode...
PypiClean
/Geocoding-1.4.3-py3-none-any.whl/geocoding/utils.py
SCALE = 7 def degree_to_int(degree): """Convert the float degree to int. """ fl = float(degree) return int(fl * (10 ** SCALE)) def int_to_degree(integer): """Convert the int integer to a float. """ i = int(integer) return float(i / (10 ** SCALE)) def pre_order(size): """List in...
PypiClean
/AltAnalyze-2.1.3.15.tar.gz/AltAnalyze-2.1.3.15/altanalyze/stats_scripts/mpmath/matrices/matrices.py
from ..libmp.backend import xrange # TODO: interpret list as vectors (for multiplication) rowsep = '\n' colsep = ' ' class _matrix(object): """ Numerical matrix. Specify the dimensions or the data as a nested list. Elements default to zero. Use a flat list to create a column vector easily. ...
PypiClean
/FLAML-2.0.2-py3-none-any.whl/flaml/tune/searcher/search_thread.py
from typing import Dict, Optional import numpy as np try: from ray import __version__ as ray_version assert ray_version >= "1.10.0" if ray_version.startswith("1."): from ray.tune.suggest import Searcher else: from ray.tune.search import Searcher except (ImportError, AssertionError): ...
PypiClean
/NVDA-addonTemplate-0.5.2.zip/NVDA-addonTemplate-0.5.2/NVDAAddonTemplate/data/{{cookiecutter.project_slug}}/important.md
# {{ cookiecutter.projectName }} # {{ cookiecutter.projectName }} was written by {{ cookiecutter.authorName }} {% if cookiecutter.addonURL != "None" %} You can find out more about this add-on at {{ cookiecutter.addonURL }}. {% endif %} To build this addon, please visit [building.md] {{ cookiecutter.authorName }}, Welc...
PypiClean
/OctoBot-Tentacles-Manager-2.9.4.tar.gz/OctoBot-Tentacles-Manager-2.9.4/octobot_tentacles_manager/workers/install_worker.py
import asyncio import octobot_tentacles_manager.managers as managers import octobot_tentacles_manager.workers as workers import octobot_tentacles_manager.models as models import octobot_tentacles_manager.util as util class InstallWorker(workers.TentaclesWorker): async def process(self, name_filter=None) -> int:...
PypiClean
/BMeyn-0.19.2.tar.gz/BMeyn-0.19.2/README.md
# My Project ![banner](https://BMeyn.github.io/temp_python_pkg//docs/images/project-banner.png) ***** [![HitCount](https://hits.dwyl.com/BMeyn/temp_python_pkg.svg?style=flat-square)](http://hits.dwyl.com/BMeyn/temp_python_pkg) [![PyPI version](https://badge.fury.io/py/BMeyn.svg)](https://badge.fury.io/py/BMeyn) [![T...
PypiClean
/KratosDemStructuresCouplingApplication-9.4-cp310-cp310-win_amd64.whl/KratosMultiphysics/DemStructuresCouplingApplication/sp_statistics.py
import matplotlib.pyplot as plt import numpy as np import h5py # Read HDF5 file file_name = 'sp_data.hdf5' f = h5py.File(file_name, 'r') # File Attributes test_id = f.attrs['test_id'] internal_radius = f.attrs['internal_radius'] external_radius = f.attrs['external_radius'] interface_radius = f.attrs['interface_radius...
PypiClean
/Adafruit_Blinka-8.20.1-py3-none-any.whl/adafruit_blinka/__init__.py
class Enum: """ Object supporting CircuitPython-style of static symbols as seen with Direction.OUTPUT, Pull.UP """ def __repr__(self): """ Assumes instance will be found as attribute of own class. Returns dot-subscripted path to instance (assuming absolute import of ...
PypiClean
/searchspaces/DARTS_new_config.py
import ConfigSpace as CS import ConfigSpace.hyperparameters as CSH import os import csv import time from HPO.utils.ConfigStruct import Parameter, Cumulative_Integer_Struct, LTP_Parameter """ TODO Seperate Pooling and Convolution Layers Add more convolution operations (kernalSize and maybe stride) """ def init_conf...
PypiClean
/ApeMan-0.1.1.tar.gz/ApeMan-0.1.1/apeman/_apeman.py
import os import sys # Debugging from pdb import set_trace as db # Inspection import inspect # Iteration from itertools import zip_longest as zip_longest # Imports - Why is this being done here ??? from importlib import util, abc ,machinery # Debugging import logging # Information __version__ = "0.0.0" modsep ...
PypiClean
/functions/graph_embedding/node2vec/edges.py
import numpy as np from abc import ABC, abstractmethod from functools import reduce from itertools import combinations_with_replacement from gensim.models import KeyedVectors from tqdm import tqdm class EdgeEmbedder(ABC): def __init__(self, keyed_vectors: KeyedVectors, quiet: bool = False): """ :...
PypiClean
/Netfoll_TL-2.0.1-py3-none-any.whl/netfoll_tl/tl/functions/help.py
from ...tl.tlobject import TLObject from ...tl.tlobject import TLRequest from typing import Optional, List, Union, TYPE_CHECKING import os import struct from datetime import datetime if TYPE_CHECKING: from ...tl.types import TypeDataJSON, TypeInputAppEvent, TypeInputPeer, TypeInputUser, TypeMessageEntity class A...
PypiClean
/Flask-Statics-Helper-1.0.0.tar.gz/Flask-Statics-Helper-1.0.0/flask_statics/static/angular/i18n/angular-locale_kw-gb.js
'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; function getDecimals(n) { n = n + ''; var i = n.indexOf('.'); return (i == -1) ? 0 : n.length - i - 1; } function getVF(n, opt_pre...
PypiClean
/OASYS1_HALF_SRW-0.0.3-py3-none-any.whl/orangecontrib/srw/widgets/light_sources/ow_srw_3d_light_source.py
import sys from PyQt5.QtWidgets import QApplication from orangewidget import gui from orangewidget.settings import Setting from oasys.widgets import gui as oasysgui from oasys.widgets import congruence from wofrysrw.storage_ring.light_sources.srw_3d_light_source import SRW3DLightSource from wofrysrw.storage_ring.magn...
PypiClean
/BindingGP-0.0.36.tar.gz/BindingGP-0.0.36/bgp/calculation/translate.py
import copy import sys import numpy as np import sympy from sympy import Number, Expr from sympy.core.numbers import ComplexInfinity, NumberSymbol from bgp.calculation.coefficient import get_args """lambidfy""" def general_expr_dict(self, expr_init_map, free_symbol, gsym_map, simplifying=False): """gen expr"""...
PypiClean
/Gnosis_Utils-1.2.2.tar.gz/Gnosis_Utils-1.2.2/gnosis/xml/objectify/utils.py
from __future__ import generators from gnosis.xml.objectify._objectify import _XO_ from gnosis.xml.objectify._objectify import * from exceptions import TypeError from types import * from itertools import islice from sys import maxint, stdout def addChild(parent, child): "Add a child xmlObject to a parent xmlObject...
PypiClean
/ComponentDB-CLI-3.15.5.tar.gz/ComponentDB-CLI-3.15.5/cdbCli/service/cli/cdbCliCmnds/setItemLogById.py
import sys import re import click import csv from cdbApi import LogEntryEditInformation from cdbApi import ApiException from datetime import datetime from cdbCli.common.cli.cliBase import CliBase ############################################################################################## # ...
PypiClean
/GenIce2-2.1.7.1.tar.gz/GenIce2-2.1.7.1/genice2/lattices/Struct29.py
from genice2.cell import cellvectors import genice2.lattices desc = {"ref": {"SpaceFullerene": 'Sikiric 2010'}, "usage": "No options available.", "brief": "A space fullerene." } # coding: utf-8 """ Data source: Dutour Sikirić, Mathieu, Olaf Delgado-Friedrichs, and Michel Deza. “Space Fullerenes:...
PypiClean
/Flask-WaffleConf-0.3.1.tar.gz/Flask-WaffleConf-0.3.1/docs/source/usage.rst
Usage in views ============== Since *version 0.3.0* the extension does not impose a specific view or template to use. Instead, you can implement your own views and work with the :py:meth:`~flask_waffleconf.core._WaffleState` instance in the application. Initialization -------------- To initialize the extension, two ...
PypiClean
/L_graph_system-0.1.1-py3-none-any.whl/L_graph_system/lgraph.py
from .vertex import Vertex from .arc import Arc import re import copy import pickle def load_graph(filename): with open(filename, 'rb') as input_f: # Overwrites any existing file. res = pickle.load(input_f) return res def save_graph(graph, filename): with open(filename, 'wb') as output: ...
PypiClean
/LiPD-0.2.8.9.tar.gz/LiPD-0.2.8.9/README.md
# LiPD Utilities - Python ----- [![DOI](https://zenodo.org/badge/24036/nickmckay/LiPD-utilities.svg)](https://zenodo.org/badge/latestdoi/24036/nickmckay/LiPD-utilities) [![PyPI](https://img.shields.io/pypi/v/LiPD.svg?maxAge=2592000)]() [![PyPI](https://img.shields.io/badge/python-3.4-yellow.svg)]() [![license](https:/...
PypiClean
/EGCG-Core-0.13.tar.gz/EGCG-Core-0.13/CHANGELOG.md
Changelog for EGCG-Core =========================== 0.13 (2019-11-01) ----------------- - Clarity function uses the reporting app lims end point whenever possible. 0.12 (2019-09-30) ----------------- - Integration tests: Load data in integration tests - Use a more generic exception to catch errors when emailling ...
PypiClean
/MaterialDjango-0.2.5.tar.gz/MaterialDjango-0.2.5/materialdjango/static/materialdjango/components/bower_components/app-layout/app-toolbar/README.md
##&lt;app-toolbar&gt; app-toolbar is a horizontal toolbar containing items that can be used for label, navigation, search and actions. ### Example Add a title to the toolbar. ```html <app-toolbar> <div main-title>App name</div> </app-toolbar> ``` Add a button to the left and right side of the toolbar. ```html <...
PypiClean
/GeoNode-3.2.0-py3-none-any.whl/geonode/static/geonode/js/ol-2.13/lib/OpenLayers/Control/LayerSwitcher.js
* @requires OpenLayers/Control.js * @requires OpenLayers/Lang.js * @requires OpenLayers/Util.js * @requires OpenLayers/Events/buttonclick.js */ /** * Class: OpenLayers.Control.LayerSwitcher * The LayerSwitcher control displays a table of contents for the map. This * allows the user interface to switch between ...
PypiClean
/ClueDojo-1.4.3-1.tar.gz/ClueDojo-1.4.3-1/src/cluedojo/static/dojo/nls/de/colors.js
({"lightsteelblue":"Helles Stahlblau","orangered":"Orangerot","midnightblue":"Mitternachtblau","cadetblue":"Kadettenblau","seashell":"Muschelweiß","slategrey":"Schiefergrau","coral":"Koralle","darkturquoise":"Dunkeltürkis","antiquewhite":"Antikweiß","mediumspringgreen":"Mittelfrühlingsgrün","salmon":"Lachs","darkgrey":...
PypiClean
/Cython-3.0.2-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl/pyximport/_pyximport3.py
import glob import importlib import os import sys from importlib.abc import MetaPathFinder from importlib.machinery import ExtensionFileLoader, SourceFileLoader from importlib.util import spec_from_file_location mod_name = "pyximport" PY_EXT = ".py" PYX_EXT = ".pyx" PYXDEP_EXT = ".pyxdep" PYXBLD_EXT = ".pyxbld" DEBU...
PypiClean
/Fict-1.0.1.tar.gz/Fict-1.0.1/lib/core.py
import json import logging import os import re import sys import threading from alive_progress import alive_bar, alive_it from joblib import Parallel, delayed from lib.fileobj import FileObj FILE_IGNORE_LIST = ['.fict', 'fict_db', '@eaDir'] LOGGER = logging.getLogger('fict') counter = 1000 COUNTER_LOCK = threading.Lo...
PypiClean
/DXC-RL-1.0.3.5.tar.gz/DXC-RL-1.0.3.5/dxc/ai/clean_data/clean_data.py
import pandas as pd import janitor #data cleaning from ftfy import fix_text #data cleaning import nltk #data cleaning nltk.download('punkt') #data cleaning import scrubadub #data cleaning import arrow #normalizing dates import numpy as np from sklearn.base import TransformerMixin from sklearn.impute import KNNImputer #...
PypiClean
/GxSphinx-1.0.0.tar.gz/GxSphinx-1.0.0/doc/usage/extensions/math.rst
.. highlight:: rest .. _math-support: Math support for HTML outputs in Sphinx ======================================= .. module:: sphinx.ext.mathbase :synopsis: Common math support for imgmath and mathjax / jsmath. .. versionadded:: 0.5 .. versionchanged:: 1.8 Math support for non-HTML builders is integrated...
PypiClean
/MetaCalls-0.0.5-cp310-cp310-manylinux2014_x86_64.whl/metacalls/node_modules/make-dir/node_modules/semver/bin/semver.js
// Standalone semver comparison program. // Exits successfully and prints matching version(s) if // any supplied version is valid and passes all tests. var argv = process.argv.slice(2) var versions = [] var range = [] var inc = null var version = require('../package.json').version var loose = false var includePr...
PypiClean
/Graph_RL-0.1.2.tar.gz/Graph_RL-0.1.2/graph_rl/envs/obstacle_env.py
import numpy as np import gym from gym import spaces from gym.utils import seeding from .graphics_utils import ArrowConfig, get_default_subgoal_colors class ObstacleEnv(gym.GoalEnv): metadata = {'render.modes': ['human']} def __init__(self, obstacle_radius=0.5, stage_dimension=6., agent_sp...
PypiClean
/Comicsru-1.0.0.tar.gz/Comicsru-1.0.0/src/Comicsru.py
import requests from bs4 import BeautifulSoup import os import sys from urllib.request import Request, urlopen import shutil from shutil import make_archive import img2pdf import glob base_url = 'https://readcomicsonline.ru/' def get_summary(comic_name): try: url=f'{base_url}comic/{comic_name}' re...
PypiClean
/BlitzChain-0.8.2.tar.gz/BlitzChain-0.8.2/README.md
# Blitzchain Retrieval-Augmented Generation For Powerful Results ## Installation ``` pip install blitzchain ``` Once you install, you can get your API key from https://app.twilix.io/ If you would like to then use this for your solutions, we recommend the following: ## QuickStart ```python import blitzchain # ...
PypiClean
/DLRN-0.26.1.tar.gz/DLRN-0.26.1/dlrn/migrations/versions/2a0313a8a7d6_change_user_usernames_column_length.py
from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '2a0313a8a7d6' down_revision = 'ade85b2396bc' branch_labels = None depends_on = None def upgrade(): with op.batch_alter_table("civotes") as batch_op: batch_op.drop_constraint('civ_user_fk', type_='foreignke...
PypiClean
/Nuitka_fixed-1.1.2-cp310-cp310-win_amd64.whl/nuitka/build/inline_copy/lib/scons-4.4.0/SCons/Tool/cc.py
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" import SCons.Tool import SCons.Defaults import SCons.Util CSuffixes = ['.c', '.m'] if not SCons.Util.case_sensitive_suffixes('.c', '.C'): CSuffixes.append('.C') def add_common_cc_variables(env): """ Add underlying common "C compiler" variable...
PypiClean
/MicroPyDD-restplus-0.0.7.tar.gz/MicroPyDD-restplus-0.0.7/README.md
[![pipeline status](https://gitlab.com/micropydd/micropydd-restplus/badges/master/pipeline.svg)](https://gitlab.com/micropydd/micropydd-restplus/commits/master) [![coverage report](https://gitlab.com/micropydd/micropydd-restplus/badges/master/coverage.svg)](https://gitlab.com/micropydd/micropydd-restplus/commits/master...
PypiClean
/GBT_parser-1.0.3-py3-none-any.whl/cantools/database/can/formats/arxml/ecu_extract_loader.py
import logging from decimal import Decimal from typing import Any, List from ....utils import sort_signals_by_start_bit, type_sort_signals from ...bus import Bus from ...internal_database import InternalDatabase from ...message import Message from ...signal import Decimal as SignalDecimal from ...signal import Signal ...
PypiClean
/FFGo-1.12.7-py3-none-any.whl/ffgo/gui/tooltip.py
from tkinter import * from .. import constants from ..constants import TOOLTIP_BG_COL, TOOLTIP_DELAY class ToolTipBase(Toplevel): def __init__(self, master, bgColor=TOOLTIP_BG_COL, offsetx=10, offsety=10, delay=TOOLTIP_DELAY, wraplength=0, autowrap=False): Toplevel.__ini...
PypiClean
/Mopidy-Yap-0.1.3.tar.gz/Mopidy-Yap-0.1.3/mopidy_yap/frontend.py
import json import time import urllib.parse import urllib.error import pykka import logging from tornado.httpclient import HTTPClient, HTTPRequest from mopidy.core import CoreListener, Core logger = logging.getLogger(__name__) class YapFrontend(pykka.ThreadingActor, CoreListener): def __init__(self, config, co...
PypiClean
/Flask-CKEditor-0.4.6.tar.gz/Flask-CKEditor-0.4.6/flask_ckeditor/static/standard/plugins/specialchar/dialogs/lang/he.js
/* Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang("specialchar","he",{euro:"יורו",lsquo:"סימן ציטוט יחיד שמאלי",rsquo:"סימן ציטוט יחיד ימני",ldquo:"סימן ציטוט כפול שמאלי",rdquo:"ס...
PypiClean
/Larango-0.1.3.tar.gz/Larango-0.1.3/src/larango/__init__.py
from importlib import import_module from django.core.management import ManagementUtility from larango.commands import BaseCommand from larango.utils.colors import Color import importlib import inspect import sys import os import pkgutil import django VERSION = '0.1.3' def execute_from_command_line(argv=None): arg...
PypiClean
/Mathics_Django-6.0.0-py3-none-any.whl/mathics_django/web/media/js/mathjax/jax/output/SVG/fonts/Latin-Modern/Fraktur/Regular/Main.js
MathJax.OutputJax.SVG.FONTDATA.FONTS.LatinModernMathJax_Fraktur={directory:"Fraktur/Regular",family:"LatinModernMathJax_Fraktur",id:"LATINMODERNFRAKTUR",32:[0,0,332,0,0,""],160:[0,0,332,0,0,""],8460:[667,133,720,-8,645,"645 239c0 -87 -7 -175 -43 -255c-51 -47 -127 -117 -165 -117c-26 0 -51 8 -69 26l48 64c11 -22 33 -37 58...
PypiClean
/CatLearn-0.6.2.tar.gz/CatLearn-0.6.2/catlearn/fingerprint/prototype.py
from __future__ import absolute_import from __future__ import division import pandas as pd import os class PrototypeSites(object): """Prototype site objective for generating prototype input.""" def __init__(self, site_dict=None): if site_dict is None: site_dict = {} # default...
PypiClean
/CLEMENTDNA-1.0.4.tar.gz/CLEMENTDNA-1.0.4/CLEMENT/visualizationsingle.py
import palettable import matplotlib import seaborn as sns import numpy as np from scipy.stats import kde import extract from sklearn.decomposition import TruncatedSVD, PCA from mpl_toolkits import mplot3d def drawfigure_1d(membership, output_suptitle, output_filename, np_vaf, samplename_dict, includefp, fp_index, mak...
PypiClean
/IcoCube-0.0.1a6.tar.gz/IcoCube-0.0.1a6/ICO3PluginCollection/MessageView/MessageFramePlugin.py
import sys import tkinter from ICO3Plugin.Plugin.ICO3FramePlugin import ICO3FramePlugin from ICO3Utilities.Debug.LogDebug import ICO3Log try: import Tkinter as tk except ImportError: import tkinter as tk try: import ttk py3 = False except ImportError: import tkinter.ttk as ttk py3 = True cl...
PypiClean
/BatchQ-0.1-1-pre-alpha.tar.gz/BatchQ-0.1-1-pre-alpha/batchq/pipelines/shell/utils.py
from batchq.pipelines.shell.bash import BashTerminal from batchq.pipelines.shell.ssh import SSHTerminal from batchq.pipelines.shell.sftp import SFTPTerminal class FileTransferTerminal(SFTPTerminal): """ This object is similar to SFTPTerminal if server, username and password are passed to the constructor. I...
PypiClean
/Create-Python-Project-0.1.0.tar.gz/Create-Python-Project-0.1.0/create_python_project/scripts/py.py
import ast from .base import ContentWithInfo, BaseScript, BaseReader, BaseParser, BaseWriter from .rst import RSTContent, RSTScript, RSTVisitor, RSTParser from ..info import PyInfo, PyDocstringInfo, SingleLineTextInfo class PyCodeVisitor(ast.NodeVisitor): def __init__(self, content): self.content = conte...
PypiClean
/FreePyBX-1.0-RC1.tar.gz/FreePyBX-1.0-RC1/freepybx/public/js/dojo/dnd/Source.js.uncompressed.js
define("dojo/dnd/Source", ["../main", "./Selector", "./Manager"], function(dojo, Selector, Manager) { // module: // dojo/dnd/Source // summary: // TODOC /*===== Selector = dojo.dnd.Selector; =====*/ /* Container property: "Horizontal"- if this is the horizontal container Source states: "" - normal state...
PypiClean
/CycloneDX_Buildroot-1.0.5.tar.gz/CycloneDX_Buildroot-1.0.5/src/CycloneDX_Buildroot_robert_smigielski/generateBuildrootSBOM.py
# This file is part of CycloneDX Buildroot module. # # 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...
PypiClean
/Fern2-1.4.1.tar.gz/Fern2-1.4.1/fern/utils/common.py
"""common function""" import logging import pathlib import subprocess from typing import * import tensorflow as tf from tqdm import tqdm import yaml logger = logging.getLogger('Fern') def check_path(path): """ check if path exits. If not exit, the path.parent will be created. Parameters ----------...
PypiClean
/MNN-0.0.7-cp27-cp27mu-manylinux2010_x86_64.whl/MNNTools/MNN_FB/Convolution3D.py
# namespace: MNN import flatbuffers class Convolution3D(object): __slots__ = ['_tab'] @classmethod def GetRootAsConvolution3D(cls, buf, offset): n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset) x = Convolution3D() x.Init(buf, n + offset) return x #...
PypiClean
/Muntjac-1.1.2.tar.gz/Muntjac-1.1.2/muntjac/terminal/gwt/server/application_runner_servlet.py
import re import logging from muntjac.terminal.gwt.server.exceptions import ServletException from muntjac.terminal.gwt.server.abstract_application_servlet import \ AbstractApplicationServlet from muntjac.util import loadClass logger = logging.getLogger(__name__) class ApplicationRunnerServlet(AbstractApplic...
PypiClean
/AMAS_sb-1.0.1-py3-none-any.whl/AMAS/update_annotation.py
# update_annotation.py """ Set annotation of a model file Usage: python update_annotation.py res.csv files/BIOMD0000000190.xml BIOMD0000000190_upd.xml """ import argparse import itertools import libsbml import numpy as np import os from os.path import dirname, abspath import pandas as pd import sys sys.path.insert(0,...
PypiClean
/Flask-RESTbolt-0.1.0.tar.gz/Flask-RESTbolt-0.1.0/docs/fields.rst
.. _fields: Output Fields =============== .. currentmodule:: flask_restful Flask-RESTful provides an easy way to control what data you actually render in your response. With the :mod:`fields` module, you can use whatever objects (ORM models/custom classes/etc.) you want in your resource. :mod:`fields` also lets yo...
PypiClean
/CoSA-0.3.0.tar.gz/CoSA-0.3.0/cosa/modifiers/coi.py
from pysmt.rewritings import conjunctive_partition from pysmt.shortcuts import And, TRUE from cosa.representation import TS, HTS from cosa.utils.formula_mngm import get_free_variables from cosa.printers.factory import HTSPrintersFactory from cosa.utils.logger import Logger class ConeOfInfluence(object): var_dep...
PypiClean
/Office365-REST-Python-Client-2.4.3.tar.gz/Office365-REST-Python-Client-2.4.3/office365/sharepoint/portal/groups/site_manager.py
from office365.runtime.client_object import ClientObject from office365.runtime.client_result import ClientResult from office365.runtime.http.http_method import HttpMethod from office365.runtime.queries.service_operation import ServiceOperationQuery from office365.runtime.paths.resource_path import ResourcePath from of...
PypiClean
/ELDAM_LCA-1.0-py3-none-any.whl/eldam/gui/dialogs.py
from PyQt5 import QtWidgets, QtCore, uic from eldam.gui.gui_parameters import * from eldam.core.parameters import CALCULATED_PARAMETERS_ATTRIBUTES, INPUT_PARAMETERS_ATTRIBUTES from eldam.utils.gui import remove_path_from_error_message from eldam.utils.misc import find_data_file from eldam.settings import ELDAM_VERS...
PypiClean
/LumberMill-0.9.5.7-py3-none-any.whl/lumbermill/modifier/Permutate.py
import itertools import sys from lumbermill.BaseThreadedModule import BaseThreadedModule from lumbermill.utils.Decorators import ModuleDocstringParser @ModuleDocstringParser class Permutate(BaseThreadedModule): """ Creates successive len('target_fields') length permutations of elements in 'source_field'. ...
PypiClean
/Flask-Statics-Helper-1.0.0.tar.gz/Flask-Statics-Helper-1.0.0/flask_statics/static/DataTables/extensions/TableTools/js/dataTables.tableTools.js
* @summary TableTools * @description Tools and buttons for DataTables * @version 2.2.3 * @file dataTables.tableTools.js * @author SpryMedia Ltd (www.sprymedia.co.uk) * @contact www.sprymedia.co.uk/contact * @copyright Copyright 2009-2014 SpryMedia Ltd. * * This source file is free sof...
PypiClean
/IVisual-alt-0.2.4.tar.gz/IVisual-alt-0.2.4/ivisual/visual.py
from __future__ import print_function, division, absolute_import import six import ivisual.crayola as color import ivisual.materials import numpy as np from array import array from ivisual.rate_control import * from IPython.display import HTML from IPython.display import display, display_html, display_javascript from I...
PypiClean
/GLAM-0.3.7-py3-none-any.whl/glam/parsing/_dataset.py
import tensorflow as tf import pandas as pd import numpy as np import string, re import os import random from glam.utils import lookups, typo from glam.utils.utils import choose labels_list = [ 'blank', 'building_name', 'level', 'unit', 'first_number', 'first_number_suffix', 'second_number...
PypiClean
/Extremes-1.1.1.zip/Extremes-1.1.1/README.txt
=============================== "Minimum" and "Maximum" Objects =============================== The ``peak.util.extremes`` module provides a production-quality implementation of the ``Min`` and ``Max`` objects from PEP 326. While PEP 326 was rejected for inclusion in the language or standard library, the objects desc...
PypiClean
/Abies-0.0.5.tar.gz/Abies-0.0.5/extern/pybind11/docs/advanced/cast/stl.rst
STL containers ############## Automatic conversion ==================== When including the additional header file :file:`pybind11/stl.h`, conversions between ``std::vector<>``/``std::deque<>``/``std::list<>``/``std::array<>``/``std::valarray<>``, ``std::set<>``/``std::unordered_set<>``, and ``std::map<>``/``std::unor...
PypiClean
/Kloudio-1.0.0.tar.gz/Kloudio-1.0.0/kloudio/models/new_connection.py
import pprint import re # noqa: F401 import six from kloudio.configuration import Configuration class NewConnection(object): """ """ """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The ke...
PypiClean
/HydroSensorReader-1.7.6.tar.gz/HydroSensorReader-1.7.6/hydsensread/file_reader/compagny_file_reader/campbell_cr_file_reader.py
from typing import List, Tuple __author__ = 'Laptop$' __date__ = '2018-04-09' __description__ = " " __version__ = '1.0' import matplotlib.pyplot as plt import pandas as pd import numpy as np from hydsensread.file_reader.abstract_file_reader import TimeSeriesFileReader, date_list, LineDefinition VALUES_START = 4 COL_...
PypiClean
/Montreal-Forced-Aligner-3.0.0a3.tar.gz/Montreal-Forced-Aligner-3.0.0a3/docs/source/user_guide/workflows/index.rst
.. _workflows_index: Workflows available =================== The primary workflow in MFA is forced alignment, where text is aligned to speech along with phones derived from a pronunciation dictionary and an acoustic model. There are, however, other workflows for transcribing speech using speech-to-text functionality...
PypiClean
/ApiLogicServer-9.2.18-py3-none-any.whl/api_logic_server_cli/cli_args_project.py
import api_logic_server_cli.create_from_model.uri_info as uri_info from api_logic_server_cli.cli_args_base import CliArgsBase from os.path import abspath from pathlib import Path import os class Project(CliArgsBase): # extend user-visible args with internal values def __init__(self): super(P...
PypiClean
/KratosOptimizationApplication-9.4-cp310-cp310-win_amd64.whl/KratosMultiphysics/OptimizationApplication/responses/base_response.py
from numpy import gradient import KratosMultiphysics as KM from KratosMultiphysics import Parameters, Logger import KratosMultiphysics.OptimizationApplication as KOA import time as timer import numpy as np # ============================================================================== class BaseResponseFunction: ...
PypiClean
/inverterdb-0.1.0-py3-none-any.whl/SSOPInvertorDataBase/gCentralComponentDB.py
#ERRORS # -1 -> Could not connect to the central database # -2 -> Type of argument not correct # -3 -> Entry/Table does not exist (or the object that is being search for doesn't exist) # -4 -> Being implemented ( it is in datatypes available but it is yet to be implemented) # -5 -> Something unexpected # -6 -> Could ...
PypiClean
/KratosSwimmingDEMApplication-9.2.0-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl/KratosMultiphysics/SwimmingDEMApplication/daitche_quadrature/radii_error_plotter.py
import os import matplotlib.pyplot as plt import itertools import math def flip(items, ncol): return itertools.chain(*[items[i::ncol] for i in range(ncol)]) dir = os.path.dirname(__file__) my_paths = [] my_labels = [] my_Nqs = [] my_file_path = os.path.join(dir, 'Daitche_1_order_2Post_Files/radii1.txt') my_pa...
PypiClean
/CheckEmails-0.1.tar.gz/CheckEmails-0.1/code/__init__.py
import json , requests def A_Gmail(email): url = 'https://android.clients.google.com/setup/checkavail' headers = { 'Content-Length':'98', 'Content-Type':'text/plain; charset=UTF-8', 'Host':'android.clients.google.com', 'Connection':'Keep-Alive', 'user-agent':'GoogleLoginService/1.3(m0 JSS15J)', ...
PypiClean
/Diofant-0.14.0a2.tar.gz/Diofant-0.14.0a2/diofant/polys/partfrac.py
import itertools from ..core import Add, Dummy, Function, Integer, Lambda, preorder_traversal from ..core.sympify import sympify from ..utilities import numbered_symbols from . import Poly, RootSum, cancel, factor from .polyerrors import PolynomialError from .polyoptions import allowed_flags, set_defaults from .polyt...
PypiClean
/ClueDojo-1.4.3-1.tar.gz/ClueDojo-1.4.3-1/src/cluedojo/static/dojo/nls/it/colors.js
({"lightsteelblue":"blu acciao chiaro","orangered":"vermiglio","midnightblue":"blu melanzana scuro","cadetblue":"verde acqua","seashell":"sabbia rosa","slategrey":"grigio ardesia","coral":"corallo","darkturquoise":"turchese scuro","antiquewhite":"bianco antico","mediumspringgreen":"verde primavera medio","salmon":"salm...
PypiClean
/Engezny-1.3.tar.gz/Engezny-1.3/README.md
# Engezny ***Engezny*** is a python package that quickly generates all possible charts from your dataframe and save them for you, and engezny is only supporting now uniparameter visualization using the pie, bar and barh visualizations. ## New release features: 1. Full control with colors used in charts. 2. Arabic issu...
PypiClean
/Keg-0.11.0.tar.gz/Keg-0.11.0/keg/db/dialect_ops.py
import sqlalchemy as sa from sqlalchemy import MetaData from ..db import db class DialectOperations(object): dialect_map = {} option_defaults = None def __init__(self, engine, bind_name, options=None): # this engine is tied to a particular "bind" use it instead of db.engine self.engine =...
PypiClean
/AdHoc-0.3.2.tar.gz/AdHoc-0.3.2/README.txt
.. -*- mode: rst; coding: utf-8 -*- .. role:: mod(strong) .. role:: func(strong) .. role:: class(strong) .. role:: attr(strong) .. role:: meth(strong) AdHoc Standalone Python Script Generator ######################################## The *AdHoc* compiler can be used as a program (see `Script Usage`_) as well as a modu...
PypiClean
/DXC_AI_MBN-0.0.35-py3-none-any.whl/dxc/ai/run_model/run_model.py
import arrow #normalizing dates import numpy as np from sklearn.base import TransformerMixin #impute missing data from auto_ml import Predictor #ML models from sklearn.model_selection import train_test_split import os import pickle from contextlib import redirect_stdout import warnings import io from dxc.ai.global_vari...
PypiClean
/AnkiServer-2.0.6.tar.gz/AnkiServer-2.0.6/anki-bundled/anki/sound.py
import re, sys, threading, time, subprocess, os, atexit import random from anki.hooks import addHook from anki.utils import tmpdir, isWin, isMac # Shared utils ########################################################################## _soundReg = "\[sound:(.*?)\]" def playFromText(text): for match in re.finda...
PypiClean
/FamcyDev-0.3.71-py3-none-any.whl/Famcy/bower_components/bootstrap-fileinput/js/locales/sk.js
(function ($) { "use strict"; $.fn.fileinputLocales['sk'] = { fileSingle: 'súbor', filePlural: 'súbory', browseLabel: 'Vybrať &hellip;', removeLabel: 'Odstrániť', removeTitle: 'Vyčistiť vybraté súbory', cancelLabel: 'Storno', cancelTitle: 'Prerušiť nahrá...
PypiClean
/BitGlitter-2.0.0.tar.gz/BitGlitter-2.0.0/bitglitter/config/readfunctions.py
import json import logging from pathlib import Path import cv2 from bitglitter.config.config import session from bitglitter.config.configmodels import Constants from bitglitter.config.palettemodels import Palette from bitglitter.config.readmodels.readmodels import StreamFrame, StreamSHA256Blacklist from bitglitter.co...
PypiClean
/B9gemyaeix-4.14.1.tar.gz/B9gemyaeix-4.14.1/docs/contributing/modules.rst
Contributing to Weblate modules =============================== Besides the main repository, Weblate consists of several Python modules. All these follow same structure and this documentation covers them all. For example, this covers: * `wlc <https://github.com/WeblateOrg/wlc/>`_, Python client library, see :ref:`wl...
PypiClean
/NEMO_CE-1.6.12-py3-none-any.whl/NEMO/views/safety.py
from django.contrib import messages from django.contrib.auth.decorators import login_required from django.db.models import Case, When from django.shortcuts import get_object_or_404, redirect, render from django.urls import reverse from django.views.decorators.http import require_GET, require_http_methods from NEMO.dec...
PypiClean
/Cubane-1.0.11.tar.gz/Cubane-1.0.11/cubane/backend/static/cubane/backend/tinymce/js/tinymce/plugins/visualchars/plugin.min.js
!function(){"use strict";var n,e,t,r,o=function(n){var e=n,t=function(){return e};return{get:t,set:function(n){e=n},clone:function(){return o(t())}}},u=tinymce.util.Tools.resolve("tinymce.PluginManager"),i=function(n){return{isEnabled:function(){return n.get()}}},c=function(n,e){return n.fire("VisualChars",{state:e})},...
PypiClean
/CC-CataLog-0.1.330.tar.gz/CC-CataLog-0.1.330/catalog/data/data_solids.py
from ase.atoms import Atoms, string2symbols # type: ignore from ase.units import kB, kJ, kcal, mol # type: ignore import numpy as np # type: ignore # Sol57LC sol57_lp = ['Li_bcc','Na_bcc','K_bcc','Rb_bcc','Ca_fcc','Sr_fcc','Ba_bcc', 'V_bcc','Nb_bcc','Ta_bcc','Mo_bcc','W_bcc','Fe_bcc', ...
PypiClean
/FamcyDev-0.3.71-py3-none-any.whl/Famcy/bower_components/bootstrap-table/src/locale/bootstrap-table-ur-PK.js
$.fn.bootstrapTable.locales['ur-PK'] = $.fn.bootstrapTable.locales['ur'] = { formatCopyRows () { return 'Copy Rows' }, formatPrint () { return 'Print' }, formatLoadingMessage () { return 'براۓ مہربانی انتظار کیجئے' }, formatRecordsPerPage (pageNumber) { return `${pageNumber} ریکارڈز فی صفہ...
PypiClean
/Finance-Ultron-1.0.8.1.tar.gz/Finance-Ultron-1.0.8.1/demo/ga_factor.py
import os, pdb, itertools, copy, datetime os.environ['ULTRON_DATA'] = 'keim' os.environ['IGNORE_WARNINGS'] = '0' import random import numpy as np import pandas as pd from ultron.env import * from ultron.factor.genetic.geneticist.operators import custom_transformer from ultron.factor.genetic.geneticist.engine import E...
PypiClean
/ANNOgesic-1.1.14.linux-x86_64.tar.gz/usr/local/lib/python3.10/dist-packages/annogesiclib/stat_operon.py
import csv import itertools def _boolean(data): if data == "False": result = False else: result = True return result def row_to_location(row): if row[4] == "0": sub = False nosub = True else: sub = True nosub = False tss = _boolean(row[6]) ...
PypiClean
/CLAchievements-0.1.0.tar.gz/CLAchievements-0.1.0/doc/install.rst
Install and Enable ================== .. warning:: :ref:`Installing <install>` CLAchievements is not enough: it has to be :ref:`enabled <enable>`. .. _install: Install ------- PyGObject """"""""" CLAchievements uses `PyGObject <https://wiki.gnome.org/Projects/PyGObject>`_ to display the achievements (other methods...
PypiClean
/JaxHankel-0.1.2.tar.gz/JaxHankel-0.1.2/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