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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0dd087dc01ea7e743d16f9f38bfaedff4b015c3cfde5dd3bf0a4ba2abcffebdb |
|
MD5 | 3916b64aa456ae0cbbba1abe322ac7ca |
|
BLAKE2b-256 | b3676f263586ef19d9b41be0e930c7bdcd650f2447a6a83147cc27fc321653ab |
Close
Hashes for nodestream_plugin_pedantic-0.12.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7276273cb5a9865971d4d259de5a5a19bc6c1f31c6c5b288c8cb5681da53a09 |
|
MD5 | 4efa0451a473ac050530569ef7fa38b7 |
|
BLAKE2b-256 | 2d0d8217fc3156352a6f0b133eb0999f29fa186516581494b3c435ed9bdfce8f |