Saravanan666/pypi-org huggingface dataset:
Package: pypi-up
#PYPI-UPA tool to release package on Pypi, by incrementing the version number.
It also git tag the version and push it to the repository.##### Requirements:
- git## Installation and setuppip install pypi-uppypi-up –setup## CLI### Release the current versionpypi-upfollow the prompt### Increment version and release#### Increase the patch numberpypi-up -p> 0.0.1#### Increase the minor numberpypi-up -m> 0.1.0#### Increase the major numberpypi-up -j> 1.0.0#### Manually changed the numberpypi-up -e 1.2.3> 1.2.3#### Dry RunIf you want to test the release process, you can do a dry runpypi-up –dry### Skip promptTo skip the promptpypi-up -x—### setup.cfg and __about__.pysetup.cfgis a config file that host the version number and the pypi-up file to update.__about__.pycontains the package’s info, such as name, author, license and__version__which is the version number of the application.__version__is required in the file.The __about__.py file can be called in your application as normal moduleimport __about__print(__about__.__version__)With these two file,pypi-upwill be able to increase the version and update the
__about__.py effortlessly. You don’t need to touch the versioning file at all.By the default the __about__.py is at the root of the directory.But if you want to place it somewhere else, in yoursetup.cfgchange the following to your path# setup.cfg[pypi-up]
version-file = $path/__about__.py
auto-increment = patchTheauto-incrementacceptspatch,minor,majoror blank.Whenpypi-upit will auto-increment the version instead of doing it manually all the time.—License: MITCopyright 2016 Mardix
Package: pypi-uploader
Upload source distributions of your requirements to your PyPI server.The problemIf you are using a custom PyPI server as a proxy and want to upload some
packages there, it’s not easy.  For each package, you need to download its
source and upload it usingsetup.pyscript:# Uploading requests==2.0.0$gitclonehttps://github.com/kennethreitz/requests$cdrequests$gitcheckoutv2.0.0# Assuming you have 'internal' index-server configured in your '~/.pypirc'.$pythonsetup.pysdistupload-rinternal# Uploading coverage==3.5$cd..$gitclonehttps://github.com/nedbat/coveragepy$cdcoveragepy$gitcheckoutcoverage-3.5$pythonsetup.pysdistupload-rinternalYou could also download the packages directly into the PyPI’s index directory.$sshpypi-mirror.yourdomain.com$pipinstallrequests==2.0.0coverage==3.5-d~/.packagesIf there’s more than one package, you could use a requirements file.$scprequirements.txtpypi-mirror.yourdomain.com:.$sshpypi-mirror.yourdomain.com$pipinstall-rrequirements.txt-d~/.packagesBut it’s still too much.  You should be able to do it with one command.
And what if you don’t have SSH access to the PyPI server host?The solutionOne command for download and upload.Upload packages by name$pypiuploadpackagesmock==1.0.1requests==2.2.1-iinternalUpload packages from requirements file$pypiuploadrequirementsrequirements.txt-iinternalUpload source distribution files$pypiuploadfilespackages/mock-1.0.1.tar.gz\packages/requests-2.2.1-py2.py3-none-any.whl-iinternalMore options$pypiupload--help$pypiupload<command>--helpSupported PyPI serversTested only onpypiserver.InstallationInstall from PyPI:$ pip install pypi-uploaderOr go to the root directory withsetup.pyscript and install it:$ python setup.py installDocumentationDocumentation is available athttps://pypi-uploader.readthedocs.orgSourceSource is available athttps://github.com/ignacysokolowski/pypi-uploaderLicensePyPI Uploader is licensed under the MIT license.ChangelogVersion 1.1.0Adapt to newer versions of pip: usepip downloadinstead ofpip installfor downloading packages, and--no-binary:all:instead
of--no-use-wheelto not use wheel archives.Version 1.0.0Added--no-use-wheeloptionVersion 0.1.0First releaseIssues and contributingPlease report any issues on GitHub athttps://github.com/ignacysokolowski/pypi-uploader/issuesOr contribute by submitting a pull request with your changes following these
rules:FollowPEP 8rulesFollowPEP 257rulesFollow The Zen of PythonTest your commitsWrite meaningful commit messagesKeep the documentation up-to-dateTo run tests and build the docs, you have to install additional packages:$ python setup.py develop
$ pip install -r requirements_dev.txtRunning tests:$ toxBuilding documentation:$ cd docs
$ make html
Package: pypi-utils
pypi-templatea template for build python package to upload pypi repositoryppoetryinstall
poetryrundevpublishchange pyproject.toml file   --    version = "0.1.0"
change pypi_utils/init.py  --    version = "0.1.0"sed-i"s#A#B#g"*.txtversion="0.1.0"sed-i-e"s/__version__ = .*/__version__ = '${version}'/g"pythonmain.py${version}gitadd.
gitcommit-m"release v${version}"gittagv${version}-m"release v${version}"gitpushoriginv${version}$version="0.1.5"((Get-Content-Path./pypi_utils/__init__.py)-replace"__version__ = .*","__version__ = '$version'")|Set-Content-Path./pypi_utils/__init__.pypythonmain.py$versiongitadd.gitcommit-m"release v$version"gittagv$version-m"release v$version"gitpushoriginv$version
Package: pypiview
PYPIViewpackage provides a simple class to visualise the number of downloads of a Pypi package (or several packages). The information of downloads is retrieved via thevanitypackage. The plotting is performed with thePandaspackage.Installationpip install pypiviewUsagefrom pypiview import PYPIView
p = PYPIView("requests")
p.plot(logy=True)ContributionsPlease seehttp://github.com/cokelaer/pypiviewSee theonlinedocumentation for details.
Package: pypivoter
PyPivoterPurposeThe purpose of this package is to count and/or list the cliques, or
fully-connected subgraphs, within a graph using the fast Pivoter
algorithm developed by Shweta Jain and C. Seshadhri.InstallationFrom a repository checkoutmakeinstallorCYTHONIZE=1pipinstall--user.From PyPipipinstall--userpypivoterUseThe two main functions available to the user are countCliques and
enumerateCliques, which can be imported as follows:>> from pypivoter.degeneracy_cliques import countCliques, enumerateCliquesBoth take two arguments. The first is an m x 2 NumPy array of
integer indices of vertex pairs that comprise the edges of a
graph, with no repeated or reversed pairs or self-adjacency.
The second is an integer, the maximum clique size to output.
If the second argument is 0, all sizes will be output.Example output from countCliques is:>> import numpy as np
>> from pypivoter.degeneracy_cliques import countCliques
>> tetrahedron = np.array([[0, 1], [0, 2], [0, 3], [1, 2], [1, 3], [2, 3]])
>> countCliques(tetrahedron, 0)
[1 4 6 4 1]Example output from enumerateCliques is:>> import numpy as np
>> from pypivoter.degeneracy_cliques import enumerateCliques
>> tetrahedron = np.array([[0, 1], [0, 2], [0, 3], [1, 2], [1, 3], [2, 3]])
>> enumerateCliques(tetrahedron, 0)
[array([], shape=(0, 0), dtype=int32), array([[0],
       [1],
       [2],
       [3]], dtype=int32), array([[1, 0],
       [2, 0],
       [2, 1],
       [3, 1],
       [3, 0],
       [3, 2]], dtype=int32), array([[2, 0, 1],
       [3, 1, 0],
       [3, 1, 2],
       [3, 0, 2]], dtype=int32), array([[3, 1, 0, 2]], dtype=int32)]
