Saravanan666/pypi-org huggingface dataset:
Package: lowtran
Lowtran in PythonLOWTRAN7 atmospheric absorption extinction model.
Updated to be platform independent and easily accessible from Python andMatlab.The main LOWTRAN program is accessible from Python by using direct memory transfers instead of the cumbersome and error-prone process of writing/reading text files.xarray.Datasethigh-performance, simple N-D array data is passed out, with appropriate metadata.GallerySee below for how to make these examples.InstallLowtran requires a Fortran compiler and CMake.
We usef2py(part ofnumpy) to seamlessly use Fortran libraries from Python by special compilation of the Fortran library with auto-generated shim code.If a Fortran compiler is not already installed, install Gfortran:Linux:apt install gfortranMac:brew install gccWindows: Windows Subsystem for LinuxInstall Python Lowtran codepipinstall-e.ExamplesIn these examples, optionally write to HDF5 with the-ooption.We present Pythonexamplesof:ground-to-space transmittance: TransmittanceGround2Space.pysun-to-observer scattered radiance (why the sky is blue): ScatterRadiance.pysun-to-observer irradiance: SolarIrradiance.pyobserver-to-observer solar single-scattering solar radiance (up-going) with custom Pressure, Temperature and partial pressure for 12 species: UserDataHorizontalRadiance.pyobserver-to-observer transmittance with custom Pressure, Temperature and partial pressure for 12 species: UserDataHorizontalTransmittance.pyobserver-to-observer transmittance: HorizontalTransmittance.pyMatlabMatlab users can seamlessly access Python modules, as demonstrated inRunLowtran.m.Here's what's you'll need:Setup Python ↔ Matlab interface.Install Lowtran in Python as at the top of this Readme.From Matlab, verify everything is working by:runtests('lowtran')NotesLOWTRAN7User manualRefer to this to understand what parameters are set to default.
Currently I don't have any aerosols enabled for example, though it's possible to add them into the code.Right now a lot of configuration features aren't implemented, please request those you want.ReferenceOriginal 1994 Lowtran7CodeLOWFILprogram in reference/lowtran7.10.f was not connected as we had previously implemented a filter function directly in  Python.LOWSCANspectral sampling (scanning) program inreference/lowtran7.13.fwas not connected as we had no need for coarser spectral resolution.
Package: lowvision
Tools for low-vision codersShell ChatA wrapper for your shell that lets you talk to ChatGPT about the recent interactions.Wraps bash or another shell you pass in, so that it behaves exactly like what you'd expect.Except that when you run thechatcommand, it switches into a separate mode where you're talking to ChatGPT about the past 3k (configurable) characters of interaction.You have a back and forth conversation, and all of ChatGPT's responses are read aloud.You canCtrl-Cto interrupt and go back to the chat prompt.You typeexitto go back to your shell.InstallationFrom the Python environmentthat will be activated when your chosen shell starts, runpipinstalllowvisionThen setyour OpenAI API keyexportOPENAI_API_KEY='whatever'NOTE: The reason for installing in the Python environment active when your shell starts is because achatcommand is
installed bylowvisionthat activates chat mode, and it must be available inside your wrapped shell.
if you've installed in a virtualenv instead, you'll need to activate that virtualenv after running the shell wrapper,
orchatwon't properly activate chat mode.UsageSee the help withpython-mlowvision.shell-hWithout arguments, it willlaunch Bashwith a 3000 character scrollback bufferuseespeakfor text-to-speechandgpt-3.5-turboas the ChatGPT modelHere's an example that changes those defaults:python-mlowvision.shell--shell/bin/sh\--scrollback5000\--tts'say -v Daniel --rate 220'\--modelgpt-4sh-3.2$ping-c3google.com
PINGgoogle.com(142.251.163.100):56databytes64bytesfrom142.251.163.100:icmp_seq=0ttl=106time=18.316ms
^C
---google.compingstatistics---1packetstransmitted,1packetsreceived,0.0%packetloss
round-tripmin/avg/max/stddev=18.316/18.316/18.316/0.000ms
sh-3.2$chat?>whathappened?
Theuserperformedapingtesttogoogle.combysending3packets,andreceivedareplyfromonepacket.TheresponseshowstheIPaddressofgoogle.comandtheround-triptimeforthepacket.Thetestwasinterruptedwith^Cafterreceivingoneresponse.
?>exitsh-3.2$Installing as the default shellIf you want to use this as your default shell, you could create a script like this (replacing the path to the Python
environment where you installedlowvision) and then set your default shell to that script.#!/bin/shexportOPENAI_API_KEY="whatever"/opt/homebrew/Caskroom/mambaforge/base/bin/python3-mlowvision.shellThen make it executable, and set it as your default shell withchsh -s /path/to/your/script.sh.
Package: loxpy
A Pyhton Implemetation of LoxThis is a python implemetation of a experimental programming language Lox.
Lox is a programming designed by Nystrom Bob, Thanks for his projectCrafting InterpretersFor some reason, the project is not full implemetation of lox features.FeaturesThe interpreter support:atomsstrboolnumberexpressvariable and assignarithmetic and logicalstatmentprintiffor and while looplexical scopesfunctionclassclourseUsageUsepip install loxpyto install.Useloxpyin termianl to run.GrammerVisitLox grammerfor more infomation.
Package: loyverse
The loyverse package provides a wrapper around theLoyverse API.
It is intended to help Loyverse users to access their data using Python, without the need for
boilerplate code. Furthermore, the package provides tools to convert the API responses intopandasDataFrames for easier manipulation.Getting startedThe package relies on a central Client object to access all available endpoints.
To start a new client, the user either needs to provide the access token explicitly, or
store it in the environmental variables under LOYVERSE_ACCESS_TOKEN. For how to generate your access token, please
checkhere.The example below shows how to initialize a client:fromloyverseimportClient# Pass API access token explicitlyclient=Client(access_token='your_access_token')# Pass API access token using environment variable LOYVERSE_ACCESS_TOKENclient=Client()Access an endpointAll exposed API endpoints are available as properties of the Client class. Currently, the following
endpoints are implemented:CustomersReceiptsThe example below shows how to retrieve receipts information for a specific date:fromdatetimeimportdatetimefromloyverseimportClienttarget_date=datetime(2020,10,31)# Retrieve receipts dataclient=Client()response=client.receipts.get_by_date(target_date)# Convert to dataframesreceipts,items,payments=client.receipts.to_dataframes(response)
Package: lp
A command-line script and web app for cheating at Letterpress. Takes a
screenshot of a game in progress and makes suggestions based on what words can
be played and what tiles can be taken.Requires Python 3.6 or later.$ [sudo] pip install lp
$ lp IMG_0001.PNG
win - scruzes
win - schmalzes
win - schmaltzes
 12 - chamfers
 11 - screams
 11 - marquess
 11 - masquers
 11 - scammers
 11 - scampers
 11 - scamster
