Skip to main content

AVA Integration Metapackage

PARA USO APENAS no IFRN, USE apenas neste sentido.

Project : License pre-commit Docs

Publish: Publish Python Docker

Meta-pacote Python 3.14 que agrega todas as dependências necessárias para projetos Django 6.0 do ecossistema AVA do IFRN (Integrador AVA, Painel AVA, Gestor AVA e Leitor EaD).

📦 O que é um metapackage?

Um metapackage é um pacote Python que não contém código próprio, mas declara um conjunto de dependências. Ao instalar o metapackage, todas as suas dependências são instaladas automaticamente, garantindo:

  • ✅ Versionamento unificado de dependências entre projetos
  • ✅ Consistência entre ambientes de desenvolvimento, teste e produção
  • ✅ Simplificação do gerenciamento de dependências
  • ✅ Sincronização automática via imagem Docker base

Tecnologias

Django Python PostgreSQL Redis Docker Gunicorn Sentry

Olhe o arquivo pyproject.toml, atributo dependencies, para conhecer as demais bibliotecas.

🚀 Instalação

Via PyPI

pip install avaintegration_metapackage

Via Docker

A imagem Docker base já inclui o metapackage instalado:

FROM ctezlifrn/avaintegrationbase:6.0.8.40

🔄 Workflow de CI/CD

# 1. Atualize a versão no setup.py (será sobrescrita pela tag)
# 2. Crie e envie a tag
git tag 6.0.4.13
git push origin 6.0.4.13

# 3. O GitHub Action irá:
#    - Atualizar setup.py com a versão da tag
#    - Publicar no PyPI
#    - Aguardar 60s para propagação
#    - Construir imagem Docker instalando o pacote do PyPI
#    - Publicar imagem no Docker Hub

Secrets necessários no GitHub

Configure os seguintes secrets no repositório:

  • PYPI_API_TOKEN - Token de API do PyPI
  • DOCKERHUB_USERNAME - Usuário do Docker Hub
  • DOCKERHUB_TOKEN - Token de acesso do Docker Hub

🛠️ Desenvolvimento

Estrutura do projeto

metapackage/
├── .github/
│   ├── docker/
│   │   └── Dockerfile          # Dockerfile para imagem base
│   └── workflows/
│       └── publish-pypi-and-docker.yml
├── avaintegration_metapackage/
│   └── __init__.py             # Versão do pacote
├── setup.py                    # Configuração e dependências
├── Dockerfile                  # Dockerfile de desenvolvimento
└── README.md

Atualizando dependências

  1. Edite setup.py e ajuste as versões em install_requires

  2. Teste localmente:

    pip install -e .
    
  3. Faça commit e crie uma nova tag

Testando localmente

# Build do pacote
python -m build

# Instalação local
pip install dist/avaintegration_metapackage-*.whl

# Teste da imagem Docker
docker build -t avaintegrationbase:test -f .github/docker/Dockerfile \
  --build-arg PACKAGE_VERSION=6.0.8.40 .

🤝 Contribuindo

Contribuições são bem-vindas! Por favor:

  1. Crie um fork do projeto
  2. Crie uma branch para sua feature (git checkout -b feature/nova-dependencia)
  3. Commit suas mudanças (git commit -am 'Adiciona nova dependência X')
  4. Push para a branch (git push origin feature/nova-dependencia)
  5. Abra um Pull Request

📞 Suporte

Para questões ou problemas, abra uma issue no repositório do projeto.


Mantido por: IFRN - Diretoria de Educação a Distância (DEAD)

Metadata

Release files for avaintegration-metapackage 6.0.8.46

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for avaintegration-metapackage 6.0.8.46
File Size Uploaded Provenance Actions
avaintegration_metapackage-6.0.8.46.tar.gz 5.8 kB With provenance Details for avaintegration_metapackage-6.0.8.46.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for avaintegration-metapackage 6.0.8.46
File Interpreter ABI Platform Actions
avaintegration_metapackage-6.0.8.46-py3-none-any.whl Python 3 none any Details for avaintegration_metapackage-6.0.8.46-py3-none-any.whl

Total release size: 11.8 kB

Release files / avaintegration_metapackage-6.0.8.46.tar.gz

Download URL avaintegration_metapackage-6.0.8.46.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
27fcf438f903e9d1854758f6a5e385cf2fdee3ea299771214827bbe1b50f9f8c
BLAKE2b-256 checksum
How to use checksums
d6814b93db8f7fa2bed653e8e14da85258aff78d998dcf1c79e7d124ca3baf4a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 29, 2026.

Transparency log

Release files / avaintegration_metapackage-6.0.8.46-py3-none-any.whl

Download URL avaintegration_metapackage-6.0.8.46-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9d5c10fe2c0a35dd385bbd038eb0169148fa3ac46305aebe2298bbc60e4c09ca
BLAKE2b-256 checksum
How to use checksums
41bfb44652b2e0c6f046cc1fa3f8c55402f0ce165185d7e447eb637f4b2409c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 29, 2026.

Transparency log

Security for avaintegration-metapackage 6.0.8.46

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for avaintegration_metapackage-6.0.8.46.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 29, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page