Saravanan666/pypi-org huggingface dataset:
Package: package-operations
package_operationsGetting StartedDependenciesYou need Python 3.7 or later to usepackage_operations. You can find it atpython.org.
You also need setuptools, wheel and twine packages, which is available fromPyPI. If you have pip, just run:pip install setuptools
pip install wheel
pip install twineInstallationClone this repository to your machine using this command:git clone https://github.com/edithcarollaine/package_operations.gitFeaturesFile structure for package_operationsSetup with package informationLicense
Package: package-parser
Python utility for parsing packages names and versions from wheel filename, sdist filenames, or setup.py filesExampleManually import py files or .pyd filesfrompackage_parserimportparse,normalize_nameattrs=parse('class-property-1.0.0-py3-none-any.whl')assertnormalize_name(attrs['name'])=='class_property'assertattrs['version']=='1.0.0'
Package: package-passgen
package_passgenProject description:A package to generate strong random passwords. User can define the length,
number of passwords and the character sets (punctuation, lowercase, uppercase
and numbers) that needs to be included in the password.Usage:No of passwords that would be generated by default is 1Minimum length of password is 8Possible options for charsets include 'punctuation', 'lowercase',
'numbers' and 'uppercase'. You can choose to include one or more charsets
in the generated passwordimportpackage_passgenaspassgeninclude_charsets=['punctuation','lowercase','numbers','uppercase']password_list=passgen.generate_password(password_length=10,include_charsets=include_charsets,no_of_passwords=5)forpinpassword_list:print(p)
Package: packagepoa
package-poaGenerate, transform and assemble files for a PoA article.This library is used to transform a zip file input to produce output consisting of a reformatted zip file and to help produce a PDF file with its coverage page removed.The transform procedure in summary follows these steps:get an article DOI from themanifest.xmlfile inside the input zip fileget the zip's list of files and their titles, also by reading themanifest.xmlrename files and add them into a new zip file, not including the PDF or themanifest.xmlcoordinate removing the cover page from the PDF file by relying on an external executable to modify the PDFThe PDF cover page is removed with the code inhttps://github.com/elifesciences/strip-coverletterThe output files generated by this library can then be accompanied with a Publish on Accept (PoA) research article JATS XML file, and all together can be bundled up and sent to journal publishing ingestion workflow.Requirements and installa) Install frompypipackage indexpip install packagepoab) Install locallyClone the git repogit clone https://github.com/elifesciences/package-poa.gitCreate a python virtual environment and activate itpython3 -m venv venv
source venv/bin/activateInstall it locallypip install -r requirements.txt
python setup.py installIn order to run the transform function as written, it will requirestrip-coverletterto be installed and ready to run locally, which will also requireDockerto be installed and running.ConfigurationThepackagepoa.cfgconfiguration file provided in this repository can be changed in order specify different output file naming, depending on the journal, and to configure the temporary folder path and the location of the PDF strip coverletter executable.Example usageThis library is meant to be integrated into another operational system, where the input zip file can be downloaded from an S3 bucket and then processed. The following example illustrates how it might be invoked using interactive Python:>>>frompackagepoaimporttransform>>>frompackagepoa.confimportraw_config,parse_raw_config>>>config=parse_raw_config(raw_config('elife'))>>>transform.process_zipfile("tests/test_data/18022_1_supp_mat_highwire_zip_268991_x75s4v.zip",config)Run code testsUsepytestfor testing, install it if missing:pip install pytestRun testspytestRun tests with coveragecoverage run -m pytestthen report on code coverageconverage report -mLicenseLicensed underMIT.
Package: package-processing
package_processingDescription.
The package package_name is used to:
Processing:
-Histrogram matching
-Structural similarity
-Resize image
Utils:
-Read image
-Save image
-Plot image
-Plot result
-Plot histogramInstallationUse the package managerpipto install package_namepipinstallpackage_nameUsagefrompackage_name.module1_nameimportfile1_namefile1_name.my_function()AuthorWilliamLicenseMIT
Package: package-processing-image
package-processing-ImageDescription.Bootcamp Cognizant Cloud Data Engineer - DIODescrição O pacote "package-processing-image" é usado para:Módulo "Processamento":Correspondência de histograma; Similaridade estrutural; Redimensionar imagem;Módulo "Utils":Ler imagem; Salvar imagem; Plotar imagem; Resultado do gráfico; Plotar histograma;InstallationUse the package managerpipto install package-processing-Imagepipinstallpackage-processing-imageUsagefromprocessing_image.utilsimportio,plotfromprocessing_image.processingimportcombination,transformationAuthorMarlon MartinsLicenseMIT
Package: package-Proc-Image
Projeto: Pacote de Processamento de Imagensap)Autora do Projeto: Karina KatoAula: Coding Lab PRO - Digital Innovation OneTecnologia: PythonDescriÃ§Ã£oO pacote "image_processing-test" Ã© usado para:MÃ³dulo "Processing":CorrespondÃªncia de histograma;Similaridade estrutural;Redimensionar imagem;MÃ³dulo "Utils":Ler imagem;Salvar imagem;Plotar imagem;Resultado do grÃ¡fico;Plotar histograma;Passo a passo da configuraÃ§Ã£o para hospedar um pacote em Python no ambiente de testes Test PypiInstalaÃ§Ã£o das Ãºltimas versÃµes de "setuptools" e "wheel"py -m pip install --user --upgrade setuptools wheelTenha certeza que o diretÃ³rio no terminal seja o mesmo do arquivo "setup.py"ApÃ³s completar a instalaÃ§Ã£o, verifique se as pastas abaixo foram adicionadas ao projeto:build;dist;image_processing_test.egg-info.Basta subir os arquivos, usando o Twine, para o Test Pypi:C:\Users\rodri\OneDrive\Arquivos Alessandra\dio\image-processing-package
py -m twine upload --repository testpypi dist/*- [x] ApÃ³s rodar o comando acima no terminal, serÃ¡ pedido para inserir o usuÃ¡rio e senha. Feito isso, o projeto estarÃ¡ hospedado no Test Pypi.hospedÃ¡-lo no Pypi diretamente.

### Aqui o objetivo nÃ£o Ã© utilizar o projeto da Karina para postar em meu perfil do Pypi pessoal, visto que o projeto Ã© dela. Ainda nÃ£o tenho nenhum projeto que possa ser utilizado como pacote.

### No entanto, tenha em mente que o Test Pypi, como o prÃ³prio nome diz, Ã© apenas um ambiente de testes. Para que o projeto esteja disponÃ­vel como um pacote para ser usado publicamente, Ã© necessÃ¡rio hospedÃ¡-lo no site oficial do Pypi.
----------------------------------------------------
## InstalaÃ§Ã£o local, apÃ³s hospedagem no Test Pypi

- [x] InstalaÃ§Ã£o de dependÃªnciaspip install -r requirements.txt- [x] InstalÃ§Ã£o do Pacote

Use o gerenciador de pacotes ```pip install -i https://test.pypi.org/simple/ image-processing-test ```para instalar image_processing-test

```bash
pip install image-processing-testComo usar em qualquer projetofromimage-processing-test.processingimportcombinationcombination.find_difference(image1,image2)Autor (quem hospedou o projeto no Test Pypi)Alessandra GalvÃ£o da SilvaLicenÃ§aMIT
Package: package-root
Package √Rootimport package_root # into your PYTHONPATHStop appending your package root path to your Python path by hand like this:fromos.pathimportabspath,dirname,joinsys.path.insert(1,abspath(join(dirname(__file__),'..')))It's annoying and error prone. Let us do it for you. <3importpackage_rootHow does this witchcraft work you ask?We detect the file that calledimport package_root. We search until we find a parent directory without an__init__.pyfile. That's yourpackage_root. We make itsys.path[1]because friends don't let friends mess withsys.path[0].Still confused? Let's say you have the following setup:your_awesome_pacakge/
    foo/
        __init__.py
        your_dope_module.py
        bar/
            __init__.py
            baz.ipynb
            baz.py
    .no_init_at_this_levelIf you're inbaz.ipynborbaz.py, we'll appendyour_awesome_packageto your path so you can import whatever you want fromyour_awesome_package.# baz.ipynb or baz.pyimportpackage_rootimportfoo.your_dope_module# works!Don't believe us? We have tests to prove it.Important NotesYou shouldn't have an__init__.pyin your package root.This is intended for Jupyter notebooks whererelative imports don't work.Installationpip install package_rootUsageimportpackage_root# And nothing elseContributingFeel free to report bugs, but we won't accept feature requests since this package is intended todo one thing and do it well.
Package: packagesetup
Python Package SetupThis is a basic package that creates distributionsetup.pyfiles based on necessary parameters. This read-me file is bare-bones right now and will be updated with more information and usage examples shortly.See a brief demonstration:Install withpip install packagesetup.Import:importpackagesetupaspsFunctions:ps.create_setup_file()--> creates asetup.pybased on parameters.ps.create_blank_setup_file()--> creates asetup.pywith no parameters but with placeholder values.
Package: package-sieve
Package-SieveNo BS, but modules :sparkles:. Collector of absolute 3rd party packages from existing projects with relevant versions.BackgroundThis project aims to generaterequirements.txtfile for existing repositories where you have an old file which is filled with dependencies of dependencies :cyclone: :dizzy_face:.FunctionWall-E usesastmodule of python to parse nodes of any python script. Once the modules are retrieved,pkg_resourceshelps to find the right project name :detective: and version of the application installed.Installpip3 install package-sieveUsagepackage-sieve --project_folder /absolute/path/to/folder --ignore venv,__pycache__,__init__.py--project_folder- this is a mandatory parameter which mentions the root of the directory,  defaults to the current working directory.--ignore- Mention the folders you want to ignore to create the requirements, optional parameter. By default this holds all the folder patterns added in your.gitignorefile, if exists.NOTE:If you get this errorModuleNotFoundError: No module named 'pkg_resources'Just runpip3 install setuptools
Package: package-skimage
package_skimageDescription.
The package image_processing is used to:
Processing:
- Histogram matching
- Structural similary
- Resize image
Utils:
- Read image
- Save image
- Plot image
- Plot result
- Plot histogramInstallationUse the package managerpipto install package_namepipinstallpackage_skimageAuthorLeodyLicenseMIT
Package: package-smoke-test
This library implements a set of simple verification tests for an installed
Python distribution, or an installed Python module.ExamplesVerify installation of a Python distributionTo verify correct installation of a Python distribution namedlorem:$ python3 -m package_smoke_test --distribution lorem
Interpreter: /usr/bin/python3
        3.11.4 (main, Jun  7 2023, 10:13:09) [GCC 12.2.0]
Distribution ‘lorem’:
        Lorem Ipsum 2.7.3Verify installation of Python packages or modulesTo verify correct installation of a set of Python packages or modules, nameddolor,sit, andamet:$ python3 -m package_smoke_test --module dolor sit amet
Interpreter: /usr/bin/python3
        3.11.4 (main, Jun  7 2023, 10:13:09) [GCC 12.2.0]
Package ‘dolor’:
        <module 'dolor' from '/usr/lib/python3/dist-packages/lorem/dolor/__init__.py'>
Package ‘sit’:
        <module 'sit' from '/usr/lib/python3/dist-packages/lorem/sit/__init__.py'>
Package ‘amet’:
        <module 'amet' from '/usr/lib/python3/dist-packages/lorem/amet/__init__.py'>Example script for post-installation testThe filedoc/examples/smoke-test-python3is a Bash script that you can
customise for your package, to run the above tests.CopyingThis work, ‘python-package-smoke-test’, is free software: you may copy, modify,
and/or distribute this work under the conditions of the GNU General Public
License as published by the Free Software Foundation; version 3 of that license
or any later version. See the file ‘LICENSE.GPL-3’ for details.
No warranty expressed or implied.
Package: package-sum-numbers
Example ProjectThis is an example project that is used to demonstrate how to publish
Python packages on PyPI. To take a look at the step by step guide on how to
do so, make sure you readmy article on Towards Data Science <https://towardsdatascience.com/how-to-upload-your-python-package-to-pypi-de1b363a1b3>_.Installing.. code-block:: bashpip install example-publish-pypi-mediumUsage.. code-block:: bash>>> from src.example import custom_sklearn
>>> custom_sklearn.get_sklearn_version()
'0.24.2'
Package: package-Swing
SwingPythonThis repository is about some Python practices with common problems to help you understand the basic usage of Python syntax.
Read the requirement specifications and think independently, every practice shows different useful knowledge about Python learning.quick start:The practices are from easy to hard, generally, you can simple follow thePython tutorialsto accomplish the following questions.A simple program to convert temperature between Fahrenheit and Celsius.learn about basic input, condition control and loop.Calculate the basic Statistics of the inputing list of numbers.learn about the data structure of Listerror handling (exception)basic mathematicsContact list which supports CRUD operations.learn about how to use ClassList or Dictionary to store datathe usage of functionskeep updating...check the file /spec. for detailed specifications.
check the file /src. for sample codes.
Notice that the code isn't always perfect, you can write your own code using what you've learned. What really matters is keeping learning and practice.let's learn Python together! Fighting!~ :P
Package: package-test-calculator
Package-test-calculatorDescription.
This package was created as a test to better understand package creation and publication.InstallationUse the package managerpipto install package-test-calculatorpipinstallpackage-test-calculatorUsagefromcalculatorimportcalccalculator.add()calculator.sub()calculator.mult()calculator.div()AuthorVitorFran1337LicenseMIT
Package: packagetools
.. raw:: html<!-- <p align="center"><img width="344" height="225" src="meta/repo-banner-small.png" /></p> -->|image0| |image1||CI Status| |Version| |Python Versions|Reference:https://github.com/python/cpython/blob/08a6926b2584040fe3c3f06263b0b5f1fbbdc24c/Lib/distutils/command/upload.pyInstallation~~~~~~~~~~~~packagetools is available for download through`PyPi <https://pypi.python.org/pypi/packagetools>`_. You can install itright away using pip... code:: bashpip install packagetoolsAuthors-------`Dan Loewenherz <https://github.com/dlo>`_License-------Apache License, Version 2.0. See `LICENSE <https://github.com/lionheart/packagetools/blob/master/LICENSE>`_ for details... |image0| image:: meta/repo-banner.png.. |image1| image:: meta/repo-banner-bottom.png:target: https://github.com/lionheart/packagetools/blob/master/https://lionheartsw.com/.. |CI Status| image:: https://img.shields.io/travis/lionheart/packagetools.svg?style=flat:target: https://github.com/lionheart/packagetools/blob/master/https://travis-ci.org/lionheart/packagetools.. |Version| image:: https://img.shields.io/pypi/v/packagetools.svg?style=flat:target: https://github.com/lionheart/packagetools/blob/master/https://pypi.python.org/pypi/packagetools.. |Python Versions| image:: https://img.shields.io/pypi/pyversions/packagetools.svg?style=flat:target: https://github.com/lionheart/packagetools/blob/master/https://pypi.python.org/pypi/packagetools
Package: packagetrack
Authors:Scott Torborg (storborg)Version:0.1This library tracks packages.NoteUse at your own risk!InstallationSimple as:$ easy_install packagetrackOr if you prefer, download the source and then:$ python setup.py build
$ python setup.py installExample>>> from packagetrack import Package
>>> package = Package('1Z9999999999999999')
# Identify packages (UPS, FedEx, and USPS)
>>> package.shipper
'UPS'
# Track packages (UPS only, requires API access)
>>> info = package.track()
>>> print info.status
IN TRANSIT TO
>>> print info.delivery_date
2010-06-25 00:00:00
>>> print info.last_update
2010-06-19 00:54:00
# Get tracking URLs (UPS, FedEx, and USPS)
>>> print package.url()
http://wwwapps.ups.com/WebTracking/processInputRequest?TypeOfInquiryNumber=T&InquiryNumber1=1Z9999999999999999UPS API ConfigurationTo enable UPS package tracking, get an account and an API license number on the
UPS website, then make a file at ~/.packagetrack that looks like:[UPS]
license_number = XXXXXXXXXXXXXXXX
user_id = XXXX
password = XXXXLicensePackagetrack is released under the GNU General Public License (GPL). See the
LICENSE file for full text of the license.
Package: package-track
package-trackpackage-track is an easy to use package tracker that can automate the process of tracking your deliveries and shipments. The release is currently limited to tracking deliveries from USPS, UPS, FEDEX, and other major logistics providers that ship within the United States.Things to know:When you first run the program, package-track will ask you to grant email access through Gmail.We do not store any of your email information.We have simply built on top of the Gmail API to allow your terminal to have access to your emails. If you don't enable this functionality, the program will not work correctly. The scope and API information is available here:https://developers.google.com/gmail/api/guides.package-track is cobbled together from a bunch of different dependencies. Please ensure that you have them all installed or the program will not work correctly.DependenciesFor Gmail's API Functionality:pickle, os, google-api-python-client, google-auth-httplib2, google-auth-oauthlib, email, and base64For Online Searching / Web Scraping:selenium, bs4For everything else:pandas, csv, re, itertoolsAuthenticationTo allow package-track to automatically find tracking numbers from emails you need to set up the Gmail API and authenticate and authorize your application.Using OAuth Client IDThis is the case where package-track is going to ask the end user (or yourself if you’re running it) to grant access to the user’s data. Here's how to grant access:Enable API Access for a Project if you haven’t done it yet by using this link:https://developers.google.com/gmail/api/quickstart/python.Click "Enable the Gmail API".When prompted to configure your OAuth Client, select "Desktop app" from the dropdown menu.A message will appear telling you that the credentials have been created successfully.Download the credentials by clicking the Download button.Move the downloaded file to~/.package-track/bin/credentials.json.
*Note: The default name for this OAuth client is Quickstart. We recommend changing the name to package-track, but it is by no means necessary for the functionality of the program.Installationpackage-track requiresPythonv3+ to run.To install package-track, simply use pip install:$pipinstallpackage-trackRunning package-trackTo run package-track, simply open your command line and type inpackage-trackat the prompt line!DevelopmentWant to contribute? Great!package-track could definitely use some help. Feel free to email me atidm2114@columbia.eduor send a pull request to the github repository.TodosRefactor codeAdd more shipping providersLicenseMITthank you
Package: package-updater
package_updaterThis module allow any package/module/script to be updated with the latest release from githubInstallpip3installpackage-updaterUsageimportsysimportpackage_updaterupdater=package_updater.Update(package_name="Name of the package",current_version="1.1.2",repo="https://api.github.com/repos/superlevure/SRU_com/releases/latest")ifsys.argv[1]=="--update":updater.update()The module will :Check if a new version is avalaibleIf so, backup the current version to a tar fileDownload the new versionExtract itInstall it
Package: package-uploader
WarningThis is NOT a replacement for Twine!This package is not created to compete with twine and it is not suitable for uploading to pypi.org or repositories
with compatible upload API.This package is created to create similar (or better) experience when uploading your project to any repository, website,
artifact storage or any other place where you want to keep your built packages. It doesNOTcurrently support PyPI
upload API, so if your repository supports it, use twine instead.Supported uploadersCurrently only SSH/SFTP uploader is supported that will upload your packages in directory structure compatible with
Python Package Index simple layout. This means that you can just point your HTTP server to main directory of your
package repository and it will work just fine.
Package: packageurl-python
Python library to parse and build “purl” aka. Package URLs.
Seehttps://github.com/package-url/purl-specfor details.Join the discussion athttps://gitter.im/package-url/Lobbyor enter a ticket for support.License: MITTests and build statusTests and buildInstallpip install packageurl-pythonUsage>>> from packageurl import PackageURL

>>> purl = PackageURL.from_string("pkg:maven/org.apache.commons/io@1.3.4")
>>> print(purl.to_dict())
{'type': 'maven', 'namespace': 'org.apache.commons', 'name': 'io', 'version': '1.3.4', 'qualifiers': None, 'subpath': None}

>>> print(purl.to_string())
pkg:maven/org.apache.commons/io@1.3.4

>>> print(str(purl))
pkg:maven/org.apache.commons/io@1.3.4

>>> print(repr(purl))
PackageURL(type='maven', namespace='org.apache.commons', name='io', version='1.3.4', qualifiers={}, subpath=None)UtilitiesDjango modelspackageurl.contrib.django.models.PackageURLMixinis a Django abstract model mixin to
use Package URLs in Django.SQLAlchemy mixinpackageurl.contrib.sqlalchemy.mixin.PackageURLMixinis a SQLAlchemy declarative mixin
to use Package URLs in SQLAlchemy models.URL to PURLpackageurl.contrib.url2purl.get_purl(url)returns a Package URL inferred from an URL.>>> from packageurl.contrib import url2purl
>>> url2purl.get_purl("https://github.com/package-url/packageurl-python")
PackageURL(type='github', namespace='package-url', name='packageurl-python', version=None, qualifiers={}, subpath=None)PURL to URLpackageurl.contrib.purl2url.get_repo_url(purl)returns a repository URL inferred
from a Package URL.packageurl.contrib.purl2url.get_download_url(purl)returns a download URL inferred
from a Package URL.packageurl.contrib.purl2url.get_inferred_urls(purl)return all inferred URLs
(repository, download) from a Package URL.>>> from packageurl.contrib import purl2url

>>> purl2url.get_repo_url("pkg:rubygems/bundler@2.3.23")
"https://rubygems.org/gems/bundler/versions/2.3.23"

>>> purl2url.get_download_url("pkg:rubygems/bundler@2.3.23")
"https://rubygems.org/downloads/bundler-2.3.23.gem"

>>> purl2url.get_inferred_urls("pkg:rubygems/bundler@2.3.23")
["https://rubygems.org/gems/bundler/versions/2.3.23", "https://rubygems.org/downloads/bundler-2.3.23.gem",]Run testsInstall test dependencies:python3 thirdparty/virtualenv.pyz --never-download --no-periodic-update .
bin/pip install -e ."[test]"Run tests:bin/py.test testsMake a new releaseStart a new release branchUpdate the CHANGELOG.rst, AUTHORS.rst, and README.rst if neededBump version in setup.cfgRun all testsInstall restview and validate that all .rst docs are correctCommit and push this branchMake a PR and merge once approvedTag and push that tag. This triggers the pypi-release.yml workflow that takes care of
building the dist release files and upload those to pypi:VERSION=v0.x.x
git tag -a $VERSION -m "Tag $VERSION"
git push origin $VERSIONReview the GitHub release created by the workflow athttps://github.com/package-url/packageurl-python/releases
Package: package-utils
Package UtilsUsagefromdataclassesimportdataclass,fieldfrompathlibimportPathfrompackage_utils.cli.entry_pointimportcreate_entry_point@dataclassclassOptions:debug:bool=Falseoutput_path:Path=field(default_factory=Path.cwd)defmain(options:Options):...entry_point=create_entry_point(main)if__name__=="__main__":entry_point()see examples intestsandpython-package-templateInstallationpipinstallpackage-utils