Saravanan666/pypi-org huggingface dataset:
Package: package-circle-to-polygon
transform circle to polygon since geojson does not support circle.import package_circle_to_polygon as p
import json

center = [173.283966, -41.270634] #[lon, lat]
radius = 200000 #in meters
coordinates = p.circle_to_polygon(center = center, radius = radius)
json.dumps(coordinates)
"""
{
    "type": "Polygon",
    "coordinates": [[[173.283966, -39.47400343176097], [172.8297426608343, -39.50761945331798], [172.39166717580562, -39.607271255365916], [171.98544458449058, -39.76940340765346], [171.62589074038397, -39.98820144316868], [171.3264802848837, -40.255758887782214], [171.09888995216616, -40.56231121046952], [170.9525431282912, -40.89653624994988], [170.894168491739, -41.24591956982946], [170.92739416288478, -41.597181119390946], [171.0524081585746, -41.9367562214545], [171.26572430426506, -42.251319123422796], [171.56009750883513, -42.528331314494025], [171.9246304894919, -42.75659019219929], [172.3451031959859, -42.92674764018193], [172.80453558092947, -43.03176422124745], [173.283966, -43.06726456823905], [173.76339641907052, -43.03176422124745], [174.22282880401409, -42.92674764018193], [174.64330151050808, -42.75659019219929], [175.00783449116483, -42.528331314494025], [175.3022076957349, -42.251319123422796], [175.51552384142542, -41.9367562214545], [175.6405378371152, -41.597181119390946], [175.673763508261, -41.24591956982946], [175.61538887170875, -40.89653624994988], [175.46904204783382, -40.56231121046952], [175.24145171511628, -40.255758887782214], [174.94204125961602, -39.98820144316868], [174.58248741550943, -39.76940340765346], [174.17626482419436, -39.607271255365916], [173.73818933916564, -39.50761945331798], [173.283966, -39.47400343176097]]]
}
"""
Package: packagecloud-poll
packagecloud-pollOverviewpackagecloud-pollrepeatedly polls thepackagecloud.ioAPI, looking for a specific package
filename to appear. It is intended to be used in continuous integration/continuous deployment pipelines, where we want
to block something until we are sure a package has been uploaded and is available before continuing onwards.Installationpipinstallpackagecloud-pollSetupYou must set aPACKAGECLOUD_TOKENenvironment variable before you can run packagecloud-poll. See thepackagecloud API
documentationfor instructions on how to generate a token.exportPACKAGECLOUD_TOKEN=deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefRunningSample invocation:packagecloud-poll--usermy_user--repomy_repo_name--typedeb--distroubuntu--distro_versionprecise--archamd64--pkg_namemyorg-stuff--filenamemyorg-stuff_v5.3_precise_amd64.debRunpackagecloud-poll--helpfor detailed help.DevelopingSetup.py creates the packagecloud-poll command. When running from source, executerun.pyinstead../run.py --helpRelease History0.0.2Add new param--page_interval. Controls how long to sleep between requests when paginating through packagecloud API results.0.0.1Initial release
Package: package-controller
Package ControllerDescriptionA CLI tool that acts as a wrapper for various other programs to make updating and publishing python and node packages easier.InstallationPreferred:pipx install package-controllerAlternative:pipenv install package-controllerDefault:pip install package-controllerUsageTo stage and commit in one command:pc save -t <type> -m <message> (<file>, <file>, <file>...)To create new documentation for the package.pc documentTo pin the package versions for python or node.pc pin --development | --production | --peer | --optionalTo unpin the package versions for python or node.pc unpin --development | --production | --peer | --optionalTo get the diff of a file.pc diff path/to/fileTo run unit/integration tests.pc test --unit --integrationTo add file(s) to a commit.pc add (<file>, <file>, ...)To create the commit.pc commit -t <type> -m <message>To increase the major versionpc version --major (--no-git --force)To increase the minor versionpc version --minor (--no-git --force)To increase the patch versionpc version --patch (--no-git --force)To get the current versionpc versionTo build the current version.pc build (--force)To release the latest version. (to PyPi (Python) or NPM (Node), and git)pc release (--remote <remote> --branch <branch> --no-tag --force)
Package: packagecp
packagecpDescription.
The package packagecp is used to:
- Calculate
- Porcentagem
utils:
-aumentar %
-reducao %InstallationUse the package managerpipto install packagecppipinstallpackagecpUsagefrompackagecp.utils.calc_precoimportaumento,reducaofrompackage.formatarimportoutputaumento.()reducao.()AuthorWilliamMouraLicenseMIT
Package: package-crypto
# Coinmarketcap ParsingPython3 scrap all the related information about different cryptocurrencies around the [Coinmarketcap](https://coinmarketcap.com/)### Installation
PyPI` pip installpackage_crypto==0.0.9`Change Log0.0.1 (09/30/2021) - First Release0.0.2 (09/30/2021) - Second Release0.0.3 (09/30/2021) - Third Release0.0.4 (09/30/2021) - Fourth Release0.0.5 (09/30/2021) - Fifth Release0.0.6 (10/01/2021) - Six Release0.0.7 (10/01/2021) - Seventh Release0.0.8 (10/01/2021) - Eight Release0.0.9 (10/01/2021) - Eight Release
Package: packagedb-cli
Author:Pierre-Yves ChibonContact:pingou@fedoraproject.orgDate:Wed Jan 18 2017Version:2.14.1ThePackageDB-cliis a commande line interface to the PackageDB of Fedora.ContentsProjectInstallationInstall PrerequisitesGet and Run the SourceProjectThePackageDB-cliwas started in May of 2011 to allow user to consult the
package collection and to manage their Access Control List (ACL) using a simple
interface web free interface.As of 2014, this project has been ported topkgdb2. At this occasion, it is
has been re-written to propose a python module to query pkgdb2 API as well
as the pkgdb2client.cli module containing the command line interface and the
pkgdb2client.admin module containing a command line interface for admins to
interact withpkgdb2.The tarball of the releases can be found at:https://fedorahosted.org/released/packagedb-cli/InstallationInstall Prerequisitesyum install python-fedoraGet and Run the SourceInstall python-virtualenvwrapperdnf install python-virtualenvwrapper fedora-certCreate the virtual environmentmkvirtualenv pkgdb-cli --system-site-packagesActivate the virtual environmentworkon pkgdb-cliGet the projectgit clone http://git.fedorahosted.org/git/packagedb-cli.git
cd packagedb-cliSet up the projectpython setup.py developRun pkgdb-cli or pkgdb-adminpython pkgdb2client/cli.py
python pkgdb2client/admin.py
Package: packagedeployment1
Make sure you have upgraded version of pipWindowspy -m pip install --upgrade pipLinux/MAC OSpython3 -m pip install --upgrade pipCreate a project with the following structurepackaging_tutorial/
├── LICENSE
├── pyproject.toml
├── README.md
├── setup.cfg
├── src/
│   └── example_package/
│       ├── __init__.py
│       └── example.py
└── tests/
touch LICENSE
touch pyproject.toml
touch setup.cfg
mkdir src/mypackage
touch src/mypackage/__init__.py
touch src/mypackage/main.py
mkdir testspyproject.tomlThis file tells tools like pip and build how to create your project[build-system]
requires = [
    "setuptools>=42",
    "wheel"
]
build-backend = "setuptools.build_meta"build-system.requires gives a list of packages that are needed to build your package. Listing something here will only make it available during the build, not after it is installed.build-system.build-backend is the name of Python object that will be used to perform the build. If you were to use a different build system, such as flit or poetry, those would go here, and the configuration details would be completely different than the setuptools configuration described below.Setup.cfg setupUsing setup.cfg is a best practice, but you could have a dynamic setup file using setup.py[metadata]
name = example-pkg-YOUR-USERNAME-HERE
version = 0.0.1
author = Example Author
author_email = author@example.com
description = A small example package
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/pypa/sampleproject
project_urls =
    Bug Tracker = https://github.com/pypa/sampleproject/issues
