A tool to create and execute a "special setup"/"data file".
Project description
========
Dogsbody
========
A tool to create and execute a "special setup"/"data file".
Install
-------
::
pip install dogsbody
How to use
----------
The "special setup" is a directory with at least one file. The main.sh file is
executed and run your custom commands. To pass the directory, it is compressed
into a file. You can also add other stuff to the source directory.
Encryption
----------
To use the encryption (the -p option) you have to install "cryptography".::
pip install cryptography
Commands
--------
Some information::
dogsbody --help
Create the "data file"/"special setup"::
dogsbody create source filename
Executed the "special setup"::
dogsbody run source
And now both with activated encryption::
dogsbody -p "1234" create source filename
dogsbody -p "1234" run source
Why?
----
I need to setup a project on a raspberry pi. It should be a single file
including everything.
Development
-----------
Some information for crazy developers. Virtual environment windows::
python -m venv venv
venv\Scripts\activate
Virtual environment linux::
python3 -m venv venv
source venv/bin/activate
Setup project::
python -m pip install --upgrade pip wheel setuptools twine tox flake8 pylint pylama
pip install -e .
Run some test::
pylint --rcfile=setup.cfg dogsbody
tox
Create package::
python setup.py sdist bdist_wheel
Upload package::
twine upload dist/*
Run it on Termux::
pkg install clang # for cryptography
./dev.sh
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
dogsbody-0.1.7.tar.gz
(10.4 kB
view details)
Built Distribution
File details
Details for the file dogsbody-0.1.7.tar.gz
.
File metadata
- Download URL: dogsbody-0.1.7.tar.gz
- Upload date:
- Size: 10.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8bb287e7b23e070915350127281af36d119f1b4fe79e3dd0dbaff1b9a080de73 |
|
MD5 | 57a99df380cbc5d4e1ef3c692ba3265c |
|
BLAKE2b-256 | 89c142fc94bafc15cfff28fac8de688aaaf29646305eaa93da4874ac6b7ab0ce |
File details
Details for the file dogsbody-0.1.7-py3-none-any.whl
.
File metadata
- Download URL: dogsbody-0.1.7-py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d70333e9d669c5b6a87e1e82b8daa614fd1768e6edbeccc76a03449d7caa11c |
|
MD5 | d845a4ec7fc1936d541025cc0d6edcd7 |
|
BLAKE2b-256 | 5e9bb257b3ab5b3a1ee96b178c4050e87bf41869ae2907d03518746cd1956d45 |