Skip to main content

Test 1 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 one of the classes from Tech Generation Unimed - BH - Data Science Bootcamp. E-mail:karinatkato@gmail.com

Project description

Projeto: Criação de pacote de Processamento de Imagens

Descrição: O pacote image_processing-test1 é usado para:

Processing:
	- Correspondência de histograma
	- Semelhança estrutural
	- Redimensionar imagem
Utils:
	- Ler imagem
	- Salvar imagem
	- Plotar imagem
	- Resultado da plotagem
	- Plotar histograma

Overview (template)

Este é um overview do que faremos:

image

Fonte: Karina Kato - Machine Learning Engineer/Machine Learning Tech Lead - Take

Passo a passo

1. Criar um projeto

Você pode realizar um fork deste projeto para utilizá-lo como modelo. Ele já segue a organização da imagem apresentada acima.

2. Editar os arquivos "setup.py", "requirements.txt" e "README.md"

Após criado o projeto e editado os arquivos "setup.py", "requirements.txt" e "README.md" é necessário gerar as distribuições "wheel" e "sdist". Para isso, você deve:

3. Acessar a raiz do seu projeto

Acesse a raiz do seu projeto para aplicar os próximos passos.

4. Aplicar os comandos de instalação

No seu terminal, aplique os seguintes comandos:

python -m pip install --upgrade pip
python -m pip install --user twine
python -m pip install --user setuptools
pip install wheel

5. Aplicar o comando para criar a distribuição

Crie a distribuição, aplicando o seguinte comando:

python setup.py sdist bdist_wheel

6. Publicar pacote

Realizada as etapas anteriores com êxito, o próximo passo é a publicação do pacote. Você precisa ter uma conta no Test Pypi e no Pypi para realizar essa etapa. A seguir os links:

https://test.pypi.org/account/register/

https://pypi.org/account/register/

Test Pypi

6.1. Primeiro, publique no Teste Pypi, aplicando o seguinte comando:

python -m twine upload --repository-url https://test.pypi.org/legacy/ dist/*

6.2. Agora, instale o pacote de teste:

pip install -i https://test.pypi.org/simple/ image-processing-test1

Pypi

6.3. Com tudo testado, é hora de publicar o pacote no Pypi:

python -m twine upload --repository-url https://upload.pypi.org/legacy/ dist/*

6.4. Instale o pacote publicado:

Utilize o gerenciador de pacotes pip para instalar image_processing-test1

pip install image-processing-test1

Autor

Projeto original: by Karina Kato

Este exercício: by Tiago de Freitas Faustino

Este projeto tem o objetivo apenas de exercitar a criação publicação e utilização de pacotes. Para este fim, como ainda não tenho um projeto próprio, foram realizados apenas pequenos ajustes no projeto original de Karina Kato.

Licença

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

image_processing_exercise-0.0.1.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

image_processing_exercise-0.0.1-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file image_processing_exercise-0.0.1.tar.gz.

File metadata

File hashes

Hashes for image_processing_exercise-0.0.1.tar.gz
Algorithm Hash digest
SHA256 d01ace591e85e982f96944f363c2b74d52d7e9f26a852f280ded7196234c27f9
MD5 7d65804a70e92919210e5ca921addfde
BLAKE2b-256 3a4a983b23042f97ec41dd1ab3051e06029391ce30fcdd73f9b51e69064f8f11

See more details on using hashes here.

File details

Details for the file image_processing_exercise-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for image_processing_exercise-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 57d4d2f418f4a8520b20553e325677716c8e2ae8245ec07b5f8dbadf311ccbf7
MD5 df3335fccfb80818578fef3edce97e2c
BLAKE2b-256 a27402597ad74dbb7e9c6222e6be4ef8f81c6f241eb10f9ef232c96c55e5fd0b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page