Skip to main content

AS3 Ninja is a templating and validation engine for your AS3 declarations providing a CLI and Swagger REST API

Project description

AS3 Ninja

AS3 Ninja is a templating and validation engine for your AS3 declarations. No matter if you prefer a CLI or Swagger REST API, AS3 Ninja has you covered!

CI Pipeline Documentation Status Maintainability Test Coverage

What is AS3 Ninja and what can it do for you?

AS3 Ninja is a templating engine as well as a validator for AS3 declarations. It offers a CLI for local usage, as well as a OpenAPI/Swagger based REST API.

AS3 Ninja empowers you to create AS3 declarations in a DevOps way by embracing the ideas of GitOps and CI/CD.

It separates Configuration from Code (Templates) as far as YOU wish.

AS3 Ninja let's you decide to scale between declarative and imperative paradigms to fit your needs.

What AS3 Ninja doesn't do:

  • It does not provide you with a UI to create configurations
  • It does not deploy AS3 configurations

Features

  • Validate your AS3 Declarations against the AS3 Schema (via API, eg. for CI/CD) and AS3 specific formats
  • Create AS3 Declarations from templates using the full power of Jinja2 (CLI and API)
    • reads your JSON or YAML configurations to generate AS3 Declarations
    • carefully crafted Jinja2 as3ninja.filters and as3ninja.functions further enhance the templating capabilities
  • Use Git(hub) to pull template configurations and declaration templates
  • HashiCorp Vault integration to retrieve secrets
  • AS3 Ninja provides a simple CLI..
  • ..and a REST API including a Swagger/OpenAPI interface at /api/docs and /api/redoc (openapi.json @ /api/openapi.json)

AS3 Ninja Interface

Some impressions from AS3 Ninja's interfaces:

the Command Line

CLI

the API UI

ReDoc and Swagger UI:

ReDoc

Swagger UI demo:

Swagger UI

Disclaimer and Security Note

AS3 Ninja is not a commercial product and is not covered by any form of support, there is no contract nor SLA!. Please read, understand and adhere to the license before use.

AS3 Ninja's focus is flexibility in templating and features, it is not hardened to run in un-trusted environments.

  • It comes with a large set of dependencies, all of them might introduce security issues
  • Jinja2 is not using a Sandboxed Environment and the readfile filter allows arbitrary file includes.
  • The API is unauthenticated

WARNING: Only use AS3 Ninja in a trusted environment with restricted access and trusted input.

Where to start?

Read the Docs and then Try it out! :-)

Download files

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

Source Distribution

as3ninja-0.6.1.tar.gz (2.9 MB view details)

Uploaded Source

Built Distribution

as3ninja-0.6.1-py3-none-any.whl (2.9 MB view details)

Uploaded Python 3

File details

Details for the file as3ninja-0.6.1.tar.gz.

File metadata

  • Download URL: as3ninja-0.6.1.tar.gz
  • Upload date:
  • Size: 2.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.10.6 Linux/5.15.0-1033-azure

File hashes

Hashes for as3ninja-0.6.1.tar.gz
Algorithm Hash digest
SHA256 1d81ddadb78f97e7f342b0bc488167b5c1c57a29125b9700d56d11e35d6e7824
MD5 ef074f87c9e0954bab48519dec3b0664
BLAKE2b-256 dffce7816f45c86e523fb8cac44247eac316fdf03646fa5bc2f18d3d86fd22fc

See more details on using hashes here.

File details

Details for the file as3ninja-0.6.1-py3-none-any.whl.

File metadata

  • Download URL: as3ninja-0.6.1-py3-none-any.whl
  • Upload date:
  • Size: 2.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.10.6 Linux/5.15.0-1033-azure

File hashes

Hashes for as3ninja-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a219400c0e634db66be4e3e2481d40f44c31e5fd43672f7258793b634887bd17
MD5 435efcb5569eac57259a0a53cc2d0e06
BLAKE2b-256 3065b95fc25dd3df888313315b1a7e6e66ebf7756dbe7d0085f16c1b9ab04614

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