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:
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.24.tar.gz (8.4 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.24-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nyc_records_common-0.1.24.tar.gz
  • Upload date:
  • Size: 8.4 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.24.tar.gz
Algorithm Hash digest
SHA256 9b9358a6cebc4d533e1ec1cbb4ed89f0860a7092ce656c2803a4889fe7e75c7e
MD5 3e4489ba6ba905f63e274aefdb0559f7
BLAKE2b-256 1d3bb0cdf477e6844dc81faf1df60227ab30d670597575c6f3851e8bcf6c2dfa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nyc_records_common-0.1.24-py3-none-any.whl
Algorithm Hash digest
SHA256 0a811dea76c5818432948836398d02de48812779d6bed98ff7ea3248d7b29aa1
MD5 1f75061e619e49089c19bb8d7707ee2b
BLAKE2b-256 6e452b2e67b7f27a0b2385dd7c91306cdbbda33bd7bdce28951c3bd42ca082ed

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