Package: pypiwrap
pypiwrapA simple API wrapper for the Python Package Index (PyPI).pypiwrapprovides simple interfaces for getting project and release data from PyPI repositories.DocumentationPyPIInstallationPython 3.7 or higher is required.Installpypiwrapthroughpip:On Linux/macOS,python3 -m pip install pypiwrapOn Windows,py -3 -m pip install pypiwrapExampleimportpypiwrapwrap=pypiwrap.PyPIClient()project=wrap.get_project("requests")print(project.name)# requestsprint(project.author)# Kenneth Reitzprint(project.summary)# Python HTTP for Humans.
Package: pypix
Python PixThis library automates the creation of Pix keysInstallingYou can install usingpip:$ pip install pypixSupported Python VersionsPython >= 3.6Deprecated Python VersionsPython == 2.7. Python 2.7 support will be removed on January 1, 2020.Current Maintainers@dyohan9(Daniel Yohan)Authors@dyohan9(Daniel Yohan)ContributingContributions to this library are always welcome and highly encouraged.SeeCONTRIBUTING.mdfor more information on how to get started.LicenseGPL-3.0 License - Seethe
LICENSEfor more information.
Package: pypix2svg
This is a Python port ofPixels to SVG, which is itself inspired bypx2svg. I did the Python port since Python-based scripting fits better with my workflow than JS-based scripting.Essentially, each pixel of the original image is put into an SVG rectangle so a lowres image can be scaled without blurriness! Here's quote fromPixels to SVG:
The image data is extracted from a canvas, and separated by color. The coordinates for each color are combined into single runs where possible to keep the path data syntax short, then merged into one path with a stroke of the color.Just likePixels to SVG, this works best with 8-bit images, or graphics where colors are limited and the
dimensions are relatively small.If you like my projects, please consider supporting me!
Package: pypixel
pypixelThis is a Python image process libraryFeatureopen and save an Imageshow an Imagereshape an Imageconvert RGB to Grayconvert RGB to BinaryUsageImport packagefrompypixelimportImageOpen an Imageimg=Image.open("filepath")Save an Imageimg=Image.open("filepath")...# Do something to img...img.save("filepath")Show an Imageimg=Image.open("filepath")img.show()Reshape an Imageimg=Image.open("filepath")img.reshape([height,width])Convert to grayimg=Image.open("url")img=img.gray()# default : Float Algorithmimg=img.gray("F")# Float Algorithm : r*0.3+g*0.59+b*0.11img=img.gray("G")# Green OnlyConvert to binaryimg=Image.open("url")img=img.binary()
Package: pypixelai
pypixelPypixel is an NLP-powered code generation tool for image processing.
With Pypixel, you can generate Python code snippets for a wide range
of image processing tasks, such as applying filters, performing transformations,
extracting features, and more. Harness the power of natural language prompts
to automate image processing workflows effortlessly.
Additionally, Pypixel enables you to generate new images from scratch and edit
existing ones, allowing for creative experimentation and customization.Table of ContentsFeaturesInstallationExamplesContributingLicenseFeaturesNatural language code generation: Generate Python code snippets for image processing tasks using natural language prompts.Image generation: Generate new images from scratch using natural language prompts.Image editing: Edit existing images using natural language prompts.Image processing: Perform a wide range of image processing tasks, such as applying filters, performing transformations, extracting features, and more.Flexible APIs: Use Pypixel's APIs to integrate image processing into your own applications.Installationpip install pypixelaivim .env# add your API key to the .env file . \OPENAI_KEY="" 
COHERE_KEY=""
STARCODER_KEY="ExamplesGenerate code snippets for image processing tasksfrompypixelaiimportPyPixel# Import PyPixelfrompypixelai.modelsimportOpenAI# choose a modelmodel=OpenAI()px=PyPixel(model#  debug=True       # print debug messages, default: False# retries=3        # number of times to retry code default=1)code=px("Increase the brightness of the image by 50%",#  write_to_file="test_output.py",    # write code to file#  run_code=True,                     # run code)print(code)Output:importcv2importnumpyasnpimg=cv2.imread('image.jpg')img=np.int16(img)img=img+(50/100)*imgimg=np.clip(img,0,255)img=np.uint8(img)cv2.imwrite('image_brightened.jpg',img)Generate new images from scratchmodel=OpenAI()# choose a modelpx=PyPixel(model,retries=3)# initialize PyPixel with the modelurls=px.generate_images("Blank white image",num_images=2,download=True)print(urls)Edit existing imagesimage=open("image.jpg","rb")mask=open("mask.png","rb")prompt="A sunlit indoor lounge area with a pool containing a flamingo"urls=px.edit_images(image,mask,prompt,n=None,size=None,download=False)print(urls)ContributingIf you have any suggestions or would like to contribute in any way, please raise anissue.LicenseThis project is licensed under theMIT License.
Package: pypixel-api
PyPixelAn asynchronous Python wrapper for the Hypixel API.InstallationPython 3.6 or higher is requiredYou can install the package with the following command.# Linux/macOSpython3-mpipinstall-Upypixel-api# Windowspy-3-mpipinstall-Upypixel-apiOr, you can install the development version from the GitHub:# Linux/macOSpython3-mpipinstall-Ugit+https://github.com/plun1331/PyPixel# Windowspy-3-mpipinstall-Ugit+https://github.com/plun1331/PyPixelExamplesYou can find some examplesin our documentationChangelog0.2.0Removed API Key validation.Added support for the/skyblock/auctionsendpoint.AddedstripFormatting(text)toHypixelUtilsto strip Minecraft text formatting from strings.The wrapper now sends anApi-Keyheader to authenticate with the API instead of thekeypath param.The wrapper will also send aUser-Agentheader to the APIs that it uses.The cache no longer uses Threading.0.1.9Added support for the/resources/achievementsendpoint.Added a kwarg to bypass API key validation.Added this changelog to the documentation.A few other changes that can be found in the docs.0.1.8aThe module will now returnNoneinstead of having the value simply be missing.0.1.7Added documentation:pypixel.readthedocs.io0.1.6Add some methods0.1.5Released to PyPI0.1.4aAdded a changelogIntroduced SkyBlock ProfilesAdded 3 new fuctions to.Hypixel(.get_name(uuid),.get_uuid(name), and.get_profiles(uuid))DeletedOther.pyin favor of a submodule,utilsMoved thesend_request()method to.Hypixeland renamed it_send()Added a new requirement,NBT(Used for parsing NBT data).Added some exception classes.Started subclassingobjectfor no paticular reason.
Package: pypixelart
PyPixelArt - A keyboard-centric pixel editorThe idea behind PyPixelArt is uniting:acmdpxlinspired pixel image editor applied to pixel art.vim's keyboard-centric approach to improve productivity. Pretty hard to do with an image editor, but it'll be fun to try xDSome very useful functionalities fromasepriteand other pixel art editors, such as screen symmetry.Features and keybindingsDraw: iErase: xUndo: uSave: wZoom: n, bMove Cursor: k, j, l, hGrid: gSymmetry: sColor selection: cColor: 1, 2, 3, 4, 5, 6Help: SpaceInstallationInstall the package with:pipinstallpypixelartUsageRun withpypixelart.You can also specify the file path and resolution: for example, to create a new image that is 20px wide and 10px tall you can usepypixelart -f new_image.png -res 20,10To get the full list of options:$ pypixelart --help
PyPixelArt - A keyboard-centric pixel editor
Usage: pypixelart [OPTIONS]

