Skip to main content

Manejador de agentes

Project description

Crewmaster

Instalar dependencias

  1. Activar entorno virtual
poetry env use python
  1. Instalar
poetry install

Ejecutar los test

  1. Ejecutar todos los test
poetry run pytest
  1. Se puede utilizar pytest para hacer los tests:
poetry run pytest ./ruta/a/probar --capture=no
  1. Pytest no ofrece un modo "watch". Si quiere utilizar un modo watch debes ejecutar:
poetry run ptw ./ruta/a/monitorear ./ruta/a/probar --capture=no
  1. Si se quiere probar sólo algún test, se puede agregar la marca @pytest.mark.mi_marca y luego ejecutar con el parámetro -k=mi_marca.
# test.py
@pytest.mark.mi_marca
def test_check...

# console
poetry run ptw ./ruta/a/monitorear ./ruta/a/probar --capture=no -k=mi_marca

Publicar libreria

  1. Crear cuenta en pypi
  2. Crear credenciales
  3. Ir a "Configurar cuenta"
  4. Dar scroll hasta "Anadir una ficha api" y crear token(si es necesario)
  5. Agregar token a poetry
poetry config pypi-token.pypi your-api-token
  1. Construir el paquete
poetry build
  1. Publicar el paquete
poetry publish
  • Tambien puedes crear y publicar el paquete en un solo paso
poetry publish --build

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

crewmaster-0.1.0.tar.gz (93.8 kB view details)

Uploaded Source

Built Distribution

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

crewmaster-0.1.0-py3-none-any.whl (148.8 kB view details)

Uploaded Python 3

File details

Details for the file crewmaster-0.1.0.tar.gz.

File metadata

  • Download URL: crewmaster-0.1.0.tar.gz
  • Upload date:
  • Size: 93.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.12.9 Linux/5.15.154+

File hashes

Hashes for crewmaster-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8eab64b3ca73949efa75b0c3fdf65e85ae5880092808971b5aa857cbbbe5f8c1
MD5 4bf134f2fbf300e6bc1e698d8f41e8bb
BLAKE2b-256 f967034c4d3c11cce0de08cbded4bddcaebe62ff2590f42899e1e6696716ac85

See more details on using hashes here.

File details

Details for the file crewmaster-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: crewmaster-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 148.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.12.9 Linux/5.15.154+

File hashes

Hashes for crewmaster-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d2bd61f4b3ea4607a7d6ea68e55112527c0d0311e89475903aec082829da0da8
MD5 0d3462c97cabf30b606cab39dd231d82
BLAKE2b-256 f40f30125b8cadbb1a5f2276e8bd399dff840fd3543acf458bfdcd582e804206

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