Skip to main content

Make asyncio service

Project description

arun

Make asyncio service fast with arun. See example dir with example of usage.

Run example

python examples/example.py --manage \
  --config examples/example.conf \
  --logconfig examples/logging.conf

Get service stats

curl -H "content-type: application/json" -X POST \
  -d '{"jsonrpc": 2.0, "method": "stats", "params": {}, "id": 1}' \
  http://127.0.0.1:8080/manage

Run reconfigure service

curl -H "content-type: application/json" -X POST \
  -d '{"jsonrpc": 2.0, "method": "reconfig", "params": {}, "id": 2}' \
  http://127.0.0.1:8080/manage

Handilng singnals

kill -SIGTERM $(pgrep application)

arun BSD license.

0.0.1

  • init release

Credits

arun is written by Veniamin Gvozdikov.

Contributors

Please add yourself here alphabetically when you submit your first pull request.

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

arun-0.1.0.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

arun-0.1.0-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file arun-0.1.0.tar.gz.

File metadata

  • Download URL: arun-0.1.0.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for arun-0.1.0.tar.gz
Algorithm Hash digest
SHA256 87b9fd43fc5daf99787df4ed9ec3d51f728d9b0929cb3f8d8df1bb608be54ab7
MD5 fb3b63a9a0d4269fbf565a9c2db938de
BLAKE2b-256 dda69a3865064e68e4c197e1ec6f4769ce1c3db9f5bf4da02760e5580e1aeff8

See more details on using hashes here.

File details

Details for the file arun-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: arun-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for arun-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7fa48f8f92ab0a35eadf04cc2b64e0df9630b85227b47fb0820f9cdf58c8539a
MD5 94ab632fc29a9dccab7adc69c39e8bc7
BLAKE2b-256 72b6bf46b712ee89ab61b544d313b9e0bc8645759f5956d4b5e50f500af79944

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page