Skip to main content

Plugin template project used to quick start development of a new Versatile Data Kit SDK plugin.

Project description

The name of the plugin

Instructions:

(delete this section after reading and completing the instructions)

This directory outlines a template which specifies the implementation of all vdk plugins. It includes a setup.py file, a /src/ directory containing all the plugin hooks and additional implementation files, a /tests/ directory containing all plugin-specific tests, and a .plugin-ci.yml file which specifies the CI/CD relevant to the plugins.

The CI/CD is separated in two stages, a build stage and a release stage. The build stage is made up of a few jobs, all which inherit from the same job configuration and only differ in the Python version they use (3.7, 3.8, 3.9 and 3.10). They run according to rules, which are ordered in a way such that changes to a plugin's directory trigger the plugin CI, but changes to a different plugin does not.

In order to add a new plugin, copy the plugin-template directory and follow the instructions in the files. Generally those are

  • Update the setup.py file with correct name of the plugin;
  • Update .plugin-ci.yml file with name of the plugin - make sure to follow comments;
  • Include your implementation files inside the src folder;
  • Include any tests inside the tests so they can be ran by CI framework automatically.

Usage

Build and testing

In order to build and test a plugin go to the plugin directory and use ../build-plugin.sh script to build it

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plugin-package-template-0.1.477708478.tar.gz (2.3 kB view details)

Uploaded Source

File details

Details for the file plugin-package-template-0.1.477708478.tar.gz.

File metadata

  • Download URL: plugin-package-template-0.1.477708478.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.12

File hashes

Hashes for plugin-package-template-0.1.477708478.tar.gz
Algorithm Hash digest
SHA256 d8a236137b0a115fecc2ba0fc4ba9b7d6fbe418464d2d6be51261b9bc54b2070
MD5 e463e20a415cd27aeb778f30cc04105b
BLAKE2b-256 626e9b07b77df4bf98b87be791f9521960e2c90d33eaf263d16b26130a560e6d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page