Skip to main content

should make things more reproducible

Project description

DBIS Pipeline

This pipline can be used to run analyses in a structured way.

Usage

the user writes a minimal plan file which contains only the following information:

  • "how do I get the data?", by providing a dataloader
  • "what to do with the data?", by providing a scikit pipeline
  • "what to do with the result?", by providing output handlers.

Please have a look at the examples for more information.

Requirements

  • python >= 3.6
  • a PostgreSQL database
  • an email server if you want to use notification emails

Installation

  1. Install dbispipeline in your python. We recommend using pipenv to keep your dependencies clean: pipenv install dbispipeline This call will install a virtual environment as well as all dependencies.
  2. Write your plan(s). See the example plan files for guidance.
  3. call pipenv run dp <yourplanfile.py>

Enjoy!

Configuration

The framework look in multiple directories for its configuration files.

  • /usr/local/etc/dbispipeline.ini used for system wide default.
  • $HOME/.config/dbispipeline.ini used for user specific configurations.
  • ./dbispipeline.ini for project specific configurations.

And example configuration file looks like this:

[database]

# url to your postgres database
host = your.personal.database

# your database user name
user = user

# port of your postgres database, default = 5432
# port = 5432

# password of your database user
password = <secure-password>

# database to use
database = pipelineresults

# table to be used
result_table = my_super_awesome_results

[project]
# this will be stored in the database
name = dbispipeline-test

[mail]
# email address to use as sender
sender = botname@yourserver.com

# recipient. This should probably be set on a home-directory-basis.
recipient = you@yourserver.com

# smtp server address to use
smtp_server = smtp.yourserver.com

# use smtp authentication, default = no
# authenticate = no

# username for smtp authentication, required if authenticate = yes
# username = foo

# password for smtp authentication, required if authenticate = yes
# password = bar

# port to use for smtp server connection, default = 465
# port = 465

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

dbispipeline-0.5.2.tar.gz (22.7 kB view details)

Uploaded Source

Built Distribution

dbispipeline-0.5.2-py3-none-any.whl (29.5 kB view details)

Uploaded Python 3

File details

Details for the file dbispipeline-0.5.2.tar.gz.

File metadata

  • Download URL: dbispipeline-0.5.2.tar.gz
  • Upload date:
  • Size: 22.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.5

File hashes

Hashes for dbispipeline-0.5.2.tar.gz
Algorithm Hash digest
SHA256 1e7dfb9bafb7c06c5c8877e11f9e2fb8b01adb7aea8c3ac176d1e34f3ea65734
MD5 b49ffb6bbb11d466c6389d159bad3832
BLAKE2b-256 143cc41a7d42fe3808be3a0b9c4cefb22445fe582a9a6d55e9040a6028e1246c

See more details on using hashes here.

File details

Details for the file dbispipeline-0.5.2-py3-none-any.whl.

File metadata

  • Download URL: dbispipeline-0.5.2-py3-none-any.whl
  • Upload date:
  • Size: 29.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.5

File hashes

Hashes for dbispipeline-0.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d50c442005995abedd260ffa8b7af6cebdc44615f42cc259098df5e615abaf97
MD5 111cd70e3f987b4a28ccaa86e246f9f9
BLAKE2b-256 051dde37edda90d90da0bfd7b2fd338046a242adf1f0ba08d3b29e475cac918c

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