AzkabanCLI 
A lightweight Azkaban client providing:
A command line interface to run workflows, upload projects, etc.
A convenient and extensible way for building projects.
Sample
Below is a simple configuration file for a project containing a workflow with three jobs:
from azkaban import Job, Project
from getpass import getuser
PROJECT = Project('sample')
# properties available to all jobs
PROJECT.properties = {
'user.to.proxy': getuser(),
}
# dictionary of jobs
JOBS = {
'first': Job({'type': 'command', 'command': 'echo "Hello"'}),
'second': Job({'type': 'command', 'command': 'echo "World"'}),
'third': Job({'type': 'noop', 'dependencies': 'first,second'}),
}
for name, job in JOBS.items():
PROJECT.add_job(name, job)
The examples directory contains another sample project that uses Azkaban properties to build a project with two configurations: production and test, without any job duplication.
Documentation
The full documentation can be found here.
Installation
Using pip:
$ pip install azkaban
Metadata
Release files for azkaban 0.9.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| azkaban-0.9.8.tar.gz | 35.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| azkaban-0.9.8-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 69.3 kB
Release files / azkaban-0.9.8.tar.gz
| Download URL | azkaban-0.9.8.tar.gz |
|---|---|
| Size | 35.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9f42f619c4206d1600b62c21eef61faebb71d9323fea91e2036a86c2bcc54d5c
|
|
BLAKE2b-256 checksum How to use checksums |
e1a976deb0ebbc0f8eba1081a3ffcf87b71d05a908172ea0d5b1810e020b84d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.13
|
Release files / azkaban-0.9.8-py2-none-any.whl
| Download URL | azkaban-0.9.8-py2-none-any.whl |
|---|---|
| Size | 33.6 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
1c09856410c92cc6117c0422ff032a0cc0f63df99e0e012430f1829f0dd4f60e
|
|
BLAKE2b-256 checksum How to use checksums |
8baf49b0c452bd3b565978b4502fb06658853094ee434bb089aeccd39ebeb7ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.13
|