Saravanan666/pypi-org huggingface dataset:
Package: autodock
autodockis a Daemon for Docker Automation.autodock is MIT licensed.InstallationEither pull the automatically updatedDockerimage:$ docker pull prologic/autodockOr install from the development repository:$ git clone https://github.com/prologic/autodock.git
$ cd autodock
$ pip install -r requirements.txtPluginsautodock comes with a number of plugins where each piece of functionality is
provided by a separate plugin. Each plugin is “linked” to autodock to receive
Docker events and issue new Docker API commands. The following list is a list
of the currently available plugins for production use:autodock-cron– Provides a Cron-like scheduler for Containersautodock-logger– Logs Dockers Eventsautodock-hipache– Automatically registers virtualhosts withhipacheExample #1 – Logging Docker EventsNoteSee:autodock Logger pluginStart the daemon:$ docker run -d -v /var/run/docker.sock:/var/run/docker.sock --name autodock:autodock prologic/autodockLink and start an autodock plugin:$ docker run -i -t --link autodock prologic/autodock-loggerNow whenever you start a new container autodock will listen for Docker events.
Theautodock-loggerplugin will log all Docker Events received by autodock.Example #2 – Automatic Virtual Hosting with hipacheNoteSeeautodock Hipache pluginStart the daemon:$ docker run -d --name autodock prologic/autodockLink and start an autodock plugin:$ docker run -d --link autodock prologic/autodock-hipacheNow whenever you start a new container autodock will listen for Docker events
and discover containers that have been started. Theautodock-hipacheplugin
will specifically listen for starting containers that have aVIRTUALHOSTenvironment variable and reconfigure the runninghipachecontainer.Start a “Hello World” Web Application:$ docker run -d -e VIRTUALHOST=hello.local prologic/helloNow assuming you hadhello.localconfigured in your/etc/hostspointing to yourhipachecontainer you can now visithttp://hello.local/echo "127.0.0.1 hello.local" >> /etc/hosts
curl -q -o - http://hello.local/
Hello World!NoteThis method of hosting and managing webapps and websites is in production deployments and talked about in more detail in the postA Docker-based mini-PaaS.Example #3 – Cron-like Scheduling of ContainersNoteSeeautodock Cron pluginStart the daemon:$ docker run -d --name autodock prologic/autodockLink and start an autodock plugin:$ docker run -d --link autodock prologic/autodock-cronNow whenever you create a new container autodock will listen for Docker events
and discover containers that have been created. Theautodock-cronplugin
will specifically listen for created containers that have aCRONenvironment variable and schedule a job based on the cron expression supplied
and re-run that container when its scheduled has triggered.Start a “Hello” Busybox Container:$ docker run -i -t --name hello busybox sh -c "echo Hello"After about three minutes or so you should see the following in the logs:$ docker logs hello
Hello
Hello
Hello
Package: autodock-cron
Cron-like Plugin for autodock.This plugin runs containers on a regular scheduled as defined by
the environment variableCRONof the formm h d mon dowmuch like crond on many Linux/UNIX systems.The container must first be run at least once forautodock-cronto pick up the new container and its configuration.Note thatautodock-cronmakes use of the Docker API and effectively
callsdocker starton your container; a new container isNOTcreated
on very run of the schedule.NoteSee:autodockBasic UsageStart the daemon:$ docker run -d --name autodock prologic/autodockLink and start an autodock plugin:$ docker run -d --link autodock prologic/autodock-cronRun a container of your choice and setCRON=*/1* * * *to run every minute:$ docker run --name hello -e CRON="*/1 * * * *" busybox sh -c 'echo Hello'Now autodock-cron will schedule a timer to re-run this container every minute
until the container is deleted and removed. After about ~3mins you should get:$ docker logs hello
Hello
Hello
Hello
Package: autodock-hipache
Hipache Plugin for autodock.autodock-hipache is MIT licensed.NoteSee:autodockBasic UsageStart the daemon:$ docker run -d --name autodock prologic/autodockLink and start the autodock Hipache Plugin:$ docker run -d --link autodock prologic/autodock-hipacheNow whenever you start a new container autodock will listen for Docker events
and discover containers that have been started. Theautodock-hipacheplugin
will specifically listen for starting containers that have aVIRTUALHOSTenvironment variable and reconfigure the runninghipachecontainer.An optionalALIASenvironment value can be given as an extra virtualhost
typically used for awww.alias to a domain.Start a “Hello World” Web Application:$ docker run -d -e VIRTUALHOST=hello.local prologic/hello
curl -q -o - -H 'Host: hello.local' http://localhost/
Hello World!NoteThis method of hosting and managing webapps and websites is in
production deployments and talked about in more detail in the postA Docker-based mini-PaaS.docker-compose.yml:autodock:image:prologic/autodockvolumes:-/var/run/docker.sock:/var/run/docker.sockautodockhipache:image:prologic/autodock-hipachelinks:-autodock-hipache:redissslcerts:image:prologic/mksslcrtcommand:"*.mydomain.com"hipache:image:prologic/hipacheports:-"80:80"-"443:443"volumes_from:-sslcertshello:image:prologic/helloenvironment:-VIRTUALHOST=hello.mydomain.com-ALIAS=hello.localNoteThe version of Hipache used here will not startup unless you have
setup SSL certificates, so the sslcerts volume is requried for
a correctly functionining system.
Package: autodock-logger
Logger plugin for autodock.autodock-logger is MIT licensed.NoteSee:autodockBasic UsageStart the daemon:$ docker run -d -v /var/run/docker.sock:/var/run/docker.sock --name autodock prologic/autodockLink and start an autodock plugin:$ docker run -i -t --link autodock prologic/autodock-loggerNow whenever you start a new container autodock will listen for Docker events.
Theautodock-loggerplugin will log all Docker Events received by autodock.docker-compose.yml:autodock:image:prologic/autodockports:-"1338:1338/udp"-"1338:1338/tcp"volumes:-/var/run/docker.sock:/var/run/docker.sockautodocklogger:image:prologic/autodock-loggerlinks:-autodock
Package: autodoc-pydantic
You lovepydantic❤ and you want to
document your models and configuration settings withsphinx?Perfect, let's go. But wait, sphinx'autodocdoes not integrate too well with pydantic models 😕.Don't worry - justpip install autodoc_pydantic☺.Features💬 provides default values, alias and constraints for model fields🔗 adds hyperlinks between validators and corresponding fields📃 includes collapsable model json schema🏄 natively integrates with autodoc and autosummary extensions📎 defines explicit pydantic prefixes for models, settings, fields, validators and model config📋 shows summary section for model configuration, fields and validators👀 hides overloaded and redundant model class signature🔱 visualizes entity-relationship-diagrams for class hierarchies🍀 Supportspydantic >= 1.5.0andsphinx >= 4.0.0DocumentationFor more details, please visit the officialdocumentation:InstallationConfigurationUsageExamplesDeveloper GuideComparison between autodoc sphinx and autodoc pydanticTo see those features in action, jump over to theexample documentationto compare
the appearance of standard sphinx autodoc withautodoc_pydantic.AcknowledgementsThanks to great open source projectssphinx,pydanticandpoetry(and so many more) ❤ in addition to the following contributors:Franz Wöllert🚧📖⚠️🖋Yves Renier📖⚠️🖋TheBeardedBerserkr🤔Jan Vlčinský🛡️antvig🐛📓Hugo O Rivera🤔yura bondarenko🐛📓Trevor Howard🐛📓thomas-pedot🐛📓Mat Utter🐛📓David C Hall🤔📓Josh A. Mitchell🤔⚠️Roderick Go⚠️Lily Wang📖🖋j-carson🐛💻⚠️Jakob Lykke Andersen💻Juan Luis Cano Rodríguez🖋Mikalai Chaly🐛⚠️Stig Korsnes🐛🤔Ilia Kurenkov🐛Grzegorz Bokota🐛jgunstone🐛iwyrkore💻spacemanspiff2007🐛🤔Luke Hsiao🐛Daniel Walker🐛Evgeniy Lupashin🐛Jan-Hendrik Ewers🐛Jonny Saunders🐛Charles Machalow💬Thomas Karaouzene🐛caseyzak24📖Priscila Oliveira👀📓Arthur Woimbée👀📓💻⚠️Chris Markiewicz🐛David B. Nagle🐛JerryJia💻This project follows theall-contributorsspecification. Contributions of any kind welcome!
Package: autodocsumm
docstestspackageWelcome! This sphinx extension provides some useful extensions to the Sphinxsautodocextension. Those areIt creates aTable of Contentsin the style of theautosummaryextension
with methods, classes, functions and attributesAs you can include the__init__method documentation for via theautoclass_contentconfiguration value,
we provide theautodata_contentconfiguration value to include
the documentation from the__call__methodYou can exclude the string representation of specific objects. E.g. if you
have a large dictionary using thenot_document_dataconfiguration
value.See theDocumentation on Readthedocsfor more details.InstallationSimply install it viapip:$ pip install autodocsummLocal developmentUsepipon thesource on GitHub:$ pip install .RequirementsThe package only requiresSphinxto be installed. It has been tested for
versions higher than 1.3.QuickstartIn order to activate the autodocsumm extension, you have to list it in yourconf.py:extensions=['sphinx.ext.autodoc',...,'autodocsumm',]Once this is done, you can use the:autosummary:option for autodoc
directives to generate a table at the top, e.g.:..automodule::my.awesome.module:autosummary:Optionally, you can make autodocsumm active by default for all autodoc
directives by adding inconf.py:autodoc_default_options={'autosummary':True,}DisclaimerCopyright 2016-2019, Philipp S. SommerCopyright 2020-2021, Helmholtz-Zentrum HereonLicensed under the Apache License, Version 2.0 (the “License”);
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Package: autodoc-traits
autodoc-traitsautodoc-traitsis a Sphinx extension that builds onsphinx.ext.autodocto better document classes withTraitletsbased configuration.autodoc-traitsprovides theSphinx directivesautoconfigurable(use with
classes) andautotrait(use with the traitlets based configuration options).Thesphinx.ext.autodocprovided directive [automodule][], which can overview
classes, will withautodoc-traitsenabled useautoconfigurableoverautoclassfor classes has trait based configuration. Similarly, thesphinx.ext.autodocprovidedautoclassdirective will useautotraitoverautoattributeif configured to present the traitlets attributes normally
not presented.Theautoattributedirective will provide a header looking liketrait c.SampleConfigurable.trait = Bool(False), and as docstring it will use the
trait's configured help text.How to use itInstallautodoc-traits:pipinstallautodoc-traitsConfigure Sphinx to use theautodoc_traitsextensions in a Sphinx project'sconf.pyfile:# -- General Sphinx configuration --------------------------------------------# ref: https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration#extensions=["autodoc_traits",# sphinx.ext.autodoc will be registered by autodoc_traits,# but can safely be registered again.# ...]Make use of thesphinx.ext.autodocSphinx directive likeautomodulethat
document classes, theautodoc_traitsprovidedautoconfigurablethat
documents traitlets configurable classes, or theautodoc_traitsprovidedautotraitthat documents individual traitlets configuration options:From a .rst document:..automodule::sample_module:members:..autoconfigurable::sample_module.SampleConfigurable..autotrait::sample_module.SampleConfigurable.traitUse with MyST ParserWhile you can usemyst-parser,sphinx.ext.autodoc's directives emits
unparsed rST, forcing us to parse the autodoc directives in a rST context.From a .md document, withmyst-parser:```{eval-rst}
.. autoconfigurable:: sample_module.SampleConfigurable
```Due to this, also the Python docstrings are required to be in rST as well.
Addressing this can be tracked fromexecutablebooks/team-compass issue
#6.
Package: autodonate-qiwi-api
Qiwi APIQiwi API для Autodonate плагинов.Использование:importautodonate_qiwi_apidefpayment_received(tx:autodonate_qiwi_api.types.Transaction):print(f"Payment from{tx.account}with amount{tx.total}received!")autodonate_qiwi_api.initialize(token="abracadabra",phone=7900000000,callback=payment_received,)Так же модуль объявляетQIWI_API_INSTALLEDглобальную переменную
в templates, так что Вы можете с лёгкостью проверять загруженность
модуля.{% if QIWI_API_INSTALLED %}<h1>Приём доната в Qiwi</h1><button>Оплатить</button>{% endif %}
Package: autodot
autodotAutomated dotfile management using Python & Python/Click!BackgroundTODO: UpdateInstallDependenciesPython 3.6, 3.7, 3.8 (pyenvrecommended)Installationpipinstall-UautodotUsageSee thedocumentation.# TODO: UpdateFeaturesTODO: UpdateSupportPython 3.6, 3.7, 3.8MacOS: Tested locally, Python 3.8.2 viapytestLinux: Ubuntu Latest, Python 3.6, 3.7, 3.8) viaGitHub ActionsWindows: Not tested. ☹️MaintainersaubricusAttributionTODO:UpdateContributingIssues & pull-requests accepted. See theCONTRIBUTING.mdSmall note: If editing theREADME.md, please conform to thestandard-readme specification.LicenseMIT© Aubrey Taylor 2020
Package: auto-download-undetected-chromedriver
Script to automatically download the right undetected chromedriver versionpip install auto-download-undetected-chromedriverGitHub - ultrafunkamsterdam/undetected-chromedriver: Custom Selenium Chromedriver | Zero-Config | Passes ALL bot mitigation systems (like Distil / Imperva/ Datadadome / CloudFlare IUAM)Works on Windows / MacOS thanks to @sdfgsdfgdHowtouse:$pipinstallauto-download-undetected-chromedriverArgs:folder_path_for_exe(str):ThepathtothefolderwheretheChromeDriverexecutablewillbesaved.undetected(bool,optional):ApplytheundetectedpatchtothedownloadedChromeDriverbinary.DefaultstoTrue.arm(bool,optional):IfTrue,downloadtheARMarchitectureversionofChromeDriverforMac.DefaultstoFalse.force_update(bool,optional):ForcetheupdateoftheChromeDriverbinary,evenifit's already present. Defaults to True.dowloadurl(str,optional):URLtotheJSONfilecontainingdownloadlinksforChromeDriverversions.DefaultstotheofficialrepositoryURL(https://googlechromelabs.github.io/chrome-for-testing/latest-patch-versions-per-build-with-downloads.json).Returns:str:ThepathtothedownloadedandpossiblypatchedChromeDriverexecutable.Note:-ThefunctiondetectstheoperatingsystemandChromeversiontodownloadtheappropriateChromeDriverversion.-If'undetected'isTrue,thefunctionpatchestheChromeDriverbinarywithanadditionalconsolelogmessagetomakeithardertodetect.-UsethereturnedexecutablepathtostartChromeDriverwiththeprovidedoptions.Example:fromauto_download_undetected_chromedriverimportdownload_undetected_chromedriverfolder_path="c:\\download2thisfolder"chromedriver_path=download_undetected_chromedriver(folder_path,undetected=True,arm=False,force_update=True)
Package: autodraft
AutoDraft PackageThis package contains the necessary modules for running the various scripts within theAutoDraftproject. Namely:api.py: Wrapper for the NHL's undocumented (mostly, shout-out todword4) API.arima.py: Module for performing Auto-ARIMA modelling and predictions usingpmdarima.gluonts.py: Module for performing DeepAR modelling and predictions; could be extended to anyGluonTSmodel.visualization.py: Module for visualizing model output and performance, largely through leveragingBokeh.
Package: autodropstack
AutoDropStackSimple first in last out stack data structurepipinstallautodropstackfromautodropstackimportAutoDropStackstack=AutoDropStack(3)stack.push(1)stack.push(2)stack.push(3)stack.push(4)stack.push(5)assertstack.stack==[3,4,5]LicenseMITAuthorthearyadev
Package: auto-duo
auto_duoAutomatically pass each duo push, no need to click on cellphone every time.Try at:http://duo.jtc1246.com/Installationpip install auto_duoDependenciesPlease install nodejs (recommends 18.0.0, seeNodejs-versionfor detail) and npm first.Then usenpminstallcrypto
npminstall@aelfqueen/xmlhttprequestUsagefromauto_duoimportstart_serverstart_server('./duo_data.json',8080)Then open http://{your_ip}:8080 in browser, and follows the instructions in webpage.The data will be loaded from and stored into your specified file, if not exist will create a new one.How it worksYour QR code contains the activation code from duo, the server will use this code to communicate with duo server, and continuously check whether there is a push, and agree it automatically if there is.Nodejs-versionI only know the following facts:Can work with nodejs 18.0.0Cannot work with nodejs 12.x.xI don't know anything else about this.I recommend you to:Install nodejs 18.0.0 directly if you haven't installed nodejs.If you have nodejs try your own version first, if it doesn't work (show fail on webpage but your QR code is correct), install 18.0.0.You are welcome to create an issue to tell me which version works or not.How to install a specific nodejs versioncurl-o-https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh|bashThen exit termianl and relaunch it,nvminstall18.0.0
nvmuse18.0.0Then usenode -vto check whether it is installed correctly.LICENSEMy JavaScript code is modified from Duochrome (https://github.com/FreshSupaSulley/Duochrome), which is MIT licensed.Source code is inDuochromedirectory, and my JS code is injsdirectory andauto_duo/data.py(base64 encoded).Thanks the original authors for their contribution.
Package: autodyna
autodynaThis project is a collection of LS-DYNA card writing tools.Developer: @Kevin.StantonUsageInstall with pippip install autodynaImport the libraryimport autodynaRun the desired functionautodyna.[module_name].[function_name]([options])ModulesGeneralized array data formatting tool (FormatForDYNA.xlsm)ReadMeMAT_HYSTERETIC_BEAMReadMeMAT_ELASTICReadMe
Package: autoeda
AutoEDASample Python module.
Just clone this repository and change allautoedato your module name.Getting startedThese instructions will get you a copy of the project up and running on your local machine.PrerequisitesThe minimum Python version supported is version 3.InstallInstall the package in a dev environment with:python setup.py developThis line will automatically install all the dependencies.Running the testsRun the automated tests with:python -m pytestContributingPlease readCONTRIBUTING.mdfor details on our code of conduct, and the process for submitting pull requests.VersioningWe useSemVerfor versioning.AuthorsList of main contributors:Guille-guifervizFor a full list of contributors seeAUTHORS.LicenseThis project is licensed under theMIT License, see theLICENSEfile for details.AcknowledgmentsAttribution to anyone whose code was used.You've been inpired by...Say thanks to someone.
Package: auto-emailer
A wrapper library around python’s SMTP (Simple Mail Transfer Protocol) and email
libraries for making emails easier. Python makes sending email relatively easy
via the smtplib module, but this library makes it eveneasierwith
auto-configuration and email templates.Table of ContentsBackgroundInstallUsageDocsMaintainersContributingLicenseBackgroundLet’s say you’re automating a task that takes a couple of hours to do,
and you don’t want to go back to your computer every few minutes to
check on the program’s status. Instead, you can use auto-emailer to send
a friendly email programmatically when it’s done—freeing you to focus on
more important things while you’re away from your computer.What if you have a spreadsheet of email addresses and you need to send
out an email to each one? Instead of manually writing hundreds, or even
thousands, of emails, you just write a few lines of code to auto-mate
the process and you’re done.InstallingYou can install usingpip:$ pip install auto-emailerFor more information on setting up auto-emailer, please refer toDocsSupported Python VersionsPython >= 3.6Docsauto-emailer python library has usage and reference documentation atauto-emailer.readthedocs.io.Maintainers@adamstueckrathContributingFeel free to dive in!Open an
issueor
submit PRs.auto-emailer follows theContributor
CovenantCode of Conduct.LicenseMIT© Adam Stueckrath
Package: autoemailsmtp
This script will send an email and send you an alert on the configured notifiersWhy ?When a company wants you to send an email every month to get what you need because they don't want to send it automatically to piss you off.Installpip install autoemailsmtpConfigCreate an.envfile with this content or create environment variablesAUTOEMAILSMTP_SMTP_HOST="smtp.example.com"
AUTOEMAILSMTP_SMTP_PORT=587
AUTOEMAILSMTP_SMTP_USERNAME="toto@example.com"
AUTOEMAILSMTP_SMTP_PASSWORD="mypassword"

Optional:
AUTOEMAILSMTP_LOG_LEVEL="INFO"
AUTOEMAILSMTP_DISCORD_WEBHOOK_URL="https://discord.com/api/webhooks/aaaaaa/aaaaa"SystemdTo send an email each month you can setup a cron or use systemd like (must be adapated).
Service file[Unit]
Description=send an email
After=network-online.target

[Service]
Type=oneshot
ExecStart=/opt/autoemailsmtp/venv/bin/python autoemailsmtp.send_mail.py --to email@example.com --subject "rent" --file rent_receipt --discord

[Install]
WantedBy=multi-user.targetSystemd timer file[Unit]
Description=Send an email on the 10th of every month

[Timer]
OnCalendar=*-*-10 08:00:00

[Install]
WantedBy=timers.targetDevInstallPoetryInstall and setup dependenciespoetryinstall
poetryshell
pre-commitinstallRun pre-commitpre-commitrun--all-filesLicenceThe code is under CeCILL license.You can find all details here:https://cecill.info/licences/Licence_CeCILL_V2.1-en.htmlCreditsCopyright © Ludovic Ortega, 2023Contributor(s):-Ortega Ludovic -ludovic.ortega@adminafk.fr
Package: autoemcee
autoemceeRuns MCMC automatically to convergence.AboutRuns a family of Markov Chain Monte Carlo ensemble samplers (Affine-Invariant or Slice Sampler)
with gradually increasing number of samples until they converge.Convergence is tested within each ensemble and across ensembles,
seeMCMC ensemble convergence testfor details.Supports parallelisation with MPI. No modifications to your code is needed,
just run your script with mpiexec.This package is built on top of emcee, zeus, anviz and mpi4py.You can help by testing autoemcee and reporting issues. Code contributions are welcome.
See theContributing page.FeaturesPythonic. pip installable.Easy to program for: Sanity checks with meaningful errorsboth emcee and zeus are supportedMPI support for parallel high-performance computingUsageRead the full documentation at:https://johannesbuchner.github.io/autoemcee/For parallelisation, use:mpiexec -np 4 python3 yourscript.pyLicenceGPLv3 (see LICENCE file). If you require another license, please contact me.Icon made byVecteezyfromFlaticon.Other projectsSee also:UltraNest:https://johannesbuchner.github.io/UltraNest/snowline:https://johannesbuchner.github.io/snowline/Release Notes0.1.0 (2020-03-07)First version