Saravanan666/pypi-org huggingface dataset:
Package: pyCapsid
pyCapsidDescriptionA python package for identification of dominant motions and rigid domains of protein shells using Elastic Network Models.InstallationThe package requires python >3.7 and < 3.11, we reccommend python 3.10.
Via pip:pip install pyCapsidVia conda:conda install -c luque_lab -c conda-forge pycapsidDocumentationDocumentation is provided on our github pages site:https://luquelab.github.io/pyCapsid/ExamplesWe recommend using thisColab notebookas the simplest way to use pyCapsid.
Example notebooks are provided in thenotebooks folder.
An accompanying tutorial is provided in the documentation.Github RepositoryThe Github Repository of this project:https://github.com/luquelab/pyCapsidProject HistoryThis is an evolving repository
Started: 2022-10-24FILES & FOLDERSFOLDER: /bin
--> This folder contains basic scripts and executable files.FOLDER: /data
--> This folder contains the raw data associated with the project and the potential references.FOLDER: /docs
--> This folder contains the manuscript, digital copies of the cited references, figures, and other associated files for publication.FOLDER: /results
--> This folder contains the results, performance analysis, and commented references associated with the project.FOLDER: /src
--> This folder contains source code of the package.The syntax of markdown files (.md) is CommonMark unless specified otherwise (https://commonmark.org/help/)
Package: pycaptchagen
PyCAPTCHAGen is a very basic command line utility for generating once-off “CAPTCHA”-type image and audio files to help deter abuse by bots on the web. Normally, these distorted text and audio challenges are generated dynamically and automatically on-the-fly for each request. However, this can be somewhat complicated to implement, and many off-the-shelf solutions rely on third-party services that some of us would prefer not to deal with. Say you’re just managing a simple, low-traffic site and have a contact form or email address that you want to hide from casual scraping by spam bots (the author’s original use case). In this case, just generating a single “CAPTCHA”-style challenge is easier to implement and may be reasonably effective, depending on your needs.Basic usage:pycaptchagen 'text to garble' outputnameAt this time, the only supported image format is PNG with a resolution of 160 x 60 pixels. A “.png” file extension is appended automatically to the output name you provide. Note that it is advisable to enclose your text input in quote marks, and you must do so if it contains spaces or characters that are treated specially by your shell.To also generate an audio file for accessibility by visually impaired users:pycaptchagen --audio 'text to garble' outputnameAt this time, the only supported audio format is WAV (mono, 8-bit, 8 kHz = 64 kbps). The same output name is used for the image and audio files, and a “.wav” file extension is automatically appended for the audio file.If you want just the audio file without a matching image:pycaptchagen --audio --noimage 'text to garble' outputnameYou can use the default font and voice, or you may specify others of your choosing as follows:pycaptchagen --font /path/to/font.ttf --voicedir /path/to/voicedata 'text to garble' outputnameThe font can be any TrueType font, as long as it includes all the characters used in your input. You may also specify multiple fonts by invoking the--fontoption multiple times, and the image generator will use a random mix of the different fonts for different characters.The voice data directory you specify must contain a subdirectory with the name of each character, with each of these subdirectories containing a single 8-bit, 8 kHz mono WAV file (with a .wav file extension) for that character. See thePython captcha library source codefor an example. At the time of this writing, the default voice data only contains the numerals 0-9, so unless your input is just a non-negative integer, you will get an error without specifying your own voice directory. This may (hopefully) be fixed in a future version of the captcha library.LicensePyCAPTCHAGen is public domain software available underThe Unlicense. Feel free to use, study, share, and modify the code as you see fit. :)AcknowledgementsPyCAPTCHAGen uses Hsiaoming Yang’sPython captcha library.
Package: pycaption
pycaptionis a caption reading/writing module. Use one of the given Readers
to read content into a CaptionSet object, and then use one of the Writers to
output the CaptionSet into captions of your desired format.Tested with Python versions 3.6, 3.7, 3.8, 3.9, 3.10 and 3.11.
(for Python 2 use pycaption < 1.0.0)For details, see thedocumentation.LicenseThis module is Copyright (c) 2012-2024 PBS.org and is available under theApache
License, Version 2.0.
Package: pycaputo
pycaputoThis library can be used to evaluate fractional integrals and solve fractional ODEs.
It is currently a testbed for various traditional methods, but hopefully
development will continue and it will be a nice flexible library with support
for many different types of fractional derivatives (and other related operators).It is currently quite far from that goal, so this isvery experimental.DevelopmentLinksDocumentationCodeOther known libraries for fractional calculusDiffusive-Representation(MATLAB)FLMM2(MATLAB)differint(Python)FractionalDiffEq.jl(Julia)FdeSolver.jl(Julia)
Package: pycaravel
Home-page:https://github.com/neurospin/pycaravelAuthor:
Antoine Grigis <antoine.grigis@cea.fr>Author-email:antoine.grigis@cea.frLicense: CeCILL-B
Description: This module has been created to simplify the search of datasets in a BIDS directory or a CubicWeb instance.
Platform: Linux
Platform: OSX
Classifier: Development Status :: 1 - Planning
Classifier: Environment :: Console
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Scientific/Engineering
Package: py-carbon
py-carbonFully asynchronous Python library forcarbon.now.shInstallation$ pip install py-carbonA quick exampleIn this example we'll create a carbon image and save it to disk.importcarbonimportasynciocode="""defmodule Something dodef anything() doIO.puts "Hello, World"endend"""# Any kind of code-block in any languageasyncdefmain():cb=carbon.Carbon()# Create a Carbon instanceopts=carbon.CarbonOptions(code=code)# Set the options for the imageimage=awaitcb.generate(opts)# Generate the imageawaitimage.save('hello')# Save the image in png formatasyncio.run(main())And it'll output something like this:ContributingThis package is opensource so anyone with adequate python experience can contribute to this project!Reporting IssuesIf you find any error/bug/mistake with the package or in the code feel free to create an issue and report
ithere.Fixing/Editing ContentIf you want to contribute to this package, fork the repository, make your changes and then simply create a Pull Request!ContactIf you want to contact me:Mail -paul@przybyszew.skiDiscord -wulf
Package: pycarbonsh
The Asynchronous web-scraper for carbon.now.sh which helps to create and share beautiful pics of your code!DocumentationOfficial Documentation.SupportFor support using PyCarbonSh, please join the officialsupport serveronDiscord.InstallationThe following commands are currently the valid ways of installing PyCarbonSh.Through pipWindowspy-3-mpipinstallpycarbonshLinux/MacOSpython3-mpipinstallpycarbonshTo install master branchWindowspy-3-mpipinstall-Ugit+https://github.com/Pranav-Saxena/PyCarbonSh@masterLinux/MacOSpython3-mpipinstall-Ugit+https://github.com/Pranav-Saxena/PyCarbonSh@masterManual InstallationNoteEnsure that an up-to-date version of setuptools is installed.python-mpip install--upgradesetuptoolsgit clonehttps://github.com/Pranav-Saxena/PyCarbonSh/cd PyCarbonShpython3 setup.py installNoteUsesudo python3 setup.py installon linux if some error pops upUsageNoteWhen you run pycarbonsh for the first time, it downloads the latest version of Chromium (~150MB) if it is not found on your system. If you don’t prefer this behavior, ensure that a suitable Chrome binary is installed. One way to do this is to runpyppeteer-installcommand before prior to using this library.Getting StartedA quick and easy example to get started with PyCarbonShfrompycarbonshimportgeneratecarbonimportasyncioloop=asyncio.get_event_loop()loop.run_until_complete(generatecarbon(code="Made with ❤ by Pranav Saxena"))Support MeSupport Me by adding my bot to your server :)Invite Inferno HereContributeAny contributions you make aregreatly appreciated.PRs are accepted!!If you have some ideas for new features and you don’t have time to implement them please open an issue with the tag new_feature.Please don’t forget to comment (document) your code!
Package: pycarbontracer
CarbonTracer API Python ClientThis is a Python client for CarbonTracer. It is a wrapper around theCarbonTracerREST API, which allows you to calculate CO2 equivalents for personal transport.InstallationpipinstallpycarbontracerUsagefrompycarbontracerimportCarbonTracer# Create a new CarbonTracer instancect=CarbonTracer("YOUR_API_KEY")# Or use CarbonTracer.from_config() if you have a config.ini in the format of config.dist.ini# Calculate the CO2 equivalents for a train trip from Graz to Viennaresult=ct.routing("train","8010 Graz","1010 Wien")# Print the resultprint(f"CO2 equivalents:{result["response"]["data"]["co2eq"]}{result["response"]["data"]["unitco2eq"]}")TheCarbonTracerclass also has methods for thelocation,addressandco2onlyendpoints, as documented in theCarbonTracer API documentation. The documentation also includes information about the input and output parameters, so make sure to check it out.LicenseThis project is licensed under the MIT License - see theLICENSEfile for details.
Package: pyCardDeck
StatusLicenseVersioningDocumentationTestsCode QualityLibrary aimed at anyone who wants to do any kind of deck manipulation in python.
So probably game developers. The goal is to have the ultimate library for all of this,
supporting all kinds of game types with clean and beautiful API - kind of like requests :)If you happeen to use this library - please do let me know, I’d like to explore how it’s being used.
Also, you can leave athank you note:)How to useFirst, install with pip:pip install pyCardDeckThen use in your code:importpyCardDeckmy_deck=pyCardDeck.Deck(cards=[1,2,3],name='My Awesome Deck')my_deck.shuffle()card=my_deck.draw()For more elaborate examples check outGitHubFor developersThe library will support Python 3.3+, for requirements look at requirements.txt in the repository.This library should be very easy to contribute to for first timers. Nothing is sacred, File issues, contribute
where you feel it’s useful and fun for you! If you need hlep, just ask.Always aim to write clean and readable code, make sure the tests are passing, document in docstrings (rst format)
and when writing new modules, classes or functions, add them to docs (we are using Shpinx autodocs)Running testsTo run tests enter the pyCardDeck directory and run:py.test tests
Package: pyCardiac
pyCardiacAction Potential signals processing and analysis.InstallationOS X & Linux:pipinstallpyCardiacUsage examplePlease seeexamplesdirectory in current repository.For more explanations, please refer to theWiki.Release History1.0.1CHANGE: fourier_filter()ADD: calculate_APD() and rescale() exceptions handling1.0.0ADD: Examples and documentationADD: All basic functionalityMetaDmitrii Smirnov –dmitrii.smirnov@phystech.eduAndrey Pikunov –pikunov@phystech.eduDistributed under the MIT license. SeeLICENSEfor more information.ContributingFork it (https://github.com/humanphysiologylab/pyCardiac/fork)Create your feature branch (git checkout -b feature/fooBar)Commit your changes (git commit -am 'Add some fooBar')Push to the branch (git push origin feature/fooBar)Create a new Pull RequestThis file created fromhere
Package: pycardinal
CardinalUsageCreate a.envfile in the root directory:.
├── src
└── .env# imitater or openai
OPENAI_BASE_URL=http://localhost:8010/v1
OPENAI_API_KEY=0

# models
EMBED_MODEL=text-embedding-ada-002
CHAT_MODEL=gpt-3.5-turbo
TOKENIZER_PATH=01-ai/Yi-6B-Chat

# text splitter
CHUNK_SIZE=200
CHUNK_OVERLAP=30

# storages
STORAGE=redis
SEARCH_TARGET=content
REDIS_URI=redis://localhost:6379
ELASTICSEARCH_URI=http://localhost:9001

# vectorstore
VECTORSTORE=chroma
CHROMA_PATH=./chroma
MILVUS_URI=http://localhost:19530
MILVUS_TOKEN=0
Package: pycard-validate
pycard-validatorA simple python module to implement credit card number validation using Luhn Algorithm.InstallationInstall in your project with pip:pipinstallpycard-validateUsageAn example use:frompycardvalidator.validatorimportpycvalidresult=pycvalid.validate('4111 1111 1111 1111')LicenseMIT license. SeeLICENSE.mdfor more information.
Package: pycareer
PyCareerPython Jobs in Your Terminal!Usage:You can query Python jobs based on 2 parameters:taglocationpycareer--tagSenior--locationRemoteDefault amount of jobs returned is 5 but you can configure this limit:pycareer--tagSenior--locationRemote--limit10All jobs are sorted by date, so you will see the most recent jobs first.Installation:pipinstallpycareerNow you will have access to the CLI.So, just open your terminal and let's go!
Find your perfect job!Sign up onhttps://www.pycareer.ioand list your profile!
Employers will chase you for your Python skills!
Package: pycares
Looking for new maintainershttps://github.com/saghul/pycares/issues/139pycares: Python interface for c-arespycares is a Python module which provides an interface to c-ares.c-aresis a C library that performs
DNS requests and name resolutions asynchronously.Documentationhttp://readthedocs.org/docs/pycares/Bundled c-arespycares currently bundles c-ares as a submodule for ease of building. Using the system
provided c-ares is possible if thePYCARES_USE_SYSTEM_LIBenvironment variable is
set to1when building.NOTE: Versions prior to 4.0.0 used to embed a modified c-ares with extended TTL support.
That is no longer the case and as a result only A and AAAA records will have TTL information.
Follow this PR in uppstream c-ares, looks like TTLs will be added:https://github.com/c-ares/c-ares/pull/393InstallationGNU/Linux, macOS, Windows, others:pip install pycaresFreeBSD:cd /usr/ports/dns/py-pycares && make installIDNA 2008 supportIf theidnapackage is installed, pycares will support IDNA 2008 encoding otherwise the builtin idna codec will be used,
which provides IDNA 2003 support.You can force this at installation time as follows:pip install pycares[idna]Running the test suiteFrom the top level directory, run:python-munittest-vNOTE: Running the tests requires internet access and are somewhat environment sensitive because real DNS quesries
are made, there is no mocking. If you observe a failure that the CI cannot reproduce, please try to setup an
environment as close as the current CI.Using it from the cli, a la digThis module can be used directly from the command line in a similar fashion to dig (limited, of course):$ python -m pycares google.com
;; QUESTION SECTION:
;google.com                  IN      A

;; ANSWER SECTION:
google.com           300     IN      A       172.217.17.142

$ python -m pycares mx google.com
;; QUESTION SECTION:
;google.com                  IN      MX

;; ANSWER SECTION:
google.com           600     IN      MX      50 alt4.aspmx.l.google.com
google.com           600     IN      MX      10 aspmx.l.google.com
google.com           600     IN      MX      40 alt3.aspmx.l.google.com
google.com           600     IN      MX      20 alt1.aspmx.l.google.com
google.com           600     IN      MX      30 alt2.aspmx.l.google.comAuthorSaúl Ibarra Corretgé <s@saghul.net>LicenseUnless stated otherwise on-file pycares uses the MIT license, check LICENSE file.Supported Python versionsPython >= 3.8 are supported. Both CPython and PyPy are supported.ContributingIf you’d like to contribute, fork the project, make a patch and send a pull
request. Have a look at the surrounding code and please, make yours look
alike :-)
Package: pycares-owl-corp-temp-fork
Looking for new maintainershttps://github.com/saghul/pycares/issues/139pycares: Python interface for c-arespycares is a Python module which provides an interface to c-ares.c-aresis a C library that performs
DNS requests and name resolutions asynchronously.Documentationhttp://readthedocs.org/docs/pycares/Bundled c-arespycares currently bundles c-ares as a submodule for ease of building. Using the system
provided c-ares is possible if thePYCARES_USE_SYSTEM_LIBenvironment variable is
set to1when building.NOTE: Versions prior to 4.0.0 used to embed a modified c-ares with extended TTL support.
That is no longer the case and as a result only A and AAAA records will have TTL information.
Follow this PR in uppstream c-ares, looks like TTLs will be added:https://github.com/c-ares/c-ares/pull/393InstallationGNU/Linux, macOS, Windows, others:pip install pycaresFreeBSD:cd /usr/ports/dns/py-pycares && make installIDNA 2008 supportIf theidnapackage is installed, pycares will support IDNA 2008 encoding otherwise the builtin idna codec will be used,
which provides IDNA 2003 support.You can force this at installation time as follows:pip install pycares[idna]Running the test suiteThere are several ways of running the test suite:Run the test with the current Python interpreter:From the toplevel directory, run:python tests/tests.pyUse Tox to run the test suite in several virtualenvs with several interpretersFrom the toplevel directory, run:tox-epy36,py37,py38,py39this will run the test suite
on Python 3.6 through 3.9 (you’ll need to have them installed beforehand)Using it from the cli, a la digThis module can be used directly from the command line in a similar fashion to dig (limited, of course):$ python -m pycares google.com
;; QUESTION SECTION:
;google.com                  IN      A

