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.8.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb2075dd2f5b6199ac653b070fc66b16c2aaa699179a46ac0b8e4dbe5fc04686 |
|
MD5 | ba972b2192d47c0b8d18f185ddbad286 |
|
BLAKE2b-256 | b43423c7ea5df96bb02e486621dec64c3394a6fa565772cd8bbf741cadf61398 |
Close
Hashes for nodestream_plugin_pedantic-0.8.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 658e1246efd5cfbc850ddeaabd5a16664d16038b4493d2edc1e9fdb84d226f17 |
|
MD5 | c182e1f14b25aa1e7614182f4eb6aaf6 |
|
BLAKE2b-256 | aab25aff9b70f9a586788b334acf5b6936c3e84759ce77a0276e4a5f9d33549f |