Saravanan666/pypi-org huggingface dataset:
Package: inboard
🚢 inboard 🐳Docker images and utilities to power your Python APIs and help you ship faster.DescriptionThis repository providesDocker imagesand aPyPI packagewith useful utilities for Python web servers. It runsUvicorn with Gunicorn, and can be used to build applications withStarletteandFastAPI.JustificationWhy use this project?You might want to try out inboard because it:Offers a Python package and Docker images that work together. Python packages and Docker images don't automatically share the same versioning systems, but inboard can help with this. You might install the Python package with a minor version constraint. You can also pull the corresponding Docker image by specifying the minor version in the Docker tag (FROM ghcr.io/br3ndonland/inboard:<version>).Tests everything. inboard performs unit testing of 100% of the Python code, and also runs smoke tests of the Docker images each time they are built.Sets sane defaults, but allows configuration. Configure a variety of settings with environment variables. Or run it as-is and it just works.Configures logging extensibly. inboard simplifies logging by handling all its Python log streams with a single logging config. It also offers the ability to filter health check endpoints out of the access logs. Don't like it? No problem. You can easily extend or override the logging behavior.QuickstartGet started with Docker, pull and run an image, and try an API endpoint.dockerpullghcr.io/br3ndonland/inboard
dockerrun-d-p80:80ghcr.io/br3ndonland/inboard
http:80# HTTPie: https://httpie.io/DocumentationDocumentation is built withMaterial for MkDocs, deployed onVercel, and available atinboard.bws.bioandinboard.vercel.app.Vercel build configuration:Build command:python3 -m pip install mkdocs-material && mkdocs build --site-dir publicOutput directory:public(default)Vercel site configurationis specified invercel.json.
Package: inbot-common
Amundsen CommonAmundsen Common library holds common codes among micro services in Amundsen.
For information about Amundsen and our other services, visit themain repository. Please also see our instructions for aquick startsetup  of Amundsen with dummy data, and anoverview of the architecture.RequirementsPython >= 3.6Dochttps://www.amundsen.io/amundsen/
Package: inbox.py
This is the simplest SMTP server you’ll ever see. It’s asynchronous.One instance should handle over one thousand emails per second.UsageGive your app an inbox easily:from inbox import Inbox

inbox = Inbox()

@inbox.collate
def handle(to, sender, subject, body):
    ...

# Bind directly.
inbox.serve(address='0.0.0.0', port=4467)You can also defer to the commandline:if __name__ == '__main__':
    inbox.dispatch()$ dasinbox.py 0.0.0.0 4467
