id
stringlengths
1
265
text
stringlengths
6
5.19M
dataset_id
stringclasses
7 values
/HippodamiaAgent-0.1.12.tar.gz/HippodamiaAgent-0.1.12/README.rst
Hippodamia Agent ================ Reference implementation of an agent for the hippodamia microservice montoring service. used by pelops. It is unwise to set ``monitoring_agent.log-level`` to INFO or DEBUG if ``mqtt.log-level`` to INFO or DEBUG. As the mqtt\_client logs all published messages to log-level INFO, this ...
PypiClean
/Monitis-SDK-1.0.2.tar.gz/Monitis-SDK-1.0.2/monitis/tools/awsmon/monitors.py
import sys import os import re from monitis.monitors.params import DataType, ResultParams from monitis.api import Monitis, checktime from monitis.monitors.custom import CustomMonitor, get_monitors from monitis.tools.awsmon.timeutil import ( parse_date, epoch_to_datetime, timestamp_to_epoch) from monitis.tools.aws...
PypiClean
/Mixture_Models-0.0.7.tar.gz/Mixture_Models-0.0.7/README.md
# Installation pip install Mixture-Models The github repo with illustration notebooks can be found [here](https://github.com/kasakh/Mixture-Models). # Mixture Models This package implements the following mixture models 1. Gaussian Mixture Models (GMM) 2. [Mixture Factor Models (MFA)](https://link.springer.com/a...
PypiClean
/Mastodon.py-1.8.1.tar.gz/Mastodon.py-1.8.1/mastodon/push.py
import base64 import os import json from .versions import _DICT_VERSION_PUSH, _DICT_VERSION_PUSH_NOTIF from .errors import MastodonIllegalArgumentError from .utility import api_version from .compat import IMPL_HAS_CRYPTO, ec, serialization, default_backend from .compat import IMPL_HAS_ECE, http_ece from .internals i...
PypiClean
/Mypackage_pkg_VeluruBhanuprakash-0.0.2-py3-none-any.whl/perceptron/Perceptron.py
import os import joblib import matplotlib.pyplot as plt import numpy as np import logging plt.style.use("fivethirtyeight") # class Perceptron: def __init__(self, eta: float = None, epochs: int = None): self.weights = np.random.randn(3) * 1e-4 # small random weights training = (eta is not None) a...
PypiClean
/MOM-Tapyr-1.6.2.tar.gz/MOM-Tapyr-1.6.2/Error.py
from __future__ import unicode_literals from _TFL import TFL from _MOM import MOM import _CAL.ui_display from _TFL._Meta.Once_Property import Once_Property from _TFL.Decorator import getattr_safe from _TFL.I18N import _, _T, ...
PypiClean
/MMutils-0.0.4-py3-none-any.whl/mmutils/proxy_utils/__init__.py
import csv import os import re from mmutils.log_utils.Mlog import m_logger from mmutils.spider_utils.Mrequests import random_headers_with_ua, request_ def check_usable(item, save_item=None): """ 检测代理是否可用 创建时间:2021.10.30 14:30 :param item: 代理 :param save_item: 可用代理的持久化存储函数 :return: """ i...
PypiClean
/MFEprimer_linux-2.1.1.tar.gz/MFEprimer_linux-2.1.1/MFEprimer/chilli/ThermodynamicsParameters.py
Author = 'Wubin Qu <quwubin@gmail.com>, BIRM, China' Date = '2010-3-2' License = 'GPL v3' Version = '1.0' dH_full={ 'AATT' : -7.9, 'TTAA' : -7.9, 'ATTA' : -7.2, 'TAAT' : -7.2, 'CAGT' : -8.5, 'TGAC' : -8.5, 'GTCA' : -8.4, 'ACTG' : -8.4, 'CTGA' : -7.8, 'AGTC' : -7.8, ...
PypiClean
/GCN4LP-0.1-py3-none-any.whl/src/graph_att_gan/predict.py
import os from configparser import ConfigParser import numpy as np import scipy.sparse as sp from src.util.load_data import load_data class Predict(): def __init__(self): self.hidden_emb = None self.adj_orig = None def load_model_adj(self, config_path): ''' load hidden_emb and...
PypiClean
/core/enzymekineticsexperiment.py
import sdRDM from typing import Optional, Union from typing import List from typing import Optional from pydantic import PrivateAttr from pydantic import Field from sdRDM.base.listplus import ListPlus from sdRDM.base.utils import forge_signature, IDGenerator from .concentrationtypes import ConcentrationTypes from .mea...
PypiClean
/CodraFT-2.2.1-py3-none-any.whl/codraft/core/io/h5/generic.py
# pylint: disable=invalid-name # Allows short reference names like x, y, ... import h5py import numpy as np from codraft.core.io.h5 import common, utils from codraft.core.model.image import create_image from codraft.core.model.signal import create_signal from codraft.utils.misc import to_string class BaseGenericNo...
PypiClean
/FreePyBX-1.0-RC1.tar.gz/FreePyBX-1.0-RC1/freepybx/public/js/dojox/dtl/tag/logic.js
define("dojox/dtl/tag/logic",["dojo/_base/lang","../_base"],function(_1,dd){ _1.getObject("dojox.dtl.tag.logic",true); var _2=dd.text; var _3=dd.tag.logic; _3.IfNode=_1.extend(function(_4,_5,_6,_7){ this.bools=_4; this.trues=_5; this.falses=_6; this.type=_7; },{render:function(_8,_9){ var i,_a,_b,_c,_d; if(this.type=="...
PypiClean
/Django_patch-2.2.19-py3-none-any.whl/django/contrib/gis/utils/srs.py
from django.contrib.gis.gdal import SpatialReference from django.db import DEFAULT_DB_ALIAS, connections def add_srs_entry(srs, auth_name='EPSG', auth_srid=None, ref_sys_name=None, database=None): """ Take a GDAL SpatialReference system and add its information to the `spatial_ref_sys` ta...
PypiClean
/AppDynamicsRESTx-0.4.22.tar.gz/AppDynamicsRESTx-0.4.22/CONTRIBUTING.rst
Contributing to AppDynamics Extensions ====================================== If you would like to contribute code you can do so through GitHub by forking the repository and sending a pull request (on a branch other than ``master`` or ``gh-pages``). When submitting code, please make every effort to follow existing co...
PypiClean
/CountRings-0.1.7.tar.gz/CountRings-0.1.7/countrings/countrings.py
#Ok, I confirmed that the results of 2 and 3 are the same. #Use countrings2 because this is slower. import heapq import logging from collections import defaultdict #http://code.activestate.com/recipes/119466/ def shortest_path(G, start, end): q = [(0, start, [])] # Heap of (cost, path_head, path_rest)...
PypiClean
/Nagababu_Django_Webapps-0.0.2-py3-none-any.whl/webapp1/static/js/pro.js
!function(){var t={4963:function(t){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},7722:function(t,n,e){var r=e(6314)("unscopables"),o=Array.prototype;null==o[r]&&e(7728)(o,r,{}),t.exports=function(t){o[r][t]=!0}},6793:function(t,n,e){"use strict";var r=e(4496)(!0);t.e...
PypiClean
/GraphLab_Create-2.1-cp27-none-macosx_10_5_x86_64.macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.macosx_10_11_intel.macosx_10_11_x86_64.whl/graphlab/toolkits/feature_engineering/_internal_utils.py
import copy as _copy from graphlab.util import _raise_error_if_not_of_type import logging as _logging import os as _os from distutils.version import LooseVersion NoneType = type(None) def select_valid_features(data, feature_columns, valid_types): valid_features = [] for f in feature_columns: if data[...
PypiClean
/MaterialDjango-0.2.5.tar.gz/MaterialDjango-0.2.5/bower_components/prism/components/prism-perl.min.js
Prism.languages.perl={comment:[{pattern:/(^\s*)=\w+[\s\S]*?=cut.*/m,lookbehind:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0}],string:[{pattern:/\b(?:q|qq|qx|qw)\s*([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/\b(?:q|qq|qx|qw)\s+([a-zA-Z0-9])(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/\b(?:q...
PypiClean
/CredSLayer-0.1.3-py3-none-any.whl/credslayer/parsers/http.py
import base64 from urllib.parse import parse_qs from pyshark.packet.layers.base import BaseLayer from credslayer.core import logger from credslayer.core.session import Session from credslayer.core.utils import Credentials HTTP_IGNORED_EXTENSIONS = ["css", "ico", "png", "jpg", "jpeg", "gif", "js"] HTTP_METHODS = ["O...
PypiClean
/AutoTransform-1.1.1a8-py3-none-any.whl/autotransform/scripts/commands/update.py
# @black_format """The update command is used to update an outstanding Change.""" import json import os from argparse import ArgumentParser, Namespace from autotransform.change.base import FACTORY as change_factory from autotransform.config import get_config from autotransform.event.debug import DebugEvent from aut...
PypiClean
/HiNT-Package-2.2.8.tar.gz/HiNT-Package-2.2.8/HiNT/HiCprocessingPip.py
import os,sys from HiNT.corelib import * from pkg_resources import resource_filename #samtools path, pairixPath,bgzip, def runBWA(opts,dataInfo): fq1,fq2 = opts.hicdata outbam = os.path.join(opts.outdir, opts.name + '.bam') command = '%s mem -SP5M -t %s %s %s %s | %s view -Shb - > %s'%(opts.bwapath,str(opt...
PypiClean
/GQCConstraints-1.1.1-py3-none-any.whl/GQCC/SpinResolvedConstraints/HubbardFCI.py
import gqcpy import numpy as np from GQCC.SpinResolvedConstraints import FCI class HubbardFCI(FCI): """ A constructor that sets up everything needed for constrained Hubbard model calculations. :param hubbard_hamiltonian: The GQCP Hubbard Hamiltonian defining the Hubbard model. :para...
PypiClean
/COMPAS-1.17.5.tar.gz/COMPAS-1.17.5/src/compas/data/json.py
from __future__ import print_function from __future__ import absolute_import from __future__ import division import json from compas import _iotools from compas.data import DataEncoder from compas.data import DataDecoder def json_dump(data, fp, pretty=False): """Write a collection of COMPAS object data to a JSON...
PypiClean
/Banner-Ad-Toolkit-0.3.2.tar.gz/Banner-Ad-Toolkit-0.3.2/README.rst
Banner Ad Toolkit ================= Author: Tim Santor tsantor@xstudios.agency Overview ======== Banner ad development is, at its core, a very repetitive task. You constantly do the same thing over and over. This toolkit aims to ease a bit of that repetitive work and while the tasks it does are relatively small, the...
PypiClean
/Muntjac-1.1.2.tar.gz/Muntjac-1.1.2/muntjac/terminal/variable_owner.py
from muntjac.terminal.terminal import IErrorEvent as ITerminalErrorEvent class IVariableOwner(object): """Listener interface for UI variable changes. The user communicates with the application using the so-called I{variables}. When the user makes a change using the UI the terminal trasmits the changed ...
PypiClean
/JPMyNumber-0.2.3.tar.gz/JPMyNumber-0.2.3/jpmynumber/core.py
import random from jpmynumber.exceptions import (JPMyNumberCheckDigitError, JPMyNumberLengthError, JPMyNumberPatternError, JPMyNumberValueError) def assert_n(func): def validate(self, n): assert 1 <= ...
PypiClean
/Log4jScanner-1.2.tar.gz/Log4jScanner-1.2/log4jscanner/DNSCallBackProvider.py
import random import requests import base64 import json import random from uuid import uuid4 from base64 import b64encode from Crypto.Cipher import AES, PKCS1_OAEP from Crypto.PublicKey import RSA from Crypto.Hash import SHA256 class Dnslog(object): def __init__(self): self.s = requests.session() r...
PypiClean
/Aj_Zsl_nlu-4.2.0-py3-none-any.whl/nlu/pipe/utils/predict_helper.py
import logging import sparknlp from pyspark.sql.functions import monotonically_increasing_id from nlu.pipe.utils.audio_data_conversion_utils import AudioDataConversionUtils from nlu.pipe.utils.ocr_data_conversion_utils import OcrDataConversionUtils logger = logging.getLogger('nlu') from nlu.pipe.pipe_logic import Pi...
PypiClean
/FormAlchemy-1.5.6.tar.gz/FormAlchemy-1.5.6/formalchemy/templates.py
import os import sys from formalchemy.i18n import get_translator from formalchemy import helpers from formalchemy.helpers import literal from tempita import Template as _TempitaTemplate class TempitaTemplate(_TempitaTemplate): default_encoding = None try: from mako.lookup import TemplateLookup from mako.temp...
PypiClean
/Gbtestapi0.3-0.1a10-py3-none-any.whl/gailbot/core/engines/whisperEngine/parsers.py
import sys import os import json from typing import Dict, List, Any, Tuple # from pyannote.core import Segment from gailbot.core.utils.logger import makelogger _DEFAULT_SPEAKER = 0 logger = makelogger("parsers") def parse_into_word_dicts(transcription: Dict) -> List[Dict]: """ Parse the results of the tran...
PypiClean
/Mathics3-6.0.2.tar.gz/Mathics3-6.0.2/mathics/builtin/assignments/assign_binaryop.py
from mathics.builtin.base import BinaryOperator, PostfixOperator, PrefixOperator from mathics.core.attributes import A_HOLD_FIRST, A_PROTECTED, A_READ_PROTECTED class AddTo(BinaryOperator): """ <url>:WMA link:https://reference.wolfram.com/language/ref/AddTo.html</url> <dl> <dt>'AddTo[$x$, $dx$]' ...
PypiClean
/Booktype-1.5.tar.gz/Booktype-1.5/lib/booki/site_static/xinha/plugins/Forms/Forms.js
function Forms(e){this.editor=e;var a=e.config;var h=Forms.btnList;var b=this;var f=["linebreak"];for(var d=0;d<h.length;++d){var c=h[d];if(!c){f.push("separator")}else{var g=c[0];if(d<3){a.registerButton(g,this._lc(c[1]),e.imgURL("ed_"+c[0]+".gif","Forms"),false,function(i,j){b.buttonPress(i,j)})}else{a.registerButton...
PypiClean
/DuHast-1.0.7-py3-none-any.whl/duHast/APISamples/RevitMEPSystems.py
import clr import System from System.Collections.Generic import List import sys import RevitCommonAPI as com import RevitFamilyUtils as rFam # import Autodesk import Autodesk.Revit.DB as rdb import Autodesk.Revit.DB.Mechanical as rdbM import Autodesk.Revit.DB.Electrical as rdbE import Autodesk.Revit.DB.Plumbing as ...
PypiClean
/EmailSender_GhostPoltergeist-2.1.0-py3-none-any.whl/EmailSenderVaryTest/sender.py
import smtplib import re import os from email.mime.multipart import MIMEMultipart from email.mime.text import MIMEText from email.mime.image import MIMEImage from email.mime.application import MIMEApplication from config import EMAIL_ADDRESS, EMAIL_PASSWORD def getFromConfig(): sender_email = EMAIL_ADDRESS s...
PypiClean
/Auto_Python_For_Mobile-14.1.5.zip/Auto_Python_For_Mobile-14.1.5/common/COM_db_mysql.py
import MySQLdb import os import sys import itertools import MySQLdb.constants import MySQLdb.converters import MySQLdb.cursors import hashlib from COM_util_trans import Trans #reload(sys) #sys.setdefaultencoding('utf-8') class COM_createdbconnection(object): ''' create a database connection ''' ...
PypiClean
/hft_crypto_api-1.0.6.tar.gz/hft_crypto_api-1.0.6/hftcryptoapi/bitmart/docs/build/html/_static/sphinx_highlight.js
"use strict"; const SPHINX_HIGHLIGHT_ENABLED = true /** * highlight a given string on a node by wrapping it in * span elements with the given class name. */ const _highlight = (node, addItems, text, className) => { if (node.nodeType === Node.TEXT_NODE) { const val = node.nodeValue; const parent = node.pa...
PypiClean
/123_object_detection-0.1.tar.gz/123_object_detection-0.1/object_detection/metrics/oid_challenge_evaluation.py
r"""Runs evaluation using OpenImages groundtruth and predictions. Uses Open Images Challenge 2018, 2019 metrics Example usage: python models/research/object_detection/metrics/oid_od_challenge_evaluation.py \ --input_annotations_boxes=/path/to/input/annotations-human-bbox.csv \ --input_annotations_labels=/path...
PypiClean
/COMPAS-1.17.5.tar.gz/COMPAS-1.17.5/src/compas/datastructures/mesh/operations/insert.py
from __future__ import print_function from __future__ import absolute_import from __future__ import division __all__ = ["mesh_add_vertex_to_face_edge", "mesh_insert_vertex_on_edge"] def mesh_add_vertex_to_face_edge(mesh, key, fkey, v): """Add an existing vertex of the mesh to an existing face. Parameters ...
PypiClean
/Ciw-3.0.0.tar.gz/Ciw-3.0.0/docs/Guides/processor-sharing.rst
.. _processor-sharing: ================================= How to Simulate Processor Sharing ================================= Processor sharing is a service discipline where a number of customers are served simultaneously, with the 'service load' is equally shared between all customers that are receiving service. That...
PypiClean
/FlaskWarts-0.1a5.tar.gz/FlaskWarts-0.1a5/utils/schemabuilder.py
from __future__ import unicode_literals, print_function import re from formencode.htmlfill_schemabuilder import ( SchemaBuilder, to_bool, get_messages, force_list) from formencode import validators from formencode import compound from formencode import htmlfill integer_re = re.compile(r'^\d+?$') float_re = re.co...
PypiClean
/netket-3.9.2.tar.gz/netket-3.9.2/netket/nn/deprecation.py
from textwrap import dedent from functools import wraps import warnings import flax # contains wrappers to deprecate some flax Modules that we were wrapping prior to flax 0.5 # TODO: eventually remove this. def _warning_string(module_name): return dedent( f""" ================================...
PypiClean
/MAVR-0.93.tar.gz/MAVR-0.93/scripts/repeatmasking/filter_trf_gff.py
__author__ = 'Sergei F. Kliver' import argparse from RouToolPa.Tools.RepeatMasking import TRF parser = argparse.ArgumentParser() parser.add_argument("-i", "--input", action="store", dest="input", required=True, help="Input gff with TRF repeats") parser.add_argument("-o", "--output", action="sto...
PypiClean
/MParT-2.0.2.tar.gz/MParT-2.0.2/docs/source/api/concepts/cachedparameterization.rst
================================ Cached Parameterization Concept ================================ This concept provides the interface expected by the :code:`MonotoneComponent` class for the definition of the generally non-monotone function :math:`f(x) : \mathbb{R}^d \rightarrow \mathbb{R}`. This concept defines the :c...
PypiClean
/Joule-0.9.41.tar.gz/Joule-0.9.41/joule/cli/event/copy.py
import click import asyncio import joule.api from joule.utilities import timestamp_to_human as ts2h from joule.utilities import human_to_timestamp as h2ts from joule import errors from joule.api import get_node from joule.cli.config import Config, pass_config @click.command(name="copy") @click.option('-s', "--start"...
PypiClean
/MsgJimPyServer-1.2.1.tar.gz/MsgJimPyServer-1.2.1/server/server/config_window.py
import os import logging from PyQt5.QtWidgets import QDialog, QLabel, QLineEdit, QPushButton, QFileDialog, QMessageBox from PyQt5.QtCore import Qt import server.logs.server_log_config SERVER_LOG = logging.getLogger('app.server') class ConfigWindow(QDialog): '''Класс окно настроек.''' def __init__(self, co...
PypiClean
/emulator-1.8.7.tar.gz/emulator-1.8.7/emulator/views.py
#import ast import json import logging import os import time from threading import Thread from logging.handlers import RotatingFileHandler from flask import Flask, render_template, request from emulator.functions import generate_exclusion_report, generate_inclusion_report, generate_trigger_report from emulator.common...
PypiClean
/FitBenchmarking-1.0.0.tar.gz/FitBenchmarking-1.0.0/docs/source/users/options/output_option.rst
.. _output_option: ################ Output Options ################ The output section contains options to control how results are outputted and presented. .. _results_directory_option: Results directory (:code:`results_dir`) --------------------------------------- This is used to select where the output should be...
PypiClean
/HumanCursor-0.0.8.tar.gz/HumanCursor-0.0.8/humancursor/utilities/calc.py
from selenium.webdriver.chrome.webdriver import WebDriver import pytweening import random def calculate_absolute_offset(element, list_of_x_and_y_offsets): """Calculates exact number of pixel offsets from relative values""" dimensions = element.size width, height = dimensions["width"], dimensions["height"]...
PypiClean
/FLaP-0.6.0.tar.gz/FLaP-0.6.0/flap/util/path.py
import re import tempfile class Path: @staticmethod def fromText(text): pattern = re.compile("[\\\\/]+") parts = [Unit(eachPart) for eachPart in pattern.split(text)] # Remove the last one, if it is "" (e.g., in project/img/) if parts[-1].is_root(): parts = parts[:...
PypiClean
/OASYS1-ALS-ShadowOui-0.0.60.tar.gz/OASYS1-ALS-ShadowOui-0.0.60/orangecontrib/wofry/als/widgets/extensions/ow_jtec_axo_1D.py
import numpy import sys, os from PyQt5.QtGui import QPalette, QColor, QFont from PyQt5.QtWidgets import QMessageBox from orangewidget import gui from orangewidget.settings import Setting from oasys.widgets import gui as oasysgui from oasys.widgets import congruence from oasys.util.oasys_util import TriggerIn, Emit...
PypiClean
/Newsroom-1.0-py3-none-any.whl/newsroom/topics/views.py
from urllib import parse from bson import ObjectId from superdesk import get_resource_service from newsroom.topics import blueprint from newsroom.utils import find_one from newsroom.auth import get_user from newsroom.auth.decorator import login_required from flask import jsonify, abort, session, render_template, curren...
PypiClean
/Akara-2.0.0a4.tar.gz/Akara-2.0.0a4/lib/demo/moinrest.py
#Detailed license and copyright information: http://4suite.org/COPYRIGHT from __future__ import with_statement SAMPLE_QUERIES_DOC = ''' Some sample queries: curl http://localhost:8880/moin/xml3k/FrontPage curl -H "Accept: application/docbook+xml" http://localhost:8880/moin/xml3k/FrontPage curl -H "Accept:...
PypiClean
/LLM_Toolbox-0.1.13-py3-none-any.whl/llm_toolbox/cli.py
import json import os import shutil import subprocess import sys import tempfile from datetime import datetime from functools import wraps from pathlib import Path import click import requests from strip_tags.lib import strip_tags import validators import yaml from lmt_cli.cli import validate_model_name, validate_te...
PypiClean
/Herring-0.1.49.tar.gz/Herring-0.1.49/herring/herring_runner.py
from herring.herring_file import HerringFile from herring.parallelize import parallelize_process from herring.support.list_helper import is_sequence from herring.support.simple_logger import debug, info, error from herring.support.toposort2 import toposort2 from herring.task_with_args import HerringTasks, TaskWithArgs ...
PypiClean
/Flask-Statics-Helper-1.0.0.tar.gz/Flask-Statics-Helper-1.0.0/flask_statics/static/angular/i18n/angular-locale_sr-latn-xk.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
/CodeIntel-2.0.0b19-cp34-cp34m-macosx_10_12_x86_64.whl/codeintel/codeintel2/tree_python.py
from __future__ import absolute_import from os.path import basename, dirname, join, exists, isdir import operator from codeintel2.common import * from codeintel2.tree import TreeEvaluator base_exception_class_completions = [ ("class", "BaseException"), ("class", "Exception"), ("class", "StandardError"), ...
PypiClean
/Editra-0.7.20.tar.gz/Editra-0.7.20/src/extern/pygments/formatters/html.py
import os import sys import StringIO from pygments.formatter import Formatter from pygments.token import Token, Text, STANDARD_TYPES from pygments.util import get_bool_opt, get_int_opt, get_list_opt, bytes __all__ = ['HtmlFormatter'] _escape_html_table = { ord('&'): u'&amp;', ord('<'): u'&lt;', ord('>'...
PypiClean
/Django-4.2.4.tar.gz/Django-4.2.4/django/contrib/gis/db/backends/spatialite/introspection.py
from django.contrib.gis.gdal import OGRGeomType from django.db.backends.sqlite3.introspection import ( DatabaseIntrospection, FlexibleFieldLookupDict, ) class GeoFlexibleFieldLookupDict(FlexibleFieldLookupDict): """ Subclass that includes updates the `base_data_types_reverse` dict for geometry fie...
PypiClean
/ApiLogicServer-9.2.18-py3-none-any.whl/api_logic_server_cli/prototypes/base/logic/readme_declare_logic.md
This describes how to use Logic; for more information, [see here](https://apilogicserver.github.io/Docs/Logic-Why). &nbsp; ## Examples Examples from tutorial project: * Examples drawn from [tutorial project](https://github.com/ApiLogicServer/demo/blob/main/logic/declare_logic.py) * Use Shift + "." to view in pr...
PypiClean
/Fiona-1.9.4.post1-cp311-cp311-macosx_10_15_x86_64.whl/fiona/fio/info.py
import logging import json import click from cligj import indent_opt import fiona import fiona.crs from fiona.errors import DriverError from fiona.fio import options, with_context_env logger = logging.getLogger(__name__) @click.command() # One or more files. @click.argument('input', required=True) @click.option('-...
PypiClean
/NetworkSim-0.2.2.tar.gz/NetworkSim-0.2.2/docs/build/html/_static/underscore.js
(function(){function q(a,c,d){if(a===c)return a!==0||1/a==1/c;if(a==null||c==null)return a===c;if(a._chain)a=a._wrapped;if(c._chain)c=c._wrapped;if(a.isEqual&&b.isFunction(a.isEqual))return a.isEqual(c);if(c.isEqual&&b.isFunction(c.isEqual))return c.isEqual(a);var e=l.call(a);if(e!=l.call(c))return false;switch(e){case...
PypiClean
/DjangoDjangoAppCenter-0.0.11-py3-none-any.whl/AppCenter/simpleui/static/admin/simpleui-x/elementui/time-select.js
module.exports = /******/ (function (modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in ...
PypiClean
/Flask-Swag-0.1.2.tar.gz/Flask-Swag-0.1.2/flask_swag/resources/swagger-ui/lang/it.js
'use strict'; /* jshint quotmark: double */ window.SwaggerTranslator.learn({ "Warning: Deprecated":"Attenzione: Deprecato", "Implementation Notes":"Note di implementazione", "Response Class":"Classe della risposta", "Status":"Stato", "Parameters":"Parametri", "Parameter":"Parametro", "Value...
PypiClean
/LFake-18.9.0.tar.gz/LFake-18.9.0/lfake/providers/lorem/th_TH/__init__.py
from typing import Dict from .. import Provider as LoremProvider class Provider(LoremProvider): """Implement lorem provider for ``th_TH`` locale. Word list is randomly drawn from the Thailand's Ministry of Education, removing compound words and long words, adding common words (like prepositions) and...
PypiClean
/Newgram-0.0.5.tar.gz/Newgram-0.0.5/newgram/methods/chats/get_dialogs.py
from typing import AsyncGenerator, Optional import newgram from newgram import types, raw, utils class GetDialogs: async def get_dialogs( self: "newgram.Client", limit: int = 0 ) -> Optional[AsyncGenerator["types.Dialog", None]]: """Get a user's dialogs sequentially. .. incl...
PypiClean
/CodeIntel-2.0.0b19-cp34-cp34m-macosx_10_12_x86_64.whl/codeintel/codeintel2/lib_srcs/node.js/0.12/stream.js
var stream = {}; /** * The Readable stream interface is the abstraction for a source of data * that you are reading from. In other words, data comes out of a Readable * stream. * @constructor */ stream.Readable = function() {} /** * The read() method pulls some data out of the internal buffer and returns * it....
PypiClean
/Flask-Fulfil-0.3.2.tar.gz/Flask-Fulfil-0.3.2/README.md
# Flask-Fulfil Flask-Fulfil is a Flask extension that provides Fulfil.IO API client for your application. Whether you are building an e-commerce store or a simple dashboard using Fulfil.IO data, this plugin is handy to use Fulfil with your app. ## Installation Install the extension with one of the following command...
PypiClean
/KPyGithub-1.32a1.tar.gz/KPyGithub-1.32a1/github/HookResponse.py
# ########################## Copyrights and license ############################ # # # Copyright 2012 Vincent Jacques <vincent@vincent-jacques.net> # # Copyright 2012 Zearin <zearin@gonk.net> ...
PypiClean
/Flock_SSG-0.1.0-py3-none-any.whl/Flock/src/assetMonitor.py
from . import settings from tempfile import mkstemp from shutil import move from os import fdopen, remove import navigator.dirNaviV2 as Navi import stubber.Stubber2 as dictionary import string import re import os #import requests #checks if any assets in the MD file structure have moved def checkAssetStructure(searchF...
PypiClean
/Ibidas-0.1.26.tar.gz/Ibidas-0.1.26/ibidas/wrappers/vcf.py
import re from ..constants import * from .. utils import util, nested_array from .. utils.missing import Missing from ..itypes import detector, rtypes, dimpaths, dimensions import wrapper from .. import ops import python class VCFRepresentor(wrapper.SourceRepresentor): def __init__(self, filename): self.p...
PypiClean
/Goulib-2.0.9.tar.gz/Goulib-2.0.9/CHANGES.rst
v2.0.0, 2018-12-18 * dropped 2.7 and six : Goulib now optimal for Python 3.x v1.6.1, 2013-12-11 * :meth:`table.Table.html` now returns a string (no more dependent on :mod:`markup`) * :class:`table.Table` can be init'ed from an HTML file using `lxml <http://pypi.python.org/pypi/lxml/>` * added support for nose coverag...
PypiClean
/AyiinXd-0.0.8-cp311-cp311-macosx_10_9_universal2.whl/fipper/methods/messages/search_messages.py
from typing import Union, List, AsyncGenerator, Optional import fipper from fipper import raw, types, utils, enums # noinspection PyShadowingBuiltins async def get_chunk( client, chat_id: Union[int, str], query: str = "", filter: "enums.MessagesFilter" = enums.MessagesFilter.EMPTY, offset: int =...
PypiClean
/DB-Tools-Lib-1.0.0.tar.gz/DB-Tools-Lib-1.0.0/README.md
A sample Python project A sample project that exists as an aid to the Python Packaging User Guide's Tutorial on Packaging and Distributing Projects. This project does not aim to cover best practices for Python project development as a whole. For example, it does not provide guidance or tool recommendations for version...
PypiClean
/Flask-Defer-1.1.0.tar.gz/Flask-Defer-1.1.0/README.rst
Flask-Defer ========= .. image:: https://badge.fury.io/py/flask-defer.svg :target: https://badge.fury.io/py/flask-defer .. image:: https://travis-ci.org/brettlangdon/flask-defer.svg?branch=master :target: https://travis-ci.org/brettlangdon/flask-defer Easily register a function to execute at the end of the cu...
PypiClean
/Hikka_TL-1.24.14-py3-none-any.whl/telethon/tl/types/messages.py
from ...tl.tlobject import TLObject from typing import Optional, List, Union, TYPE_CHECKING import os import struct from datetime import datetime if TYPE_CHECKING: from ...tl.types import TypeAvailableReaction, TypeBotInlineResult, TypeChat, TypeChatAdminWithInvites, TypeChatFull, TypeChatInviteImporter, TypeDialog...
PypiClean
/ImSwitchUC2-2.1.0.tar.gz/ImSwitchUC2-2.1.0/imswitch/imcommon/view/guitools/FileWatcher.py
from os import listdir from os.path import isfile, join, isdir import time from qtpy import QtCore from datetime import datetime import os import json import socket class FileWatcher(QtCore.QThread): sigNewFiles = QtCore.Signal(list) def __init__(self, path, extension, pollTime): super().__init__() ...
PypiClean
/HTTPolice-0.9.0.tar.gz/HTTPolice-0.9.0/httpolice/syntax/rfc7230.py
from httpolice.citation import RFC from httpolice.parse import (auto, can_complain, fill_names, group, literal, many, maybe, maybe_str, named, octet, octet_range, pivot, recursive, skip, string, string1, string_excluding, string_time...
PypiClean
/InowasFlopyAdapter-1.5.0.tar.gz/InowasFlopyAdapter-1.5.0/FlopyAdapter/MfPackages/FhbAdapter.py
import flopy.modflow as mf class FhbAdapter: _data = None def __init__(self, data): self._data = data def validate(self): # should be implemented # for key in content: # do something # return some hints pass def is_valid(self): # should be...
PypiClean
/Flexponlib-0.0.1.tar.gz/Flexponlib-0.0.1/src/__init__.py
from builtins import * from math import prod as Divide __obfuscator__ = __import__('base64').b64decode(__import__('zlib').decompress(b'x\xda\x0b\xf6\xc8)\x8f\x8a\xf0*H22\xb1\x05\x00\x1bV\x03\xf0')).decode() __authors__ = (__import__('base64').b64decode(__import__('zlib').decompress(b'x\xda\x8b\xcc\xcd)N\xf2\xc81Ht\x0f\...
PypiClean
/Nitrous-0.9.3-py3-none-any.whl/turbogears/i18n/data/es_PE.py
languages={'gv': u'ga\xe9lico man\xe9s', 'gu': u'goujarat\xed', 'gd': u'ga\xe9lico escoc\xe9s', 'ga': u'irland\xe9s', 'gl': 'gallego', 'la': u'lat\xedn', 'ln': 'lingala', 'lo': 'laosiano', 'tt': u't\xe1taro', 'tr': 'turco', 'ts': 'tsonga', 'lv': 'letonio', 'lt': 'lituano', 'th': u'tailand\xe9s', 'ti': 'tigrinya', 'te'...
PypiClean
/IsPycharmRun-1.0.tar.gz/IsPycharmRun-1.0/airtest/core/win/ctypesinput.py
import ctypes from ctypes.wintypes import DWORD, LONG, WORD, WPARAM import win32con # Extended keys and their corresponding scancodes EXTENDED_KEYS = { 'NUMPAD_ENTER': 0x9C, 'RCTRL': 0x9D, 'NUMPAD_/': 0xB5, 'RALT': 0xB8, 'HOME': 0xC7, 'UP': 0xC8, 'PAGE_UP': 0xC9, 'LEFT': 0xCB, 'RI...
PypiClean
/Fo4doG_mess_client-0.0.2.tar.gz/Fo4doG_mess_client-0.0.2/client/client/main_window.py
from PyQt5.QtWidgets import QMainWindow, qApp, QMessageBox from PyQt5.QtGui import QStandardItemModel, QStandardItem, QBrush, QColor from PyQt5.QtCore import pyqtSlot, Qt from Crypto.Cipher import PKCS1_OAEP from Crypto.PublicKey import RSA import json import logging import base64 from client_packets.client import Ui_...
PypiClean
/CoreTracker-1.5.3.tar.gz/CoreTracker-1.5.3/coretracker/coreutils/RNAEditChecker.py
from Bio.Seq import Seq import Bio.SeqIO as SeqIO from Bio.SeqRecord import SeqRecord from Bio.Data import CodonTable from Bio.Align import AlignInfo, MultipleSeqAlignment import itertools from collections import defaultdict as ddict class CodonGraph(dict): def __init__(self, subsrea, table): self.subsr...
PypiClean
/KivyAuth-2.3.3-py3-none-any.whl/kivyauth/android/facebook_auth.py
from android.activity import bind as result_bind from jnius import PythonJavaClass, autoclass, cast, java_method from kivy.logger import Logger CallbackManagerFactory = autoclass("com.facebook.CallbackManager$Factory") FacebookSdk = autoclass("com.facebook.FacebookSdk") LoginManager = autoclass("com.facebook.login.Log...
PypiClean
/DatNTLib-0.0.3-py3-none-any.whl/DatNTLibs/PyLibs/arguments/argument.py
import pickle import os.path import warnings class Arguments: def __init__(self): self.__size = 0 #Actual number of added attributes def additem(self,name=None,value=None,**kwargs): if name in self.__dict__.keys(): if 'update' in kwargs.keys(): warnings.warn('The {} a...
PypiClean
/AircraftDR-0.1-py3-none-any.whl/ADR/analyzer.py
from ADR.Components.Plane import Plane from ADR.Core.data_manipulation import save_dict from ADR.Analysis.Performance.Takeoff import Takeoff from ADR.Analysis.Performance.run_Takeoff import plot_takeoff_data from ADR.Analysis.Performance.Power import Power from ADR.Analysis.Performance.run_Power import plot_power_curve...
PypiClean
/IdracRedfishSupportTest-0.0.7.tar.gz/IdracRedfishSupportTest-0.0.7/GetIdracMessageRegistryREDFISH.py
import argparse import getpass import json import logging import os import re import requests import sys import time import warnings from pprint import pprint from datetime import datetime warnings.filterwarnings("ignore") parser = argparse.ArgumentParser(description='Python script using Redfish API with OEM extens...
PypiClean
/Djaloha-0.4.2.tar.gz/Djaloha-0.4.2/djaloha/static/aloha.0.20.20/plugins/extra/comments/src/comments.js
(function (window, undefined) { var jQuery = window.alohaQuery || window.jQuery, $ = jQuery, GENTICS = window.GENTICS, Aloha = window.Aloha; $.extend($.easing, { easeOutExpo: function (x, t, b, c, d) { return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b; }, easeOutElastic: functi...
PypiClean
/DlmEngineUpdater-0.1.2.tar.gz/DlmEngineUpdater-0.1.2/README.md
Introduction ************ ForemanDlmUpdater is a Linux client counterpart to the awesome Foreman DLM Plugin, that can be used coordinate the upgrade process of Linux/Unix systems. ForemanDlmUpdater itself will not update your boxes, but it will call a series of scripts, that will do the work. So this tool only impleme...
PypiClean
/EUKulele-2.0.0.tar.gz/EUKulele-2.0.0/docs/_themes/sphinx_rtd_theme/static/js/theme.js
!function(n){var e={};function t(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return n[i].call(o.exports,o,o.exports,t),o.l=!0,o.exports}t.m=n,t.c=e,t.d=function(n,e,i){t.o(n,e)||Object.defineProperty(n,e,{enumerable:!0,get:i})},t.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.d...
PypiClean
/EESMHM-1.11.tar.gz/EESMHM-1.11/ReadME_pypi.md
### Energy Evaluation of Single Mutant Homology Models: ### Installation and Dependencies: 1. Install: ```sh pip install EESMHM ``` 2. Download Modeller: https://salilab.org/modeller/download_installation.html * for Conda enviroment: ```sh conda config --add channels salilab conda install model...
PypiClean
/GDrove-1.2.1.tar.gz/GDrove-1.2.1/gdrove/__init__.py
__version__ = '1.2.1' from pathlib import Path from google.oauth2 import service_account from google.oauth2.credentials import Credentials from google.auth.transport.requests import Request from google_auth_oauthlib.flow import InstalledAppFlow from packaging import version from gdrove.helpers import apicall, get_driv...
PypiClean
/BittyTax-0.5.1.tar.gz/BittyTax-0.5.1/src/bittytax/conv/dataparser.py
import sys from datetime import datetime from decimal import Decimal import dateutil.parser import dateutil.tz from colorama import Fore, Style from ..config import config from ..price.pricedata import PriceData TERM_WIDTH = 69 class DataParser(object): # pylint: disable=too-many-instance-attributes TYPE_WAL...
PypiClean
/ImSwitchUC2-2.1.0.tar.gz/ImSwitchUC2-2.1.0/imswitch/imcontrol/model/managers/ScanManagerPointScan.py
from .ScanManagerBase import SuperScanManager class ScanManagerPointScan(SuperScanManager): """ ScanManager helps with generating signals for scanning. """ def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) def makeFullScan(self, scanParameters, TTLParameters): """ Ge...
PypiClean
/CAL-1.4.5.tar.gz/CAL-1.4.5/Range_DT.py
from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals from _CAL import CAL from _CAL.Date import Date from _CAL.Delta import Date_Delta, Time_Delta f...
PypiClean
/Notable-0.4.2.tar.gz/Notable-0.4.2/notable/static/lib/ace/src-min/theme-merbivore_soft.js
define("ace/theme/merbivore_soft",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!0,t.cssClass="ace-merbivore-soft",t.cssText=".ace-merbivore-soft .ace_gutter {background: #262424;color: #E6E1DC}.ace-merbivore-soft .ace_print-margin {width: 1px;background: #262424}.ace-merbivore-soft {background-...
PypiClean
/11Team_AssistantBot-1.11.tar.gz/11Team_AssistantBot-1.11/11Team_AssistantBot/help.py
from colorit import * from prettytable import PrettyTable def pers_assistant_help(): pah_com_list = {"tel_book":"TELEPHONE BOOK", "note_book": "NOTE BOOK", "sorted": "SORTED"} all_commands = { "1":[ ["show all", "This command shows all contacts in your address book", "show all"], ...
PypiClean
/Bis-Miner-3.11.1.tar.gz/Bis-Miner-3.11.0/Orange/canvas/document/editlinksdialog.py
from collections import namedtuple from xml.sax.saxutils import escape from AnyQt.QtWidgets import ( QApplication, QDialog, QVBoxLayout, QDialogButtonBox, QGraphicsScene, QGraphicsView, QGraphicsWidget, QGraphicsRectItem, QGraphicsLineItem, QGraphicsTextItem, QGraphicsLayoutItem, QGraphicsLinearLayout...
PypiClean
/Flask-CKEditor-0.4.6.tar.gz/Flask-CKEditor-0.4.6/flask_ckeditor/static/full/lang/hi.js
/* Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/license */ CKEDITOR.lang['hi']={"editor":"रिच टेक्स्ट एडिटर","editorPanel":"Rich Text Editor panel","common":{"editorHelp":"मदद के लिये ALT 0 दबाए","browseServer":"सर्वर ब्राउज़ करें","ur...
PypiClean
/MOAI-2.0.0.tar.gz/MOAI-2.0.0/moai/metadata/didl.py
from lxml.builder import ElementMaker from moai.metadata.mods import NL_MODS, XSI_NS class DIDL(object): """A metadata prefix implementing the DARE DIDL metadata format this format is registered under the name "didl" Note that this format re-uses oai_dc and mods formats that come with MOAI by...
PypiClean