Saravanan666/pypi-org huggingface dataset:
Package: lets-do-dns
This program’s purpose is to function as a manual authentication and
cleanup hook for the Let’s EncryptEFF'scertbotclient program when you
wish to use ACME-DNS authentication during the certificate authentication
process, while also usingDigitalOcean's DNS infrastructure for the
creation and removal of the ACME-DNS required DNS TXT records. This program
also supports being passed a command string that will be called during the
cleanup hook stage of the authentication process.InstallationInstallation of this program is quite easy, as it only has one external
dependency, and this program includes this dependency in its setup.py
file.That said, there are 4 ways that you can install this program;The first is via the normal means, that is, PyPI via PIP as so:pipinstalllets-do-dnsYou can also install this program from a clone of the source
repository, as so (remember, if you want to modify the source code
without re-installing, pass the-eflag to PIP):pipinstall.You can also use Docker to install/run this program. You can do this
like so when grabbing from the Docker Hub:dockerpulljitsusama/lets-do-dnsFinally, you can build the image from a clone of the source
repository like so:dockerbuild-tjitsusama/lets-do-dns.UsageMake sure you pass theDO_APIKEYandDO_DOMAINenvironment
variables to certbot when it is called. Tell certbot to load this program
by passing its name to certbot via the--manual-auth-hookand the--manual-cleanup-hookCLI arguments.If you would also like for this program to call your own program during
the cleanup hook stage, make sure you pass theLETS_DO_POSTCMDenvironment variable to certbot as well, specifying the invocation string
of your program.Here’s an example of how you can use this program from the CLI when
you installed the program via PIP:DO_APIKEY=super-secret-key\DO_DOMAIN=mydomain.com\LETS_DO_POSTCMD='echo ${CERTBOT_DOMAIN} > command_output.txt'\certbotcertonly--manual-dmyhostname.mydomain.com\--preferred-challengesdns\--manual-auth-hooklets-do-dns\--manual-cleanup-hooklets-do-dnsHere’s an example of how you can use this program from Docker when
you pulled the image from the Docker Hub:dockerrun-v"$(pwd)/my-cert-dir:/etc/letsencrypt"\-e"DO_APIKEY=super-secret-key"\-e"DO_DOMAIN=mydomain.com"\-e'LETS_DO_POSTCMD="echo ${CERTBOT_DOMAIN} > /etc/letsencrypt/command_output.txt"'\jitsusama/lets-do-dns\certonly--manual-dmyhostname.mydomain.com\--preferred-challengesdns\--manual-auth-hooklets-do-dns\--manual-cleanup-hooklets-do-dns
Package: letsdoit
Letsdoitread tasks defined using classes, decorated functions or function
calls.A sample dodo.py file:from letsdoit import TaskBase, task

# Define a task using a decorator.
@task(file_dep=['dodo.py'])
def simple():
    print "hi"

# By calling a function.
compile = task(actions=['cc -c main.c'],
               file_dep=["main.c", "defs.h"],
               targets=['main.o'],
              )

# A class with a run() method
class hello(TaskBase):
    """Hello from Python."""
    targets = ['hello.txt']

    def run(self):
        with open(self.targets[0], "a") as output:
            output.write("Hello world.")

# A class with a list of actions.
class checker(TaskBase):
    """Run pyflakes."""
    actions = ['pyflakes letsdoit.py']
    file_dep = ['letsdoit.py']
