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.13.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6667120460c03cabf1f13cf682f66ff1d27494acd62f90189c0781286a2dce8c |
|
MD5 | b9b6bef3fc68cfb047da50327686c5c3 |
|
BLAKE2b-256 | cbfc1326b0a50374d34d8f31740d627258957bba61c9eefd3541311fdaacd590 |
Close
Hashes for nodestream_plugin_pedantic-0.13.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 536fe2c1268d7f68e071b81c55d646ce4ed42256fb74645b991d2fe44f57f990 |
|
MD5 | fa64226744dfa8df1a590122ffd7a614 |
|
BLAKE2b-256 | 2965203a36ac967c5447c54fd291fe87d08d4bae20d92ed90948e83b923584f4 |