Metadata-Version: 2.1
Name: dogsbody
Version: 0.1.5
Summary: A tool to create and execute a "special setup"/"data file".
Home-page: https://github.com/axju/dogsbody
Author: axju
Author-email: moin@axju.de
License: MIT
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Description-Content-Type: text/plain
License-File: LICENSE

========
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


