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
- 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. - Write your plan(s). See the example plan files for guidance.
- 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
Contributing
Please use the pre-commit hooks. Either install it on your system or use the development dependencies.
Project details
Release history Release notifications | RSS feed
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.6.0.tar.gz
(24.0 kB
view details)
Built Distribution
File details
Details for the file dbispipeline-0.6.0.tar.gz
.
File metadata
- Download URL: dbispipeline-0.6.0.tar.gz
- Upload date:
- Size: 24.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e6bfe8f147222341cd6c0474f1354dd150da7ccd2e5121d17b8d4ec2fe5199b |
|
MD5 | e23f0685d85e66ec6a0966c269dce83c |
|
BLAKE2b-256 | 1faa91659c6d7d4a4fddb6f75ac83974a754919e1ea49b047719d51c761b2e0b |
File details
Details for the file dbispipeline-0.6.0-py3-none-any.whl
.
File metadata
- Download URL: dbispipeline-0.6.0-py3-none-any.whl
- Upload date:
- Size: 30.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8f544ab7322e76447f767bdade30dddd77e764bda46492360bd71b47b7ea9e4 |
|
MD5 | 00eabfc19bf0c0e0cf80632acc17e030 |
|
BLAKE2b-256 | f08666c971e6f5cc663ba468bee6e6dc548a1f79bfd9de77989e3b3773b21f72 |