Package: letsencrypt_gencsr
# Letsencrypt GenCSR #A very fin wrapper around letsencrypt which allows the construction of a CSR which is
compatible with the letsencrypt toolchain.Use this, if you don’t want to generate new private keys every time when requesting
letsencrypt certificates. Even though this is generally a good security practice it might
be problematic when using public key pinning.## Installation ##` pip install letsencrypt_gencsr `## Usage ##`letsencrypt-gencsr-helpergencsr--keyprivkey.pem-dmy.awesome.domain.net awesome.domain.net domain.net-orequest.csr `This generates form the given key “privkey.pem” and the domains “my.awesome.domain.net”, “awesome.domain.net” and
“domain.net” a CSR file (in request.csr) compatible with letsencrypt which can be passed to the toolchain through
the –csr flag:` letsencrypt certonly--csrrequest.csr--webroot--renew-by-default--agree-tos-w/var/www `## Letsencrypt proxy ##As of Version 0.2.0 theletsencrypt-gencsr-helperacts as a proxy of theletsencryptcli interface and has the
same commands.This is done to support the additional–private-keyparameter. It allows to feed a pre defined private key to thecertonlycertificate request:`letsencrypt-gencsr-helpercertonly--private-keyprivatekey.pem--webroot-w/var/www-dexample.com `Of course the same functionality also works with theruncommand.## License ##The application is licensed under the [MIT license](http://opensource.org/licenses/MIT). The used
letsencrypt library is licensed under the [Apache 2.0 license](http://opensource.org/licenses/apache-2.0).
Package: letsencrypt-pritunl
# letsencrypt-pritunl
Letsencrypt plugin for PritunlInstallation guide:
* Deploy latest version of [Let’s Encrypt](https://github.com/letsencrypt/letsencrypt)
* Deploy latest version of [pritunl](https://github.com/pritunl/pritunl)
* Install letsencrypt-pritunl plugin pip install letsencrypt-pritunl## Use cases:
* Get/Renew and install new certificate`./letsencrypt-autorun--standalone-supported-challengeshttp-01-t-iletsencrypt-pritunl:pritunl-dsome.domain.tld--no-redirect`** To automate the renewal process without prompts (for example, with a monthly cron), you can add the letsencrypt parameters –renew-by-default –textInstall-only existing certificate`./letsencrypt-autoinstall-t-iletsencrypt-pritunl:pritunl--letsencrypt-pritunl:pritunl-conf-path/etc/pritunl.conf--cert-path/etc/letsencrypt/live/some.domain.tld/cert.pem--key-path/etc/letsencrypt/live/some.domain.tld/privkey.pem-dsome.domain.tld--no-redirect``./letsencrypt-autoinstall-t-iletsencrypt-pritunl:pritunl--cert-path/etc/letsencrypt/live/some.domain.tld/cert.pem--key-path/etc/letsencrypt/live/some.domain.tld/privkey.pem-dsome.domain.tld--no-redirect`
Package: letsencrypt-proxmox
# letsencrypt-proxmox
Letsencrypt plugin for Proxmox VEInstallation guide:
* Install [Proxmox VE](https://www.proxmox.com/en/proxmox-ve)
* Deploy latest version of [Let’s Encrypt](https://github.com/letsencrypt/letsencrypt)
* Install letsencrypt-proxmox plugin pip install letsencrypt-proxmox## Use cases:
* Get/Renew and install new certificate`./letsencrypt-autorun--standalone-supported-challengeshttp-01-t-iletsencrypt-proxmox:proxmox-dsome.domain.tld--no-redirect`** To automate the renewal process without prompts (for example, with a monthly cron), you can add the letsencrypt parameters –renew-by-default –textInstall-only existing certificate`./letsencrypt-autoinstall-t-iletsencrypt-proxmox:proxmox--letsencrypt-proxmox:proxmox-location/etc/pve/local--cert-path/etc/letsencrypt/live/some.domain.tld/cert.pem--key-path/etc/letsencrypt/live/some.domain.tld/privkey.pem-dsome.domain.tld--fullchain-path/etc/letsencrypt/live/some.domain.tld/fullchain.pem--no-redirect``./letsencrypt-autoinstall-t-iletsencrypt-proxmox:proxmox--cert-path/etc/letsencrypt/live/some.domain.tld/cert.pem--key-path/etc/letsencrypt/live/some.domain.tld/privkey.pem--fullchain-path/etc/letsencrypt/live/some.domain.tld/fullchain.pem-dsome.domain.tld--no-redirect`
Package: letsencrypt-s3front
## S3/CloudFront plugin for Let's Encrypt clientUse the letsencrypt client to generate and install a certificate to be used withan AWS CloudFront distribution of an S3 bucket.### Before you startFollow a guide like this one [https://docs.aws.amazon.com/gettingstarted/latest/swh/website-hosting-intro.html](https://docs.aws.amazon.com/gettingstarted/latest/swh/website-hosting-intro.html)to use S3 and CloudFront for static site hosting.Once you are done you should have a domain pointing to a CloudFront distributionthat will use an S3 bucket for origin. It is important for the certificatevalidation that both HTTP and HTTPS traffic are enabled (at least while you getthe certificate).You can view an example IAM policy (sample-aws-policy.json) with the permissions needed for this plugin.### Setup1. Install the letsencrypt client [https://letsencrypt.readthedocs.org/en/latest/using.html#installation](https://letsencrypt.readthedocs.org/en/latest/using.html#installation)```pip install letsencrypt```1. Install the letsencrypt-s3front plugin```pip install letsencrypt-s3front```### How to use itTo generate a certificate and install it in a CloudFront distribution:```AWS_ACCESS_KEY_ID="your_key" \AWS_SECRET_ACCESS_KEY="your_secret" \letsencrypt --agree-tos -a letsencrypt-s3front:auth \--letsencrypt-s3front:auth-s3-bucket the_bucket \[ --letsencrypt-s3front:auth-s3-region your-bucket-region-name ] (default is us-east-1) \-i letsencrypt-s3front:installer \--letsencrypt-s3front:installer-cf-distribution-id your_cf_distribution_id \-d the_domain```Follow the screen prompts and you should end up with the certificate in yourdistribution. It may take a couple minutes to update.To automate the renewal process without prompts (for example, with a monthly cron), you can add the letsencrypt parameters --renew-by-default --text
Package: letsformat
Simple File Format ConverterConverting Images to FitsThis option is currently unavailable due to invalid information transfer.
Currently converting to fits files does not properly retain metadata and is leading to a corrupted fits file. Although running the convert-img command with fits will result in a fits file being produced, it does not currently produce a valid fits file.Converting ImagesSimply run 'letsformat convert-img' and the CLI will guide you through each step to convert the image file into your desired format.IssuesFor any issues contact Matthew Holden atmatthewholden01@gmail.com
Package: lets-go
lets-goAGogame in terminal environment.Installation & RunUsepipto install the package:pip3 install lets-goThen runlets-goin terminal to play game.PlanningBy now, there is only basic rules supporting for theGogame, and hasn't any new plans for the next step. NoAI, noGTP, nokifu, just simple playing for fun.I wrote the game only for an idea of verifingltermiopackage, maybe there will be new ideas based on personal inspiration, or maybe that's it.ExperienceAlrough I addedVIlike keys supporting for cursor moving, the experience of the game based on keyboard is still not good.ltermiohas supported mouse after version 0.4.6, lets-go followed up and indeed makes experience better, but mouse pointer shape is a bit of trouble.
Package: letsgoing-rpi-arduinocontrol
letsgoINGRemoteLab ArduinoControl for Raspberry PiThis package allows to perform IO on a real Arduino from a Raspberry Pi.Combine with VNC remote desktop and the Arduino IDE for basic Arduino teaching without the wiring hassle.Installationpython3 -m pip install letsgoing-rpi-arduinocontrolTroubleshootingpip likely installs to your local path, which is not included by default. Try adding .local/bin to your path:echo export PATH=$HOME/usr/local/bin:$PATH >> .bashrc && source .bashrcThe Pillow library is known for weird hiccups, try manual reinstallation:python3 -m pip install --upgrade --force-reinstall PillowReleasing a new version to PyPIConsider testing the release on test.pypi.org first!# clone the repo
git clone https://github.com/tobiglaser/letsgoing-rpi-arduinocontrol

# install locally
python3 -m pip install .

#test
letsgoing-rpi-arduinocontrol

# build the package
export PYTHONIOENCODING=utf-8  # because it complaines otherwise
python3 -m build

# upload to PyPI
twine upload dist/*

# clean up before next upload
rm dist/*More info:testpypipackaging projectsCI/CD ?
Package: letslog
letslogThis is a log module for people to log for their programsRequired Packagesdatetime,logging,pathlibAvailable LevelsINFO, DEBUG, WARNING, ERROR, CRITICALConstructorletslog.Letslogconstructor takes in 2 arguments with default option, one islogPathwhich states which folder that we want our log files to be put in, the other isabsoluteto indicate whether the first argument is an absolute path.The default value forlogPathis..\logrelative to the current working directory.The default value forabsoluteis True.For example:
If the current working directory is~\Documents\my_program\src, and we want to initiate a log file at an already created folder~\Documents\my_program\logThe following code sample can achieve such goal:ll1=letslog.Letslog()# Uses default argumentsll2=letslog.Letslog('..\log',absolute=False)# Uses relative pathll3=letslog.Letslog('~\Documents\my_program\log')# Uses absolute pathFile Namewhen we callll.initiateLogger('logger_id', 'INFO'), we create a log with name<current datetime>+<logger_id>.logUsageimportletslogll=letslog.Letslog()# Sets the log file location to default locationll.initiateLogger('logger_id','INFO')# The created log file will be at '~\Documents\my_program\log\2020-06-24_203352logger_id.log'll.setLevel('WARNING')# We could change the level of this loggerll.log('This is a warning!')# We could write a message to the logger using current logger level
Package: letsql
a geometric pineappleLETSQLletsqltackles Machine Learning pipelines with a familiar DataFrame and SQL UI – all powered by a robust relational engine. Built withIbis,DataFusionandArrow.For more information, please check out the documentation.FEATURES🔄 Run and Segment unified DataFrame code📊 XGBoost Inference w/ Tree-level Pushdowns🌐 Snowflake, BigQuery, and Redshift SupportBENCHMARKSROADMAPLICENSEApache License Version 2.0
Package: letsrobot-unofficial
LetsRobotUnofficialLetsRobotUnoffical is a easy to use interface for connecting your robot to the letsrobot.tv website.
A minimal example looks like:fromletsrobot_unofficialimportLetsRobotdefchatEvent(args):#Handle chat events heredefcontrolEvent(args):#Handle control events herer=LetsRobot()r.addChatServer("robotIDHere")r.addControlServer("robotIDHere")r.addVideoOutput("videoIDHere")r.addChatHandler(chatEvent)r.addControlHandler(controlEvent)while(True):r.wait()Installation is a simple aspip install letsrobot_unofficialFor more information including how to get a robot id and video id visithttps://letsrobot.tvor for additional examples and documentation visithttps://github.com/theodorechandler1/LetsRobotUnofficial
Package: letstune
letstuneHyper-parameter tuning for the masses!DocumentationPyPI PackageExamplesMachine Learning algorithms havemany parameters, which are expected to be
chosen by a user - like the number of layers or learning rate.It requiresa lot of trial and error.letstuneautomatically triesvarious parameter configurations and
gives you back the best model.How it differs fromGridSearchCV?letstunewill give youa better modelina shorter timein comparison
to the classical hyperparameter tuning algorithms.Generate random parametersEvaluate each parameter witha small time budgetDrop low-performersautomatically, only good-performers will stay in the poolThe 3rd point is the distinguishing feature ofletstune- other algorithms
dutifully train weak models - without a good reason.ErgonomicsCommon tasks inletstuneare realized with Python one-liners:The best model:model=tuning[0].best_epoch.checkpoint.load_pickle()Pandas summary dataframe withparametersandmetric values:df=tuning.to_df()Great! How to use it?Install withpip:pip install letstuneFirst, define yourparameters:importletstunefromletstuneimportParams,randclassSGDClassifierParams(Params):model_cls=SGDClassifieraverage:booll1_ratio:float=rand.uniform(0,1)alpha:float=rand.uniform(1e-2,1e0,log=True)Then define atrainer.Traineris an object, which knows how totraina model!classDigitsTrainer(letstune.SimpleTrainer):params_cls=SGDClassifierParamsmetric="accuracy"defload_dataset(self,dataset):self.X_train,self.X_test,self.y_train,self.y_test=datasetdeftrain(self,params):# params has type SGDClassifierParams# letstune provides method create_model# returning SGDClassifiermodel=params.create_model(loss="hinge",penalty="elasticnet",fit_intercept=True,random_state=42,)model.fit(self.X_train,self.y_train)accuracy=model.score(self.X_test,self.y_test)returnmodel,{"accuracy":accuracy}trainer=DigitsTrainer()# new instance!Neural networks and gradient boosting trainings
can be based onletstune.EpochTrainer,
which hastrain_epochmethod.Finally,let's tune!tuning=letstune.tune(trainer,16,# number of tested random parametersdataset=(X_train,X_test,y_train,y_test),results_dir="digits_tuning",)Our modelis ready to use:model=tuning[0].checkpoint.load_pickle()Don't forget to check outexamples directory! 👀Documentation ishere!AdditionallyWorks with your favourite ML library 🐍 - it'slibrary agnostic!Resumes workfrom the point, where program was stopped.Permissivebusiness-friendlyMIT license.ReferencesA System for Massively Parallel Hyperparameter Tuningby Li et al.;arXiv:1810.05934Overview of various hyperparameter-tuning algorithms.letstuneimplements a variant of Successive Halving.ContributingIssues are tracked onGitHub.ChangelogPlease seeCHANGELOG.md.
Package: letter
Nicer Emails for Python.0.5Python 3 compatibility.0.4.3Add Twitter DMs.0.4.2Adds ReCaptchaContactForm0.4.1Refactoring makes contrib contact views easier to use.
Implement reply-to for Django mailer.0.4Frist semi-stable release.
Adds attachments, allows sending messages without a subject.
python -m letter does things now.
Allow the setting of replyto headers.
Adds SMS messages via Twilio
Add Tweets via tweepy0.3.1Add extra composability to the django contrib view.0.3Add django contrib views for use with contact forms0.2.2.1Fix bug sending mails to multpile recipients.
Add Bcc and Cc fields.0.2.0Stop relying on Mailtools.
letter.Letter interface for SMTP messages as well.0.1.0Add a Django compatibility layer for composing emails there.
Write the letter.Letter class based interface.0.0.3Forgive nonexistant directories on the temlpate search path.0.0.2 (09 10 2012)Initial version
Package: letter2
基于 Socket 的终端聊天室1.构建服务器importletter2asletterservice=letter.service(# 数据库配置【以下都是默认值】mysql_host='localhost',mysql_port=3306,mysql_user='root',mysql_database='letter',mysql_password='1234',# 服务器端配置【以下都是默认值】service_host='localhost',service_port=5000,max_client=5,encoding='utf8')service.start()2.运行客服端importletter2asletterclient=letter.client(# 以下均为默认值service_host='localhost',service_port=5000,encoding='utf-8')client.start()3.客服端使用帮助_      _   _                   _ _            _     ___    ___  
 | |    | | | |                 | (_)          | |   |__ \  / _ \ 
 | | ___| |_| |_ ___ _ __    ___| |_  ___ _ __ | |_     ) || | | |
 | |/ _ \ __| __/ _ \ '__|  / __| | |/ _ \ '_ \| __|   / / | | | |
 | |  __/ |_| ||  __/ |    | (__| | |  __/ | | | |_   / /_ | |_| |
 |_|\___|\__|\__\___|_|     \___|_|_|\___|_| |_|\__| |____(_)___/ 

$ 2023-12-16 12:57:35 > letter2 2.0 client starting...
$ 2023-12-16 12:57:35 > letter2 2.0 client stared!
$ 2023-12-16 12:57:35 > 目前正处于离线模式, 你可以输入 login 登录聊天室
# help

    绿色表示在线才能使用的功能
    红色表示离线才能使用的功能
    白色不做限制
    
        ls: 显示所有在线用户
        me: 显示自己的状态
        clear: 清空记录
        help: 查看帮助
        path: 显示当前目录，及目录下的所有子目录
        login: 登录服务器
        register: 注册一个账户并登录服务器
        chat [all|username] [text]: 给[所有|指定]用户发送消息
        file [filepath] to [username]: 给指定用户发送文件
        logout: 退出登录
        repwd [old password] [new password]: 修改密码
        exit: 退出应用
    
#
Package: letterbomb
✉️💣 LetterBombA fork of the classic Wii hacking tool fromfail0verflow.Table of ContentsInstallationPyPiManualImprovementsUsagePythonCLIDocumentationOriginal source codeLicenseInstallationPyPi:(recommended)python3-mpipinstall-UletterbombManual:(web server, development)gitclonehttps://gitlab.com/whoatemybutter/letterbomb.gitcdletterbomb
python-mbuildImprovements over originalWhoAteMyButter'sfail0verflow'sNetworkingOptionalRequiredCLIYesNoOS supportLinux, Windows, MacLinuxLoggingYesYes, dependent on FlaskAPIYesNoExceptionsYesNoPackagingGitLab, PyPIGitDependenciesNone (Flask for web)Flask, geoip2Pylint10.00/10.004.65/10.00Python version3.10+2.7 onlyLicenseMITMITDocumentationYesNoUsagePythonimportletterbomb# Write to file, include HackMii:letterbomb.write(mac="mac address",region="region letter",output_file="letterbomb.zip")# Write to file, exclude HackMii:letterbomb.write(mac="mac address",region="region letter",pack_bundle=False,output_file="letterbomb.zip")# Write to stream, include HackMii:letterbomb.write(mac="mac address",region="region letter")# Write to stream, exclude HackMii:letterbomb.write(mac="mac address",region="region letter",pack_bundle=False)# To log debug messagesletterbomb.LOGGING_LEVEL=letterbomb.logging.DEBUG# To log output to a fileletterbomb.LOGGING_FILE="log.txt"CLI# Helppython3-mletterbomb-h# To include HackMii, output and create a ZIPpython3-mletterbombMACREGION-b-ooutput.zip# To enable debug loggingpython3-mletterbombMACREGION-gdebug-ooutput.zip# To use a file for logging output insteadpython3-mletterbombMACREGION-llogfile.txt-ooutput.zip# To stream bytes instead, and include HackMii (-b)python3-mletterbombMACREGION-b# To stream bytes instead, and exclude HackMiipython3-mletterbombMACREGIONWeb servicepython-mpipinstallletterbomb[web]# Or...python-mpipinstallletterbomb_webSeehttps://gitlab.com/whoatemybutter/letterbomb_web.DocumentationMost casual users should refer to theReadTheDocs page.Some may want to build the documentation manually. To do this:gitclonehttps://gitlab.com/whoatemybutter/letterbomb.gitcdletterbomb/docs
makehtml
xdg-open_build/html/index.htmlIf you prefer one-liners, there is one below:gitclonehttps://gitlab.com/whoatemybutter/letterbomb.git&&cdletterbomb/docs&&makehtml&&xdg-open_build/html/index.htmlBefore re-building the documentation, you should also runmake cleanto prevent stale files from remaining in newer builds.To read about the exploit itself in more detail, pleaseread this article.Original source codeTheoriginalsource code can be found athttps://github.com/fail0verflow/letterbomb.Theoriginalwebsite can be found athttps://please.hackmii.com.Note:Original code likely will not work out-of-the-box.LicenseLetterBomb is licensed under theMIT license. (included file)
Package: letterbomb-web
✉️💣🌐 LetterBomb WebA flask module that complements the letterbomb API.Table of ContentsInstallationPyPIManualUsageLicenseInstallationPyPI:(recommended)python3-mpipinstall-Uletterbomb_webManual:(web server, development)gitclonehttps://gitlab.com/whoatemybutter/letterbomb_web.gitcdletterbomb_web
python-mbuildUsageRefer tothe documentation.LicenseLetterBomb Web is licensed under theMIT license. (included file)
Package: letterboxd-convert
letterboxd-convertConvert letterboxd.com lists to a list of imdb ids.Installpip install letterboxd-convertUsageCLI usageletterboxd-convert "https://letterboxd.com/crew/list/the-2010s-top-250-narrative-features/" -limit 20Python packagefrom letterboxd_convert import download_list
url = "https://letterboxd.com/crew/list/the-2010s-top-250-narrative-features/"
print(download_list(url, limit=20))
Package: letterboxd-rss
Letterboxd-RSSConvert yourLetterboxdWatchlist to an RSS feed.InstallationInstall and update usingpip:pip install letterboxd-rssUsageAfter installing, you may simply call letterboxd-rss from the command line:$ letterboxd-rss -h

usage: letterboxd-rss [-h] [-o FEED_FILENAME] [-l FEED_LENGTH]
                      LETTERBOXD_PROFILE

positional arguments:
  LETTERBOXD_PROFILE    URL of your letterboxd profile

optional arguments:
  -h, --help            show this help message and exit
  -o FEED_FILENAME, --output FEED_FILENAME
                        Destination of the generated RSS feed (defaults to
                        ./feed.xml)
  -l FEED_LENGTH, --max-length FEED_LENGTH
                        Maximum number of watchlist items to keep in the feed