Skip to main content

Apache DolphinScheduler Python API

Project description

pydolphinscheduler

PyPi Version PyPi Python Versions PyPi License PyPi Status PyPi Downloads

Code style: black Imports: isort GitHub Build

PyDolphinScheduler is python API for Apache DolphinScheduler, which allow you definition your workflow by python code, aka workflow-as-codes.

Quick Start

Installation

# Install
$ pip install apache-dolphinscheduler

# Verify installation is successful, it will show the version of apache-dolphinscheduler, here we use 0.1.0 as example
$ pydolphinscheduler version
0.1.0

Here we show you how to install and run a simple example of pydolphinscheduler

Start Server And Run Example

Before you run an example, you have to start backend server. You could follow development setup section "DolphinScheduler Standalone Quick Start" to set up developer environment. You have to start backend and frontend server in this step, which mean that you could view DolphinScheduler UI in your browser with URL http://localhost:12345/dolphinscheduler

After backend server is being start, all requests from pydolphinscheduler would be sent to backend server. And for now we could run a simple example by:

# Please make sure your terminal could 
curl https://raw.githubusercontent.com/apache/dolphinscheduler/dev/dolphinscheduler-python/pydolphinscheduler/examples/tutorial.py -o ./tutorial.py
python ./tutorial.py

NOTICE: Since Apache DolphinScheduler's tenant is requests while running command, you might need to change tenant value in example/tutorial.py. For now the value is tenant_exists, please change it to username exists in you environment.

After command execute, you could see a new project with single process definition named tutorial in the UI-project list.

Develop

Until now, we finish quick start by an example of pydolphinscheduler and run it. If you want to inspect or join pydolphinscheduler develop, you could take a look at develop

Release

If you are interested in how to release PyDolphinScheduler, you could go and see at release

What's more

For more detail information, please go to see PyDolphinScheduler document

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

apache-dolphinscheduler-3.0.0a0.tar.gz (36.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

apache_dolphinscheduler-3.0.0a0-py3-none-any.whl (75.3 kB view details)

Uploaded Python 3

File details

Details for the file apache-dolphinscheduler-3.0.0a0.tar.gz.

File metadata

File hashes

Hashes for apache-dolphinscheduler-3.0.0a0.tar.gz
Algorithm Hash digest
SHA256 94dcbf2c13433a6de9b0494218bc36b0cd3fef650264f1716f31b8bfab690481
MD5 607f715abb72690ad7679b18ed322b31
BLAKE2b-256 d4754b6ed9230f4b38fc093834ab5230d8e7bee6e32a8e62c1b02fffc18bae7a

See more details on using hashes here.

File details

Details for the file apache_dolphinscheduler-3.0.0a0-py3-none-any.whl.

File metadata

File hashes

Hashes for apache_dolphinscheduler-3.0.0a0-py3-none-any.whl
Algorithm Hash digest
SHA256 e74676a9d95e36b3999f23ab8ad9e24f263575e32e8c367f9a33b127fa567394
MD5 3e4b2eb762f8ba16116e572299867488
BLAKE2b-256 d6a74a225067cd2c55b70b8a122f84c4860f090936aa35c15f2c18058c5d9e69

See more details on using hashes here.

Supported by

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