Skip to main content

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

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


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.0.3.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

dogsbody-0.0.3-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file dogsbody-0.0.3.tar.gz.

File metadata

  • Download URL: dogsbody-0.0.3.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.1

File hashes

Hashes for dogsbody-0.0.3.tar.gz
Algorithm Hash digest
SHA256 096db1349b99e68e66bbdb2e2cfd6a3a7cfe4179aa867d91854e42088a5acacc
MD5 cae65a71a95a0059255a2fbc1e1c7775
BLAKE2b-256 f09d7f64087123088a185c31ab004e65ca2334909e44f76d3c9478c1332acdd0

See more details on using hashes here.

Provenance

File details

Details for the file dogsbody-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: dogsbody-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.1

File hashes

Hashes for dogsbody-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5228dc0b0b277e43ba7a9c3be29eac6ff174316ef11c6fe9f1b8849140aad2c9
MD5 152fedb7bee8d4ec609f97c960aec730
BLAKE2b-256 e2cc2a0cf47c427f25937ef597cb9505bef2269f1d3e17aa1a2ace2329bc2101

See more details on using hashes here.

Provenance

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