classifiers =
    Programming Language :: Python :: 3
    License :: OSI Approved :: MIT License
    Operating System :: OS Independent

[options]
package_dir =
    = src
packages = find:
python_requires = >=3.6

[options.packages.find]
where = srcRunning the buildMake sure your build tool is up to dateWindowspy -m pip install --upgrade buildLinux/MAC OSpython3 -m pip install --upgrade buildCreate the buildpy -m buildReferenceshttps://packaging.python.org/tutorials/packaging-projects/
Package: packagedeployment10
Make sure you have upgraded version of pipWindowspy -m pip install --upgrade pipLinux/MAC OSpython3 -m pip install --upgrade pipCreate a project with the following structurepackaging_tutorial/
├── LICENSE
├── pyproject.toml
├── README.md
├── setup.cfg
├── src/
│   └── example_package/
│       ├── __init__.py
│       └── example.py
└── tests/
touch LICENSE
touch pyproject.toml
touch setup.cfg
mkdir src/mypackage
touch src/mypackage/__init__.py
touch src/mypackage/main.py
mkdir testspyproject.tomlThis file tells tools like pip and build how to create your project[build-system]
requires = [
    "setuptools>=42",
    "wheel"
]
build-backend = "setuptools.build_meta"build-system.requires gives a list of packages that are needed to build your package. Listing something here will only make it available during the build, not after it is installed.build-system.build-backend is the name of Python object that will be used to perform the build. If you were to use a different build system, such as flit or poetry, those would go here, and the configuration details would be completely different than the setuptools configuration described below.Setup.cfg setupUsing setup.cfg is a best practice, but you could have a dynamic setup file using setup.py[metadata]
name = example-pkg-YOUR-USERNAME-HERE
version = 0.0.1
author = Example Author
author_email = author@example.com
description = A small example package
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/pypa/sampleproject
project_urls =
    Bug Tracker = https://github.com/pypa/sampleproject/issues