;; ANSWER SECTION:
google.com           300     IN      A       172.217.17.142

$ python -m pycares mx google.com
;; QUESTION SECTION:
;google.com                  IN      MX

;; ANSWER SECTION:
google.com           600     IN      MX      50 alt4.aspmx.l.google.com
google.com           600     IN      MX      10 aspmx.l.google.com
google.com           600     IN      MX      40 alt3.aspmx.l.google.com
google.com           600     IN      MX      20 alt1.aspmx.l.google.com
google.com           600     IN      MX      30 alt2.aspmx.l.google.comAuthorSaúl Ibarra Corretgé <s@saghul.net>LicenseUnless stated otherwise on-file pycares uses the MIT license, check LICENSE file.Supported Python versionsPython >= 3.6 are supported. Both CPython and PyPy are supported.ContributingIf you’d like to contribute, fork the project, make a patch and send a pull
request. Have a look at the surrounding code and please, make yours look
alike :-)
Package: pycargo
Pycargo: Excel loading and exporting helper.. image::https://badgen.net/pypi/v/pycargo:target:https://pypi.org/project/pycargo:alt: Latest version.. image::https://badgen.net/badge/code%20style/black/000:target:https://github.com/ambv/black:alt: code style: blackpycargois a simple to use helper library for exporting and loading data from excel.
Its a common requirement in web applications for bulk loading of data. Pycargo hides
all the working and gives you easy to use methods for easy exporting of templates and
loading data... code-block:: pythonfrom pycargo import fields
from pycargo.spreadsheet import SpreadSheet