[2012-04-28 07:31] INFO: inbox: Starting SMTP server at 0.0.0.0:4467InstallationInstalling Inbox.py is simple:$ pip install inbox
Package: inbus-server
inbusstands forinconnu messagebusand is targeted at small
devices running a limited number of applications exchanging small
messages. It has a single goal: simple, connectionless brokering
of messages between one or more publishers and one or more
subscribers.Central broker: No complex relationshipsLimited scope: Does not try to be all things to all peopleConnectionless: No flow control, no guaranteed message deliverySimple JSON based protocol
Package: inc
Install software in a new computer 0.0.4Install basic software for different operating systems:See documentationRequirementsFor MacOs type this into a terminalxcode-select --installInstallationCopy-paste these 3 lines into a terminal. For examplebash install mac.mkwill run the macOs installergit clone https://github.com/joamatab/install_new_computer.git ~/install_new_computer
cd install_new_computer/bash
bash install macwhere you can replace mac.mk by any of the supported OS:archcentosfedoramacubuntuThis install the specificinstallsection of the Makefile for the selected distro.To install specific sections of each Makefile you can also runbash install centos desktopLinks:my dotfiles wikimy dotfilesmac CLIhttps://github.com/jaywcjlove/awesome-mac.githttps://www.stuartellis.name/articles/mac-setup/https://dotfiles.github.io/https://github.com/atomantic/dotfileshttps://sourabhbajaj.com/mac-setup/https://github.com/gotbletuhttps://lukesmith.xyz/http://www.openvim.com/tutorial.html
Package: incached
incachedUltimate cache engine for Python3InstallationUse the package managerpipto install incached.pipinstallincachedUsageimportincachedinc=incached.INCached(cachesize=0)# Set cachesize to infinitedeffibonacci(num):# Example fibonacci without caching, try to run itifnum<2:returnnumreturnfibonacci(num-1)+fibonacci(num-2)fibonacci(40)# After 35 iterations, the performance will slow down considerably.@inc.wrap()defcached_fibonacci(num):# Example fibonacci with cachingifnum<2:returnnumreturncached_fibonacci(num-1)+cached_fibonacci(num-2)cached_fibonacci(40)Try changing 40 to 400, the calculations are almost instantaneous compared to the non-cached function.>>>print(inc.cache_info())# Prints cache info{'hits':399,'misses':400,'cachesize':400}Utils:>>>fromincachedimportutils>>>utils.save_full_cache("test.full",inc)# Save encrypted cache to file>>>x=utils.load_full_cache("test.full")# Load encrypted cache from file>>>print(inc.cache_info())# Prints cache info{'hits':399,'misses':400,'cachesize':400}EncryptionThe saved cache is encrypted by default, you can disable the encryption, or change the password (recommended)Disabling encryption:utils.save_full_cache("test.cache",inc,encrypt=False)# Saveutils.load_full_cache("test.cache",encrypt=False)# LoadCustom password (recommended):utils.save_full_cache("test.enc",inc,password="password")utils.load_full_cache("test.enc",password="password")FilterYou can use your own function to filter the cacheExample:importincachedinc=incached.INCached(cachesize=0)defexample_filter(args,kwargs):ifargs[0]%2!=0:returnFalsereturnTrue@inc.wrap(filter_func=example_filter)defcached_fibonacci(num):# Example fibonacci with cachingifnum<2:returnnumreturncached_fibonacci(num-1)+cached_fibonacci(num-2)cached_fibonacci(100)print(inc.cache_info())ContributingPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.Please make sure to update tests as appropriate.LicenseMIT
Package: incal
INCALINCAL is an incremental SMT constraint learnerInstallationYou can either clone the repository from GitHub:git clone https://github.com/ML-KULeuven/incal.git
git checkout cleanup
pip install -e .or install incal via pypi:pip install incalDepending on the solver you may need to install an SMT solver, which you can do using:pysmt-install --msatOr Gurobi, which you need to download and subsequently install into your python environment.
Package: incal-lib
InCal_lib rapid advence analysis for indirect calorimetry expriment dataInCal (INdirect CALorimetry) is a Python package for rapid analysis of indirect calorimetry experiments. InCAL help biologist uses the python language to analyze their experiment and get their insight fest.
InCal's goal is to provide open-source tools for metabolic labs that use indirect calorimetry devices.Usage:Installation:pip - package menager:$ pip install InCal_libpackage menager - package menager:
If using anaconda package menager please follow this tutorial and use pip also.https://stackoverflow.com/questions/41060382/using-pip-to-install-packages-to-anaconda-environmentLicenceMIT LISENCE -LICENSE.ContactAPI:READ:FUNCTION: read_sable_calr_csv()MARKS TO GROUPBY:link: custom_days()
Package: incant
incant🪄: a little magic for your functionsincantis a Python open source library for composing and calling functions.
Going by the old, humorous adage that dependency injection is simply passing arguments to functions,incantis a toolkit that is well suited to that use case.incantwill help you with:all kinds of dependency injection scenariosadapting interfaces of third-party libraries to make them more flexiblegenerically wrapping functions and coroutines for instrumentationcreating signature-altering decoratorscalling functions and coroutines with unknown signatures safely... and much more!For example:fromincantimportIncanterincanter=Incanter()@incanter.register_by_namedefnow()->float:"""Return the current timestamp.We can replace this for testing later."""fromtimeimporttimereturntime()defmy_function(now:float)->None:print(f"The time now is{now}")incanter.compose_and_call(my_function)incanthas a fully type-annotated interface for use with Mypy and Pyright.incantworks by generating Python code at runtime, and is extremely efficient.
(incantis the fastest Python dependency injection framework we're aware of.)If you're familiar withpytest,incantdependency factories are roughly equivalent topytestfixtures.Project InformationPyPISource CodeDocumentationChangelogLicenseincantis written byTin Tvrtkovićand distributed under the terms of theApache-2.0license.
Package: incantoos
OverviewIncantoOS was developed to make tasks smaller.UsageIncantoOS Wasnt intended for other people to use it use at your own cautionNotesI will try to keep up with the documentation of IncantoOS even though it wasnt meant for public use.DiscresionI am not the best coder so do not expect IncantoOS to work properly. If a bug is found you can report it to me via the github.DocumentationAn assortment of different colorsclass colorPrints the current system time.incantoos.nowtime()classidsids.fourdashfour()Givesyoua8characterIDEx.("944b-fq8d")ids.ranid(amount:int)Givesyouarandomizedidofthespecifiedamountclasstimestimes.nowtime()Printsthecurrentsystemtimetimes.utcnowtime()PrintsthecurrentsystemtimeinUTC
Package: incen
EnglishThis Telegram client will help you to cleanse your messages in telegram, removing compromising messages so that if police stops you and check your phone they cold not find anything by typing "Ukraine" or "Putin" for example. I hope that this bunch of scripts will help you to feel safer.For installation on Linux/MacOS open your terminal and runmkdirincencdincen
python3-mvenvvenvsourcevenv/bin/activate
pipinstallincen
incen-hand you will get help on incen. For Windows install bash emulator and do the same.Putin is a huilo. Russia will be free.РусскийЭто приложение Телеграм которое позволит вам удобнее вычищать ваши переписки от крамолы чтобы если вас остановят менты они бы ничего не нашли по слову "Украина" или "Путин" например. Надеюсь, эта кучка скриптов поможет вам чувствовать себя безопаснее.Для установки на Линуксе/Маке откройте терминал и пробегитеmkdirincencdincen
python3-mvenvvenvsourcevenv/bin/activate
pipinstallincen
incen-hи вы получите хелп по incen. Для Windows поставьте эмулятор bash и сделайте то же самое.Путин хуйло. Россия будет свободной.
Package: incendium-stubs
incendium-stubsThis package contains a collection ofstubsforignition-incendium/incendium. These files were generated usingmypy'sstubgen.Installation and usageTo useincendium-stubs, you may install it withpip. It requires Python 3.7 through 3.11.python-mpipinstallincendium-stubsTo runmypyagainst your code, execute the following command passing the source directory (typicallysrc) or a single file:mypysrcOrmypycode.pyContributingSeeCONTRIBUTING.md.DiscussionsFeel free to post your questions and/or ideas atDiscussions.ContributorsThanks to everyone who has contributed to this project.Up-to-date list of contributors can be foundhere.LicenseSee theLICENSE.Code of conductThis project has adopted theMicrosoft Open Source Code of Conduct.
Package: incenp.binseqs
BinSeqs - Support for binary sequence formats in BioythonBinSeqs is a Python package intended to enrich the SeqIO
framework fromBiopythonby adding
support for some binary sequence formats.Deprecation WarningThis code has now been merged into Biopython. Starting from
Biopython release 1.75, all you need to do to support the formats
below is to load theBio.SeqIOmodule.Consequently, this project will no longer be maintained. It will
remain available online but will not be updated. All improvements
and bug fixes will occur in the Biopython repository.You can still use this module until Biopython 1.75 is released and
available on your system. After that, loading theincenp.bio.seqiomodule will be a no-op and a DeprecationWarning will be emitted.Formats supportedxdnaformat, used byDNA StriderandSerial Cloner:
reading and writing supportedsnapgeneformat, used bySnapGene:
reading support onlygckformat, used byGene Construction Kit:
reading support onlyUsageThe BinSeqs parsers and writers are not designed to be used
independently and should instead be used through the Biopython's
SeqIO module.Simply import theincenp.bio.seqiomodule to make the parsers
and writers available to Biopython's SeqIO:from Bio import SeqIO
import incenp.bio.seqio

records = list(SeqIO.parse('snapgene_file.dna', 'snapgene'))
SeqIO.write(records, 'serialcloner_file.xdna', 'xdna')CopyingBinSeqs is free software and distributed under the terms of
a BSD-like license. The full license is included in theLICENSE.txt fileof the source distribution.HomepageThe project is located athttps://incenp.org/dvlpt/binseqs.html(homepage) andhttps://git.incenp.org/damien/binseqs(repository
and bug tracker).
Package: incenp.bioutils
Incenp.Bioutils - Incenp.org’s utilities for computational biologyIncenp.Bioutils is a set of command line utilities and helper Python
modules to deal with some computational biology tasks.UtilitiesSeqToolSeqToolis intended as a “Swiss Army knife” to perform various
operations on biological sequence files.Among other things, it provides wrappers for theblastanddotteralignment tools; the main interest of those wrappers is that they can be
used with sequences in any format supported by Biopython’s SeqIO module,
whereas the original tools only read files in the FASTA format.SeqVaultSeqVaultis a command-line interface toBioSQLdatabases.SeqVaultis intended to be used with a slightly modified version of the
BioSQL database schema (provided in thebiosqldirectory), where everybiodatabaseis associated with a 3-letters prefix. That prefix is then
used to automatically assign accession numbers (of the formPRE_xxxxxxwherePREis the prefix) when importing sequences into the database.
HoweverSeqVaultcan also be used with pristine BioSQL databases.Quickstart (example with PostgreSQL)Create a new PostgreSQL user account and a new database::# createuser <username>
# createdb -O owner <username> <dbname>Initialize the newly created database by running the providedbiosql/biosqldb-pg.sqlscript::$ psql -h localhost -U <username> <dbname> < biosql/biosqldb-pg.sqlNext, create a plaintext file in$XDG_CONFIG_HOME/bioutils/databases.iniand fill it as follows::[Server]
host: localhost
user: <username>
password: <PostgreSQL user password>
database: <dbname>SeqVaultis now ready to be used.cc3d-runnerCC3d-Runneris a small wrapper around the command-line interface ofCompuCell3D, to run headless simulations.Helper modulesThe main helper module is theincenp.bio.seq.usamodule, which
provides an implementation of theUniform Sequence Address format.A Uniform Sequence Address or USA is a way to refer to a biological
sequence and to fetch that sequence from its source.The following example shows how to read a sequence specified by a USA::from incenp.bio.seq import usa

