Saravanan666/pypi-org huggingface dataset:
Package: libyata
yata[WIP]Yet Another Tools for Audio deep learning(for myself).pip install libyataUsage(NEW!)As command line batch running toolsusageyata glob_pattern --command command_pattern --replace_from foo --replace_to bar --j NUM_PROCESSES --dry_run True/Falseargs:--command: set command pattern.with placeholder of {i} as input file and {o} as output file--j number of process to run--dry_run: only show commandto be runbut not actual running it.for example: "mv 1.wav 1_backup.wav"examplesbatch rename example:On terminal, just type this to see guide:yata_guide renameyou will get a guide:yata './**/*' --command 'mv {i} {o}' --replace_from .aac --replace_to .wav --j 4 --dry_run TrueYou can run it directly and will show you the dry running commandto be run:yata date:20210418_161624, total_files:56, dry_run=True
mv ./testdir/1.wav ./testdir/1.aac
mv ./testdir/2i/2.wav ./testdir/2i/2.aac
mv ./testdir_16k/1.wav ./testdir_16k/1.aac
mv ./testdir_16k/2i/2.wav ./testdir_16k/2i/2.aac
mv ./yata/61-70968-0002.wav ./yata/61-70968-0002.aac
100%|██████████████████████████████████| 55/55 [00:00<00:00, 37724.73it/s]
yata done:20210418_161705, total_files:56, dry_run=TrueYou can modify it as your will and run it, remember to remove "--dry_run True":yata './**/*' --command   'mv {i} {o}' --replace_from .wav --replace_to _backup.wav --j 4batch resample example:Typeyata_guide resampleto get this guide:yata './**/*' --command 'ffmpeg -hide_banner -loglevel quiet  -i {i} -f wav -ar 16000 -acodec pcm_s16le -ac 1 {o}  -y' --replace_from .aac --replace_to .wav --j 10 --dry_run Truewith pythonic supporttqdmmultiprocessingauto new_dirAs python packageimport yatahandy toolsyata.utils.run():No more ArgumentParser!!you can pass and update any parameter with:python test.py --a 2 --lr 0.01with code like:import yata

