Giter Site home page Giter Site logo

nipyapi's Introduction

NiPyApi

Nifi-Python-Api: A convenient Python wrapper for the Apache NiFi Rest API

Release Status Build Status Documentation Status Python Updates test coverage License

Features

This package provides pythonic calls for common NiFi tasks and CICD/SDLC integrations
These are implemented by replicating the action of the same task in the GUI and surfacing the underlying NiFi Data structures and calls wherever possible, to retain UX parallelism for the user

Usage

The easiest way to install NiPyApi is with pip:

# in bash
pip install nipyapi

Then import and use the modules:

# in python
from nipyapi.canvas import *
from nipyapi.templates import *
from nipyapi.system import *
from nipyapi.versioning import *
dir()
>['__builtins__', 'all_templates', 'create_pg_snippet', 'create_process_group', 'create_processor', 'create_registry_bucket',
'create_registry_client', 'create_template', 'delete_process_group', 'delete_processor', 'delete_registry_bucket',
'delete_registry_client', 'delete_template', 'deploy_template', 'export_template', 'get_flow', 'get_process_group',
'get_process_group_status', 'get_processor', 'get_processor_type', 'get_registry_bucket', 'get_registry_client',
'get_root_pg_id', 'get_template_by_name', 'list_all_process_groups', 'list_all_processor_types', 'list_all_processors',
'list_registry_buckets', 'list_registry_clients', 'recurse_flow', 'schedule_process_group', 'schedule_processor', 'sys',
'upload_template']
get_root_pg_id()
>'4d5dcf9a-015e-1000-097e-e505ed0f7fd2'

You can also pull the repository from Github and play or contribute on the latest features, check out the Contribution Guide for more info.

Background

For more information on Apache NiFi, please visit https://nifi.apache.org
For Documentation on this package please visit https://nipyapi.readthedocs.io.

Version Support

This project leverages the nifi-python-swagger-client to maintain version compatibility with NiFi releases
Currently we are testing against NiFi version 1.2 - 1.5, and NiFi-Registry version 0.1.0
If you require a different version please raise an issue

Requirements

Python 2.7 or 3.6 supported, though other versions may work

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template

Inspired by the equivalent Java client maintained over at hermannpencole/nifi-config

The swagger 2.0 compliant client auto-generated using the Swagger Codegen project, and then cleaned / bugfixed by the authors

nipyapi's People

Contributors

chaffelson avatar exception13 avatar pyup-bot avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.