Skip to main content

A logical & physical lines counter for Python files

Project description

Lines Counter

  • Versión recomendada de Python: 3.11

Instalar el entorno (Antes de ejecutar el programa):

  1. Crear el entorno de desarrollo:
python3 -m venv env
  1. Activar el entorno de desarrollo:

En Windows:

env\Scripts\activate

En Unix/Linux o MacOS:

source env/bin/activate
  1. Instalar las dependencias:
pip install -r requirements.txt

pre-commit install
  1. Copiar el contenido del archivo example.env a un archivo .env y rellenar las variables necesarias para correr el proyecto.
cp example.env .env

Correr los tests del sistema:

Para ejecutar los tests unitarios y de integración basta con ejecutar:

python -m unittest discover -s tests -p "*_tests.py"

Correr el sistema en modo user-friendly:

Para ejecutar el sistema en modo prompt basta con ejecutar:

python -m src.main

Manejo de la librería:

Es posible descargar el programa como librería en otros programas, para ello, basta con ejecutar

pip install lines-counter

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

lines-counter-1.0.1.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

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

lines_counter-1.0.1-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file lines-counter-1.0.1.tar.gz.

File metadata

  • Download URL: lines-counter-1.0.1.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for lines-counter-1.0.1.tar.gz
Algorithm Hash digest
SHA256 15aab4c2d7d98a5b12c55280e3075af300e10719d732b37965f4137d4648bb6e
MD5 d6adcdc61ed531677467bc86a97fb168
BLAKE2b-256 cd264fa9b31b13237a851bf543ad65a639a5b814799aa4d771a315cff9dd29e7

See more details on using hashes here.

File details

Details for the file lines_counter-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: lines_counter-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for lines_counter-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 dc1c75e3b6030b48facf11207f5ad9e75e07e379827bbb67afbaaa130ba8cb6e
MD5 15a1f26fb19af4a0b4f20956905696e2
BLAKE2b-256 726e9f361b3ea7c80ef06dcab57aa252e8820cba8786bff3d7606f53f2ad69a8

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