A nodestream plugin that provides a series of audits to ensure high quality and consistent nodestream projects.
Project description
Nodestream pedantic Plugin
This plugin adds a pedantic mode to nodestream. It will check for the following:
- All node types are defined using
CamelCase
. - All node types are singular (e.g.
User
notUsers
). - All relationship types are defined using
UPPER_SNAKE_CASE
- All property names are defined using
lower_snake_case
- All pipeline names are defined using
lower-case-with-dashes
Installation
pip install nodestream-plugin-pedantic
Usage
nodestream audit pedantic
Will produce output like:
Pipeline load_org_chart is not lower dash case. Suggestion: load-org-chart
Node type People is not singular. Suggestion: Person
Property lastName is not snake case. Suggestion: last_name
Node type number is not camel case. Suggestion: Number
Relationship type is_friends_with is not upper camel case. Suggestion: IS_FRIENDS_WITH
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
Close
Hashes for nodestream_plugin_pedantic-0.12.0rc1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1da488f8ed7a339d25f8ff76dd9ba84f52426a91e23ac1e493dd9e67bdf1adde |
|
MD5 | 5d39787021226454b679b507489a1d46 |
|
BLAKE2b-256 | 1475642daf9835ec97e687b48b6cbb7448e799d6e2eb4baff237286daec963d3 |
Close
Hashes for nodestream_plugin_pedantic-0.12.0rc1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2037338f2b3c148d5b3482e3d3df1a4dd584cc7930e8966c243f5de84251e8b |
|
MD5 | d2024f59230a74a5b8686befa3b9cd04 |
|
BLAKE2b-256 | 15561136490e9a00012cdc756000afe76039f1f0f9f1bbdd25aa9930a59226ba |