Skip to main content

Schemate

Analyzes NoSQL or JSON documents to try to infer a schema or general properties.

Developer Information

If you are a schemate developer there are several helper utilities built into the library that will allow you to manage datasets and models both locally and in the cloud. But first, there are additional dependencies that you must install.

In requirements.txt uncomment the section that says: "# Packaging Dependencies", e.g. your requirements should now have a section that appears similar to:

# Packaging Dependencies
black==25.1.0
build==1.2.2.post1
flake8==7.2.0
packaging==24.2
pip==25.0.1
setuptools==75.3.0
twine==6.1.0
wheel==0.45.1

NOTE: the README might not be up to date with all required dependencies, so make sure you use the latest requirements.txt.

Then install these dependencies and the test dependencies:

$ pip install -r requirements.txt
$ pip install -r tests/requirements.txt

Tests and Linting

All tests are in the tests folder and are structured identically to the schemate module. All tests can be run with pytest:

$ pytest

We use flake8 for linting as configured in setup.cfg -- note that the .flake8 file is for IDEs only and is not used when running tests. If you want to use black to automatically format your files:

$ black path/to/file.py

Releases

To release the schemate library and deploy to PyPI run the following commands:

$ python -m build
$ twine upload dist/*

Metadata

Release files for schemate 0.3.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 schemate 0.3.0
File Size Uploaded
schemate-0.3.0.tar.gz 19.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for schemate 0.3.0
File Interpreter ABI Platform
schemate-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 34.9 kB

Release files / schemate-0.3.0.tar.gz

Download URL schemate-0.3.0.tar.gz
Size 19.2 kB
Tags Source
SHA-256 checksum
How to use checksums
0d3589bece1985b9311b92794d5775bf6a6e9cd6d8dc5077a1baf86980b31bed
BLAKE2b-256 checksum
How to use checksums
6ac39a158364ac8567d7e593b85b6437ad976198183f577a4567c85f0b2b4265
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.6

Release files / schemate-0.3.0-py3-none-any.whl

Download URL schemate-0.3.0-py3-none-any.whl
Size 15.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e4daeb4517f97aab3056a611848f672202dc300923d91aac9ba94079be857729
BLAKE2b-256 checksum
How to use checksums
b53961a80aea2278831e2d14c8ac13dc2965dcfe975e2bdd9ac3b77fb5e780a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.6

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.0

2 release files

0.1.0

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