Skip to main content

rit-housing-data-schema

PyPI Changelog License

Normalized data schema for the output of the data-ingest pipeline.

Installation

Install this library using pip:

pip install rit-housing-data-schema

Usage

Import this package then use it to construct normalized objects with type enforcement.

from rit_housing_data_schema import location


location.NormalizedLocation(
  id="vaccinebot:uuid-for-site",
  source=location.Source(
    source="vaccinebot",
    id="uuid-for-site",
    fetched_from_uri="https://vaccinateTheStates.com",
    published_at="2021-01-13T00:00:00-08:00",
    data={},
  )
)

For more details on the schema, read the inline comments or the data-ingest wiki.

Development

To contribute to this library, first checkout the code. Then create a new virtual environment:

cd rit-housing-data-schema
python -mvenv venv
source venv/bin/activate

Or if you are using pipenv:

pipenv shell

Now install the dependencies, linters, and tests:

pip install -e '.[lint,test]'

To run code formatters:

isort .
black .

To run linters:

mypy .
flake8 rit_housing_data_schema

To run the tests:

pytest

Release

ideally from within a virtual env as described above...

pip install build twine
python -m build
twine check dist/*
twine upload dist/*

Metadata

Release files for rit-housing-data-schema 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rit-housing-data-schema 0.1.0
File Size Uploaded
rit-housing-data-schema-0.1.0.tar.gz 8.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rit-housing-data-schema 0.1.0
File Interpreter ABI Platform
rit_housing_data_schema-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 16.8 kB

Release files / rit-housing-data-schema-0.1.0.tar.gz

Download URL rit-housing-data-schema-0.1.0.tar.gz
Size 8.9 kB
Tags Source
SHA-256 checksum
How to use checksums
6f40d03e3178472e50f5af657a239b5f65130fa314602a780210ae2558c4b2c7
BLAKE2b-256 checksum
How to use checksums
fa7db191227886bc174db1fb3496aeb7abeaf22deed6b8be65cebfb18b27c7e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Release files / rit_housing_data_schema-0.1.0-py3-none-any.whl

Download URL rit_housing_data_schema-0.1.0-py3-none-any.whl
Size 7.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f8f957850f283dcdfe132e0073f206e8f965702f8fe433bf28f239b6a9629abf
BLAKE2b-256 checksum
How to use checksums
1df4dfe5659b87b782bcc414d60705cf42a49fa2aff232a89b842009b31e0c29
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page