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.0b1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 661a53bd2b9d7bf21fa3aa31f3b28914c4789d2a9d8ef470c9b800187da1126a |
|
MD5 | 5216d25eeba0062e3da3bf43928101a9 |
|
BLAKE2b-256 | 3a23b80b0b5ecdc19e539cc9e9e3d120f55ae8527732f5f35ff2dd7c9aaacf99 |
Close
Hashes for nodestream_plugin_pedantic-0.13.0b1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a25e1501fc38d77bbbd011ae02371180c500d9a950487fc85260c308d5e46d8d |
|
MD5 | 992895ac11157d77d3b8c9997de187c5 |
|
BLAKE2b-256 | ba1b7bb1c91b06b372d7dce965a7566db1c914f9ebe0befd5fb64d56660080fa |