Skip to main content

database of nyc housing data

Project description

a tool for building a database of NYC housing data

This is a Python library and cli tool for installing, updating and managing NYC-DB, a postgres database of Housing Data for NYC.

For more background information on this project, the api, and to download the full database dump see: https://github.com/aepyornis/nyc-db

How to use

Requirements: Postgres and Python3

After installing via pip:

pip3 install nycdb

You’ll be able to use the program nycdb to import a database.

For example to load all of hpd violations:

nycdb --download hpd_violations
nycdb --load hpd_violations -P YOUR_PG_PASSWORD -D YOUR_DATABASE

To see all possible datasets:

nycdb --list-datasets

After a dataset has been loaded you can verify it with “–verify”

nycdb --verify hpd_violations
nycdb --verify-all

By default the downloaded data files are stores in ‘./data’. Use –root-dir to change the location of the data directory.

To see more options run: nycdb –help

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

nycdb-0.1.11.tar.gz (13.0 kB view details)

Uploaded Source

Built Distribution

nycdb-0.1.11-py3-none-any.whl (32.4 kB view details)

Uploaded Python 3

File details

Details for the file nycdb-0.1.11.tar.gz.

File metadata

  • Download URL: nycdb-0.1.11.tar.gz
  • Upload date:
  • Size: 13.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.6

File hashes

Hashes for nycdb-0.1.11.tar.gz
Algorithm Hash digest
SHA256 b94f8a6e622c47931af3f851b9807a079f32364ecadcdd00e16b4e3b6e760b54
MD5 509a424bc40fdada4da8418863edcf3d
BLAKE2b-256 980f81f245b7f7064ae957e8e598d78f6f0ce379ce12f20fa53d14249be9dc56

See more details on using hashes here.

File details

Details for the file nycdb-0.1.11-py3-none-any.whl.

File metadata

  • Download URL: nycdb-0.1.11-py3-none-any.whl
  • Upload date:
  • Size: 32.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.6

File hashes

Hashes for nycdb-0.1.11-py3-none-any.whl
Algorithm Hash digest
SHA256 5ca24e2afa8705241ec88a7926f61a5db42df30ea3adab85648e2ba70909c5df
MD5 001043102b05708b1a417fbce783e6b1
BLAKE2b-256 bb38058b9cd51434e990ca425ad83f139a271072e7192deb66dd532850c21b26

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page