Skip to main content

Common utilities for NYC Records Scraper

Project description

NYC Records Common

Common utilities for NYC Records projects.

Prerequisites

  • Python 3.11+
  • pip
  • virtualenv

Installation

  1. Create and activate virtual environment:
cd packages
python -m venv .venv
source .venv/bin/activate  # Linux/Mac
  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.19.tar.gz (6.7 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.19-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nyc_records_common-0.1.19.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.11

File hashes

Hashes for nyc_records_common-0.1.19.tar.gz
Algorithm Hash digest
SHA256 7cfb5e4e5dfba8c4fae6f42c2e9fe6625ee9c0d8e4c8edbfe043961b08bb267f
MD5 c8d25fd5984f23062527e42dc33cd592
BLAKE2b-256 0205e30e427820d0e2508c0a93b99b19efcf629eb4f8fdcc1e5cfd32142ae328

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nyc_records_common-0.1.19-py3-none-any.whl
Algorithm Hash digest
SHA256 71433748c9aef7a065c9072e58e128b8cc2604a5ced9267f30dbcd31be9d8a2a
MD5 d37cb5278636dfc0895e63c870682c0f
BLAKE2b-256 172a891b99a7e4b968be4962c4e9f735d2e3bde9d96b1e7c090aa043dd09aba2

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