Test version - Image processing. This project belongs to Karina Tiemi Kato, Tech Lead, Machine Learning Engineer, Data Scientist Specialist at Take. This package is a demo for simulation of upload on the Test Pypi website, and it's from class of the Bootcamp developer full stack Python. E-mail:karinatkato@gmail.com.
Project description
Desafio-002 : Pacote de Processamento de Imagens
Descrição
- Esse projeto consiste na criação de um pacote para python, com base no curso ministrado por Karina Kato.
- É apenas um pacote de exemplo, baseado no scikit-image
- Anotações das aulas podem ser vistas aqui.
Passos para a hospedagem no Pypi
- Primeiro se realiza uma instalação ou upgrade do
pip
,twine
,setuptools
ewheel
- remova a opção
--user
se não deseja instalar nouser.home
ou esteja usando umvenv
.
python -m pip install --upgrade pip
python -m pip install --user twine
python -m pip install --user setuptools
python -m pip install --user wheel
- Cria-se as distribuições
python setup.py sdist bdist_wheel
- Serão criadas 3 pastas no projeto:
- build
- dist
- image_processing_package.egg-info
- O próximo passo é o upload no Test Pypi.
python -m twine upload --repository-url https://test.pypi.org/legacy/ dist/*
- O comando para upload no Pypi é:
python -m twine upload --repository-url https://upload.pypi.org/legacy/ dist/*
Instalação
- Para a instalação local, é necessário instalar os requerimentos primeiro.
pip install -r requirements.txt
Para a instalação do pacote, basta usar o pip direcionando para o image-processing-test-package
pip install image-processing-test-package
Uso
- Basta importar os módulos de acordo com o que deseja
from image-processing-test-package.processing import transformation
transformation.resize_image(image1, 0.5)
Autor
Adriano Romero
Licença
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file image_processing-test-package-0.0.2.tar.gz
.
File metadata
- Download URL: image_processing-test-package-0.0.2.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05e4cb3f77c6540cd25b7b95787b6e978c2408935858b40d999a2f19f50f0c1f |
|
MD5 | 7187226ca49dc024b33d2449a14bc318 |
|
BLAKE2b-256 | 73f8e9c94af88102893cd7e01f4afe3cfea6029c231a2b4b206086477ea44d38 |
File details
Details for the file image_processing_test_package-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: image_processing_test_package-0.0.2-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 632f5885b629e5294e07c1635496623cb41cc7dd3c66ad8a0dce6fb78159f693 |
|
MD5 | 7cb858d405e8f6b1e9dc0ae0ebf52e41 |
|
BLAKE2b-256 | 27000ca1a1eb3ac24199b55771c1e82119a24ff4e3fb5cbed3cd63f012271960 |