class CustomerSpreadSheet(SpreadSheet):
    name = fields.StringField(comment="Customer Name")
    code = fields.IntegerField(required=True, data_key="Code")
    created_on = fields.DateTimeField()


cs = CustomerSpreadSheet()

# Exporting templates
cs.export_template("customer_template.xlsx", only=["name", "code"])

# Bulk loading
dataset = cs.load("customer_template.xlsx")So with pycargo you can:Exporttemplate for loading dataLoaddata from the templatesValidateloaded data.Get It Now::$ pip install -U pycargoRequirementsPython >= 3.6LicenseMIT licensed. See the bundled LICENSE file for more details.
Package: pycargoebuild
Author:Michał GórnyLicense:MITHomepage:https://github.com/projg2/pycargoebuild/pycargoebuild is a generator for ebuilds using the Cargo infrastructure
of Rust language.  It is primarily meant to aid in keeping the list
ofCRATESand theirLICENSEup-to-date.  It is a rewrite
of thecargo-ebuildtool in Python, with no actual dependency
on Rust.pycargoebuild readsCargo.tomlandCargo.lockfiles in order
to obtain the package’s metadata and dependency list, respectively.
Then it fetches all dependent crates intoDISTDIRand reads theirCargo.tomlfiles to construct the complete list of licenses.
The resulting data can either be used to construct a new ebuild from
a template or to update the values ofCRATESandLICENSEin an existing ebuild.Why not cargo-ebuild?pycargoebuild has the following features that cargo-ebuild 0.5.2
is missing:small size (cargo-ebuild compiles to 5.5M on my system)full support for SPDX-2.0 license expressions with boolean
simplification (whereas cargo-ebuild just dumps all licenses it finds)pretty-printing with line wrapping for license expressionssupport for updatingCRATESand crateLICENSEin existing
ebuilds (whereas cargo-ebuild can only generate new ebuilds)support for combining the data from multiple subpackages (useful
e.g. in setuptools-rust)support for fast crate fetching ifaria2cis installedsupport for skipping crate licenses (e.g. for when Crates are used
at build/test time only)UsageTo create a new ebuild, run:pycargoebuild <package-directory>wherepackage-directoryis the directory containingCargo.toml.
This creates an ebuild file named after the package name and version
in the current directory, and outputs its name.To update an existing ebuild, use instead:pycargoebuild -i <current-file>.ebuild <package-directory>Note that the existing file must contain bothCRATESvariable
andLICENSE+=assignment like the following:# Dependent crate licenses
LICENSE+="..."It is also possible to explicitly specify the output filename using
the-ooption.Configuration filepycargoebuild can additionally be configured usingpycargoebuild.tomlin one of the XDG config directories
(usually~/.config).  The following example provides a quick summary
of configuration options available:[paths]
# default --distdir, Portage config is used if not set
distdir = "/var/cache/portage/distfiles"
# default --license-mapping, "metadata/license-mapping.conf" from
# ::gentoo repo (via Portage API) is used if not set
license-mapping = "/var/db/repos/gentoo/metadata/license-mapping.conf"

