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.10.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e50275e555aaebcc5adb081b72c2e499a8148a5f583c7d99e0854ff070d8b8bc |
|
MD5 | 8d73399a18a65c3c31048bff631bc2fe |
|
BLAKE2b-256 | 50454ed4b84a669b76506ecab4d11ae91ddee2f2de1946f7351cb5c18f32f0ba |
Close
Hashes for nodestream_plugin_pedantic-0.10.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b02d9756c5b90d15f6294448eb65761971e9094d10a6af1f4214cc4e173d2e7c |
|
MD5 | 6282654f271ea5d31b8da936c0a9f118 |
|
BLAKE2b-256 | 9af3c2420f3bab5bfe4254945bdc472ffbfa616d18b3bb414acea224b4cbfa6a |