Saravanan666/pypi-org huggingface dataset:
Package: birdvoxclassify
BirdVoxClassify: species classification of bird flight callsAn open-source Python library and command-line tool for classifying bird species from flight calls in audio recordings.BirdVoxClassify is a pre-trained deep learning system for classifying bird species from flight calls in short audio recordings.
It relies on per-channel energy normalization (PCEN) for improved robustness to background noise.
It is made available both as a Python library and as a command-line tool for Windows, OS X, and Linux.The code used to train these models can be found atthis repository.Installation instructionsDependenciesPython VersionsCurrently, we support Python 3.6, 3.7, and 3.8.libsndfile (Linux only)BirdVoxClassify depends on the PySoundFile module to load audio files, which itself depends on the non-Python library libsndfile.
On Windows and Mac OS X, these will be installed automatically via thepippackage manager and you can therefore skip this step.
However, on Linux,libsndfilemust be installed manually via your platform's package manager.
For Debian-based distributions (such as Ubuntu), this can be done by simply runningapt-get install libsndfileFor more detailed information, please consult theinstallation instructions of pysoundfile.Note about TensorFlow:We have dropped support for Tensorflow 1.x, and have moved to Tensorflow 2.x.Installing BirdVoxClassifyThe simplest way to install BirdVoxClassify is by usingpip, which will also install the additional required dependencies
if needed.To install the latest version of BirdVoxClassify from source:Clone or pull the latest version:git clone git@github.com:BirdVox/birdvoxclassify.gitInstall using pip to handle Python dependencies:cd birdvoxclassify
 pip install -e .ContactAurora Cramer, New York University (@auroracrameron GitHub).
