ECLYPSE (Edge-CLoud pYthon Platform for Simulated runtime Environments) is a Python framework for experimenting with deployment strategies in the cloud–edge continuum. Model service-based applications and infrastructures, decide where services run, and study how deployments behave as resources and conditions change.
ECLYPSE is designed for researchers and developers evaluating placement strategies and distributed application scenarios.
Key features
- Build scenarios: represent infrastructures and applications as resource-aware graphs, starting from built-in builders or custom topologies.
- Control placement: use built-in or custom placement strategies to map services onto infrastructure nodes.
- Model change: define update policies and events for evolving resources, failures, workloads, and topology.
- Inspect results: collect built-in or custom metrics and query reports as dataframes.
- Run implemented services: move from abstract scenarios to remote emulation.
Simulation and emulation
Local simulation models services as application graph nodes, without requiring service implementations. Use it to study placement, resource evolution, and deployment behaviour.
Remote emulation executes implemented services through Ray, with MPI-style message passing or REST-style communication. It requires Ray, remote-capable services, and remote execution configuration. See the emulation guide for setup and communication details.
Installation
ECLYPSE is available on PyPI and requires Python >=3.11,<3.15. Install it with pip:
pip install eclypse
Or add it to a uv project:
uv add eclypse
See the installation guide for environment setup. The quickstart uses only the base package; remote emulation and other optional features may need additional dependencies.
Quickstart
Save this as quickstart.py. It builds a 20-node infrastructure and a Sock Shop application, runs 20 simulation steps with random placement and a built-in CPU degradation policy, then reads the collected metrics.
from pathlib import Path
from eclypse import policies
from eclypse.builders.application import get_sock_shop
from eclypse.builders.infrastructure import get_hierarchical
from eclypse.placement.strategies import RandomStrategy
from eclypse.simulation import Simulation, SimulationConfig
seed = 22
infrastructure = get_hierarchical(
n=20,
include_default_assets=True,
update_policies=policies.degrade.reduce(
factor=0.95,
epochs=20,
node_assets=["cpu"],
),
seed=seed,
)
application = get_sock_shop(include_default_assets=True, seed=seed)
config = SimulationConfig(
seed=seed,
max_steps=20,
include_default_metrics=True,
default_strategy=RandomStrategy(seed=seed),
path=Path.home() / "quickstart-results",
)
simulation = Simulation(infrastructure, simulation_config=config)
simulation.register(application)
simulation.run()
application_frame = simulation.report.application()
service_frame = simulation.report.service()
print("Application report empty:", application_frame.empty)
print("Service report empty:", service_frame.empty)
print(application_frame.head())
The built-in policies.degrade.reduce policy gradually reduces node CPU values by 5% over 20 evolution steps. This models infrastructure degradation without writing a custom policy.
Run it:
python quickstart.py
After the runtime logs, the first two lines confirm that metrics were collected:
Application report empty: False
Service report empty: False
The application dataframe preview follows. RandomStrategy is a baseline, not a guarantee of feasible placement: this scenario can log Path not found and Resetting placement warnings. Non-empty reports confirm metric collection, not successful deployment; inspect the metric values when comparing strategies. Reports are written under ~/quickstart-results in your home directory; if that directory already exists, ECLYPSE chooses a timestamped path instead. The default report backend returns pandas dataframes.
To adapt this experiment, replace RandomStrategy with your placement strategy, change the infrastructure builder, or add update policies. Continue with running a local simulation and inspecting results.
Examples
Follow these examples in order, or choose the scenario closest to your experiment:
- Off-the-shelf: compose a local simulation from built-in builders, policies, and placement logic.
- User distribution: add a custom metric and update policy driven by changing user distributions.
- Grid analysis: compare topologies, policies, and strategies with a Ray Tune sweep.
- Sock Shop: explore a microservices application with MPI and REST variants.
Runnable source is available in examples/. Individual examples may need additional dependencies or remote setup; check their guides before running them.
Documentation
- Getting started: installation, first run, results, and remote emulation.
- Core concepts: topology, assets, builders, placement, policies, and events.
- API reference: public modules and interfaces.
- Changelog: release history.
Contributing
See CONTRIBUTING.md for issue templates, development setup, tests, documentation checks, and pull request guidelines.
Publication
ECLYPSE is described and assessed in:
Jacopo Massa, Valerio De Caro, Stefano Forti, Patrizio Dazzi, Davide Bacciu, Antonio Brogi
ECLYPSE: a Python Framework for Simulation and Emulation of the Cloud-Edge Continuum,
Journal of Software: Evolution and Process, 2026.
If you want to cite ECLYPSE in your work, you can use the following BibTeX entry:
@article{massa2026eclypse,
title = {{ECLYPSE: A Python Framework for Simulation and Emulation of the Cloud-Edge Continuum}},
author = {Massa, Jacopo and De Caro, Valerio and Forti, Stefano and Dazzi, Patrizio and Bacciu, Davide and Brogi, Antonio},
journal = {Journal of Software: Evolution and Process},
volume = {38},
number = {1},
pages = {e70081},
year = {2026},
month = {1},
doi = {10.1002/smr.70081},
}
License
ECLYPSE is released under the MIT License.
Maintainers
ECLYPSE is maintained by Jacopo Massa and Valerio De Caro.
Contact Us
If you want to get in touch with us, drop us an e-mail!
Metadata
Release files for eclypse 0.11.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| eclypse-0.11.0-py3-none-any.whl | Python 3 | none | any | Details for eclypse-0.11.0-py3-none-any.whl |
Release files / eclypse-0.11.0-py3-none-any.whl
| Download URL | eclypse-0.11.0-py3-none-any.whl |
|---|---|
| Size | 446.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3018aa8fd74c719480f8864707522718ba9eb938ef64feaa78d28319ae0aeab9
|
|
BLAKE2b-256 checksum How to use checksums |
f09c71e6f91cfe68d6bdb5044b907d630239b19c273c9246e1438838eb4a713f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for eclypse 0.11.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.