[license-overrides]
# provide an SPDX license string for packages missing the metadata
nihav_codec_support = "MIT"
nihav_core = "MIT"
nihav_duck = "MIT"

[license-mapping]
# additional mappings from SPDX licenses to Gentoo licenses
"LicenseRef-UFL-1.0" = "UbuntuFontLicense-1.0"
Package: pycarla
pyCarlaA python module for synthesizing MIDI events and files
from python code with using any kind of audio plugin!Seedocsfor more installation and more info.TLDRPython has no strong real-time capabilities since it cannot run with parallel threads.
This method delegates most of the realtime stuffs to external C/C++ programs, improving
the performances and the accuracy against pure-Python based approaches.This method is really portable and supports almost any type of plugins and
virtual instruments thanks to the excellent Carla:Linux VST2/VST3Windows VST2/VST3LV2LADSPADSSIAUSF2/SF3SFZAny other format supported by external pluginsTODOFor sureAdd single function to synthesize midi fileAdd single function to batch-synthesize midi filesMake synchronization handling xruns (editis_ready)Update Carlarefactoring with a genericstartmethod inJackClientand
specific methodsget_callbackandget_durationMaybeUse Carla python code to control Carla hostSupport LADISH sessions for automatically starting LinuxSampler if neededInstallation scripts for windows and macCreditsFederico Simonettafederico.simonettaatunimi.it