Manejador de agentes
Project description
Crewmaster
Instalar dependencias
- Activar entorno virtual
poetry env use python
- Instalar
poetry install
Ejecutar los test
- Ejecutar todos los test
poetry run pytest
- Se puede utilizar pytest para hacer los tests:
poetry run pytest ./ruta/a/probar --capture=no
- 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
- Si se quiere probar sólo algún test, se puede agregar la marca
@pytest.mark.mi_marcay 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
- Crear cuenta en pypi
- Crear credenciales
- Ir a "Configurar cuenta"
- Dar scroll hasta "Anadir una ficha api" y crear token(si es necesario)
- Agregar token a poetry
poetry config pypi-token.pypi your-api-token
- Construir el paquete
poetry build
- Publicar el paquete
poetry publish
- Tambien puedes crear y publicar el paquete en un solo paso
poetry publish --build
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
crewmaster-0.1.0.tar.gz
(93.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
crewmaster-0.1.0-py3-none-any.whl
(148.8 kB
view details)
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8eab64b3ca73949efa75b0c3fdf65e85ae5880092808971b5aa857cbbbe5f8c1
|
|
| MD5 |
4bf134f2fbf300e6bc1e698d8f41e8bb
|
|
| BLAKE2b-256 |
f967034c4d3c11cce0de08cbded4bddcaebe62ff2590f42899e1e6696716ac85
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d2bd61f4b3ea4607a7d6ea68e55112527c0d0311e89475903aec082829da0da8
|
|
| MD5 |
0d3462c97cabf30b606cab39dd231d82
|
|
| BLAKE2b-256 |
f40f30125b8cadbb1a5f2276e8bd399dff840fd3543acf458bfdcd582e804206
|