Skip to main content

hopeit.engine

Docs: https://hopeitengine.readthedocs.io/en/latest/

Engine development README

Install locally for apps or plugins development:

  • Install uv
  • Run from hopeit.engine project root
    make dev
  • Now everything you need is installed in .venv/
  • Then you can create your apps or plugins and run the server

Install from Python Package Index

Install core hopeit.engine lib:

pip install "hopeit.engine"

Configure

  • Create server configuration json file
  • Create apps configuration and python files
  • Optionally you can develop plugins, similar to apps but can be shared

Start http server

  • Example starting a single app/microservice
    python -m hopeit.server.web --config-files=server-config.json,app-folder/config/app-config.json
  • Additional options:
    --config-files: comma-separated file of config files to load, starting with server config, then plugins, then apps
    --api-file: path to openapi complaint json specification
    --host: server host address or name, default is --host=0.0.0.0
    --port: indicates to listen on another port number, default is --port=8020
    --path: indicates to listen in a unix socket path, default is disabled    
    --start-streams: indicates to automatically start events of type STREAM when starting server
    
  • Example starting a single app that depends on plugins:
    python engine/server/web.py --config-files=server-config.json,plugin-folder/config/plugin-config.json,app-folder/config/app-config.json

Tools for Engine Development

  • To install development dependencies, from engine folder run:
    make dev
  • To run tests
    make test
  • To fromat code
    make format
  • To run static code checks (types, style)
    make lint
  • To create distribution library (hopeit.engine)
    make dist

Metadata

Release files for hopeit.engine 0.26.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 hopeit.engine 0.26.0
File Size Uploaded Provenance Actions
hopeit_engine-0.26.0.tar.gz 72.7 kB Without provenance Details for hopeit_engine-0.26.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hopeit.engine 0.26.0
File Interpreter ABI Platform Actions
hopeit_engine-0.26.0-py3-none-any.whl Python 3 none any Details for hopeit_engine-0.26.0-py3-none-any.whl

Total release size: 157.7 kB

Release files / hopeit_engine-0.26.0.tar.gz

Download URL hopeit_engine-0.26.0.tar.gz
Size 72.7 kB
Tags Source
SHA-256 checksum
How to use checksums
dadfbb149d7cbbf169416e1277455367f0838c2f019465b7c032fd6c7d37c8a9
BLAKE2b-256 checksum
How to use checksums
5a6bfcaa185f9fc6acb83b0ef2e0945bc34bf85326b4ccf4723a05ba75a9aa55
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.14

Release files / hopeit_engine-0.26.0-py3-none-any.whl

Download URL hopeit_engine-0.26.0-py3-none-any.whl
Size 85.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e4ef4474e44ed7851e11a4e5356721e90aec6b1c0ee59628fc26fdf5f18e2cba
BLAKE2b-256 checksum
How to use checksums
2c5acaf3b3c3e7eb8032dc833d76c4c1df5e05b1283b89162a2b4744e3c8b074
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.14

Security for hopeit.engine 0.26.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.26.0 This release

2 release files No provenance

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