Skip to main content

Common utilities for NYC Records Scraper

Project description

NYC Records Packages

PyPI version

Common utilities for NYC Records projects.

Prerequisites

  • Python 3.11+
  • pip
  • virtualenv

Installation

  1. 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
  1. Install dependencies:
pip install -r requirements/dev.txt
pip install -r requirements/prod.txt
pip install -e .
  1. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nyc_records_common-0.1.29.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

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

nyc_records_common-0.1.29-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

Details for the file nyc_records_common-0.1.29.tar.gz.

File metadata

  • Download URL: nyc_records_common-0.1.29.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

Hashes for nyc_records_common-0.1.29.tar.gz
Algorithm Hash digest
SHA256 880b9d9ef19e9223448d084be18e26e6de919ede23ac7f590f13e50417cbca92
MD5 1de035d2f33e372d552fabd0bef0d2a5
BLAKE2b-256 7833cc8027ed6d81430eb45e293f351425442588e96dd8d0c22e98774ea0277d

See more details on using hashes here.

File details

Details for the file nyc_records_common-0.1.29-py3-none-any.whl.

File metadata

File hashes

Hashes for nyc_records_common-0.1.29-py3-none-any.whl
Algorithm Hash digest
SHA256 bc72b77d12d3fda0e2c2f5baa4b9b49cae500fe2d0836de8947689fc19a64b4d
MD5 94439193646c2a6578ef97bcea8c3f30
BLAKE2b-256 e522f751c6d41c3e155d682425663f6d0ce02c262dd7fd38a0f9bff3a5697f70

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