classifiers =
    Programming Language :: Python :: 3
    License :: OSI Approved :: MIT License
    Operating System :: OS Independent

[options]
package_dir =
    = src
packages = find:
python_requires = >=3.6

[options.packages.find]
where = srcRunning the buildMake sure your build tool is up to dateWindowspy -m pip install --upgrade buildLinux/MAC OSpython3 -m pip install --upgrade buildCreate the buildpy -m buildReferenceshttps://packaging.python.org/tutorials/packaging-projects/
Package: packagedeployment2
Make sure you have upgraded version of pipWindowspy -m pip install --upgrade pipLinux/MAC OSpython3 -m pip install --upgrade pipCreate a project with the following structurepackaging_tutorial/
├── LICENSE
├── pyproject.toml
├── README.md
├── setup.cfg
├── src/
│   └── example_package/
│       ├── __init__.py
│       └── example.py
└── tests/
touch LICENSE
touch pyproject.toml
touch setup.cfg
mkdir src/mypackage
touch src/mypackage/__init__.py
touch src/mypackage/main.py
mkdir testspyproject.tomlThis file tells tools like pip and build how to create your project[build-system]
requires = [
    "setuptools>=42",
    "wheel"
]
build-backend = "setuptools.build_meta"build-system.requires gives a list of packages that are needed to build your package. Listing something here will only make it available during the build, not after it is installed.build-system.build-backend is the name of Python object that will be used to perform the build. If you were to use a different build system, such as flit or poetry, those would go here, and the configuration details would be completely different than the setuptools configuration described below.Setup.cfg setupUsing setup.cfg is a best practice, but you could have a dynamic setup file using setup.py[metadata]
name = example-pkg-YOUR-USERNAME-HERE
version = 0.0.1
author = Example Author
author_email = author@example.com
description = A small example package
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/pypa/sampleproject
project_urls =
    Bug Tracker = https://github.com/pypa/sampleproject/issues
classifiers =
    Programming Language :: Python :: 3
    License :: OSI Approved :: MIT License
    Operating System :: OS Independent

[options]
package_dir =
    = src
packages = find:
python_requires = >=3.6

[options.packages.find]
where = srcRunning the buildMake sure your build tool is up to dateWindowspy -m pip install --upgrade buildLinux/MAC OSpython3 -m pip install --upgrade buildCreate the buildpy -m buildReferenceshttps://packaging.python.org/tutorials/packaging-projects/
Package: packagedeployment5
Make sure you have upgraded version of pipWindowspy -m pip install --upgrade pipLinux/MAC OSpython3 -m pip install --upgrade pipCreate a project with the following structurepackaging_tutorial/
├── LICENSE
├── pyproject.toml
├── README.md
├── setup.cfg
├── src/
│   └── example_package/
│       ├── __init__.py
│       └── example.py
└── tests/
touch LICENSE
touch pyproject.toml
touch setup.cfg
mkdir src/mypackage
touch src/mypackage/__init__.py
touch src/mypackage/main.py
mkdir testspyproject.tomlThis file tells tools like pip and build how to create your project[build-system]
requires = [
    "setuptools>=42",
    "wheel"
]
build-backend = "setuptools.build_meta"build-system.requires gives a list of packages that are needed to build your package. Listing something here will only make it available during the build, not after it is installed.build-system.build-backend is the name of Python object that will be used to perform the build. If you were to use a different build system, such as flit or poetry, those would go here, and the configuration details would be completely different than the setuptools configuration described below.Setup.cfg setupUsing setup.cfg is a best practice, but you could have a dynamic setup file using setup.py[metadata]
name = example-pkg-YOUR-USERNAME-HERE
version = 0.0.1
author = Example Author
author_email = author@example.com
description = A small example package
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/pypa/sampleproject
project_urls =
    Bug Tracker = https://github.com/pypa/sampleproject/issues