records = usa.read_usa('genbank::file.gb:acc:X65923')The returnedrecordsobject is an array ofBio.SeqRecord.SeqRecordobjects.PrerequisitesThe following Python packages are necessary:Biopython,Click,Click-Shell.ReportLabis required to run theplasmmsubcommand of theseqtoolutility.Theseqvaultutility requires a SQL adapter for the database server
you plan to use it with, such aspsycopg2for
PostgreSQL.CopyingIncenp.Bioutils is distributed under the terms of the GNU General Public
License, version 3 or higher. The full license is included in theCOPYING fileof the source distribution.Homepage and repositoryThe project is located athttps://incenp.org/dvlpt/bioutils.html. The
source code is available in a Git repository athttps://git.incenp.org/damien/bioutils.
Package: incenp.certbot.ssh
Certbot-ssh - Certbot SSH authenticator pluginCertbot-ssh is a plugin for theCertbotACME client that performs
HTTP01 challenge validation on a remote computer through a SSH
connection.RationaleThe Certbot client assumes it runs on the machine that serves web pages
for the requested domain.That is not always desirable or even possible.Themanualauthenticator (--manual) allows to run the client on a
separate machine; it is then up to the system administrator to make sure
the web server responds appropriately to the HTTP01 challenge, by
putting a specific value into a specific file under the.well-known/acme-challengedirectory of the web server. This can be
quite tedious, especially if you require a cert for many domains.This plugin provides an automatized version of the “manual” process.
Upon receiving the challenge data from the ACME server, it will execute
a script on a remote machine through a SSH connexion, and feed it with
the challenge data. It is then up to the script to write the challenge
tokens at the appropriate place.Asample scriptis provided. This
script assumes the webroot of a requesteddomainis under a/var/www/domaindirectory; you will probably need to adjust it
according to the layout of your own web server.UsageInstall the package:$ python setup.py install --userTweak theacme-challenge.shscript if needed, then upload it to your
server. Put it somewhere in thePATHof the user account you use for
SSH connection. Remove the.shextension and make sure the script is
executable.Then you may call Certbot:certbot certonly \
  --authenticator incenp.certbot.ssh:ssh \
  --incenp.certbot.ssh:ssh-server user@server.example.com \
  ...Note that the client will attempt to write to some system directories on
