Skip to main content

Daemux uses tmux to let you start, stop, restart and check daemons.

Installation

To install use pip:

$ pip3 install daemux

Or clone the repo:

$ git clone https://github.com/edouardklein/daemux

$ python3 setup.py install

Usage

Documentation

Read the documentation https://daemux.readthedocs.io/ to understand how to use daemux.

In the cloned repo

Helper targets

To build the documentation, run:

$ make doc

To run the test, run:

$ make test

To check the code’s superficial cleanliness run:

$ make lint

Dev cycle

One branch derived from latest master per new feature or bug fix.

When this branch is complete: - Merge master back in it

$ git merge master

  • Make sure all tests pass, the code is clean and the doc compiles:

    $ make

  • Bump the version appropriately (no tags):

    $ bumpversion (major|minor|patch) –commit –no-tag

  • Rebase everything in order to make one commit (if more are needed, talk the the maintainer). To avoid catastrophic failure, create another branch that won’t be rebased first. Keep bumpversion’s commit message somewhere in the rebased commit message, but not always on the first line.

    $ git branch <my_feature>_no_rebase

    $ git rebase -i master

  • Make a pull request, or, if you are the maintainer, switch to master

    $ git checkout master

  • If you are the maintainer, merge the feature branch:

    $ git merge <my_feature>

  • If you are the maintainer, make sure everything works as it should

  • If you are the maintainer, close the relevent issues (by adding fix… in the commit message with –amend)

  • If you are the maintainer, create the appropriate tag

    $ git tag <version>

  • If you are the maintainer, push the code to any relevant remote

    $ git push

  • If you are the maintainer, upload the code to PyPI

    $ python3 setup.py sdist

    $ twine upload dist/* –skip-existing

  • If you are the maintainer, check that the docs are updated <http://daemux.readthedocs.io/en/latest/>

  • If you are the maintainer or the devops guy, deploy the new code to all relevant machines

Release files for daemux 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for daemux 0.1.0
File Size Uploaded
daemux-0.1.0.tar.gz 5.6 kB Details

Release files / daemux-0.1.0.tar.gz

Download URL daemux-0.1.0.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
e1d686351eb1489c97a651fc466716c8d4597455ebf34d300726a3bd79b2da65
BLAKE2b-256 checksum
How to use checksums
0f8f56cd13c02dad4ad77c4a2998dfdcb0b31c565c493e94c093091580a8bc3d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file

0.0.17

1 release file

0.0.16

1 release file

0.0.15

1 release file

0.0.14

1 release file

0.0.13

1 release file

0.0.12

2 release files

0.0.11

1 release file

0.0.10

1 release file

0.0.9

1 release file

0.0.8

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page