Enasis Network Chatting Robie
Project description
Enasis Network Chatting Robie
:warning: This project has not released its first major version.
Barebones service for connecting to multiple upstream chat networks.
Documentation
Read project documentation
built using the Sphinx project.
Should you venture into the sections below you will be able to use the
sphinx
recipe to build documention in the sphinx/html
directory.
Installing the package
Installing stable from the PyPi repository
pip install enrobie
Installing latest from GitHub repository
pip install git+https://github.com/enasisnetwork/enrobie
Quick start for local development
Start by cloning the repository to your local machine.
git clone https://github.com/enasisnetwork/enrobie.git
Set up the Python virtual environments expected by the Makefile.
make -s venv-create
Execute the linters and tests
The comprehensive approach is to use the check
recipe. This will stop on
any failure that is encountered.
make -s check
However you can run the linters in a non-blocking mode.
make -s linters-pass
And finally run the various tests to validate the code and produce coverage
information found in the htmlcov
folder in the root of the project.
make -s pytest
Running the service
There are several command line arguments, see them all here.
python -m enrobie.execution.service --help
Here is an example of running the service from inside the project folder within the Workspace project.
python -m enrobie.execution.service \
--config ../../Persistent/enrobie-prod.yml \
--console \
--debug \
--print_command
Replace ../../Persistent/enrobie-prod.yml
with your configuration file.
Deploying the service
It is possible to deploy the project with the Ansible roles located within the Orchestro project! Below is an example of what you might run from that project to deploy this one. However there is a bit to consider here as this requires some configuration.
make -s \
limit=all \
orche_files=../../Persistent/orchestro-prod.yml \
ansible_args=" --diff" \
enrobie-install
Version management
:warning: Ensure that no changes are pending.
-
Rebuild the environment.
make -s check-revenv
-
Update the version.txt file.
-
Push to the
main
branch. -
Create repository release.
-
Build the Python package.
Be sure no uncommited files in tree.make -s pypackage
-
Upload Python package to PyPi test.
make -s pypi-upload-test
-
Upload Python package to PyPi prod.
make -s pypi-upload-prod
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
Built Distribution
File details
Details for the file enrobie-0.9.0.tar.gz
.
File metadata
- Download URL: enrobie-0.9.0.tar.gz
- Upload date:
- Size: 43.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 144530af4c66134359bb7c2a8d8d1589fe670f6cbc4c7aaaf7e56db93d794f26 |
|
MD5 | a9aaca590ea9c3b46765768592a38744 |
|
BLAKE2b-256 | d243a78b83b396b35c1a6486c34934a13313fa80aa6a33158a9e6092a550b283 |
File details
Details for the file enrobie-0.9.0-py3-none-any.whl
.
File metadata
- Download URL: enrobie-0.9.0-py3-none-any.whl
- Upload date:
- Size: 91.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a670d0e7d5e38e7650420d9a53b7048b995545a5b57071e432d23af2a10f505 |
|
MD5 | d67fbd267494ef4a950d2417f66b4f96 |
|
BLAKE2b-256 | f1e452fd00247cbc4222416dbfd4d0c166f333e9e0576b237d6f262aa1f583e5 |