classifiers =
    Programming Language :: Python :: 3
    License :: OSI Approved :: MIT License
    Operating System :: OS Independent

[options]
package_dir =
    = src
packages = find:
python_requires = >=3.6

[options.packages.find]
where = srcRunning the buildMake sure your build tool is up to dateWindowspy -m pip install --upgrade buildLinux/MAC OSpython3 -m pip install --upgrade buildCreate the buildpy -m buildReferenceshttps://packaging.python.org/tutorials/packaging-projects/
Package: package-dio-test01
SerÃ¡ utilizado o readme.md para exibir como a documentaÃ§Ã£o na pÃ¡gina do Pypo do seu pacote. # Foi usado markdown.package_dio_test01Description. package_name is used to:
Processing:
- Histogram matching
- Structural similarity
- Resize image Utils
Utils:
- Read image
- Save image
- Plot image
- Plot result
- Plot histogramInstallationUse the package managerpipto install package_nameUtilizando o comando pip para instalar o package_namepip install image_processingAuthorKarina KatoLicense
Package: package-estatistica
EstatisticaDescricao.
Este pacote eh usado para:
- funcoes simples de estatistica- apresentar resultados dos calculosInstalacaoUse gerenciador de pacotepippara instalar o pacote package_estatisticapipinstallpackage_estatisticaUtilizacaofrompackage_estatistica.funcoesimportprincipalAutorAlessandro Miranda GoncalvesLicenÃ§aMIT
Package: package-extras
extrasPackage that allows to make assertions aboutextrasbeing installed or not.For the detailed explanation readthis blog post.UsageFor thepyproject.tomlusers[tool.poetry.dependencies]package-extras={version="^0.2.0",optional=true}# your actual extras belowpsycopg2={version="^2.9",optional=true}mysqlclient={version="^1.3",optional=true}[tool.poetry.extras]databases=["package-extras","mysqlclient","psycopg2"]setup.pyequivalentextras_require=\{'databases':['package-extras>=0.2.0','psycopg2>=2.9,<3.0','mysqlclient>=1.3,<2.0']}setup_kwargs={# ... rest of the arguments'extras_require':extras_require,}setup(**setup_kwargs)Add this or similar block to your code (likely top-level__init__.pyfile)importwarningstry:importpackage_extrasexceptModuleNotFoundError:passelse:warnings.warn("'test_package[databases]' extra is deprecated ""and will be removed in a future release.",category=DeprecationWarning,stacklevel=2,)Or in case you want to assert the opposite (make sure that extras have been installed)importwarningstry:importpackage_extrasexceptModuleNotFoundError:warnings.warn("You are going to use functionality that depends on 'databases' extras. ""Please install 'test_package[databases]' to proceed.",category=ImportWarning,stacklevel=2,)NOTE:ImportWarningis ignored by default, so you either need to runpython -W allor useRuntimeWarninginstead.After installation viapip install test_package[databases]your package users will get this warning.>>> import test_packageDeprecationWarning: 'test_package[databases]' extra is deprecated and will be removed in a future release.Development$poetryinstall
$poetrybuild

$poetryconfigpypi-token.pypimy-token
$poetrypublish
Package: package-gabriel-pereira
package_nameDescription.
The package package_name is used to:
- Testar a criaÃ§Ã£o de pacotesInstallationUse the package managerpipto install package-gabriel-pereirapipinstallpackage-gabriel-pereiraUsagefrompackage-gabriel-pereiraimportfile1_namefile1_name.my_function()AuthorGabriel PereiraLicenseMIT
Package: package-gen
Package Generate一个简单的 Python 包框架生成器，目的是为了方便快速构建一个全局命令行参数。而不必每次都构建类似的结构和去敲那些类似的代码。安装通过 pypi 安装pip install package-gen或者通过本地安装。进入 setup.py 路径，运行python setup.py install使用方式在安装完成后，获得一个全局命令：pk-gen$pk-gen -h
usage: pk-gen [-h] [-l | --name NAME | --template-dir TEMPLATE_DIR]
             [packagename]