default_hp = {"a":1,"b":2}
args = yata.util.run(default_hp)you can acess params like HParams:print(args.a, args.b) # acess default params
print(args.lr) # acess newly add params from CLIyata.utils.new_dir:Make directory like this./file_a/tag/1/with:new_dir("file_a", "tag", 1)yata.utils.backup_code:Backup all your *.py(optional) to a zip file, eg. backup code for every experiments before running.yata.utils.get_current_date: Get date as stringyata.utils.merge_parts: merge csv filesmerge_parts(pattern, output_name="", sep=",")Tensorflow alternativesyata.utils.HParams:An alternative to tf.contrib.training.HParams without Tensorflow dependencyyata.utils.to_categorical:An alternative to tf.keras.utils.to_categorical without Tensorflow & keras dependencydata augmentationmixup:papercodeSpecAugment:papercodemp3 as augumentation，用MP3编码后去掉的不可听噪声，把这种生成不可听噪声作为数据增强的手段（做法：加高斯，把MP3当成一个mask去编码，把MP3mask挖掉的区域的高斯留下来加到频谱上面，形成不可听噪声）phase putertubationfeature extractionPASE:papercodeMulti scale MelSpectrogram
Package: libzbar-cffi
Python cffi-based bindings for zbar (http://zbar.sourceforge.net/) designed to
be as efficient as possible.Python 2, Python 3, and PyPy compatible!Note: currently a work in progress. Entirely functional and production-ready
(seeNumPy note), but missing some configuration options.Installation$ pip install libzbar-cffiExamples>>> import libzbar as zb

# Images can be loaded from PIL images:
>>> from PIL import Image
>>> im = Image.open("test/qr-numeric.png")
>>> zb.Image.from_im(im).scan()
[<Symbol type=ZBAR_QRCODE quality=1 data='12345' locator=[(12, 12), (12, 75), (75, 75), (75, 12)]>]

# And from NumPy arrays. Note: if the array has an 8-bit data type (ex,
# uint8) a pointer to its data will be passed directly into zbar making
# this method very efficient.
>>> import numpy as np
>>> zb.Image.from_np(im.size, np.array(im)).scan()
[<Symbol type=ZBAR_QRCODE quality=1 data='12345' locator=[(12, 12), (12, 75), (75, 75), (75, 12)]>]

# By default, only QR codes will be scanned. Other symbol types can be
# scanned using the ``symbol_type`` argument (see ``libzbar.symbol_types``),
# or ``0`` for "all symbol types":
>>> ean13 = zb.Image.from_im(Image.open("test/ean13-example.png"))
>>> ean13.scan()
[]
>>> ean13.scan(symbol_type=0)
[<Symbol type=ZBAR_EAN13 quality=449 data='0012345678905' locator=[(30, 23), ..., (30, 247)]>]NumPy NoteWhen using theImage.from_np(…)constructor a pointer to the underlying
array is passed directly tozbar. The array’s size and dtype are sanity
checked, but at the moment thectypes flagsare ignored, so Strange Things
might happen if the underyling array isn’t a straight forwarduint8_t[size[0] * size[1]].Additionally, the arrayshould not be changedfor the lifecycle of theImage, as this could invalidate the data pointer.
Package: libzbar-ctypes
libzbar-ctypes===========This is libzbar python ctypes bindings, it should support python2 and python3.I can not find a python3 version zbar library under raspberry pi, so i write this codes for it.It should work under other platform only need replace the libzbar path.It only test under Raspbian (raspberry pi) now.Usage------ Install- install libzbar::sudo apt-get install zbar-tools- install libzbar_ctypes- python3::pip install libzbar-ctypes- python2::pip3 install libzbar-ctypes- Example (on raspberry pi)- install pillowinstall Prerequisites packages. see http://pillow.readthedocs.org/en/latest/installation.htmldownload pillow source code (http://python-pillow.github.io/), and compile it.- run the example script.- test- test under ubuntu 15.04.- test on hardware firefly.- test on hardware rasyberry pi.todo----Add all libzbar function bindings.Contact-------by jf.zaazbb <zaazbb@163.com>
Package: libzkit
Python BoilerplatePython Boilerplate contains all the boilerplate you need to create a Python package.Free software: MIT licenseDocumentation:https://python-boilerplate.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2020-08-09)First release on PyPI.
Package: lib-zkit
Python BoilerplatePython Boilerplate contains all the boilerplate you need to create a Python package.Free software: MIT licenseDocumentation:https://python-boilerplate.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2020-08-09)First release on PyPI.
Package: libzt
libzt (ZeroTier)Peer-to-peer and cross-platform encrypted connections built right into your app or service. No drivers, no root, and no host configuration.Examples, tutorials and API docs for Python and other languages:github.com/zerotier/libztNOTE: The implementation of this language binding attempts to be as Pythonic as possible. If something is not as it should be, please make a pull request or issue. Thanks.
Package: lic
⎣⫯ℂ: Line Integral Convolution for numpy ArraysThis package provides line integral convolution (lic) algorithms to Python.lic image of the Kelvin-Helmholtz instabilityThere are functions which can be imported and are highly configurable for the power user.
Moreover, there is a command line tool to generate lic images without having to code a single line.InstallationThe installation is straight forward. You can install the package viapip,pipenv,poetryand alike or by downloading the source from the gitlab repository.From pypi.org (recommended)Install by typingpipinstalllicorpipinstall--userlicif you do not have root access.Please check the documentations forpipenv, andpoetryfor information on how to install packages with these tools.From gitlab.comTo get the latest features or contribute to the development, you can clone the whole project usinggit:gitclonehttps://gitlab.com/szs/lic.gitNow you can, for instance, copylic.pyover to your project and import it directly or use it as a
command line tool.UsageYou can import lic in your program and use the functions directly or use the command line tool.Importing the moduleOnce the package is installed where Python can find it, you can use the functionlicdirectly.importlicimportmatplotlib.pyplotasplt# ... get x and y arrays from somewhere ...lic_result=lic.lic(x,y,length=30)plt.imshow(lic_result,origin='lower',cmap='gray')plt.show()Find out more about the options by reading the source documentation:pydoclic.licYou can also control the seed, i.e., the underlying texture for the lic:pydoclic.gen_seedYou can run the example from the root folder to see the result:PYTHONPATH="."python3examples/ex1.pyCommand Line ToolYou will need npy data files (saved using numpy.save) to use lic from the command line:licdata_x.npydata_y.npy-v-l30-cSeelic--helpfor a full list of options.How to ContributeIf you find a bug, want to propose a feature or need help getting this package to work with your data
on your system, please don’t hesitate to file anissueor write
an email. Merge requests are also much appreciated!Project linksRepositoryDocumentationpypi pageExternal linkshttp://www.zhanpingliu.org/Research/FlowVis/LIC/LIC.htmhttps://www3.nd.edu/~cwang11/2dflowvis.html
Package: licant
LicantLicant is designed to build small modular projects with a complex dependency tree.What is it?Initially Likant was written as a system for assembling code for projects on microcontrollers.The core of the Lycant system is a make-like assembly tree solver written in python.But, the main feature of Licant in the system of modules.
The Likant paradigm consists in the description of a project by a set of modules that link to each other. Connecting the module automatically tightens the connection of dependent modules.Modules can have several implementations, which allows flexible configuration of the project. (For example, you can change the initialization code of the microcontroller or the implementation of the input-output system simply by replacing the implementation of the corresponding module).One of the goals of the project is to work with submodules located in remote directories. The library subsystem allows a project to refer to modules located in remote directories, which allows several projects to use the same code.Installingpython3-mpipinstalllicantHelloWorld#!/usr/bin/env pythonimportlicant.makeaslmakeimportlicantlmake.source("a.txt")lmake.copy(tgt="build/b.txt",src="a.txt")lmake.copy(tgt="build/c.txt",src="build/b.txt")print("licant targets list:"+str(licant.default_core().targets))licant.ex(default="build/c.txt")Example projectshttps://github.com/mirmik/noshttps://github.com/mirmik/igrishttps://github.com/mirmik/genos
Package: liccheck2
Python License CheckerCheck python packages from requirement.txt and report license issues.AboutYou can define a list of authorized licenses, authorized packages,
unauthorized licenses.The tool will check the requirement.txt files, check packages and their
dependencies and return an error if some packages are not compliant
against the strategy. A package is considered as not compliant when its license
is in the unauthorized license list or is unknown. A package is considered as compliant when its
license is in authorized license list, or if the package is itself in the list of
authorized packages.How to install$ pip install liccheckHow to useliccheck will read the requirement.txt and check packages agains a strategy defined in the ini file.
If the file is not specified on command line, it will lookup for requirement.txt in the current folder.
You have to setup an ini file with an authorized license list, unauthorized license list, authorized package list.Here is an example of a strategy:# Authorized and unauthorized licenses in LOWER CASE
[Licenses]
authorized_licenses:
        bsd
        new bsd
        bsd license
        new bsd license
        simplified bsd
        apache
        apache 2.0
        apache software license
        gnu lgpl
        lgpl with exceptions or zpl
        isc license
        isc license (iscl)
        mit
        mit license
        python software foundation license
        zpl 2.1

unauthorized_licenses:
        gpl v3

[Authorized Packages]
# Python software license (see http://zesty.ca/python/uuid.README.txt)
uuid: 1.30For demo purpose, let’s say your requirement.txt file contains this:Flask>=0.12.1
flask_restful
jsonify
psycopg2>=2.7.1
nose
scipy
scikit-learn
pandas
numpy
argparse
uuid
sqlbuilder
proboscis
pyyaml>=3.12The execution will output this:$ liccheck -s my_strategy.ini -r my_project/required.txt
gathering licenses...23 packages and dependencies.
check forbidden packages based on licenses...none
check authorized packages based on licenses...19 packages.
check authorized packages...4 packages.
check unknown licenses...noneIf some dependencies are unknown or are not matching strategy, the output will be something like:$ liccheck -s my_strategy.ini -r my_project/required.txt
    gathering licenses...32 packages and dependencies.
    check forbidden packages based on licenses...1 forbidden packages :
        Unidecode (0.4.21) : GPL ['GNU General Public License v2 or later (GPLv2+)']
          dependencye(s):
              Unidecode << python-slugify << yoyo-migrations

    check authorized packages based on licenses...24 packages.
    check authorized packages...6 packages.
    check unknown licenses...1 unknown packages :
        feedparser (5.2.1) : UNKNOWN []
          dependencye(s):
              feedparserLicensingSeeLICENSE
Package: licel-alice-api
Alice APIUsage# 1. Import `AliceAPI` and authorizefromlicel_alice_apiimportAliceAPI,ListParams,SortParams,PageParams,SortDirectionclient=AliceAPI(username="my_username",password="my_password")# 2. Use methods for get datares=client.get_pkp_incident_list()# 3. Client returns typed result.# For getting raw data you can use property `raw`print(res.raw)print(res.list.raw)print(res.list[0].raw)# 4. Sort, paginate and searchres=client.get_pkp_incident_list(params=ListParams(sort=SortParams("time",SortDirection.DESC),# sort descendant by timepage=PageParams(1,50),# get get first page per 50 elements on pagequery="$fingerprint ~ 'Android' and ($type='PKP' or $id=123)"# search incidents where fingerprint contain 'Android' and incident is HPKP or id is 123))
Package: licen
Generate your license. Yet anotherlice, but implement with Jinja.Install$ pip install licenUsageA gif is worth than a thousand words.demo_gifIn short, generate a licnese:$ licen mit > LICENSEGenerate a header:$ licen header gpl-2.0-header > main.pyOr get detailed help message from the terminal.$ licen -h
licen, generates license for you via command line

Usage:
  licen [header] (-l | --list)
  licen [-y YEAR] [-f FULLNAME] [-e EMAIL] LICENSE_NAME
  licen header [-y YEAR] [-f FULLNAME] [-e EMAIL] LICENSE_HEADER
  licen --var NAME
  licen (-h | --help)
  licen (-V | --version)

Options:
  -l --list     List all the support licenses or headers.
  -y YEAR       Specify the year.
  -f FULLNAME   Specify the owner's fullname.
  -e EMAIL      Specify the email.
  --var         List all the variables in the template.
  -h --help     Show the help message.
  -V --version  Show the version info.LicenseMIT.
Package: license-authorize
this program is for lincense authorizeit use cpuid and servertime and clienttime to verify the request with the premaked lic fileclienttime get method,for example use javascript:# current time
# var d = new Date()
# ct=d.getTime()

# set time
# var d = new Date("2023-5-12")
# ct=d.getTime()the lic file is made by anthor toolsif you are intertested , you can contact with memy email :gisfanmachel@gmail.com
Package: license-authorize-win
this program is for lincense authorizeit use cpuid and servertime and clienttime to verify the request with the premaked lic fileclienttime get method,for example use javascript:# current time
# var d = new Date()
# ct=d.getTime()

# set time
# var d = new Date("2023-5-12")
# ct=d.getTime()the lic file is made by anthor toolsif you are intertested , you can contact with memy email :gisfanmachel@gmail.com
Package: license-generator
license-generatorThelicense-generatoris a simple CLI tool which allows you to create LICENSE files.
The tool ships with the most common types of licenses used in the software industry. The list of licenses
available can be found in thelicense_generator/licenses/folder.Please note the package is undergoing development so youmayfind bugs or see ugly output.UsageTo generate a license, run the command by specifying the license name as shown below.
Example:$ license-generator generate MITThis commend will generate a LICENSE file in the current directory.
It is also possible to generate a license in your preferred directory.
Example:$ license-generator generate MIT --destination-dir 'some/path'This command will generate the LICENSE file in “some/path”.Commands Availablegenerate: generates a LICENSE file from the license name specified.help: shows usage info.version: shows package version, copyright notice and legal status (as defined by theGNU Coding Standards)ContributingPlease see the DEVELOPMENT.rst file for more information.LicensePlease see the LICENSE file for more information.
Package: licensegh
licenseghlicenseghis a command line tool that generates aLICENSEfile for a project from thegithub license templates repository.InstallationInstall with pip:pipinstalllicenseghUpgrade with pip:pipinstall--upgradelicenseghUsageAlias lghHelp:licensegh-hVersion:licensegh--versionList all licenses:licensegh-lSearch licenses:licensegh-sPrint a license:licensegh-pReset github template repository:licensegh--resetSave a license:licenseghmitDevelopmentInstalling poetry:pipinstallpoetryInstalling development dependencies:poetryinstallRunning unit tests:poetryrunpython-mscripts.testsApplying code styles:poetryrunpython-mscripts.stylesRunning code analysis:poetryrunpython-mscripts.analyzeRunning code coverage:poetryrunpython-mscripts.tests-coverageRunning cli usingpoetry:poetryrunlicenseghRelease a new versionCheckhttps://python-poetry.org/docs/cli/#versionpoetryversion<major|minor|patch>
gitadd-A
gitcommit-m"bumping version to$(poetryversion-s)"gittag$(poetryversion-s)gitpushoriginmain
gitpush--tags
Package: license-header-check
# license-header-checklicense-header-check is a tool to test if all modules in a python package have a certain license header.## Install`bash pip installlicense-header-check`## UsageYou have to provide two arguments:license_file: A file with the license header as its only content.package_name: The name of the package that should be checked.Optional:–ignore: A path in the package that should be ignored.## Example`bashlicense-header-checkLICENSE my_package ``bashlicense-header-checkLICENSE my_package--ignoremy_package.my_subpackage `
Package: license-key
License Checker for Python projectThis module provides you with a wide functionality for checking license keys and their expiration dates for your program written in PythonInstalling via PyPipip install license-keyJSON formatNeed host JSON file to your site or on GitHub Gists with all licenses data with format:{
    "WZ3UD-ADZH8-MFYJB-RUGM3-J37TX": {
	    "id": "1",
		"expire": "30.12.2022"
    },
    "EXAMPLE_KEY": {
        "id": "ID ON STRING OR INT",
        "expire": "DD.MM.YYYY"
    }
}Using in code>>> import license_key
>>> url = "https://gist.github.com/marat2509/db7026b9dd10cbdbe63052c5d674804e/raw/licenses.json"
>>> license = init(license_json_url = url)
>>> print(license.check(license_key = "WZ3UD-ADZH8-MFYJB-RUGM3-J37TX"))
<<< 1  # License key valid
>>> print(license.check(license_key = "EXPIRED_KEY"))
<<< -1  # License key expired
>>> print(check_license(license_url_list = url, license_key = "UNKNOWN_KEY"))
<<< 0  # License key not registered
>>> print(license.get(license_key = "WZ3UD-ADZH8-MFYJB-RUGM3-J37TX", key = "expire"))
<<< 30.12.2022
>>> print(license.get(license_key = "WZ3UD-ADZH8-MFYJB-RUGM3-J37TX", key = "THIS_KEY_DOESNT_EXISTS"))
<<< -404  # Key not foundStatus codesCodeDescription-406Failed to fetch-404Key not found-1License key expired0License key not found1License key validDebug modeCode:import license_key
url = "https://gist.github.com/marat2509/db7026b9dd10cbdbe63052c5d674804e/raw/licenses.json"
license = license_key.init(license_json_url = url, debug = True)
print(license.check(license_key = "WZ3UD-ADZH8-MFYJB-RUGM3-J37TX"))Output:2022-06-17 23:34:20.553 | DEBUG    | license_key:__init__:10 - Initiated self-based class; Version: 1.0.0
2022-06-17 23:34:20.873 | INFO     | license_key:get_data:17 - Fetched JSON data, saved to dict 'self.data'
2022-06-17 23:34:20.877 | DEBUG    | license_key:check:24 - Getting current date from TimeApi
2022-06-17 23:34:21.157 | INFO     | license_key:check:28 - Fetched JSON data, saved dict to 'self.today'
2022-06-17 23:34:21.169 | DEBUG    | license_key:check:32 - Setting 'self.to_day' from dict 'self.today'
2022-06-17 23:34:21.171 | INFO     | license_key:check:34 - Setted 'self.to_day' to: 17
2022-06-17 23:34:21.201 | DEBUG    | license_key:check:35 - Setting 'self.to_month' from dict 'self.today'
2022-06-17 23:34:21.203 | INFO     | license_key:check:37 - Setted 'self.to_month' to: 6
2022-06-17 23:34:21.205 | DEBUG    | license_key:check:38 - Setting 'self.to_year' from dict 'self.today'
2022-06-17 23:34:21.212 | INFO     | license_key:check:40 - Setted 'self.to_year' to: 2022
2022-06-17 23:34:21.228 | DEBUG    | license_key:check:41 - Checking license key in license list
2022-06-17 23:34:21.231 | INFO     | license_key:check:45 - License key in a license list, license info:
{
"id": 1,
"expire": "30.12.2022"
}
2022-06-17 23:34:21.234 | DEBUG    | license_key:check:46 - Checking whether the license key expired
2022-06-17 23:34:21.236 | INFO     | license_key:check:55 - License key valid! The license key valid until: 30.12.2022
1
Package: licensekey2
licensekey2Installationpipinstalllicensekey2UsageAPI license keysKeys is generated and verifyed on the server.fromlicensekey2importRemoteLicenselicense=RemoteLicense("https://example.com/api/license")# Check if the license is validlicense.validate("1234-5678-9012-3456")Crypto license keysfromdatetimeimportdatetimefromlicensekey2importCryptoLicense# Generate keys. Private key MUST BE kept secret.public_key,private_key=CryptoLicense.generate_key_pair()print(public_key,private_key)# Initialize license objectlicense=CryptoLicense(public_key,private_key)# Prepare license subjectlicense_data={"name":"John Doe","product":"My Product","type":"Ultimate License"}# Generate keykey=license.generate_key({},until=datetime(2025,1,1))print(key)# Check key and return our license_datalicense_subject=license.validate(key)# Check license typeiflicense_subject["type"]=="Ultimate License":print("You have an ultimate license!")Custom checkersdefcustom_checker(license_subject):iflicense_subject["type"]=="Ultimate License":returnraiseValueError("You don't have an ultimate license!")license=CryptoLicense(public_key,private_key,custom_checker=custom_checker)key=license.generate_key({"type":"Ultimate License"},until=datetime(2025,1,1))license.validate(key)# Key is validkey=license.generate_key({"type":"Another license"},until=datetime(2025,1,1))license.validate(key)# Key is invalid. ValueError raised.Authors and licenseLicensed under theMIT license.First version by Marat Budkevich (@marat2509)This version by Egor Ternovoycofob@riseup.net(@cofob)
Package: license-manager-agent
Contributors•Forks•Stargazers•Issues•MIT License•Documentation•Contact Us•AnOmnivectorinitiativeLicense Manager AgentA Python agent that runs in a HPC system to manage license usage and license reservations.About the ProjectTheLicense Manager Agentis responsible for keeping the local cluster license totals
in sync with the the 3rd party license server totals. It's also responsible for making booking requests
to theLicense Manager APIwhen Slurm is configured to use thePrologSlurmctldscript provided byLicense Manager Agent.DocumentationPlease visit theLicense Manager Documentationpage for details on how to install and operate License Manager.Bugs & Feature RequestsIf you encounter a bug or a missing feature, pleasefile an issueLicenseDistributed under the MIT License. See theLICENSEfile for details.ContactEmail us:Omnivector Solutions