Saravanan666/pypi-org huggingface dataset:
Package: pylustrator
Pylustrator is a software to prepare your figures for publication in a reproducible way. This means you receive a figure
representing your data and alongside a generated code file that can exactly reproduce the figure as you put them in the
publication, without the need to readjust things in external programs.Pylustrator offers an interactive interface to find the best way to present your data in a figure for publication.
Added formatting and styling can be saved by automatically generated code. To compose multiple figures to panels,
pylustrator can compose different subfigures to a single figure.Please also refer to theDocumentationfor more information.Issues, Questions, and SuggestionsPlease submit your questions, suggestions, and bug reports to theIssue TrackerContributingYou want to contribute? Great!
Contributing works best if you creat a pull request with your changes.Fork the project.Create a branch for your feature:git checkout -b cool-new-featureCommit your changes:git commit -am 'My new feature'Push to the branch:git push origin cool-new-featureSubmit a pull request!If you are unfamilar with pull requests, you find more information on pull requests in thegithub help
Package: pylut
Builds, modifies, visualizes, and converts 3D LUTs from popular .cube and .3dl formats. Source available athttps://github.com/gregcotten/pylut.UsageThe idea is that the modifications to a LUT object are non-volatile, meaning that every modification method returns a new LUT object rather than changing the existing object. All sorts of great things can happen!#!/usr/bin/env pythonfrompylutimport*lut=LUT.FromLustre3DLFile("/path/to/file.3dl")lut2=LUT.FromLustre3DLFile("/path/to/file2.3dl")printlut.ColorAtLatticePoint(1,2,1)printlut.ColorAtInterpolatedLatticePoint(1.3,1.5,1.2)printlut.ColorFromColor(Color(.002,.5,.2344))printlut.ColorFromColor(Color.FromRGBInteger(14,1000,30,bitdepth=10))lut3=lut.CombineWithLUT(lut2)lut3*=.5lut3-=LUT.FromIdentity(lut3.cubeSize)lut3=lut3.ClampColor(Color(0,0,.2),Color(0,0,.4))lut3=lut3.Resize(33)lut3.ToNuke3DLFile("/path/to/destination.3dl")CLII also have a terrible CLI inside the bin folder.
Example:pylut some_lut.3dl --resize 17 --convert RCUBEThe FutureNo clue.ContributingFork itCreate your feature branch (git checkout-bmy-new-feature)Commit your changes (git commit-am'Add some feature')Push to the branch (git push originmy-new-feature)Create new Pull Request
Package: pylux
Pylux is a program for creating and managing documentation for stage lighting.Pylux currently has the capability to generate plaintext documentation from
Jinja template files and create 2D plots in SVG although you will need to provide
your own fixture vector files.You can also import data from an Eos ASCII export, including the complete patch,
groups, palettes, and cues.Installation and DependenciesPylux is available on PyPI, so after installing Python and pip, you can simply run:pip3 install pyluxThe PyPI package does not include the content repository, which includes fixture
templates, symbols and documentation templates. Pylux will search in~/.pyluxfor this, so you can just clone the repository there:git clone https://github.com/jackdpage/pylux-content.git ~/.pyluxSimply runpyluxfrom the terminal to launch the program.ScreenshotScreenshot of curses interface showing fixture list on the left and DMX universe summary
on the right. Data imported directly from Eos ASCII export with no post-processing.Sample OutputRendered at 1:50 on A3Visualisation enabled, titles and extra symbols disabledDocumentationDocumentation is available atRead the Docs.LicensePylux is licensed under the GNU GPL v3.0. A full copy of the license is
available in the fileCOPYING.
Package: pyluxa4
Python LuxaforwarningThis library has only been tested on theLuxafor Flag. It may or may not work on
other devices.pyluxa4is a Python library for controllingLuxafordevices. You can set colors, blink them,
fade them, apply a wave effect, and even run its built-in patterns. All of this is done by running a small server that
is accessed locally on port 5000 (the port can be changed). Once running, you can issue commands from the CLI tool,
which in turns communicates with the server using a REST API.Since the server uses a REST API, you could easily write scripts in other languages to control the device once running.If desired, you can import thepyluxa4.usblibrary in a script and control the device directly without running a
server. Or you could importpyluxa4.clientand write your own application that uses the REST API to control the device
through the server.pyluxa4requireslibusb/hidapito be installed in order for the controller portion
of the library to be functional.DocumentationDocumentation is found here:https://facelessuser.github.io/pyluxa4/LicenseMIT License
Package: pyluxafor
===============================PyLuxafor===============================.. image:: https://img.shields.io/pypi/v/pyluxafor.svg:target: https://pypi.python.org/pypi/pyluxafor:remote:.. image:: https://img.shields.io/travis/takeontom/pyluxafor.svg:target: https://travis-ci.org/takeontom/pyluxafor:remote:.. image:: https://readthedocs.org/projects/pyluxafor/badge/?version=latest:target: https://pyluxafor.readthedocs.io/en/latest/?badge=latest:alt: Documentation Status:remote:.. image:: https://pyup.io/repos/github/takeontom/pyluxafor/shield.svg:target: https://pyup.io/repos/github/takeontom/pyluxafor/:alt: Updates:remote:Python API for the Luxafor Flag* Free software: MIT license* Documentation: https://pyluxafor.readthedocs.io.Features--------* Python 3+* Simple, clean API to control the`Luxafor Flag <http://luxafor.com/luxafor-flag/>`* Where possible, allows the setting of multiple, specific LEDs at once.Installation------------Install via pip::$ pip install pyluxaforCreate the file: `/etc/udev/rules.d/10-luxafor.rules` with the followingcontents::ACTION=="add", SUBSYSTEM=="usb", ATTRS{idProduct}=="f372", ATTRS{idVendor}=="04d8", MODE:="666"Then reload udev::$ sudo service udev reloadThen unplug your Luxafor Flag and reinsert it.Example usage-------------::from pyluxafor import LuxaforFlagfrom time import sleepflag = LuxaforFlag()flag.off()flag.do_fade_colour(leds=[LuxaforFlag.LED_TAB_1, LuxaforFlag.LED_BACK_1, LuxaforFlag.LED_BACK_2],r=10, g=10, b=0,duration=255)flag.do_static_colour(leds=LuxaforFlag.LED_BACK_3, r=0, g=0, b=100)sleep(3)flag.off()flag.do_pattern(LuxaforFlag.PATTERN_POLICE, 3)Credits---------Many thanks to `vmitchell85 <https://github.com/vmitchell85>` for his`luxafor-python <https://github.com/vmitchell85/luxafor-python>` project,which provided the initial inspiration for this project, and provided easyanswers to the problems I encountered.If you're looking to control a Luxafor Flag in Windows using Python,vmitchell85's project is probably the best bet:* https://github.com/vmitchell85/luxafor-python=======History=======0.1.0 (2016-12-13)------------------* First release on PyPI.
Package: pyluxafor-mac
pyluxafor_macA Python3 api and cli for the LuxaforFlag for macInstalling pyluxafor_macInstall from pip:pip3 install pyluxafor_macUse as an API:>>> from pyluxafor_mac import LuxaforFlag
>>> flag = LuxaforFlag()
>>> flag.fade(85, 205, 252)Use as a CLI:$ pyluxafor_mac 247 168 184For development, clone from github and run the tests with:git clone https://github.com/CptSpaceToaster/pyluxafor_mac.git
cd pyluxafor_mac
make testUsageHelp:pyluxafor_mac -h
Package: pylw
Python Lightweight Webframework.UsagePlease see main.py on github.com for usage.This is a somewhat useful web framework.It’s meant to be fast, and to do very little.It works with WSGI servers.FeaturesURL Routing, Cookies, Cookie signing (with itsdangerous), Allows headers to be
easily added, adds cookies and content length to headers automatically when
the response is returned.No template engine is supplied, no ORM, no ‘session’ handling.  That’s up to the
dev.  This framework handles the most basic of tasks.Unicode SupportWe also don’t support python3 at this time.  Unicode may or may not work for
you, I honestly don’t know.  If it doesn’t impact performance much, it might be
added in the future.Complexity…zero.Some C code has been included to speed up query parsing and URL routing.The C code for query parsing is much faster than the corresponding Python code,
however it does not support URL encoded characters, just strings.  Since I
anticipate the vast majority of GET requests to not use non-alphanumeric
characters, it’s not high on my priority list.  The characters don’t seem to
crash the software or cause problems, but they will just appear as-is instead
of decoded.Cython supportIf you have Cython installed, this package will compile modules into C code.
This improves performance greatly, especially when using CRouter for URL
routing.
Package: pylwdrone
pylwdronePython package to communicate with a drone's lewei camera module. This module
does not control the drone's flight yet.Example Command-line UsageStream live video$ pylwdrone stream start --out-file - | ffplay -i -Record live video then replay later$ pylwdrone rec start
$ pylwdrone rec stop
$ pylwdrone rec list
index  start              duration  path
[  0]  20200604_04:01:27        95  /mnt/Video/20200604-040126.mp4
[  1]  20200604_04:10:40        20  /mnt/Video/20200604-041040.mp4
success
$ pylwdrone rec play 0 --out-file - | ffplay -i -Example Module UsageCreating the object>>> import pylwdrone
>>> drone = pylwdrone.LWDrone()Stream live video>>> for frame in drone.start_video_stream():
>>>     sys.stdout.buffer.write(frame.frame_bytes)Get a file>>> with open('video.mp4', 'wb') as fp:
>>>     drone.get_file('/mnt/Video/20200604-041040.mp', fp)Take a picture>>> with open('picture.jpg', 'wb') as fp:
>>>     fp.write(drone.take_picture())
Package: pylwr
Python第三方包二次封装应该会用到一些其他依赖注意由于oracledb的原因，python版本需要大于3.7封装依赖pipinstallbuild
pipinstallopenpyxl
pipinstalltwine
pipinstallpymysql
pipinstalloracledb安装pipinstallpylwr打包与上传Remove-Item-Path"dist"-Recurse-Force;python-mbuild
Remove-Item-Path"build"-Recurse-Force;pythonsetup.pysdistbdist_wheel
python-mtwineuploaddist\*
Package: pylxc-cli
How to install$pipinstallpylxc-cliDevelopmentClone repository:$gitclone<repository-url>Create a virtual environment with Python 3.5:$virtualenvpylx_env--python=$(whichpython3)Install the lib witheditableoption on PIP:$pipinstall-e.Install development requirements:$pipinstall-rrequirements-dev.txtStart coding. =]
Package: pylxd
A Python library for interacting with the LXD REST API.Installationpip install pylxdBug reportsBug reports can be filed on theGitHub repository.Support and discussionsWe use theLXD category on Ubuntu’s Discourse.If you prefer live discussions, some of us also hang out in#lxdon irc.libera.chat.LXD Documentation:https://documentation.ubuntu.com/lxd/en/latest/PyLXD API Documentation:https://pylxd.readthedocs.io/en/latest/Contributing to pyLXDIf you wish to contribute to pyLXD please read theContributing Guide, particularly
around unit tests, integration tests and signing commits.
Package: pylylabel
PylylabelA Rust implementation of thePolylabelalgorithm.This is a fork ofpolylabel-rs. Pylylabel'spolylabelfunction also
returns the distance from the label position to the polygon. Python binding is provided using PyO3.The orange dot is the polygon centroid. The teal dot is the ideal label position. Red boxes show the search space.How to Useexterncratepylylabel;usepylylabel::polylabel;externcrategeo;usegeo::{Point,Polygon};letcoords=vec![(0.0,0.0),(4.0,0.0),(4.0,1.0),(1.0,1.0),(1.0,4.0),(0.0,4.0),(0.0,0.0)];letpoly=Polygon::new(coords.into(),vec![]);letlabel_pos,distance=polylabel(&poly,&0.10);// Point(0.5625, 0.5625), 0.5625frompylylabelimportpolylabelfromshapely.geometryimportPolygonexterior=[[0.0,0.0],[4.0,0.0],[4.0,1.0],[1.0,1.0],[1.0,4.0],[0.0,4.0],[0.0,0.0]]pol=Polygon(exterior)x,y,distance=polylabel(pol,tolerance=0.1)# 0.5625, 0.5625, 0.5625Documentationhttps://docs.rs/polylabelPerformance vs AccuracyUsing a 4-core 2.3 GHz Intel Core i5, finding a label position on a ~9k-vertex polygon (representing the Norwegian mainland) using a tolerance of1.0takes around 9 ms. Depending upon the dimensions of your polygon(s), you may require a higher tolerance (i.e. a smaller number). Seeherefor some guidance on the accuracy provided by each decimal place.BuildRequirements:Python 3.5+Rust stablematurinmaturin build --releaseLicenseMIT
Package: pylyric
#Pylyric
version 0.0.1This is a module to scrape lyrics and perform sentiment analysis based on the user inputs.------INSTRUCTIONS---------1. INSTALLATION -----Use command :pip install pylyric---2. USAGE ------------The package should be imported first by typing as followimport pylyric.plot as ppTo use enter the followingpp.pl_draw()DISCLAIMER: The time for results are dependent on the internet speed.
--------THE END---------
Package: pylyric-alpha
#Pylyric
version 0.0.1This is a module to scrape lyrics and perform sentiment analysis based on the user inputs.------INSTRUCTIONS---------1. INSTALLATION -----Use command :pip install pylyric---2. USAGE ------------The package should be imported first by typing as followimport pylyric.plot as ppTo use enter the followingpp.pl_draw()DISCLAIMER: The time for results are dependent on the internet speed.
--------THE END---------
Package: pylyskom
pylyskom is a Python library for communicating with LysKOM servers
over LysKOM Protocol A.The source code can be found at:https://github.com/osks/pylyskomPackages are published on PyPI:https://pypi.org/project/pylyskom/LysKOM Protocol A specification can be found here:https://www.lysator.liu.se/lyskom/protocol/Backgroundpylyskom was originally based on python-lyskom. The following files
originates from python-lyskom: kom.py, komauxitems.py, aux-items.txt
and make_komauxitems. Most of the changes since then comes from
httpkom’s use of kom.py. Httpkom also built some wrappers (komsession)
around the kom.py code, to make it easier to use. Pylyskom was created
as an attempt to break out komsession and the modifications to kom.py
from httpkom.Code statusDevelopmentPreparing a releaseTODO: How do we update the documentation on github pages?On master:Update and check CHANGELOG.md.Increment version number and remove+devsuffix
(inpylyskom/version.py).Run tests locally withmake test. Test manually by using jskom.Commit, push.Check CI build/test results.Tag (annotated) withv<version>(example:v0.1) and push the tag:git tag -a v0.1 -m "Version 0.1"
git push origin v0.1Build PyPI dist:make distPush to Test PyPI:twine upload--repositorytestpypi dist/*and checkhttps://test.pypi.org/project/pylyskom/.Push to PyPI:twine upload dist/*and checkhttps://pypi.org/project/pylyskom/.Add+devsuffix to version number, commit and push.ToolsInstall and update release tools with:pip install --upgrade setuptools wheel pip twineTwine is used for pushing the built dist to PyPI. The examples in the
release process depends on a.pypircfile with config for the pypi
and testpypi repositories.Example of.pypirc:[pypi]
username = __token__
password = pypi-...

[testpypi]
repository = https://test.pypi.org/legacy/
username = __token__
password = pypi-...Copyright and licenseCopyright (C) 2012-2022 Oskar SkoogCopyright (C) 2008 Henrik RindlöwCopyright (C) 1999-2003 Kent Engström, Peter Liljenberg, Peter Åstrand,
Erik Forsberg, Ragnar Ouchterlony.This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA  02110-1301, USA.
Package: pylytics
IntroductionThis is a set of Python libraries that allow you to build and manage astar schemain MySQL.The star schema is a simple approach to data warehousing, which is suited to mid-size data problems.MySQLPylytics has been tested with MySQL versions 5.5.37 and 5.6.5. The recommended version is 5.6.5.InstallationUsing a recent version of pip (tested with version 8.1.2):pip install pylyticsDocumentationThe full documentation is available atreadthedocs.org
Package: pylywsdxx
pylywsdxxThis is a Python3 library to allow interrogation of Xiaomi Mijia LYWSD* sensors via Bluetooth Low Energy (BLE).Note: This is an unofficial project, and is in no way supported or endorsed by Xiaomi.RequirementsThis module requiresbluepy3which should be installed automagically when using the installation instructions below.Installationpip install pylywsdxxUsageimport pylywsdxx as pyly

mac = "A4:C1:38:0D:EA:D0"

device2 = pyly.Lywsd02(mac)
data2 = device2.data
print(f"Temperature: {data2.temperature}°C")

device3 = pyly.Lywsd03(mac)
data3 = device3.data
print(f"Temperature: {data3.temperature}°C")Please note that this module has completely and intentionally broken backwards compatibility with previous
and existing versions oflywsd02andlywsd03mmcand with v1.* versions of itself.AcknowledgementsBased on previous work stolen from Mikhail Baranov (h4) :lywsd02and Duncan Barclay (uduncanu) :lywsd03mmcLicenseSeeLICENSE.
Package: pylyzer
pylyzer ⚡pylyzeris a static code analyzer / language server for Python, written in Rust.Installationpippipinstallpylyzercargo (rust package manager)cargoinstallpylyzer--lockedbuild from sourcegitclonehttps://github.com/mtshiba/pylyzer.git
cargoinstall--path.Make sure thatcargo/rustcis up-to-date, as pylyzer may be written with the latest language features.GitHub ReleasesWhat is the advantage over pylint, pyright, pytype, etc.?Performance 🌟On average, pylyzer can inspect Python scripts more than100 times fasterthan pytype and pyright1. This is largely due to the fact that pylyzer is implemented in Rust.Detailed analysis 🩺pylyzer can do more than the type checking. For example, it can detect out-of-bounds accesses to lists and accesses to nonexistent keys in dicts.Reports readability 📖While pytype/pyright's error reports are illegible, pylyzer shows where the error occurred and provides clear error messages.pylyzer 😃pyright 🙃Rich LSP support 📝pylyzer as a language server supports various features, such as completion and renaming (The language server is an adaptation of the Erg Language Server (ELS). For more information on the implemented features, please seehere).VSCode extensionYou can install the VSCode extension from theMarketplaceor from the command line:code--install-extensionpylyzer.pylyzerWhat is the difference fromRuff?Ruff, like pylyzer, is a static code analysis tool for Python written in Rust, but Ruff is a linter and pylyzer is a type checker & language server.
pylyzer does not perform linting, and Ruff does not perform type checking.How it workspylyzer uses the type checker ofthe Erg programming languageinternally.
This language is a transpiled language that targets Python, and has a static type system.pylyzer converts Python ASTs to Erg ASTs and passes them to Erg's type checker. It then displays the results with appropriate modifications.Limitationspylyzer's type inspector only assumes (potentially) statically typed code, so you cannot check any code uses reflections, such asexec,setattr, etc.pylyzer (= Erg's type system) has its own type declarations for the Python standard APIs. Typing of all APIs is not complete and may result in an error that such an API does not exist.Since pylyzer's type checking is conservative, you may encounter many (possibly false positive) errors. We are working on fixing this, but if you are concerned about editor errors, please turn off the diagnostics feature.TODOstype checkingvariableoperatorfunction/methodclasstype inferencevariableoperatorfunction/methodclassbuiltin modules resolving (partially)local scripts resolvinglocal packages resolvingcollection typeslistdicttupletypingUnionOptionalLiteralCallableTypedDicttype variable (TypeVar,Generic)ProtocolFinalAnnotatedTypeAliastype guard (TypeGuard)otherscollections.abcIterableIteratorMappingSequenceotherstype assertion (typing.cast)type narrowing (is,isinstance)1The performance test was conducted on MacBook (Early 2016) with 1.1 GHz Intel Core m3 processor and 8 GB 1867 MHz LPDDR3 memory.↩
Package: py-lz4framed
OverviewThis is anLZ4-frame compression library for Python v3.2+ (and 2.7+), bound to Yann Collet'sLZ4 C implementation.Installing / packaging# To get from PyPIpip3installpy-lz4framed# To only build extension modules inline (e.g. in repository)python3setup.pybuild_ext-i# To build & install globallypython3setup.pyinstallNotesThe above as well as all other python3-using commands should also run with v2.7+This module is also available viaAnaconda (conda-forge)(with binaries for Linux, OSX and Windows)PyPI releases are signed with theIotic Labs Software release signing keyUsageSingle-function operation:importlz4framedcompressed=lz4framed.compress(b'binary data')uncompressed=lz4framed.decompress(compressed)To iteratively compress (to a file or e.g. BytesIO instance):withopen('myFile','wb')asf:# Context automatically finalises frame on completion, unless an exception occurswithCompressor(f)asc:try:while(...):c.update(moreData)exceptLz4FramedNoDataError:passTo decompress from a file-like object:withopen('myFile','rb')asf:try:forchunkinDecompressor(f):decoded.append(chunk)exceptLz4FramedNoDataError:# Compress frame data incomplete - error case...See alsolz4framed/__main__.pyfor example usage.Documentationimportlz4framedprint(lz4framed.__version__,lz4framed.LZ4_VERSION,lz4framed.LZ4F_VERSION)help(lz4framed)Command-line utilitypython3-mlz4framed
USAGE:lz4framed(compress|decompress)(INFILE|-)[OUTFILE](De)compressesanlz4frame.InputisreadfromINFILEunlesssetto'-',inwhichcasestdinisused.IfOUTFILEisnotspecified,outputgoestostdout.TestsStaticThis library has been checked usingflake8andpylint, using a modified configuration - seepylint.rcandflake8.cfg.Unitpython3-munittestdiscover-v.Why?The only existing lz4-frame interoperable implementation I was aware of at the time of writing (lz4tools) had the following limitations:Incomplete implementation in terms of e.g. reference & memory leaks on failureLack of unit testsNot thread safeDoes not release GIL during low level (de)compression operationsDid not address the requirements for an external project
Package: pylzf
✨ pylzf ✨The python binding forliblzf安装pipinstallpylzf使用importpylzfpylzf.compress(b"123",100)pylzf.decompress(b"xxx",100)data=bytearray(1000)pylzf.compress_into(b"1212",data)pylzf.decompress_into(b"xxxx",data)公开函数defcompress(data:bytes,outlen:int=...)->bytes:...defdecompress(data:bytes,outlen:int)->bytes:...defcompress_into(data:bytes,out:bytearray)->int:...defdecompress_into(data:bytes,out:bytearray)->int:...本机编译python -m pip install setuptools wheel cython cffi
git clone https://github.com/synodriver/pylzf
cd pylzf
git submodule update --init --recursive
python setup.py bdist_wheel --use-cython --use-cffi后端选择默认由py实现决定，在cpython上自动选择cython后端，在pypy上自动选择cffi后端，使用LZF_USE_CFFI环境变量可以强制选择cffi
Package: pylzfse
_      ___ __  _   _| |____/ _|___  ___| '_ \| | | | |_  / |_/ __|/ _ \| |_) | |_| | |/ /|  _\__ \  __/| .__/ \__, |_/___|_| |___/\___||_|    |___/Overview========pylzfse is a Python (https://www.python.org/) module that provides LZFSEcompression and decompression through the reference implementation provided byApple (https://github.com/lzfse/lzfse).Building========$ git clone --recursive https://github.com/dimkr/pylzfse$ python setup.py buildCredits and Legal Information=============================pylzfse is free and unencumbered software released under the terms of the MITlicense; see COPYING for the license text. For a list of its authors andcontributors, see AUTHORS.The ASCII art logo at the top was made using FIGlet (http://www.figlet.org/).