generate python package

positional arguments:
 packagename           the package name

optional arguments:
 -h, --help            show this help message and exit
 -l, --list            list the default template names and exit
 --name NAME           use the default template from name
 --template-dir TEMPLATE_DIR
                       custom template directory path举例说明最小使用$pk-gen mytest将会在当前路径下生成一个标准 python package─mytest
    │  setup.py
    │
    └─mytest
            __init__.py
            __main__.py可以在 setup.py 中自定义自己需要的全局命令，将 your_custom_command 换成自己需要的命令即可。所生成的模块即可直接通过python setup.py install安装，或者python setup.py develop进行实时调试。# setup.py
import setuptools

setuptools.setup(
    name="mytest",
    version="",
    author="",
    author_email="",
    description="",
    packages=setuptools.find_packages(),
    include_package_data=True,
    entry_points={
        "console_scripts": [
            "your_custom_command=mytest:main",
        ]
    }
)# __init__.py
import argparse


def main():
    parser = argparse.ArgumentParser(description='')

    # add argparse parameters here

    args = parser.parse_args()

    # handle arguments目前内置有多个模板，默认模板为 base。通过pk-gen -l可以查看当前内置的可使用的所有模板名。可以将模板拷贝出去自己订制，将--template-dir参数指向自己自定义的模板位置即可。
Package: package-helper-2-test
Package Helper 2 TestPackage Helper 2 Test is a test of Package Helper 2. It is very nice. And very beautiful.Free software: GNU General Public License v3Documentation:https://francois-durand.github.io/package_helper_2_test.FeaturesTODOCreditsThis package was created withCookiecutterand thefrancois-durand/package_helper_2project template.History0.2.0 (2020-11-25)Test second release.0.1.0 (2020-11-25)First release on PyPI.
Package: package-helper-3
Package Helper 3Package Helper 3 helps to create, develop and maintain a Python package.It is a fork/mix ofhttps://github.com/audreyr/cookiecutter-pypackage/,https://github.com/francois-durand/package_helper_2/, andhttps://github.com/fpgmaas/cookiecutter-poetry.The most prominent feature of Package Helper 3 is atutorialthat gives a checklist of how to:Create your package in a few minutes withCookiecutterandPoetry,Develop and maintain your package withPyCharm,Host your package onGitHuband leverage GitHub actions,Publish your package onPyPi,Publicly share your coverage onCodecov.A simpleCommand-Line Interfaceinitiates the creation of the package using atemplateof Python package.
Here are the main features of the template:Personalize default options.Include example files for classes, with examples of documentation and testing.Use Poetry for all-in-one management of dependencies and settings.Documentation:Use a GitHub action and GitHub Pages to publish the documentation.Usesphinx.ext.napoleonto benefit from NumPy style of documentation.UseReadTheDocsorPyDatathemes.Add a "reference" section in the documentation of the package.Use a GitHub action to perform unit tests.Use a GitHub action to deploy the package on PyPI.Generate a local html page displaying the test coverage.Use Codecov.Documentation:https://balouf.github.io/package-helper-3/.
Package: package-helper-test-2022-01-18-17h12
Package Helper Test 2022 01 18 17h12This is a test of Package Helper 2. So nice.Free software: GNU General Public License v3Documentation:https://francois-durand.github.io/package_helper_test_2022_01_18_17h12/.FeaturesTODOCreditsThis package was created withCookiecutterand thefrancois-durand/package_helper_2project template.History0.1.0 (2022-01-18): First releaseFirst release on PyPI.
Package: package-helper-test-2022-01-20-10h10
Package Helper Test 2022 01 20 10h10This is a test of Package Helper 2. So nice.Free software: GNU General Public License v3Documentation:https://francois-durand.github.io/package_helper_test_2022_01_20_10h10/.FeaturesTODOCreditsThis package was created withCookiecutterand thefrancois-durand/package_helper_2project template.History0.1.0 (2022-01-20): First releaseFirst release on PyPI.
Package: package-image-process
package_image_processDescription.
The package image_processing is used to:
Processing:
- Histogram matching
- Structural similarity
- Resize image
Utils:
- Read image
- Save image
- Plot image
- Plot result
- Plot histogramInstallationUse the package managerpipto install package_image_processpipinstallpackage_image_processAuthorgusmazzinghyLicenseMIT
Package: package-image-processing
Processamento de ImagensDescription.
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_namepipinstallimage_processing_packageAuthorIrene SantosLicenseMIT