$ lp --listen=127.0.0.1:8081You can also invoke lp withlp-solverif you’re worried about accidentally
printing things.Runlp--help(orlp-solver--help) for more information on command
line invocation. If you want to host the web version,lp/server.pyis the
WSGI app you should point your server at.
Package: lpaas-client
LPaaS-Python-clientLPaaS-Python-clientis a client to enable comunication withLPaaS-ws.How to installpipinstalllpaas-clientHow to useYou have just to create a LPClient and use it.# you can use `lpaas_client.asyn` for the async version# or `from lpaas_client import AsyncLPClient`fromlpaas_clientimportLPClientfromlpaas_clientimportAuthDataurl='url to LPaaS'client=LPClient(url)withclient:client.authenticate(AuthData('user','passw0rd'))theories=client.get_theories()...| Remember to callclient.authenticateto authenticate yourself to the server.
Package: lpacli
lpaclilpacliis a tiny CLI helper to get LessPass paswords configuration
directly from a LessPass server.InstallInstall python3 (in Debianapt-get install python3).Install virtualenv (in Debianapt-get install virtualenv).Configure a Python 3 virtualenv and installlpacliwhithsetup.py.virtualenv-ppython3lpaclienvsourcelpaclienv/bin/activate
pythonsetup.pyinstallOnce the installation ends you must havelpaclicommand.For enter again in your virtualenv simply runsourcecommand.sourcelpaclienv/bin/activateUsageIn first time use you must configure the following evironment variables.VariableUsed forLESSPASS_HOSTURL of API server (ex.https://lesspass.com)LESSPASS_USERUsername (ex.user@example.com)LESSPASS_PASSPasswordNow you can runlpacli lsto get a list of sites stored in server.After first run,lpaclistores the login token in yourXDG_CACHE_HOMEdirectory, you can run commands with onlyLESSPASS_HOSTenvironment
variable.For get LessPass configuration of a site runlpacli SITENAMEbeing
sitename one of the list given inlpacli lscommand.If you setLESSPASS_MASTERPASSenvironment variable with your LessPass
master password,lpaclireturns the password of site instead of site
configuration.
Package: lpais
lpaisuselibaisto decode ais messages, replacingais.streaminstall and testWarninguser is encouraged to usegccto compilelibais(gccandg++), otherwise it’s likely to fail. Make suregccwill be used as default compliler or specify it when install / buildexample:$CC=gcc-8CXX=g++-8pipinstalllpaisinstall from pypiusing pip:$pipinstalllpaisproduction installThere is a makefile in the project root directory:$makeinstallUsing pip, the above is equivalent to:$pipinstall-rrequirements.txt$pipinstall-e.dev installThere is a makefile in the project root directory:$makedevUsing pip, the above is equivalent to:$pipinstall-rrequirements-dev.txt$pipinstall-e.run the testsUse the makefile in the project root directory:$maketestThis runs the tests generating a coverage html reportbuild the docThe documentation is made with sphinx, you can use the makefile in the
project root directory to build html doc:$makedocDocumentationDocumentation onRead The Docs.Metaloicpw -peronloic.us@gmail.comDistributed under the MIT license. SeeLICENSE.txtfor more information.https://github.com/loicpw
Package: lp-ap-tools
A simple python wrapper for generating LivePublication RO-crates during the execution of Globus Action Providers.This project depends on a the globus-action-provider-tools library. Install globus-action-provider-tools fromhttps://github.com/GusEllerm/action-provider-tools.git#0.12.0/LPalongside this tool. Note the 0.12.0/LP branch.
Package: lpass-auth
lpass-authALastPass Authenticatorclient written in Python
heavily inspired bylastpass-cliand based oncode by Donny Maasland.InstallationGitgitclonehttps://github.com/supersonichub1/lpass-authcdlpass-auth
poetryinstallpippipinstall-Ulpass-authHelpRunlpass-auth --helpfor the most up-to-date information.show --formatTheshowsubcommand allows for the customization of the command's output
through the--formatoption, a lalpass show --format.
Instead of usingprintf-like formatting,lpass-authinstead usesPython's format string syntax, which I believe is much
more intuitive and user friendly.The format string supplies the following values:passwordaccountIDdigitsissuerNamelmiUserIdoriginaIssuerNameoriginalUserNamepushNotificationsecrettimeStepuserNameFor example:lpass-authshow--issuerLastPass\--format"{accountID} ({login}): {password}"LastPass(example@example.com):690420Caveotsonly supports no authentication or TOTP authentication; sorry Yubikey users!cannot add or remove passwords due to lack of API knowledgeTODOerror handlingdump/export passwords a lalastpass-authenticator-export
Package: lpath-md
Linguistics Pathway Analysis of Trajectories using Hierarchical clusteringA user-friendly, Python tool for clustering pathways from molecular dynamics and weighted ensemble simulations.CopyrightThis software is distributed with the MIT License.Copyright © 2023, Anthony Bogetti, Jeremy Leung, Lillian ChongQuickstart GuideUsers may install this program viaPyPI(recommended) or
fromGitHub Source. By default, LPATH is installed with the bare minimum to
run analysis on classic MD simulations. Users who intend to analyze WESTPA simulations should install WESTPA
in the same environment.Install fromPyPI:python -m  pip install lpath-mdInstall fromGitHub Source:Clone the git repository:git clone https://github.com:chonglab-pitt/lpathMove into the folder:cd lpathInstall the program in editable mode:python -m pip install -e .There are a variety of optional dependencies you may install. These work with either installation options listed above.Install withWESTPA:python -m pip install lpath-md[westpa]Install with terminal user interface (TUI):python -m pip install lpath-md[tui]Developers can install with [dev] (all dependencies) or [test] (minimal dependencies to run tests):python -m pip install lpath-md[dev]Options may be combined:python -m pip install lpath-md[westpa,tui]AcknowledgementsProject based on theComputational Molecular Science Python Cookiecutterversion 1.1.
Package: lp-backup
Lastpass BackupEasily backup data from lastpass to your own storage.InstallationYou first need to install thelastpass commandline
toolfor your platform.
It is used internally for accessing the lastpass api.$pipinstalllp_backupInstallfs.webdavfsfor webdav support.Usagefrom lp_backup import Runner

# create backup runner
example_backup_runner = Runner("/home/YOUR_USER/.config/lp_backup.yml")
# run backup
backup_file_name = example_backup_runner.backup()
print(backup_file_name)

# restore backup to /tmp/example-full-restore.csv (which is PLAIN TEXT, be sure to delete after use)
backup_file_name.restore(backup_file_name, "/tmp/test-full-restore.csv")
Package: lpbio
lpbioScripts, tools and modules for computational biologyScriptsModulesDevelopment notesTestsScriptsWhen installed, thelpbiopackage provides the following scripts, available at the command-line:bulk_prokka: for application ofprokkahttps://github.com/tseemann/prokkato a directory of input bacterial genome assemblies, taking advantage of local schedulers.ModulesThelpbiopackage provides the following modules for use in Python applications and scriptspysge: a module that writes job files compatible with SGE-like schedulers, and runs them.swarm: a module for interacting with theSwarmclustering tool and its output.Development notesCreate a local environment, e.g. inconda, and install withpip install -e .:$condacreate--namelpbio
$sourceactivatelpbio
$pipinstall-e.TestsTests are intended to be run withpytestfrom the repository root (usingcoverageandpytest-cov):$pwdlpbio/
$pytest--cov
Package: lpbm
This project aims to provide an easy way to generate static blog and personal
website using python scripts. Every page of the site is written using markdown,
to help formatting easily text.This project is still under heavy development, and a lot of things aren’t
fixed yet (meaning configuration file can change rapidly and often, for
example). Don’t use it right now if you are not willing to spend some time fix
things between big updates.This file only contains the minimum you need to know to install LPBM. A more
detailed documentation is provided indoc/directory, as a sphinx
documentation.FeaturesLPBM is split in several sub-modules. Including configuration management,
articles management, authors management and blog generation.You only need to know markdown to write articles. Every meta-data is stored
in ini files, meaning you can manage them with any CVS.You can have any number of authors on articles, and any number of categories.Simple code embedding into articles. (using pygments).InstallationLPBM will soon be packaged with setup.py and PKGBUILD, and I will put it in AUR
too, when it will be ready for a Release Candidate.### Install LPBM as a script.For know, you can just clone this repository and link~/.local/bin/lpbmto
the lpbm.py file. Then you add$HOME/.local/bin/to yourPATHenvironment
variable and you can execute LPBM everywhere.### Install dependenciesYou also must installpythonversion 3,pipfor python version 3 and all
the python library dependencies. To do this, you just have to executepip
install -r requirements.txtand you’ll have everything you need.UsageThere will be a detailed description of all the features and the usage of all
commands in the sphinx documentation indoc/directory.Other information### Authors (v2)[Franck Michea](http://blog.kushou.eu/)### Authors (v1)[Franck Michea](http://blog.kushou.eu/)[Pierre Bourdon](http://blog.delroth.net/)### LPBM generates this blog:[LSE Blog](http://blog.lse.epita.fr/)### Useful Links[Markdown Syntax](http://daringfireball.net/projects/markdown/syntax)[Code Embedding](http://packages.python.org/Markdown/extensions/code_hilite.html)[LPBM Documentation](http://kushou.eu/lpbm-doc/)
Package: lpc-checksum
lpc_checksumPython script to calculate LPC firmware checksums, based on the C version by
Roel Verdult. It can be used as a standalone application, or as a Python module
that integrates directly in a build environment (e.g. SCons). It does not need
to be compiled.RequirementsThe only requirement is Python 3.9 or newer.InstallationThis module can be installed from Pypi viapip install lpc_checksum.Alternatively, you can install the latest version by cloning this repository
and runpython setup.py install.UsageThere are two ways of usinglpc_checksum.StandaloneWhen installed via Pip or from source, the commandlpc_checksumshould be
available on your PATH. By default, it assumes the input file is a binary file.lpc_checksum <firmware.bin|hex> [--format=bin] [--read-only]Program exits with a non-zero error code when it failed.As a moduleimport lpc_checksum

checksum = lpc_checksum.checksum(input_file, [read_only=True])On error, an exception will be raised.TestsTo run the tests, please clone this repository and runpoetry run pytest.ContributingSee theCONTRIBUTING.mdfile.LicenseSee theLICENSE.mdfile (MIT license).
Package: lpdensity
LPDENSITYThelpdensitypackage provides Stata and R implementations of bandwidth selection, point estimation and inference procedures for local polynomial distribution and density methods.This work was supported by the National Science Foundation through grant SES-1459931, SES-1459967, SES-1947805 and SES-1947662.AuthorsMatias D. Cattaneo (cattaneo@princeton.edu)Xinwei Ma (x1ma@ucsd.edu)Michael Jansson (mjansson@econ.berkeley.edu)Rajita Chandak (maintainer) (rchandak@princeton.edu)Websitehttps://nppackages.github.io/lpdensity/Manualhttps://github.com/nppackages/lpdensity/tree/master/Python/lpdensity/docs/build/latex/lpdensity.pdfInstallationTo install/update use pippip install lpdensityUsagefrom lpdensity import lpdensity, lpbwdensityDependenciesnumpypandasmathscipysympyplotnineReferencesFor overviews and introductions, seelpdensity websiteSoftware and ImplementationCattaneo, Jansson and Ma (2022):lpdensity: Local Polynomial Density Estimation and Inference.Journal of Statistical Software101(2): 1-25.Technical and MethodologicalCattaneo, M. D., M. Jansson, and X. Ma (2020).Simple Local Polynomial Density Estimators.Journal of the American Statistical Association, 115(531): 1449-1455.Supplemental appendix.Cattaneo, M. D., M. Jansson, and X. Ma (2023).Local Regression Distribution Estimators.Journal of Econometrics, forthcoming.Supplemental Appendix.Calonico, S., M. D. Cattaneo, and M. H. Farrell (2018):On the Effect of Bias Estimation on Coverage Accuracy in Nonparametric Inference.Journal of the American Statistical Association113(522): 767-779.Calonico, S., M. D. Cattaneo, and M. H. Farrell (2022):Coverage Error Optimal Confidence Intervals for Local Polynomial Regression.Bernoulli28(4): 2998-3022.Cattaneo, M. D., M. Jansson, and X. Ma (2022).lpdensity: Local Polynomial Density Estimation and Inference.Journal of Statistical Software, 101(2), 1–25.
Package: lpdistutils
lpdistutils===========This is a set of extra commands for distutils/setuptools that allow working withLaunchpad and Bazaar. They are similar to the "register" and "upload" commandsprovided by distutils for working with pypi.Commands--------* lpregister - register the project on Launchpad. This takes the information fromsetup.py and creates you a Launchpad project based on that information.In addition, if you are working in a bzr branch then that branch will be pushedto Launchpad, and set as the development focus of the new project.* lpupload - this uploads a release to Launchpad for you. Similar to the "upload"command you run it with the command to build the artefact you wish to upload, e.g.::python setup.py --command-packages lpdistutils  sdist lpupload --signIf you wish to upload to PYPI too you can do this with::python setup.py --command-packages sdist upload --sign lpupload --use-existing-sig* bzrtag - this sets a bzr tag based on the version number in setup.py, so youcan use it as part of your release process.Usage-----You need to tell distutils/setuptools to load the commands provided by lpdistutils, andyou do this with the --command-packages option to setup.py.::python setup.py --command-packaegs lpdistutilsThis must be the first thing passed.It is possible to enable it in the `distutils config files`_.. _distutils config files: http://docs.python.org/install/index.html#distutils-configuration-fileslike::[global]command-packages = lpdistutils