Common utilities for NYC Records Scraper
Project description
NYC Records Packages
Common utilities for NYC Records projects.
Prerequisites
- Python 3.11+
- pip
- virtualenv
Installation
- Create and activate virtual environment:
Conda:
conda activate myenv
cd packages
python -m venv .venv
source .venv/bin/activate # Linux/Mac
. .venv/Scripts/Activate # Powershell
- Install dependencies:
pip install -r requirements/dev.txt
pip install -r requirements/prod.txt
pip install -e .
- Install pre-commit hooks:
pre-commit install
Testing
pytest tests/ -v # Command line
pytest tests/ --cov=src # With coverage
Code Formating
black src/ tests/ # Format code
isort src/ tests/ # Sort imports
flake8 src/ tests/ # Check style
mypy src/ # Type checking
pytest tests/ # Run tests
pylint --rcfile=.pylintrc src/nyc_records_common
pylint --rcfile=.pylintrc src/nyc_records_db
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
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
File details
Details for the file nyc_records_common-0.1.27.tar.gz.
File metadata
- Download URL: nyc_records_common-0.1.27.tar.gz
- Upload date:
- Size: 9.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5aa94396883bb5e83b4913ec5e7fdd77d77f11d3ca0d7ce50f3132b1d047f5ab
|
|
| MD5 |
1a6689287604d0a9e8deef0a155e0800
|
|
| BLAKE2b-256 |
b5859e835f751a501e0b2e654528c6c9a060a65ee9b2bbf29cb08af94c90af38
|
File details
Details for the file nyc_records_common-0.1.27-py3-none-any.whl.
File metadata
- Download URL: nyc_records_common-0.1.27-py3-none-any.whl
- Upload date:
- Size: 12.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
97f084ec8783d7acc1faa4c8e0609b046db76785ebe8b24d377867901d082a8b
|
|
| MD5 |
935703c13f53ee636efaed6fb82a3881
|
|
| BLAKE2b-256 |
826955107b4cc35bec9d72ea5feee254031d5c9b0ef15c47d6564c2dfdddf4e6
|