FlowConsole SDK
Project description
FlowConsole SDK
FlowConsole SDK contains the typed DSL for describing systems, components, and flows that the FlowConsole engine renders. It is built with jsii, so the same definitions are published to npm, PyPI, Maven, NuGet, and Go modules.
Install
-
Node.js:
npm install @flowconsole/sdk -
Python (PyPI):
pip install flowconsole-sdk -
.NET:
dotnet add package FlowConsole.Sdk -
Maven:
<dependency> <groupId>flowconsole</groupId> <artifactId>sdk</artifactId> <version>0.0.1</version> </dependency>
-
Go:
go get github.com/slackmaster9999/flowconsole
Quick start (TypeScript)
When executed inside the FlowConsole runtime (as used by the playground/app), the SDK attaches flow helpers to your entities so you can describe interactions fluently:
import { User, ReactApp, RestApi, Postgres } from '@flowconsole/sdk';
const user: User = { name: 'Customer', description: 'end user' };
const frontApp: ReactApp = { name: 'Customer Dashboard', description: 'React app' };
const restApi: RestApi = { name: 'Backend', description: 'Java REST API' };
const db: Postgres = { name: 'main_db', description: 'Database' };
user
.sendsRequestTo(frontApp, 'opens in browser')
.then(frontApp)
.sendsRequestTo(restApi, 'GET /api/v1/dashboard/:id')
.then(restApi)
.sendsRequestTo(db, 'fetch dashboard data');
Python package
- Package name:
flowconsole-sdk, import module:flowconsole. - Generated via
jsii-pacmak; property names mirror the TypeScript definitions. - The package ships the DSL types; use it alongside the FlowConsole engine that evaluates the objects you build.
Building multi-language packages
- Install dependencies from the repo root:
pnpm install. - Build the TypeScript sources:
pnpm --filter @flowconsole/sdk build. - Generate language-specific artifacts (including PyPI):
pnpm --filter @flowconsole/sdk package. Artifacts are written tosrc/sdk/dist/(for JavaScript) and language subfolders such asdist/python(PyPI wheel/sdist). This README is used as the long description on PyPI.
License
MIT — see src/sdk/LICENSE.
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 flowconsole_sdk-1.0.2b20260129072758.tar.gz.
File metadata
- Download URL: flowconsole_sdk-1.0.2b20260129072758.tar.gz
- Upload date:
- Size: 21.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
72d1e5c6034b7dca8ae93612c1e61049e08a03738fe8b05cdb837c66d9b74d92
|
|
| MD5 |
a5347a7056f98f575de771af85cf6e50
|
|
| BLAKE2b-256 |
e4c582861cd21afbda61725823dcc4558fc04f00e181f664e71c5c34bb92fb8d
|
File details
Details for the file flowconsole_sdk-1.0.2b20260129072758-py3-none-any.whl.
File metadata
- Download URL: flowconsole_sdk-1.0.2b20260129072758-py3-none-any.whl
- Upload date:
- Size: 20.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1e201e48205ed4314673e43092a7109a8c05d83cc3bcb22f48351a87a8610349
|
|
| MD5 |
35eeb999ffee9107c05755043549c60d
|
|
| BLAKE2b-256 |
7673386c6ec3f575058baaee91d50f9ec64edbaffee7cfe6423f6ca35710f8f5
|