the local machine (/etc/letsencrypt,/var/lib/letsencrypt). Use the--config-dir,--work-dir, and--logs-diroptions to specify other
directories if you want to run the client from a non-root account.CopyingCertbot-ssh is distributed under the same terms as Certbot itself, that
is, the Apache License version 2.0. The full license is included in theLICENSE fileof the source distribution.Homepage and repositoryThe project is located athttps://incenp.org/dvlpt/certbot-ssh.html. The
latest source code is available athttps://git.incenp.org/damien/certbot-ssh.
Package: incenp.click-shell
Incenp.Click-Shell is an extension toclickthat easily turns your
Click-powered Python command-line application into a shell utility. It
is built on top of the built in Pythoncmdmodule, with modifications
to make it work with Click.FeaturesAdds a “shell” modewith command completionto any Click app.Just a one line change for most click apps.UsageSimply replace@click.groupwith@incenp.click_shell.shellon
the root level command:importclickfromincenp.click_shellimportshell# @click.group()  # no longer@shell(prompt='my-app> ',intro='Starting my app...')defmy_app():pass@my_app.command()deftestcommand():click.echo("testcommand is running")# more commandsif__name__=='__main__':my_app()When run, you should expect an output like so:$pythonmy_app.pyStartingmyapp...my-app>testcommandtestcommandisrunningmy-app>Using the Incenp.Click-Shell decorator alters the functionality of your
programonlywhen the program is called without a subcommand
argument. Otherwise, your app will function identically to how it did
before.HistoryIncenp.Click-Shell is a fork of Clark Perkins’click-shell, motivated
by the lack of recent development in the original project and in
particular the lack of support for recent versions of Click, which
introduced changes that completely broke the originalclick-shell.Incenp.Click-Shell is used in exactly the same way as the originalclick-shell, the only difference being that the module to import is
namedincenp.click_shellinstead ofclick_shell.Importantly, in this fork Python 2 support has been completely removed.
If support for Python 2 is important for you, then you may keep using
the originalclick-shellmodule instead; it won’t work with Click 8,
but if you’re using Python 2 you’re stuck with older versions of Click
anyway, since Click 8 also dropped support for Python 2.CopyingIncenp.Click-Shell is distributed under a 3-clause BSD license. The full
license is included in the LICENSE file of the source distribution.Homepage and repositoryThe project is located athttps://github.com/gouttegd/click-shellwith
the manual athttps://incenp.org/dvlpt/click-shell/index.html.
Package: incenp.davpoint
Davpoint - Davfs2 wrapper to mount SharePoint filesystemsDavpoint is a wrapper for theDavfs2tool. It allows to
mount remote SharePoint filesystems that require cookie-based
authentication.RationaleAlthough SharePoint services are available through the standard WebDAV
protocol, they may require the client to provide an authentication token
in the HTTP header in addition to the standard username and password.
The WebDAV client for Linuxdavfs2does not directly support this
mode of authentication, but it does allow to set any arbitrary cookie in
its configuration file and its developerhas
suggestedto
“create some start script to automate” the retrieval of the
authentication token.Davpoint provides precisely such a script. Given a little extra
configuration (see below), it will automatically authenticate a user to
a SharePoint service, get the authentication token, then calldavfs2(through the standardmount (8)command) with the required
configuration options to mount the SharePoint filesystem.Configuration & UsageDavpoint requires the WebDAV resource and its intended mount point to be
listed in the/etc/fstabfile. The username and password must also
appear in Davfs2’s “secrets” file (either/etc/davfs2/secretsor~/.davfs2/secrets), according to Davfs2’s documentation.In addition, Davpoint needs a dedicated configuration file, which it
expects in~/.davfs2/sharepoint.confby default. This file uses the
.ini format, where each section represents a SharePoint resource.Each section must contain at least two options:endpoint, which is
the WebDAV resource to mount, andmountpoint, which is the location
on the local filesystem where the resource should be mounted. The values
must match what is configured in the/etc/fstabfile. All other
options will be passed verbatim to Davfs2.Importantly, the main Davfs2 configuration file
(/etc/davfs2/davfs2.confor~/.davfs2/davfs2.conf) isignoredwhen Davfs2 is called by Davpoint. Any Davfs2 options needed for a given
SharePoint resourcemustbe specified in thesharepoint.conffile
instead of thedavfs2.conffile.Here is an example of a~/.davfs2/sharepoint.conffile:[example]
endpoint: https://example.com/personal/alice_example_com/Documents
mountpoint: /home/alice/example
use_locks: 0With such a configuration, the resource may be mounted by the following
command:$ davpoint exampleUnmounting the resource is done as usual with the standardumount (8)command.CopyingDavpoint is distributed under the terms of the GNU General Public
License, version 3 or higher. The full license is included in theCOPYING fileof the source distribution.