OpenNetwork Dev Suite: JSON->Keras model builder + Playground webview
Project description
OpenNetwork (opennetwork)
Visit https://opennetwork.dezors.com
A tiny developer suite for MLOps-oriented model authoring and loading. It lets you:
opennetwork.setmodel()— open the Playground (web view) to design your model.opennetwork.getmodel("model.json")— load a JSON graph into a Keras Functional model.opennetwork.init()— quickstart banner.
Default Playground: https://opennetwork.dezors.com/playground
Install
pip install opennetwork
# or, to enable building Keras models:
pip install "opennetwork[keras]"
# optional native window instead of browser:
pip install "opennetwork[webview]"
Python API
import opennetwork as onn
onn.init()
onn.setmodel() # opens the Playground in a window/browser
# Build from JSON (returns tf.keras.Model if TensorFlow is installed)
model = onn.getmodel("model.json")
# If TensorFlow is not installed, you can still validate the graph:
model, extras = onn.getmodel("model.json", return_extras=True)
print(extras["inserted"]) # e.g., auto-added Flatten when Dense follows Conv2D
CLI
opennetwork init
opennetwork setmodel
opennetwork getmodel path/to/model.json
JSON schema (minimal)
{
"id": "string",
"name": "string",
"layers": [
{
"id": "unique-id",
"type": "input|conv2d|dense|flatten|dropout|maxpool2d|batchnorm|activation|softmax_output",
"name": "optional",
"params": { "..." : "layer-params" },
"connections": ["next-layer-id", "..."],
"weights": [...], // optional
"biases": [...] // optional
}
]
}
- The graph is built topologically.
- If a
Densefollows a convolutional/tensor output, aFlattenis auto-inserted (configurable). softmax_outputis interpreted as a finalActivation("softmax").- Unknown or missing shapes will be handled best-effort; for guaranteed results, include an explicit
Inputlayer withparams.input_shape.
License
Apache 2.0
Under OpenNetwork @ Dezors 2025.
https://dezors.com - for more
Social Link
https://x.com/DezorsTweets https://www.linkedin.com/company/dezors https://github.com/Dezors-Service-And-Consultancy/
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file opennetwork-0.2.0.tar.gz.
File metadata
- Download URL: opennetwork-0.2.0.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bd351918329ca5d59230b14e9b46e50f79adfaf3595646e1f5916433c3a345d9
|
|
| MD5 |
66084eac25c7de59f54503d6b9778033
|
|
| BLAKE2b-256 |
914202854a5d3ae5901d142ae59f149c65e16bbc4e13efd4ffe177833af159f9
|
File details
Details for the file opennetwork-0.2.0-py3-none-any.whl.
File metadata
- Download URL: opennetwork-0.2.0-py3-none-any.whl
- Upload date:
- Size: 10.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f604d03660da31c96bc3db0688decf0e3984f9316892a60fcd0c3635cc3a56df
|
|
| MD5 |
2fd9971a7d68d46898cf00d6f76c0f86
|
|
| BLAKE2b-256 |
17cf39d452deeda9119c3554ac44e680894d8caeb0b2d18923fc90ae8a3d2940
|