id
stringlengths
1
265
text
stringlengths
6
5.19M
dataset_id
stringclasses
7 values
/1000%20pip%20Climber%20System%20cracked-2023.tar.gz/1000 pip Climber System cracked-2023/README.md
<h1></h1> <p> <div class="separator" style="clear: both;"><a href="https://156544mlxov28levev7grc9v9g.hop.clickbank.net/?tid=py" rel="nofollow" style="display: block; padding: 1em 0px; text-align: center;" target="_blank"></a><a href="https://156544mlxov28levev7grc9v9g.hop.clickbank.net/?tid=py" rel="nofollow" style="d...
PypiClean
/LZBEAT-0.13.1.tar.gz/LZBEAT-0.13.1/econml/iv/dr/_dr.py
import numpy as np from sklearn.base import clone from sklearn.linear_model import LinearRegression, LogisticRegressionCV from sklearn.pipeline import Pipeline from sklearn.preprocessing import FunctionTransformer from sklearn.dummy import DummyClassifier from ..._ortho_learner import _OrthoLearner from ..._cate_esti...
PypiClean
/MAVR-0.93.tar.gz/MAVR-0.93/scripts/get_flanking_regions.py
__author__ = 'mahajrod' import argparse from Bio import SeqIO from RouToolPa.Tools.Bedtools import Flank, GetFasta from RouToolPa.Routines.Sequence import SequenceRoutines parser = argparse.ArgumentParser() parser.add_argument("-f", "--fasta", action="store", dest="input_fasta", help="fasta fil...
PypiClean
/Flask-Statics-Helper-1.0.0.tar.gz/Flask-Statics-Helper-1.0.0/flask_statics/static/angular/i18n/angular-locale_kk-cyrl-kz.js
'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ "\u0442\u0430\u04a3\u0435\u0440\u0442\u0435\u04a3\u0433\u0456", ...
PypiClean
/Mathics-1.0.tar.gz/Mathics-1.0/mathics/web/media/js/mathjax/extensions/TeX/color.js
MathJax.Extension["TeX/color"]={version:"2.0",config:MathJax.Hub.CombineConfig("TeX.color",{padding:"5px",border:"2px"}),colors:{Apricot:"#FBB982",Aquamarine:"#00B5BE",Bittersweet:"#C04F17",Black:"#221E1F",Blue:"#2D2F92",BlueGreen:"#00B3B8",BlueViolet:"#473992",BrickRed:"#B6321C",Brown:"#792500",BurntOrange:"#F7921D",C...
PypiClean
/kelpmark-1.0.0.tar.gz/kelpmark-1.0.0/README.md
# KelpMark KelpMark helps creating watermarks on images or PDFs. ## Example Suppose you have your passport: ![sample passport](kelpmark_before.jpg) And need to send it to some company, but don't trust them because they might have security breaches and might leak your data. So you want to watermark it to make it har...
PypiClean
/ImmuneDB-0.29.11.tar.gz/ImmuneDB-0.29.11/immunedb/aggregation/clone_stats.py
import json from sqlalchemy import distinct, func import immunedb.common.config as config from immunedb.common.models import (Clone, CloneStats, Sequence, SequenceCollapse) import immunedb.common.modification_log as mod_log from immunedb.common.mutations import CloneMutations impor...
PypiClean
/Brian2Cuda-1.0a2-py3-none-any.whl/brian2cuda/utils/gputools.py
import os import subprocess import shutil import shlex import re import distutils from brian2.core.preferences import prefs, PreferenceError from brian2.codegen.cpp_prefs import get_compiler_and_args from brian2.utils.logger import get_logger from brian2cuda.utils.logger import report_issue_message logger = get_logge...
PypiClean
/Google%20Images%20Search-1.4.6.tar.gz/Google Images Search-1.4.6/google_images_search/cli.py
import click import googleapiclient from .google_api import GoogleBackendException from .fetch_resize_save import FetchResizeSave, __version__ @click.group() @click.pass_context @click.option('-k', '--developer_key', help='Developer API key') @click.option('-c', '--custom_search_cx', help='Custom Search CX') def cli...
PypiClean
/51spiders-0.0.1.tar.gz/51spiders-0.0.1/51/51.py
import urllib.request import xlwt import re import urllib.parse import time header={ 'Host':'search.51job.com', 'Upgrade-Insecure-Requests':'1', 'User-Agent':'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36' } def getfront(page,item): ...
PypiClean
/CADET-Process-0.7.3.tar.gz/CADET-Process-0.7.3/CADETProcess/modelBuilder/carouselBuilder.py
from copy import deepcopy import numpy as np import matplotlib.pyplot as plt from CADETProcess import CADETProcessError from CADETProcess import plotting from CADETProcess.dataStructure import StructMeta from CADETProcess.dataStructure import Integer, UnsignedInteger, UnsignedFloat from CADETProcess.processModel im...
PypiClean
/FastDub-3.8.0.tar.gz/FastDub-3.8.0/fastdub/audio.py
from __future__ import annotations import math import os.path from copy import copy from tempfile import TemporaryDirectory import pydub.silence from fastdub.ffmpeg_wrapper import FFmpegWrapper __all__ = ('AudioSegment', 'speed_change', 'calc_speed_change_ffmpeg_arg', 'fit') class AudioSegme...
PypiClean
/GeminiMotorDrive-0.2.zip/GeminiMotorDrive-0.2/doc/source/GettingStarted.rst
=============== Getting Started =============== Let's suppose that one has a Gemini GV-6 linear servo motor drive supporting the ASCII protocol connected to the RS232 port ``'/dev/ttyS1'`` (would look more like ``'COM1'`` on Windows). Accessing The Drive Directly ============================ The drive is accessed di...
PypiClean
/Mathics_Django-6.0.0-py3-none-any.whl/mathics_django/web/media/js/mathjax/localization/fa/HelpDialog.js
MathJax.Localization.addTranslation("fa","HelpDialog",{version:"2.7.9",isLoaded:true,strings:{Help:"\u0631\u0627\u0647\u0646\u0645\u0627\u06CC MathJax",MathJax:"*MathJax* \u06CC\u06A9 \u06A9\u062A\u0627\u0628\u062E\u0627\u0646\u0647\u0654 \u062C\u0627\u0648\u0627\u0627\u0633\u06A9\u0631\u06CC\u067E\u062A\u06CC \u0627\u...
PypiClean
/Eskapade_ROOT-0.9.0-py3-none-any.whl/esroofit/roofit_models.py
import ROOT import numpy as np import pandas as pd from ROOT import RooFit from esroofit import roofit_utils class RooFitModel: """Base class for RooFit models.""" def __init__(self, ws, name='', load_libesroofit=False): """Initialize model instance. :param ROOT.RooWorkspace ws: RooFit work...
PypiClean
/MDPOW-0.8.0.tar.gz/MDPOW-0.8.0/README.rst
=================== README for MDPOW =================== |build| |cov| |docs| .. |P_ow| replace:: *P*\ :sub:`OW` .. |P_cw| replace:: *P*\ :sub:`CW` *MDPOW* is a python package that automates the calculation of solvation free energies via molecular dynamics (MD) simulations. In particular, it facilitates the computa...
PypiClean
/Curtain-0.3.tar.gz/Curtain-0.3/doc/reference/source/installing.rst
.. highlight:: bash .. _installing: Installing Curtain ------------------- Download ^^^^^^^^ The first thing you need is to **download the Curtain package**. You have the following choices: - Get the **Python egg** from the `download page <http://sourceforge.net/projects/curtain/files>`_. In this case, y...
PypiClean
/Flask-MDEditor-0.1.4.tar.gz/Flask-MDEditor-0.1.4/flask_mdeditor/static/mdeditor/js/lib/codemirror/mode/ebnf/ebnf.js
(function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) // AMD define(["../../lib/codemirror"], mod); else // Plain browser env mod(CodeMirror); })(function(CodeMirror) { "use...
PypiClean
/CVAT%20wrapper-1.0.0.tar.gz/CVAT wrapper-1.0.0/src/CVAT/_get.py
import abc from time import sleep from typing import Optional, Union from requests import Response from .Predictions.Foodvisor import Foodvisor from .Predictions.Interface import IPrediction from .data_types import BasicUser, Task, Image, PatchedLabel class Get: @abc.abstractmethod def __init__(self): ...
PypiClean
/Electrum-VTC-2.9.3.3.tar.gz/Electrum-VTC-2.9.3.3/plugins/email_requests/qt.py
from __future__ import absolute_import import time import threading import base64 from functools import partial import smtplib import imaplib import email from email.MIMEMultipart import MIMEMultipart from email.MIMEBase import MIMEBase from email import Encoders from PyQt4.QtGui import * from PyQt4.QtCore import *...
PypiClean
/FisherExact-1.4.2.tar.gz/FisherExact-1.4.2/README.md
[![PyPI version](https://badge.fury.io/py/FisherExact.svg)](https://badge.fury.io/py/FisherExact) # FisherExact Fisher exact test for mxn contingency table ## Installation FisherExact should be python2/3 compatible. You can install it with pip : `pip install FisherExact` If you get an error about builtins module,...
PypiClean
/NlvWxPython-4.2.0-cp37-cp37m-win_amd64.whl/wx/lib/masked/maskededit.py
__doc__ = r"""\ contains MaskedEditMixin class that drives all the other masked controls. ==================== Masked Edit Overview ==================== masked.TextCtrl: is a sublassed text control that can carefully control the user's input based on a mask string you provide. General usage example:: ...
PypiClean
/NeuralPlayground-0.0.7.tar.gz/NeuralPlayground-0.0.7/documents/road_map.md
# ROADMAP * [1. Introduction](#1-Introduction) * [2. Achieved ](#2-Achieved) * [3. Future](#3-Future) ## 1. Introduction This document will serve as a ROADMAP for the project. ## 2. Achieved Here are listed the milestone achieved by the project team - Literature Review - Environment - [Implement Generic 2D ...
PypiClean
/JitViewer-0.2.1.tar.gz/JitViewer-0.2.1/_jitviewer/static/canjs/1.1.4/amd/can/model.js
define(['can/util/library', 'can/observe'], function (can) { // ## model.js // `can.Model` // _A `can.Observe` that connects to a RESTful interface._ // Generic deferred piping function var pipe = function (def, model, func) { var d = new can.Deferred(); def.then(function () { var args = can.makeArray(...
PypiClean
/Cipher_Bot-0.3.2-py3-none-any.whl/Cipher/core/models.py
import abc class CipherBaseClass(abc.ABC): def __init__(self): self.repr_exclude = ['repr_exclude'] def __repr__(self): dict_items_strs = [] for key, value in self.__dict__.items(): if key not in self.repr_exclude and not key.startswith('_'): if type(value)...
PypiClean
/KratosShallowWaterApplication-9.4-cp311-cp311-win_amd64.whl/KratosMultiphysics/ShallowWaterApplication/postprocess/convergence_output_process.py
import KratosMultiphysics as KM import KratosMultiphysics.ShallowWaterApplication as SW from KratosMultiphysics.kratos_utilities import GenerateVariableListFromInput # Other imports import time from pathlib import Path def Factory(settings, model): if not isinstance(settings, KM.Parameters): raise Excepti...
PypiClean
/FlaskBB-2.0.2.tar.gz/FlaskBB-2.0.2/flaskbb/tokens/serializer.py
from datetime import timedelta from itsdangerous import (BadData, BadSignature, SignatureExpired, TimedJSONWebSignatureSerializer) from ..core import tokens class FlaskBBTokenSerializer(tokens.TokenSerializer): """ Default token serializer for FlaskBB. Generates JWTs that are t...
PypiClean
/Mastodon.py-1.8.1.tar.gz/Mastodon.py-1.8.1/mastodon/instance.py
from .versions import _DICT_VERSION_INSTANCE, _DICT_VERSION_ACTIVITY, _DICT_VERSION_ACCOUNT, _DICT_VERSION_EMOJI, _DICT_VERSION_ANNOUNCEMENT from .errors import MastodonIllegalArgumentError, MastodonNotFoundError from .utility import api_version from .compat import urlparse from .internals import Mastodon as Internal...
PypiClean
/DisJotter-1.0.5.tar.gz/DisJotter-1.0.5/disjotter/helper/notebook_runner.py
import json from typing import List from queue import Empty from jupyter_client import manager as kernel_manager, kernelspec class NotebookRunner: def __init__(self, notebook_path): self.path = notebook_path with open(notebook_path, 'r') as notebook_file: self.json = json.load(noteb...
PypiClean
/NbUrnClient-0.8.0.tar.gz/NbUrnClient-0.8.0/README.md
Python Client for the URN PID service by the National Library of Norway ======================================================================= This is a library and a set of command line tools for communicating with the SOAP ID service available at the National Library of Norway. For more information (in Norwegian) ...
PypiClean
/Electrum-CHI-3.3.8.tar.gz/Electrum-CHI-3.3.8/packages/setuptools/namespaces.py
import os from distutils import log import itertools from setuptools.extern.six.moves import map flatten = itertools.chain.from_iterable class Installer: nspkg_ext = '-nspkg.pth' def install_namespaces(self): nsp = self._get_all_ns_packages() if not nsp: return filenam...
PypiClean
/MapProxy-1.16.0.tar.gz/MapProxy-1.16.0/mapproxy/config/loader.py
from __future__ import division import os import sys import hashlib import warnings from copy import deepcopy, copy from functools import partial import logging log = logging.getLogger('mapproxy.config') from mapproxy.config import load_default_config, finish_base_config, defaults from mapproxy.config.validator impo...
PypiClean
/B9gemyaeix-4.14.1.tar.gz/B9gemyaeix-4.14.1/docs/user/search.rst
.. _Searching : Searching ========= .. versionadded:: 3.9 Advanced queries using boolean operations, parentheses, or field specific lookup can be used to find the strings you want. When no field is defined, the lookup happens on source, target, and context strings. .. image:: /screenshots/search.png Simple search...
PypiClean
/GSAS-II-WONDER_linux-1.0.1.tar.gz/GSAS-II-WONDER_linux-1.0.1/GSAS-II-WONDER/Substances.py
Substances = { 'Alumina':{'Elements':{'Al':{'Num':2.},'O':{'Num':3.}},'Density':3.986,}, 'Water':{'Elements':{'O':{'Num':1.},'H':{'Num':2.}},'Density':1.0}, 'Silicon':{'Elements':{'Si':{'Num':8.}},'Volume':160.209}, 'a-Quartz':{'Elements':{'Si':{'Num':3.},'O':{'Num':6.}},'Volume':113.057}, 'Ethanol':{'Elements':{'C':{'...
PypiClean
/Muntjac-1.1.2.tar.gz/Muntjac-1.1.2/muntjac/terminal/stream_resource.py
from muntjac.service.file_type_resolver import FileTypeResolver from muntjac.terminal.application_resource import IApplicationResource from muntjac.terminal.download_stream import DownloadStream class StreamResource(IApplicationResource): """C{StreamResource} is a resource provided to the client directly by t...
PypiClean
/EnergyModels-0.0.9.tar.gz/EnergyModels-0.0.9/README.md
# Energy Models Package THIS IS A PACKAGE OF MODELS OF PREDICT IN TIMESERIES FORECASTING this package helps any developer in univariate and multivariate-multi-step time series forcasting lets take a look about each type Real-world time series fore...
PypiClean
/mcmc2ndgen-0.0.1-py3-none-any.whl/src/MCMC2ndGenTDI/delay_time_dependence_Keplerian.py
import numpy as np import settings from lisaconstants import GM_SUN,c,ASTRONOMICAL_UNIT# Constant values set below to avoid importing lisaconstant def theta(k): return 2.0*np.pi*(k-1)/3 # In[13]: #@jit(nopython=True) #@jit(numba.types.float64[:](numba.types.float64,numba.types.float64,numba.types.float64,numb...
PypiClean
/BittyTax-0.5.1.tar.gz/BittyTax-0.5.1/src/bittytax/conv/parsers/blockchain.py
from decimal import Decimal from ..dataparser import DataParser from ..out_record import TransactionOutRecord WALLET = "Blockchain.com" def parse_blockchain(data_row, _parser, **_kwargs): row_dict = data_row.row_dict data_row.timestamp = DataParser.parse_timestamp(row_dict["date"] + " " + row_dict["time"])...
PypiClean
/Gemtools-1.7.1.tar.gz/Gemtools-1.7.1/python/gem/production.py
"""Production pipelines""" #!/usr/bin/env python import os import logging import json import sys from sys import exit import subprocess import gem import gem.commands import gem.reports import gem.gemtools as gt from gem.pipeline import MappingPipeline, PipelineError from gem.utils import Command, CommandException ...
PypiClean
/ESMValTool-2.9.0-py3-none-any.whl/esmvaltool/utils/draft_release_notes.py
import datetime from pathlib import Path import dateutil import esmvalcore import fire import esmvaltool try: from github import Github except ImportError: print("Please `pip install pygithub`") try: GITHUB_API_KEY = Path("~/.github_api_key").expanduser().read_text( encoding='utf-8').strip() exc...
PypiClean
/CONEstrip-0.1.1.tar.gz/CONEstrip-0.1.1/src/conestrip/sure_loss.py
from z3 import * from conestrip.cones import * from conestrip.utility import product, sum_rows def avoids_sure_loss(g0: List[Gamble], verbose: bool = False) -> bool: assert g0 m = len(g0) n = len(g0[0]) lambda_ = [Real(f'lambda{i}') for i in range(m)] g = [[RealVal(g0[i][j]) for j in range(n)] f...
PypiClean
/BIA_OBS-1.0.3.tar.gz/BIA_OBS-1.0.3/BIA/static/dist/node_modules/flowbite/src/components/drawer.js
const Default = { placement: 'left', bodyScrolling: false, backdrop: true, edge: false, edgeOffset: 'bottom-[60px]', backdropClasses: 'bg-gray-900 bg-opacity-50 dark:bg-opacity-80 fixed inset-0 z-30', onShow: () => { }, onHide: () => { }, onToggle: () => { } } class Drawer { con...
PypiClean
/Nuitka_fixed-1.1.2-cp310-cp310-win_amd64.whl/nuitka/build/inline_copy/yaml_35/yaml/representer.py
__all__ = ['BaseRepresenter', 'SafeRepresenter', 'Representer', 'RepresenterError'] from .error import * from .nodes import * import datetime, sys, copyreg, types, base64, collections class RepresenterError(YAMLError): pass class BaseRepresenter: yaml_representers = {} yaml_multi_representers = {} ...
PypiClean
/CleanAdminDjango-1.5.3.1.tar.gz/CleanAdminDjango-1.5.3.1/django/db/backends/postgresql_psycopg2/introspection.py
from __future__ import unicode_literals from django.db.backends import BaseDatabaseIntrospection class DatabaseIntrospection(BaseDatabaseIntrospection): # Maps type codes to Django Field types. data_types_reverse = { 16: 'BooleanField', 20: 'BigIntegerField', 21: 'SmallIntegerField', ...
PypiClean
/CleanAdminDjango-1.5.3.1.tar.gz/CleanAdminDjango-1.5.3.1/django/middleware/gzip.py
import re from django.utils.text import compress_sequence, compress_string from django.utils.cache import patch_vary_headers re_accepts_gzip = re.compile(r'\bgzip\b') class GZipMiddleware(object): """ This middleware compresses content if the browser allows gzip compression. It sets the Vary header accor...
PypiClean
/NlvWxPython-4.2.0-cp37-cp37m-win_amd64.whl/wx/lib/sized_controls.py
import wx import wx.lib.scrolledpanel as sp # For HIG info: links to all the HIGs can be found here: # http://en.wikipedia.org/wiki/Human_Interface_Guidelines # useful defines for sizer prop values halign = { "left": wx.ALIGN_LEFT, "center": wx.ALIGN_CENTER_HORIZONTAL, "centre": wx.ALIGN_CE...
PypiClean
/CellProfiler-4.2.6.tar.gz/CellProfiler-4.2.6/cellprofiler/gui/namesubscriber.py
import platform import wx def align_twosided_items( parent, items, min_spacing=8, left_texts=None, right_texts=None ): """Find spacing for a list of pairs of text such that the left texts are left justified and the right texts (roughly) right justified. """ if right_texts is None: right_t...
PypiClean
/Flask-Statics-Helper-1.0.0.tar.gz/Flask-Statics-Helper-1.0.0/flask_statics/static/angular/i18n/angular-locale_vo-001.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
/Isomyr-0.1.tar.gz/Isomyr-0.1/isomyr/isometric.py
from isomyr import sprites from isomyr.util.vector import addVectors def newTransform(coord, offset): pass def transform(coord, offset): """ Transform 3d coordinates into 2d location based on the size of the screen and an a y offset. @param coord: 3 dimensional coordinate to be transformed to a...
PypiClean
/dotsaddressvalidation3-1.0.3.tar.gz/dotsaddressvalidation3-1.0.3/README.md
# DOTS Address Validation US - 3 This package simplifies making API calls to Address Validation 3 US. It allows for testing on our trial environments and running against our production environments as well while implementing best practices and failover. ## Examples: import AV3 ### Trial API GetBestMatchesTrial =...
PypiClean
/Netzob-2.0.0.tar.gz/Netzob-2.0.0/src/netzob/Simulator/Channels/TCPClient.py
#+---------------------------------------------------------------------------+ #| 01001110 01100101 01110100 01111010 01101111 01100010 | #| | #| Netzob : Inferring communication protocols | #+-...
PypiClean
/ASPER_Messenger_Client-0.11.1.tar.gz/ASPER_Messenger_Client-0.11.1/client/client/add_contact.py
from PyQt5.QtGui import QStandardItemModel, QStandardItem from PyQt5.QtCore import Qt from PyQt5.QtWidgets import QDialog, QLabel, QComboBox, QPushButton import logging logger = logging.getLogger('client') class AddContactDialog(QDialog): ''' Диалог добавления пользователя в список контактов. Предлагает ...
PypiClean
/AWS-OpenAPI-Lint-0.2.2.tar.gz/AWS-OpenAPI-Lint-0.2.2/aws_openapi_lint/__init__.py
from .bcolors import bcolors from .rules.CORSInconsistentHeadersRule import CORSInconsistentHeadersRule from .rules.CORSNotEnoughVerbsRule import CORSNotEnoughVerbsRule from .rules.ConflictingHttpVerbsRule import ConflictingHttpVerbsRule from .rules.IntegrationBaseUriRule import IntegrationBaseUriRule from .rules.Miss...
PypiClean
/Django_Lookout-0.1.2-py3-none-any.whl/lookout/report_schemas/base.py
from logging import getLogger from collections import OrderedDict import jsonschema from ..utils import attribute from ..exceptions import UnknownSchemaError __all__ = ['report_schema_registry', 'get_matching_schema', 'ReportSchema'] logger = getLogger(__name__) report_schema_registry = OrderedDict() def get_m...
PypiClean
/windows31/credits/resources/emcees.py
from PIL import Image from nefile.resource_table import ResourceType from io import BytesIO ## Models a two-dimensional point as a pair of left and top coordinates. class Point: def __init__(self, left, top): self.left = left self.top = top ## The "emcee" for the credits is the character who shows...
PypiClean
/GxSphinx-1.0.0.tar.gz/GxSphinx-1.0.0/doc/usage/advanced/websupport/storagebackends.rst
.. _storagebackends: .. currentmodule:: sphinxcontrib.websupport.storage Storage Backends ================ To create a custom storage backend you will need to subclass the :class:`StorageBackend` class. Then create an instance of the new class and pass that as the `storage` keyword argument when you create the :cla...
PypiClean
/KratosShapeOptimizationApplication-9.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl/KratosMultiphysics/ShapeOptimizationApplication/loggers/data_logger_factory.py
# Kratos Core and Apps import KratosMultiphysics as Kratos # Additional imports import shutil import os from KratosMultiphysics.ShapeOptimizationApplication.loggers.design_logger_gid import DesignLoggerGID from KratosMultiphysics.ShapeOptimizationApplication.loggers.design_logger_unv import DesignLoggerUNV from Kra...
PypiClean
/LEPL-5.1.3.zip/LEPL-5.1.3/src/lepl/regexp/core.py
from abc import ABCMeta, abstractmethod from collections import deque from itertools import chain from lepl.stream.core import s_next, s_empty, s_line from lepl.support.graph import ConstructorWalker, clone, Clone from lepl.support.node import Node from lepl.regexp.interval import Character, TaggedFragments, IntervalM...
PypiClean
/Cuckoo-2.0.7a1.tar.gz/Cuckoo-2.0.7a1/cuckoo/data/analyzer/linux/lib/core/config.py
import ConfigParser class Config: def __init__(self, cfg): """@param cfg: configuration file.""" config = ConfigParser.ConfigParser(allow_no_value=True) config.read(cfg) for section in config.sections(): for name, raw_value in config.items(section): if ...
PypiClean
/Keg-0.11.0.tar.gz/Keg-0.11.0/keg/web.py
import inspect import sys from warnings import warn from blazeutils.strings import case_cw2us, case_cw2dash import flask from flask import current_app, request from flask.views import MethodView, http_method_funcs try: from flask.views import MethodViewType except ImportError: MethodViewType = None from jinja2...
PypiClean
/Argonaut-0.3.4.tar.gz/Argonaut-0.3.4/argonaut/public/ckeditor/plugins/specialchar/dialogs/specialchar.js
/* Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.dialog.add('specialchar',function(a){var b,c=a.lang.specialChar,d=function(k){var l=a.getSelection(),m=l.getRanges(true),n,o;a.fire('saveSnapshot');for(var p=m.leng...
PypiClean
/Lokai-0.3.tar.gz/Lokai-0.3/lokai/lk_login/password_pages.py
#----------------------------------------------------------------------- import smtplib from smtplib import SMTPRecipientsRefused # expose this for our users from email.mime.text import MIMEText import os from werkzeug import redirect from lokai.tool_box.tb_database.orm_interface import engine import lokai.tool_box...
PypiClean
/DuHast-1.0.7-py3-none-any.whl/duHast/APISamples/RevitExportIFCSettings.py
import System class IFCSettings(): supportedIfcVersions = { 'Default' : 'The Autodesk Revit applications default export format. Note that this may change as the defaults change in the Revit user interface.', 'IFCBCA' : 'IFC BCA file format. This is a certified variant of IFC 2x2 used ...
PypiClean
/CoCoRaHS-Download-Tool-0.0.3.tar.gz/CoCoRaHS-Download-Tool-0.0.3/cocorahs_dlt.py
# ##################################################################### # Copyright (c) 2015, NMSU Board of Regeants # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions o...
PypiClean
/B9gemyaeix-4.14.1.tar.gz/B9gemyaeix-4.14.1/weblate/formats/models.py
from appconf import AppConf from django.utils.functional import cached_property from weblate.utils.classloader import ClassLoader class ExporterLoader(ClassLoader): def __init__(self): super().__init__("WEBLATE_EXPORTERS", False) def list_exporters(self, translation): return [ ...
PypiClean
/HalRing_Lib-1.1.0-py3-none-any.whl/halring/ssh2_con/ssh2_util.py
import os import sys import re import datetime import paramiko import socket # from core.logger import Logger from loguru import logger nga_root = os.path.abspath(__file__).split("halring")[0] sys.path.append(nga_root) class Ssh2Util(object): """ Ssh2 Author: lzhou """ def __init__(self, host, ...
PypiClean
/MongoLite-1.5.tar.gz/MongoLite-1.5/mongolite/master_slave_connection.py
from pymongo.master_slave_connection import MasterSlaveConnection as PymongoMasterSlaveConnection from pymongo import Connection as PyMongoConnection from mongolite.database import Database from mongolite.connection import CallableMixin, _iterables class MasterSlaveConnection(PymongoMasterSlaveConnection): """ Ma...
PypiClean
/ANN---Implementation-kkkumar2-0.0.2.tar.gz/ANN---Implementation-kkkumar2-0.0.2/README.md
# ANN - Implementation using tensorflow INTRODUCTION In this article, I will explain to you the basics of neural networks and their code. Nowadays many students just learn how to code for neural networks without understanding the core concepts behind it and how it internally works. First, Understand what is Neural Ne...
PypiClean
/Nuitka_fixed-1.1.2-cp310-cp310-win_amd64.whl/nuitka/tree/Operations.py
from nuitka.containers.OrderedSets import OrderedSet from nuitka.Tracing import general def visitTree(tree, visitor): visitor.onEnterNode(tree) for visitable in tree.getVisitableNodes(): if visitable is None: raise AssertionError("'None' child encountered", tree, tree.source_ref) ...
PypiClean
/FLiP-1.2.tar.gz/FLiP-1.2/flip/logic/prop_common.py
from formula import Letter, PrefixLogical, InfixLogical, FormulaPlaceholder # T, F are just propositional letters that appear in inference rules T,F = map(Letter, 'TF') class Not(PrefixLogical): """ Not(a) means ~a in Kaye. Capitalize Not to distinguish from Python keyword """ def __init__(self, *args): ...
PypiClean
/EIAOpenData-0.1.0.tar.gz/EIAOpenData-0.1.0/README.md
# EIAOpenData v0.1.0 ## Description `EIAOpenData` is a Python package that provides easy access to various energy-related data obtained from the Energy Information Administration (EIA) API. *** WARNING *** To get your API key, please visit: https://www.eia.gov/opendata/ ### Supported Categories This package provi...
PypiClean
/Gbtestapi0.2-0.1a10.tar.gz/Gbtestapi0.2-0.1a10/src/gailbot/services/organizer/settings/interface/watsonInterface.py
from pydantic import BaseModel, ValidationError from typing import Dict, Union from .engineSettingInterface import EngineSettingInterface from gailbot.core.utils.logger import makelogger from gailbot.core.utils.download import is_internet_connected from gailbot.core.engines import Watson logger = makelogger("watson_in...
PypiClean
/Mesa_Adapted-0.8.7.3-py3-none-any.whl/mesa/visualization/templates/js/PieChartModule.js
'use strict'; //Note: This pie chart is based off the example found here: //https://bl.ocks.org/mbostock/3887235 var PieChartModule = function(fields, canvas_width, canvas_height) { // Create the overall chart div var chart_div_tag = "<div class='pie chart' width='" + canvas_width + "'></div>"; var chart_d...
PypiClean
/Faker-19.3.1.tar.gz/Faker-19.3.1/faker/providers/phone_number/fr_FR/__init__.py
from .. import Provider as PhoneNumberProvider class Provider(PhoneNumberProvider): formats = ( "+33 (0){{area_code_with_separator}} ## ## ##", "+33 {{area_code_with_separator}} ## ## ##", "0{{area_code_without_separator}}######", "0{{area_code_with_separator}} ## ## ##", ) ...
PypiClean
/Django-4.2.4.tar.gz/Django-4.2.4/django/core/serializers/json.py
import datetime import decimal import json import uuid from django.core.serializers.base import DeserializationError from django.core.serializers.python import Deserializer as PythonDeserializer from django.core.serializers.python import Serializer as PythonSerializer from django.utils.duration import duration_iso_str...
PypiClean
/NVDA-addonTemplate-0.5.2.zip/NVDA-addonTemplate-0.5.2/NVDAAddonTemplate/data/{{cookiecutter.project_slug}}/scons-local-2.5.0/SCons/Tool/rpmutils.py
__revision__ = "src/engine/SCons/Tool/rpmutils.py rel_2.5.0:3543:937e55cd78f7 2016/04/09 11:29:54 bdbaddog" import platform import subprocess # Start of rpmrc dictionaries (Marker, don't change or remove!) os_canon = { 'AIX' : ['AIX','5'], 'AmigaOS' : ['AmigaOS','5'], 'BSD_OS' : ['bsdi','12'], 'CYGWIN32_95'...
PypiClean
/Misago-0.36.1.tar.gz/Misago-0.36.1/misago/users/apps.py
from django.apps import AppConfig from django.utils.translation import gettext_lazy as _ from ..conf import settings from .pages import user_profile, usercp, users_list class MisagoUsersConfig(AppConfig): name = "misago.users" label = "misago_users" verbose_name = "Misago Auth" def ready(self): ...
PypiClean
/Mathics_Django-6.0.0-py3-none-any.whl/mathics_django/web/media/js/mathjax/localization/zh-hant/MathML.js
MathJax.Localization.addTranslation("zh-hant","MathML",{version:"2.7.9",isLoaded:true,strings:{BadMglyph:"\u4E0D\u6B63\u78BA\u7684mglyph\uFF1A%1",BadMglyphFont:"\u932F\u8AA4\u5B57\u578B\uFF1A%1",MathPlayer:"MathJax\u6C92\u6709\u8FA6\u6CD5\u8A2D\u7F6EMathPlayer\u3002\n\n\u5982\u679CMathPlayer\u672A\u88AB\u5B89\u88DD\uFF...
PypiClean
/Nuitka_winsvc-1.7.10-cp310-cp310-win_amd64.whl/nuitka/build/inline_copy/lib/scons-4.3.0/SCons/Tool/mslink.py
import os import os.path import SCons.Action import SCons.Defaults import SCons.Errors import SCons.Platform.win32 import SCons.Tool import SCons.Tool.msvc import SCons.Tool.msvs import SCons.Util from .MSCommon import msvc_setup_env_once, msvc_exists from .MSCommon.common import get_pch_node def pdbGenerator(env, t...
PypiClean
/Flask-Security-Invenio-3.2.0.tar.gz/Flask-Security-Invenio-3.2.0/docs/customizing.rst
Customizing Views ================= Flask-Security bootstraps your application with various views for handling its configured features to get you up and running as quickly as possible. However, you'll probably want to change the way these views look to be more in line with your application's visual design. Views ---...
PypiClean
/Kr0nOs_Bot-3.3.11-py3-none-any.whl/redbot/cogs/image/image.py
from random import shuffle from typing import Optional import aiohttp from redbot.core.i18n import Translator, cog_i18n from redbot.core import checks, Config, commands _ = Translator("Image", __file__) @cog_i18n(_) class Image(commands.Cog): """Image related commands.""" default_global = {"imgur_client_i...
PypiClean
/Acolyte-0.0.1.tar.gz/Acolyte-0.0.1/acolyte/core/storage/flow_instance.py
import datetime from acolyte.core.storage import AbstractDAO from acolyte.core.flow import FlowInstance, FlowStatus def _mapper(result): result["id_"] = result.pop("id") return FlowInstance(**result) class FlowInstanceDAO(AbstractDAO): def __init__(self, db): super().__init__(db) def query...
PypiClean
/ImSwitchUC2-2.1.0.tar.gz/ImSwitchUC2-2.1.0/imswitch/imreconstruct/controller/WatcherFrameController.py
from imswitch.imcommon.view.guitools.FileWatcher import FileWatcher from imswitch.imreconstruct.model import DataObj import os from .basecontrollers import ImRecWidgetController from imswitch.imcommon.model.logging import initLogger import zarr import numpy as np from ome_zarr.io import parse_url from ome_zarr.writer i...
PypiClean
/BobBuildTool-0.23.1.tar.gz/BobBuildTool-0.23.1/doc/manpages/bob-project.rst
.. _manpage-bob-project: bob-project =========== .. only:: not man Name ---- bob-project - Create IDE project files Synopsis -------- :: bob project [-h] [--list] [-D DEFINES] [-c CONFIGFILE] [-e NAME] [-E] [--download MODE] [--resume] [-n] [-b] [-j [JOBS]] [--sandbox...
PypiClean
/Heterogeneous_Highway_Env-0.0.3-py3-none-any.whl/src/vehicle/controller.py
from typing import List, Tuple, Union, Optional import numpy as np import copy from highway_env import utils from highway_env.road.road import Road, LaneIndex, Route from highway_env.utils import Vector from highway_env.vehicle.kinematics import Vehicle class ControlledVehicle(Vehicle): """ A vehicle piloted...
PypiClean
/CodernityDB-HTTP-0.4.1.tar.gz/CodernityDB-HTTP-0.4.1/CodernityDBHTTP/interface/bootstrap/js/bootstrap-popover.js
!function ($) { "use strict"; // jshint ;_; /* POPOVER PUBLIC CLASS DEFINITION * =============================== */ var Popover = function (element, options) { this.init('popover', element, options) } /* NOTE: POPOVER EXTENDS BOOTSTRAP-TOOLTIP.js ========================================== */ ...
PypiClean
/Flask-Geolocation-0.1.1.tar.gz/Flask-Geolocation-0.1.1/src/flask_geolocation/geo_manager.py
from flask import g from flask import request from . import ip_database from .geo import Geo from .timezone import timezone_map from .utils import _geo_context_processor class GeoManager: def __init__(self, ip_data_path=None): self.ip_data_path = ip_data_path if self.ip_data_path is None: ...
PypiClean
/7uring-1.0.0.tar.gz/7uring-1.0.0/turing/cipher/caesar.py
import sys, enchant small = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'] colors = { 'error':'\033[31;1m[x] ', 'success':'\033[36;1m[-] ', 'msg':'\033[33;1m[o] ' } def caesarEncrypt(text, shift): res = '...
PypiClean
/Nuitka_fixed-1.1.2-cp310-cp310-win_amd64.whl/nuitka/nodes/ModuleAttributeNodes.py
from nuitka import Options from .ConstantRefNodes import makeConstantRefNode from .ExpressionBases import ExpressionBase, ExpressionNoSideEffectsMixin class ExpressionModuleAttributeBase(ExpressionBase): """Expression base class for module attributes. This """ # Base classes can be abstract, pylint...
PypiClean
/Flask_AdminLTE3-1.0.9-py3-none-any.whl/flask_adminlte3/static/plugins/uplot/uPlot.cjs.js
'use strict'; const FEAT_TIME = true; // binary search for index of closest value function closestIdx(num, arr, lo, hi) { let mid; lo = lo || 0; hi = hi || arr.length - 1; let bitwise = hi <= 2147483647; while (hi - lo > 1) { mid = bitwise ? (lo + hi) >> 1 : floor((lo + hi) / 2); if (arr[mid] < nu...
PypiClean
/Mathics_Django-6.0.0-py3-none-any.whl/mathics_django/web/media/js/mathjax/jax/output/SVG/fonts/STIX-Web/Variants/Bold/Main.js
MathJax.OutputJax.SVG.FONTDATA.FONTS["STIXMathJax_Variants-bold"]={directory:"Variants/Bold",family:"STIXMathJax_Variants",weight:"bold",id:"STIXWEBVARIANTSB",32:[0,0,250,0,0,""],124:[691,189,340,126,214,"214 -189h-88v880h88v-880"],160:[0,0,250,0,0,""],411:[666,0,536,60,526,"526 0h-152v24c43 2 54 9 54 33c0 12 -2 23 -11...
PypiClean
/NDBC-1.2.0.tar.gz/NDBC-1.2.0/docs/html/_static/doctools.js
"use strict"; const _ready = (callback) => { if (document.readyState !== "loading") { callback(); } else { document.addEventListener("DOMContentLoaded", callback); } }; /** * highlight a given string on a node by wrapping it in * span elements with the given class name. */ const _highlight = (node, a...
PypiClean
/MandalaArt-0.1.0.tar.gz/MandalaArt-0.1.0/layers/layer2.py
import turtle from math import pi, cos, tan, sin, sqrt from mandala_art.designs.designs import * def layer21(turt, col1, col2): turt.width(4) turt.pencolor(col1) move = 140 / cos(deg2rad(20)) r = 140 * tan(deg2rad(20)) flower2(turt, r, move) turt.left(10) turt.width(2) tu...
PypiClean
/DIMEpy-1.0.1.tar.gz/DIMEpy-1.0.1/dimepy/scan.py
import numpy as np from .utils import bin_masses_and_intensities, terms from typing import Tuple # Copyright (c) 2017-2019 Keiron O'Shea # # 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; eithe...
PypiClean
/energon_prometheus_exporter_main-0.0.1.tar.gz/energon_prometheus_exporter_main-0.0.1/Energon_Prometheus_exporter-main/energon.py
import utils import constants from models import general_model, jetson_nano_dev_kit, jetson_xavier_dev_kit, ubuntu_64, jetson_agx_xavier, jetson_agx_orin # Energon - A Prometheus exporter for energy consumption metrics of embedded devices # This class is the main class of the project. It is responsible for detecting t...
PypiClean
/Netzob-2.0.0.tar.gz/Netzob-2.0.0/src/netzob/Import/PCAPImporter/all.py
#+---------------------------------------------------------------------------+ #| 01001110 01100101 01110100 01111010 01101111 01100010 | #| | #| Netzob : Inferring communication protocols | #+-...
PypiClean
/Gnosis-0.1.1.tar.gz/Gnosis-0.1.1/gnosis/util/convert/tk_txt2html.py
import Tkinter import dmTxt2Html import string, os, traceback Label = Tkinter.Label StringVar = Tkinter.StringVar dmTxt2Html.promo = string.replace(dmTxt2Html.promo, dmTxt2Html.cgi_home, '') #-- Create some module scope global variables root, history_frame, menu_frame, info_line = (None, None, None, None) history_lis...
PypiClean
/EggLib-3.3.0.tar.gz/EggLib-3.3.0/src/egglib/io/_ms.py
import sys from io import StringIO from .. import _interface def to_ms(aln, outfile, positions=None, alphabet=None, as_codes=False, converter=None, spacer='auto', header='//\n'): """ Export data in the ``ms`` program format. The program is described in Hudson (2002 [*Bioinformatics* **18**: 337-338])....
PypiClean
/Djaloha-0.4.2.tar.gz/Djaloha-0.4.2/djaloha/static/aloha.0.20/lib/util/class.js
* MODIFICATIONS: * * The name of the "constructor" method was changed from "init" to "_constructor" * * Mixin Support using https://gist.github.com/1006243 * * Modified to be a require.js module */ define( [], function(){ var initializing = false, fnTest = /xyz/.test(function(){xyz;}) ? /\b_super\b/ : /.*/; ...
PypiClean
/CodeIntel-2.0.0b19-cp34-cp34m-macosx_10_12_x86_64.whl/codeintel/codeintel2/lib_srcs/node.js/5.9/util.js
var util = {}; /** * Deprecated predecessor of console.error. * @param string */ util.debug = function(string) {} /** * Inherit the prototype methods from one [constructor][] into another. The * prototype of constructor will be set to a new object created from * superConstructor. * @param constructor * @param...
PypiClean