For more information on the BirdVox project, please visit our website:https://wp.nyu.edu/birdvoxSee theBirdVox Google Groupfor questions and relevant discussion regarding BirdVox research and tools.Please cite the following paper when using BirdVoxClassify in your work:Chirping up the Right Tree: Incorporating Biological Taxonomies into Deep Bioacoustic ClassifiersJason Cramer, Vincent Lostanlen, Andrew Farnsworth, Justin Salamon, and Juan Pablo BelloIn IEEE International Conference on Acoustics, Speech, and Signal Processing (ICASSP), Barcelona, Spain, May 2020.
Package: birdvoxpaint
birdvoxpaintFalse-color spectrograms for long-duration bioacoustic monitoringInstallationBirdVoxPaint is hosted on PyPI. To install, run the following command in your Python environment:$pipinstallbirdvoxpaintTo install the latest version from source clone the repository and, from the top-levelbirdvoxpaintfolder, call:$pythonsetup.pyinstallUsageTo analyze an audio file:importlibrosaimportbirdvoxpaintasbvpimportmatplotlib.pyplotasplt# get the path to the audio file you want to useaudio_path=librosa.example('nutcracker')# calculate acoustic indicesX=bvp.transform(audio_path,segment_duration=3,indices=[bvp.acoustic_complexity_index,bvp.entropy_based_concentration,bvp.acoustic_event_count,])print(X.shape)# showbvp.rgbshow(X)plt.show()
Package: birdwatcher
Birdwatcher is a Python computer vision library for analyzing animal behavior
in a Python scientific computing environment.Birdwatcher should help you getting up and running quickly when building
analysis code or tools for specific measurements. It provides high-level
functionality that is common in video analysis, such as reading and writing
videos into and from numpy arrays, applying processing algorithms such as
background subtraction, morphological transformation, resizing, drawing on
frames etc. Much of the underlying video and image processing is based onFFmpegandOpenCV,
but Birdwatcher is a lot easier to use for many tasks because its
higher-level implementation of functionality as compared to these tools.In addition to video analysis tools, Birdwatcher has high-level functions
for behavioral analysis based on such tools, although currently these are
limited to movement/location detection of single animals.Despite its name, Birdwatcher is not only for birds. We also successfully
analyzed dog behavior, and it could be used on anything that moves. It is
being used in our lab but still under heavy development, and should be
considered alpha software.Code can be found on GitHub:https://github.com/gbeckers/Birdwatcher.Documentation can be found athttps://birdwatcher.readthedocs.io.It is developed by Gabriel Beckers and Carien Mol, at Experimental Psychology,
Utrecht University. It is open source, freely available under theNew BSD Licenseterms.
Package: birgitta
Birgitta is a Python ETL test and schema framework,
providing automated tests for pyspark notebooks/recipes.Birgitta allows doing solid ETL and ML, while still liberally
allowing imperfect notebook code, enabling aDataOps <https://www.dataopsmanifesto.org>way of
working which is both solid and agile, not killing
Data Scientist flexibility by excessive coding standards in notebooks.In addition to running recipetests on your local dev machine or on
a CI/CD server, there is support for running recipetests
as [Dataiku](https://www.dataiku.com] DSS Scenarios.
Package: birman
BirmanMultipart formdata decoder library.Installpip install birmanGet startedDecode multipart form datafrombirmanimportDecoder# multipart_data = b'---- ...etc'decoder=Decoder(multipart_data)result=decoder.decode()This would return a normalized dict# example from params - ?email=test@test.com&password=wizard# result -{"email":{"name":"email","value":"test@test.com",},"password":{"name":"password","value":"wizard",},}Parse URI form paramsfrombirmanimportEncoderarg="?email=test@test.com&password=wizard"result=Encoder.parse_params(arg)This would return a normalized dict# result -{"email":{"name":"email","value":"test@test.com",},"password":{"name":"password","value":"wizard",},}Multipart FormdataThe decoder method will return file data extracted from the multipart formdata as a dict.{'name':'logo','type':'file','value':{'filename':'bobtail.png','mimetype':'image/png','file_data':b'...','type':'file',}
Package: biro
# birobidirectional URI routing```pythonfrom biro import get, path_for, match@get('/article')def list_article():pass@get('/article/<article_id>')def show_article():passpath_for(show_article, article_id=618)  # /article/618path_for(list_article, limit=10)  # /article?limit=10match('GET', "/article/309")  # (article, {"article_id": "309"})match('POST', "/article/309")  # (None, None)```## the Router class```pythonfrom biro import Routerrouter = Router()router.append('DETELE', '/article/<article_id>', handler)router.match('PATCH', '/path')router.path_for(handler, q=val)```## wsgi example```pythonfrom biro import get, match@get('/')def home():return 'home'@get('/hello/<name>')def hello(name):return 'hello %s' % namedef application(environ, start_response):handler, params = match(environ['REQUEST_METHOD'].upper(),environ['PATH_INFO'])if handler:status = '200 OK'response = handler(**params)else:status = '404 Not Found'response = 'page not found'start_response(status, [('Content-Type', 'text/html; charset=utf-8')])return [response.encode('utf-8')]```save it as example.py, then it can be lunched using gunicorn like this:```$ gunicorn example:application```
Package: birp
birp (борп) - большой русский питонПочему большой?Потому что.Почему русский? Потому что на русском.Почему питон?Потому что.Что?С помощью данного модуля вы сможете писать код на русском, но всё ещё пользоваться всеми преимуществами Питона! (пожалуйста, не надо)Транслятор переводит не только ключевые слова, но и встроенные функции, типы, магические методы, а так же некоторые другие словаПример кода:граница = целое(ввод("Введите верхнюю границу: "))

для число в диапазон(граница):
    вывод(число)Пример транслируется в:bound=int(input("Введите верхнюю границу: "))fornumberinrange(bound):print(number)Транслятор Борп в том числе написан на Борп (см. файлы *.birp в репозитории)Установкаpython -m pip install birpИспользованиеНапишите ваш код в файле с расширением .birp и запустите простую команду:python -m birp -f файл1 файл2...Более подробно об использовании аргументов расскажетpython -m birp -hДокументацияКогда-нибудь - обязательно. Пока смотрите примеры (папкаexamples) и используйте обратную трансляцию (см. ниже)Обратная трансляцияДля тех, кому очень лениво переписывать тысячи строчек кода, сделан модуль обратной трансляции (из обычного Питона в Борп):python -m birp.reverse -f файл1 файл2...Очень хороший пример обратной трансляцииgit clone https://github.com/keon/algorithms
python -m birp.reverse -f algorithms/algorithms/*/*.pyИнтерактивный режимЕсли не передать файлы, то запустится интерактивный режим.Работает он ужасно, потому что так и задумано (нет).
Package: birthchartSVG
birthchartSVGBirthchart SVG is a chart generator based on Kerykeion and Opeanstro.
Like the titles says it prints out SVG file of the birthchart,
it's very easy to use.# Install:>>>pip3installbirthchartSVG#Import:>>>importbirthchartSVGasbr# Make the instance:>>>kanye=br.MakeInstance("Kanye",1977,6,8,8,45,"Atlanta")# Set the output directory for the SVG:>>>kanye.set_dir="/Users/{YourName}"#Generate the SVG:>>>kanye.makeSVG()SVGgeneratedsuccessfully!DocumentationJust like in the exemple, first make an instance and then use the makeSVG() to generate the SVG chart.
The file generated has the name you inserted followed by Chart.svgInstallationBirtchartSVG is Python 3 package, make sure you have Python 3 installed on your system.DevelopmentYou can clone this repository or download a zip file using the right side buttons.
Package: birthdays
A sample project that exists as an aid to thePython Packaging User Guide’sTutorial on Packaging and Distributing
Projects.This projects 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 control, documentation, or testing.This is the README file for the project.The file should use UTF-8 encoding and be written usingreStructuredText. It
will be used to generate the project webpage on PyPI and will be displayed as
the project homepage on common code-hosting services, and should be written for
that purpose.Typical contents for this file would include an overview of the project, basic
usage examples, etc. Generally, including the project changelog in here is not
a good idea, although a simple “What’s New” section for the most recent version
may be appropriate.
Package: bis-arelle
Arelleis an end-to-end open source XBRL platform,
which provides the XBRL community with an easy to use set of tools.  It supports
XBRL and its extension features in an extensible manner.  It does this in a
compact yet robust framework that can be used as a desktop application and can
be integrated with other applications and languages utilizing its web service.FeaturesSupport for XBRL versioning. Validation tool for versioning reports and a
production tool to generate the basics of a versioning report that can be
inferred by diffing two DTSs.Edgar and Global Filer Manual validationBase Specification, Dimensions, Generic linkbase validationFormula validation including support for extension modulesInstance creation is supported using forms defined by the table linkbase (Eurofiling version).RSS Watch facilityUsers can explore the functionality and features from an interactive GUI,
command line interface, or web services, and can develop their own controller
interfaces as needed.The Web Service API allows XBRL integration with applications, such as those in
Excel, Java or Oracle.QuickBooks is supported by XBRL-GL.InstallationPlease check out ourArelle install guide.Contribution guidelinesIf you want to contribute to Arelle, be sure to review thecontribution guidelines.We useGitHub issuesfor
tracking requests and bugs.LicenseApache License 2.0
Package: bi-sc-client
This library is a Python wrapper for accessing Som Connexió BI API.OperationsStart billing with a Billing Run numberNotify the BI API with an invoice numberInstallation$ pip install bi-sc-clientConfiguration EnvironmentTo use this library you must expose the needed environment variables:BI_URL:
BI_USER:
BI_PASSWORD:These environment variables are needed to locate and access to the BI API.UsageStart billing with a Billing Run numberbilling_run_uuid=1234BISomConnexioClient().start_billing_run_invoicing(billing_run_number=billing_run_uuid,)Notify the BI API with an invoice numberinvoice_number="AB-1234Z"BISomConnexioClient().notify_invoice_number(invoice_number=invoice_number,)DevelopmentSetup environmentInstallpyenvcurlhttps://pyenv.run|bashBuild the Python versionpyenvinstall3.7.13Create a virtualenvpyenvvirtualenv3.7.13bi-sc-clientInstall dependenciespyenvexecpipinstall-rrequirements.txtInstall pre-commit hookspyenvexecpre-commitinstallInstall the package locally in development modeWhen we are using this package in other projects, we need to install it to use as import in the other files. Install the package in development mode helps us to modify the package and use the new version in live in the other project.pipinstall-e.Test the HTTP requestWe are using the HTTP recording plugin of Pytest:pytest-recording.With VRC we can catch the HTTP responses and then, execute the tests using them.To add a new test:Expose the needed envvars. Look for them at theConfiguration Environment sectionExecute the tests usingpytestcommand:If you are writing a new test that is making requests, you should run:$ pytest --record-mode=once path/to/your/testYou might need to record requests for an specific tests. In that case make sure to only run the tests affected and run$ pytest --record-mode=rewrite path/to/your/testAdd the newcassetesto the commit and push them.The CI uses the cassetes to emulate the HTTP response in the test.Run test suite$ toxFormattingWe useBlackas formatter.
First to commit, tun theblackcommand:$ black .
All done! ✨ 🍰 ✨
29 files left unchanged.DarkerBlack is a great formatter, but to mantain your code without execute theblackcommand avery time, you can configure your IDE to usedarkerto format only the changed or added code when you save the file.Release processUpdate CHANGELOG.md following this steps:Add any entries missing from merged merge requests.Duplicate the[Unreleased]header.Replace the secondUnreleasedwith a version number followed by the current date. Copy the exact format from previous releases.Then, you can release and publish the package to PyPi:Update the__version__var in__init__.pymatching the version you specified in the CHANGELOG.Open a merge request with these changes for the team to approveMerge it, add a git tag on that merge commit and push it.Once the pipeline has successfully passed, your package had been published.
Package: biscotti
biscottiA minimal python project template that can be used for CLIs, APIs, GRPC, and other python applications.UsageClone this repository.Replace all instances ofbiscottiacross the entire repository with the namespace of your project.Rename the directorybiscottiwith the same name too.Replacepyproject.tomlwith relevant values for your project.Usepyenvfor managing your python environment.Set up your virtual environment.Run./scripts/install.shRun./scripts/test.shYou're all set! Make this readme whatever you want now. The future is yours!
Package: biscuit
biscuitA WSGI compliant web framework for [insert something cool here].Getting StartedCurrently there are only a few aspects to be aware of.Firstly, install the requirements:pip install -r requirements.txtNext you can run the tests viapytestFinally, to start the example project run gunicorn like so:gunicorn examples.basic_app:APPHow to contributeIdk yet, just open some PRs dude
Package: biscuit-py
Biscuit provides tooling for securely managing secrets used in AWS
deployments. This project implements example Python code for reading secrets
encrypted with theBiscuit CLI.InstallingInstall with:$ pip install biscuit-pyExamplefrom biscuit import biscuit

secrets = biscuit()
with open("secrets.yml", "r") as fp:
    secrets.update(yaml.safe_load(fp))
launch_codes = secrets.get("launch_codes")You can also control the creation/pooling of the AWS KMS client by passing a factory method tobiscuit():secrets = biscuit(lambda region: boto3.client('kms', region_name=region))
Package: biscuit-py-prima
Biscuit provides tooling for securely managing secrets used in AWS
deployments. This project implements example Python code for reading secrets
encrypted with theBiscuit CLI.InstallingInstall with:$ pip install biscuit-pyExamplefrom biscuit import biscuit

secrets = biscuit()
with open("secrets.yml", "r") as fp:
    secrets.update(yaml.safe_load(fp))
launch_codes = secrets.get("launch_codes")You can also control the creation/pooling of the AWS KMS client by passing a factory method tobiscuit():secrets = biscuit(lambda region: boto3.client('kms', region_name=region))
Package: biscuit-py-prima-airflow
Biscuit provides tooling for securely managing secrets used in AWS
deployments. This project implements example Python code for reading secrets
encrypted with theBiscuit CLI.InstallingInstall with:$ pip install biscuit-pyExamplefrom biscuit import biscuit

secrets = biscuit()
with open("secrets.yml", "r") as fp:
    secrets.update(yaml.safe_load(fp))
launch_codes = secrets.get("launch_codes")You can also control the creation/pooling of the AWS KMS client by passing a factory method tobiscuit():secrets = biscuit(lambda region: boto3.client('kms', region_name=region))
Package: biscuit-python
Python bindings for biscuitThis library provides python bindings to thebiscuit_authrust library.As it is a pre-1.0 version, you can expect some API changes. However, most of the use cases are covered:building a tokenappending a (first-party) block to a tokenparsing a tokenauthorizing a tokenquerying an authorizerNotable missing features are:sealing tokensthird-party blockssnapshotsThere are no blockers for these features, they just have not been properly exposed yet.DocumentationDocumentation is available athttps://python.biscuitsec.org.Installationbiscuit-pythonis published on PyPI:biscuit-python:pip install biscuit-pythonBuilding/TestingSet up a virtualenv and install the dev dependencies. Plenty of ways to do that... Here's one of them:$ python -m venv .env
$ source .env/bin/activate
$ pip install -r requirements-dev.txtWith that, you should be able to runmaturin developto build and install the extension. You can thenimport biscuit_authin a Python shell to play around, or runpytestto run the Python tests.
Package: biscuits
BiscuitsLow level API for handling cookies server side.Installpip install biscuitsAPI# Parse a "Cookie:" header value:
from biscuits import parse
parse('some=value; and=more')
> {'some': 'value', 'and': 'more'}

# Generate a "Set-Cookie:" header value:
from biscuits import Cookie
cookie = Cookie(name='foo', value='bar', domain='www.example.org')
str(cookie)
> "foo=bar; Domain=www.example.org; Path=/"Building from sourcepip install cython
make compile
python setup.py developTestingmake testBenchmarkSeeBenchmarkfor more
details.Changelog0.2unescape antislash when parsing to be consistent with quoting (cf #3)unescape octal ascii when parsing to be consistent with quoting (cf #4)0.3add support for the SameSite attribute (cf #8)
Package: bisearch
Binary SearchThis module allows the function of binary searching in strings, lists or tuplesInstallationRun the following to install:pipinstallbisearchUsageimportbisearch# Check if target exists within search rangebisearch.exist(target,field)# Check where target is located within search rangebisearch.location(target,field)Types of target inputsTarget input refers to the first input argument when the function is calledInt- accepts int value ---Note - int inputs are not compatible with string fieldsFloat- accepts float value ---Note - float inputs are not compatible with string fieldsSingle character string- accepts single character string ---Note - single character string inputs are only compatible with one word stringsWord string- accepts string of single word ---Note - word strings are only compatible with multiple word stringsTypes of field inputsField input refers to the second argument when the function is called2D Array- accepts any length 2D arrayTuple- accepts any length tuple ---Note - tuples are converted into listsOne Word Strings- accepts strings without any spaces ---Note - string is split into list of charactersMultiple Word Strings- accepts strings that are seperated byonewhite space ---Note - string is split into list of wordsNoteswhen using location if the target does not exist within the field the function will return None.
Package: biseau
BiseauBuild by Input Some Easy ASP from User.Helps the exploration of formal structures by using ASP as a DSL for drawing graphs.
For a Graphical User Interface, see thebiseau-guipackage.For the initial version of biseau published in theFCA4AI'18 workshopat IJCAI,
seethe archived repository biseau-initialPrinciplesNow, you may want to read about:visualization details, that explains the theory behind the visualization itself.visualization DSL, that explains which atoms produces which effect in visualization.scripting, that allow you to implement new behavior for biseau.Export as standalone scriptCurrently under development.InstallationSeeuser documentationfor details,
but in short, you needclingo,graphvizandmake install-deps.Biseau and its gui are packaged, so if you already have clingo and graphviz, you should be good with:pip install biseau biseau-guiUsageSeeuser documentationfor details.
SeeMakefilefor various recipes.
Running biseau can be done using the following commands:python -m biseau gui     # run the Graphical User Interface (if biseau-gui is installed)
python -m biseau         # run the Command Line Interface
python -m biseau --help  # get help for the CLINotesBomb attack errorTo save you from some kind of attacks, Pillow may prevent you to create large images. To fix that, you can use something like:from PIL import Image
Image.MAX_IMAGE_PIXELS = 20000  # or None, if you are feeling adventurous
Package: bise.biodiversityfactsheet
IntroductionBiodiversity Factsheet representation content-types for BISE site.Changelog1.3 (2014-12-04)Reupload1.2 (2014-12-04)Add tagging support to biodiversityfactsheets [MikelS]Include EU targets filter [MikelS]1.1.2 (2013-12-18)Do not escape content HTML
[erral]1.1.1 (2013-12-18)Fix ZCML declaration
[erral]1.1 (2013-12-18)Add an adapter for Catalogue indexing
[erral]1.0.1 (2013-10-7)Fix packaging
[erral]1.0 (2013-10-7)Initial release
[erral]
Package: bise.catalogueindexer
IntroductionEvent handlers to index BISE site content in BISE Catalogue.InstallGo to the Plone Control Panel, install this add-on, and a new control panel
entry will be created, where the info for the webservice should be entered:
the API endpoint and the site id value.Contact the Catalogue adminsitrator to get this information.How this worksThis package provides 3 event listeners for basic plone content-types (based on
plone.app.contenttypes). These event listeners adapt the context object
to Catalogue resource types (Article, Document or Link), get the relevant information
and then index in the catalogue.This package provides basic adapters for plone.app.contenttypes provided content-types,
if you need more specific adapters for your content-types, just create an adapter
for it.You can inherit the base adapter which provides basic web-service connection methods.
Then just implement the methodget_values_to_indexmethod, returning a dict with
the parameters which will be passed to the webservice. The basic adapter is atbise.catalogueindexer.adapters.basic.BaseObjectCataloguerChangelog1.3.1 (2014-06-19)Check if fields exists
[erral]1.3 (2014-06-19)Catalog also actions and targets
[erral, msantamaria]Fix deletion of images. Refs #19815
[erral]1.2 (2014-05-13)Do not catalogue the content author. Refs #19412
[erral]1.1 (2013-12-17)Fix creator handling for content created by users who
do not exist in current instance’s user folder
[erral]1.0 (2013-12-16)Initial release
[erral]