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.9.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 238fea966e60bfb7f93fd352fa54e3228a1d690a51c3c58e832739a601cc2b4f |
|
MD5 | 53f8dd10906a95bb2a35956f11160720 |
|
BLAKE2b-256 | c35789e826a46fb96d5ec2f347a3a6e40a76396094e6f6dd04d7e9f5e54fffa8 |
Close
Hashes for nodestream_plugin_pedantic-0.9.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad76887684b71b529ca01ed7810e9350543b10760d63dd090ebb7a5805e4ba5c |
|
MD5 | 5aba39ccdaac8b662d953c07019f513d |
|
BLAKE2b-256 | 4e3679114a346fe2cb1542386fdc158d8be42a864bd2141a0200ae7eebeca13d |