Analyzes NoSQL or JSON documents to try to infer a schema or general properties.
Project description
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/*
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file schemate-0.2.0.tar.gz.
File metadata
- Download URL: schemate-0.2.0.tar.gz
- Upload date:
- Size: 18.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ae23be039642eea8c56bd08294888cddb19cee2e12f4c3111b690a46d3d324d7
|
|
| MD5 |
d14c6182dd004aa7af443c5d0abf3c62
|
|
| BLAKE2b-256 |
4dd517f070ee5126c5d192905c8768f0a2a8c4ef65b83a0ef5c7c66310c7f054
|
File details
Details for the file schemate-0.2.0-py3-none-any.whl.
File metadata
- Download URL: schemate-0.2.0-py3-none-any.whl
- Upload date:
- Size: 15.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ede358aeea7478978cae8ea2a0b5ae7f72ee5a9d85b46a0ec97bb0d72750703b
|
|
| MD5 |
8fd70cc002aa8ddd1f989643feda7c21
|
|
| BLAKE2b-256 |
d917a0f7290e9e1aff813e1e6925df687f70d5f5741cb12129dc0ad25fff898f
|