Options:
  -f, --filepath PATH      Path for the file you want to open
  -res, --resolution TEXT  Image height and width separated by a comma, e.g.
                           20,10 for a 20x10 image. Note that no spaces can be
                           used.
  --debug                  Print debug-level logging to standard output
  --help                   Show this message and exit.Contribute!Any contributions and forks and welcomed and encouraged!Here's how you can contribute:Fork the repositoryMess around with the code and useblackto format itSubmit aPull Request.
Package: py-pixel-art-snake-package
py_pixel_art_snakeDescription.
A simple package to play the snake game in pixel art
-
-InstallationUse the package managerpipto install package_namepipinstallpy_pixel_art_snakeUsagefrompy_pixel_art_snake_package.py_pixel_art_snakeimportmainmain.main()AuthorsCalima94 and MarcosvinisilvLicenseMIT
Package: pypixie16
PyPixie16This module can be used to control, read, and analyze data from
Pixie16 modules from XIA [https://www.xia.com/DGF_Pixie-16.html] using python. To achieve this we provide
cytpes interface to the C-libraries provided by XIA. These libraries
need to be downloaded and installed from XIA-website for these python
modules to run.We use a config.ini file to let the python file know where those
libraries can be found. If this file doesn't exist, the program will
prompt you with instructions on how to create one.Licence and CopyrightSee Licence.txt and Copyright.txt for more information.Contentread.py: functions to read output file from the pixie using example program.
Especially .bin files and .set filesanalyze.py: calculate fast trigger and CFD from tracescontrol.py: control the pixie using python. This needs to be imported
separately, e.g. "import pixie16.control" and it needs a
32bit python, since all libraries are 32 bit.variables.py: list of the variables in a settings file, including file position and number of values
This can be recreated if needed from the included script create_variable_list.py.DocumentationDocumentation is hosted on Read The Docs:https://readthedocs.org/projects/pypixie16/Known issuesWe use revision F of the 500 MHz Pixie16 and the code has only been
tested for this module. It probably can be easily adapted for other
modules or even might work, but there is no garantee.We also always use certain settings for some parameters and these
might also influence some of the analysis code (e.g. FastFilterRange).TestsWe should have a lot more of them ;)Use 'python -m pytest' to run tests.ContributionPull requests are welcome.We use black to format the code. Once you cloned the repo, please runpip install pre-commitandpre-commit installOther libraries to control the pixie16 (non-python)Experimental Low Energy Nuclear Science Group at University of Tennesseehttps://github.com/pixie16Fork of pixie16https://github.com/spaulaus/paass-lcPeking Universityhttps://github.com/pkuNucExp/PKUXIADAQ
Package: pypixiv
pypixivPixiv ajax python wrapperFeatureAsynchronous.Fully type annotated.The response is returned as an object.Simple Exampleimportasynciofrompypixiv.clientimportPixivClientasyncdefmain():asyncwithPixivClient()asclient:illust=awaitclient.illustinfo(79136250)user_id=int(illust.userId)print(user_id)user=awaitclient.userinfo(user_id)print(user.name)asyncio.run(main())
Package: pypi-xmlrpc
Installation$[sudo]pipinstallpypi-xmlrpcExamplesuser_packages(user)[(role,name),...]>>>packages=pypi_xmlrpc.user_packages("kennethreitz")# user packages>>>forrole,nameinpackages:package_releases(name)>>>pypi_xmlrpc.package_releases("requests")['x.y.z',...,'0.0.1']package_roles(name)[(role,name),...]>>>pypi_xmlrpc.package_roles("requests")[('role','username'),...]release_data(name,version)>>>pypi_xmlrpc.release_data("requests","x.y.z"){'name':'requests',...}release_urls(name,version)>>>pypi_xmlrpc.release_urls("requests","x.y.z")[...]LinksPyPiXmlRpc - PythonInfo Wikireadme42.com
Package: pypix-static
This is a python package for generatic static PIX code used in money transfers in Brazil. It follows the version 2.3.0 of theManual de Padrões para Iniciação do PIX.This can be used for automation ofQR Code generationto improve your software user experience.InstallationJust run:pipinstallpypixUsage>>>frompypiximportcreate_pix_string_code>>>fromdecimalimportDecimal>>>receiver_params={...'key':'12345678900',# This is an example CPF of an hypothetical receiver...'name':'Hypothetical Receiv Name',# Must be less than 25 characters long....'city':'CITY RECEIVER',# all uppercase ASCII format. 15 characters max...'value':Decimal('12.34'),# Do not set this, if you don't want specify a value and leave up to payer to fill this in their PSP application (e.g. mobile or web banking app)...}>>>code=create_pix_string_code(**receiver_params)>>>print(code)00020126330014BR.GOV.BCB.PIX011112345678900520400005303986540512.345802BR5924HypotheticalReceivName6013CITYRECEIVER62070503***6304EA64# If you want to generate a QR code>>>fromqrcodeimportmake# You need to install it before running this>>>image=make(code)>>>image.save('qrcode_pix.png')Demo
Package: pypjlink
pypjlink is a python library and command line utility to interoperate with
projectors through pjlink protocol (http://pjlink.jbmia.or.jp/english/)It is a fork of the work of Peter Ward (https://bitbucket.org/flowblok/pjlink).InstallationLatest release can be found on pypi and installed with:
$ pip installCommand line usageQuerying projector status is simple:
$ pjlink -p 10.1.1.1 powerand so it is sending commands:
$ pjlink -p 10.1.1.1 power offA password will be requested if configured on the projector.Please see help or manpage for complete usage options.Python library usageThe library supports the following python versions:
* python2.7
* python3.4
* python3.5>>> from pypjlink import Projector
>>> projector = Projector.from_address('10.1.1.1')
>>> projector.get_power()
'off'
>>> projector.set_power('off')To run tests, you can use tox to run against every supported python versions
$ toxOr you can launch tests in current environment:$ python -m unittest discover pypjlink.tests
Package: pypk
pypkAn opinionated Python packaging template generator.Overviewpypk autogenerates a complete python package skeleton that is installable out of the box. It assumes the following tools
are used in your development workflow:pippip-toolsbanditblackflake8/flake8-bugbearisortpre-commitpytestsafetyHowever, once the template is generated, pypk gets out of your way, so you are free to add and/or remove tools,
frameworks, and libraries as needed.Installationpip install pypkGetting StartedIt's recommended you install and use pypk in the same virtual environment you plan to develop your Python package in.Project CreationTo create a new skeleton project, run thecreatecommand:pypkcreate</path/to/project/root>-a<author-name>-e<author-email>Additionally, you can pass the following arguments:-c/--config: a json config file (see theConfigurationsection).-d/--description: set the package description in the generatedsetup.py-p/--py-version: set the minimum Python version supported by the project.--init-git/--skip-git-init: initialize git in the generated project (or skip it).--create-tests-dir/--skip-tests-dir: create a top level tests directory in the generated project (or skip it).Runpypk create --helpfor more details.Configurationpypk supports a configuration which holds (default) parameters for project creation. Specifically, the following
parameters can be set in a json config file:author(key=author)email(key=email)description(key=description)py-version(key=py_version)init-git(key=init_git)create-tests-dir(key=tests_dir)Additionally, default values can be set via the cli so they do not need to be specified whenver thecreatecommand is
run. pypk will create a json file under theuser config diras defined byappdirs.
To set a value, run the following:pypkconfig<key><value>To print out the currently set value, run:pypkconfig<key>LicenseMIT
Package: pypka
PypKaA python module for flexible Poisson-Boltzmann based pKa calculations with proton tautomerism
DOI:10.1021/acs.jcim.0c00718@article{reis2020jcim,author={Reis, Pedro B. P. S. and Vila-Viçosa, Diogo and Rocchia, Walter and Machuqueiro, Miguel},title={PypKa: A Flexible Python Module for Poisson–Boltzmann-Based pKa Calculations},journal={Journal of Chemical Information and Modeling},volume={60},number={10},pages={4442-4448},year={2020},doi={10.1021/acs.jcim.0c00718}}DocumentationDocumentation can be foundhereStarting templates for the the API and CLI usage can be foundherewhile a online notebook is hosted atGoogle ColabContributingContributions are encouraged, and they are greatly appreciated!You can contribute in many ways:Report BugsFix BugsImplement FeaturesWrite DocumentationSubmit FeedbackFor more info checkCONTRIBUTINGLicensepypka is distributed under aLGPL-3.0, however delphi4py depends on
DelPhi which is proprietary. To use DelPhi the user is required to
download the DelPhi licensehereContactsPlease submit a github issue to report bugs and to request new features.
Alternatively you may find the developerhere. Please visit ouwebsitefor more information.
Package: pypkagemodule
# package hello world[How to Build Your Very First Python Package](https://www.freecodecamp.org/news/build-your-first-python-package/)介绍了如何制作python lib库编译出来的包，的确包含了目录 pypkagemodule 子目录和setup文件## 优化[An Introduction to Distutils](https://docs.python.org/3/distutils/introduction.html#distutils-simple-example)[Writing the Setup Script](https://docs.python.org/3/distutils/setupscript.html)优化了导出设置，可以导出子目录，以及根目录下的文件