# Jingongo Framework SDK
[](https://pypi.org/project/jingongo-framework/)
[](https://opensource.org/licenses/Apache-2.0)
[](https://pypi.org/project/jingongo-framework)
Welcome to the Jingongo SDK! This Python library is your gateway to the **Jingongo Digital Twin Platform**. It provides the essential tools to programmatically convert your simulation models into industry-standard Functional Mock-up Units (FMUs) and manage them in the cloud.
This SDK handles the complex work of packaging your local code, uploading it securely, and communicating with our powerful cloud-based conversion engine. It is the perfect companion to the user-friendly web platform at **[www.jingongo.com](https://www.jingongo.com)**.
---
## The Jingongo Vision: A Complete Digital Twin Ecosystem
While the current SDK focuses on robust FMU conversion, Jingongo is being built as a comprehensive platform for the entire digital twin lifecycle. Our goal is to empower engineers and scientists with a seamless workflow from concept to real-time operation.
#### ✨ **Current Features (Ready Today)**
* **Simple Conversion:** Turn local Python or C models into FMUs with a single command.
* **Cloud-Powered Engine:** Offload the heavy lifting of compilation and packaging to a scalable cloud service.
* **Model Management:** Programmatically list your cloud models and download completed FMUs.
* **Flexible Configuration:** Define your model's parameters, inputs, and outputs using a simple `.jingongo.yml` file.
* **Secure by Design:** All communication is authenticated using secure API keys.
#### 🛠️ **Future Features (Under Active Development)**
* **Integrated Testing:** Test your models against various scenarios directly within the Jingongo cloud environment.
* **Advanced Version Control:** Manage versions of any model format (FMU, Simulink, etc.) with a clear history and rollback capabilities.
* **Live Data Connection:** Easily connect your digital twins to real-time data streams from physical assets for performance monitoring and optimization.
* **Rapid Prototyping:** Assemble complex digital twins from a library of pre-built "LEGO block" models to accelerate development.
* **AI-Powered Model Creation:** Use our platform to generate powerful simulation models directly from high-level requirements.
---
## 🚀 Getting Started: Your First FMU in 5 Minutes
This guide will walk you through installing the SDK and converting your first model.
### Step 1: Install the SDK
Open your terminal and install the framework from PyPI.
pip install jingongo-framework
Step 2: Get Your API Key
The SDK requires a secure API Key.
Sign up or log in to the Jingongo web portal at www.jingongo.com.
Navigate to your user dashboard or settings page.
Click the "Generate New API Key" button.
Copy the generated key immediately. Save it somewhere safe, like a password manager. This key is permanent and will not be shown again.
Step 3: Set Up Your Environment
For the SDK to authenticate, you must set your new API key as an environment variable.
In your terminal, run the appropriate command for your system:
# On Windows Command Prompt (CMD)
set JINGONGO_API_KEY="your_permanent_api_key_here"
# On macOS, Linux, or PowerShell
export JINGONGO_API_KEY="your_permanent_api_key_here"
You will need to do this for every new terminal session, or add it to your system's profile script.
Step 4: Run Your First Conversion
Now you are ready to use the SDK!
1. Get the Example Files: To run our pre-made examples, you'll need to clone this repository.
git clone https://github.com/vcussei/jingongo.git
cd jingongo
2. Run the Conversion Script: Navigate to the examples directory and run the Python conversion script.
# From the project root directory:
python -m examples.02_convert_python_model
# Or, if you are inside the examples/ directory:
# python 02_convert_python_model.py
You will see real-time status updates from the cloud engine in your console. Once it's complete, you've successfully used the entire Jingongo pipeline!
📚 SDK Usage and Examples
The examples/ folder in this repository is the best place to learn. Each script is small, focused, and demonstrates a core feature.
00_check_health.py: A simple script to verify your API key and connection to the backend.
01_generate_api_key.py: An alternative, programmatic way to generate an API key.
02_convert_python_model.py: The primary example for converting a Python model.
03_convert_c_model.py: Shows how to convert a C-based model.
04_list_models.py: Demonstrates how to list all your models in the cloud.
05_download_model.py: Shows how to download a specific FMU using its Job ID.
06_get_login_url.py & 07_get_signup_url.py: Simple helpers for getting web portal URLs.
Example Command:
To download a model after finding its ID with the list_models script
python -m examples.05_download_model YOUR_JOB_ID_HERE
---
## 🏗️ Project Structure for Contributors
Interested in contributing? This repository follows standard Python packaging best practices.
* **`pyproject.toml`**: The heart of the project. Defines all metadata and dependencies.
* **`src/jingongo/`**: The actual Python package source code. This is what gets installed via `pip`.
* **`examples/`**: Standalone scripts that demonstrate how to use the library. Not included in the `pip` installation.
* **`tests/`**: The automated test suite (`pytest`) to ensure code quality and prevent bugs.
### How to Contribute
1. **Clone the repository:** `git clone https://github.com/vcussei/jingongo.git && cd jingongo`
2. **Create a virtual environment:** `python -m venv venv && source venv/bin/activate`
3. **Install in editable mode with test dependencies:** `pip install -e .[test]`
4. **Run the tests:** `pytest`
If all tests pass, you are ready to start developing!
## License
This project is licensed under the Apache-2.0 License. See the [LICENSE](LICENSE) file for details.
Raw data
{
"_id": null,
"home_page": null,
"name": "jingongo-framework",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "fmu, digital twin, simulation, jingongo, fmi",
"author": null,
"author_email": "Valdimiro Cussei <valdimiro.cussei@ratotecki.com>, Bento Cussei <bento.cussei@ratotecki.com>",
"download_url": "https://files.pythonhosted.org/packages/bd/91/0130fe4ec98481801a90d374b4c92e1664514b383c5b4940d5e221a9e50d/jingongo_framework-0.1.2.tar.gz",
"platform": null,
"description": "# Jingongo Framework SDK\r\n\r\n[](https://pypi.org/project/jingongo-framework/)\r\n[](https://opensource.org/licenses/Apache-2.0)\r\n[](https://pypi.org/project/jingongo-framework)\r\n\r\nWelcome to the Jingongo SDK! This Python library is your gateway to the **Jingongo Digital Twin Platform**. It provides the essential tools to programmatically convert your simulation models into industry-standard Functional Mock-up Units (FMUs) and manage them in the cloud.\r\n\r\nThis SDK handles the complex work of packaging your local code, uploading it securely, and communicating with our powerful cloud-based conversion engine. It is the perfect companion to the user-friendly web platform at **[www.jingongo.com](https://www.jingongo.com)**.\r\n\r\n---\r\n\r\n## The Jingongo Vision: A Complete Digital Twin Ecosystem\r\n\r\nWhile the current SDK focuses on robust FMU conversion, Jingongo is being built as a comprehensive platform for the entire digital twin lifecycle. Our goal is to empower engineers and scientists with a seamless workflow from concept to real-time operation.\r\n\r\n#### \u2728 **Current Features (Ready Today)**\r\n\r\n* **Simple Conversion:** Turn local Python or C models into FMUs with a single command.\r\n* **Cloud-Powered Engine:** Offload the heavy lifting of compilation and packaging to a scalable cloud service.\r\n* **Model Management:** Programmatically list your cloud models and download completed FMUs.\r\n* **Flexible Configuration:** Define your model's parameters, inputs, and outputs using a simple `.jingongo.yml` file.\r\n* **Secure by Design:** All communication is authenticated using secure API keys.\r\n\r\n#### \ud83d\udee0\ufe0f **Future Features (Under Active Development)**\r\n\r\n* **Integrated Testing:** Test your models against various scenarios directly within the Jingongo cloud environment.\r\n* **Advanced Version Control:** Manage versions of any model format (FMU, Simulink, etc.) with a clear history and rollback capabilities.\r\n* **Live Data Connection:** Easily connect your digital twins to real-time data streams from physical assets for performance monitoring and optimization.\r\n* **Rapid Prototyping:** Assemble complex digital twins from a library of pre-built \"LEGO block\" models to accelerate development.\r\n* **AI-Powered Model Creation:** Use our platform to generate powerful simulation models directly from high-level requirements.\r\n\r\n---\r\n\r\n## \ud83d\ude80 Getting Started: Your First FMU in 5 Minutes\r\n\r\nThis guide will walk you through installing the SDK and converting your first model.\r\n\r\n### Step 1: Install the SDK\r\n\r\nOpen your terminal and install the framework from PyPI.\r\n\r\npip install jingongo-framework\r\n\r\nStep 2: Get Your API Key\r\nThe SDK requires a secure API Key.\r\nSign up or log in to the Jingongo web portal at www.jingongo.com.\r\nNavigate to your user dashboard or settings page.\r\nClick the \"Generate New API Key\" button.\r\nCopy the generated key immediately. Save it somewhere safe, like a password manager. This key is permanent and will not be shown again.\r\nStep 3: Set Up Your Environment\r\nFor the SDK to authenticate, you must set your new API key as an environment variable.\r\nIn your terminal, run the appropriate command for your system:\r\n\r\n# On Windows Command Prompt (CMD)\r\nset JINGONGO_API_KEY=\"your_permanent_api_key_here\"\r\n\r\n# On macOS, Linux, or PowerShell\r\nexport JINGONGO_API_KEY=\"your_permanent_api_key_here\"\r\n\r\nYou will need to do this for every new terminal session, or add it to your system's profile script.\r\nStep 4: Run Your First Conversion\r\nNow you are ready to use the SDK!\r\n1. Get the Example Files: To run our pre-made examples, you'll need to clone this repository.\r\n\r\ngit clone https://github.com/vcussei/jingongo.git\r\ncd jingongo\r\n\r\n2. Run the Conversion Script: Navigate to the examples directory and run the Python conversion script.\r\n\r\n# From the project root directory:\r\npython -m examples.02_convert_python_model\r\n\r\n# Or, if you are inside the examples/ directory:\r\n# python 02_convert_python_model.py\r\n\r\nYou will see real-time status updates from the cloud engine in your console. Once it's complete, you've successfully used the entire Jingongo pipeline!\r\n\r\n\ud83d\udcda SDK Usage and Examples\r\nThe examples/ folder in this repository is the best place to learn. Each script is small, focused, and demonstrates a core feature.\r\n00_check_health.py: A simple script to verify your API key and connection to the backend.\r\n01_generate_api_key.py: An alternative, programmatic way to generate an API key.\r\n02_convert_python_model.py: The primary example for converting a Python model.\r\n03_convert_c_model.py: Shows how to convert a C-based model.\r\n04_list_models.py: Demonstrates how to list all your models in the cloud.\r\n05_download_model.py: Shows how to download a specific FMU using its Job ID.\r\n06_get_login_url.py & 07_get_signup_url.py: Simple helpers for getting web portal URLs.\r\nExample Command:\r\n\r\nTo download a model after finding its ID with the list_models script\r\npython -m examples.05_download_model YOUR_JOB_ID_HERE\r\n\r\n\r\n---\r\n\r\n## \ud83c\udfd7\ufe0f Project Structure for Contributors\r\n\r\nInterested in contributing? This repository follows standard Python packaging best practices.\r\n\r\n* **`pyproject.toml`**: The heart of the project. Defines all metadata and dependencies.\r\n* **`src/jingongo/`**: The actual Python package source code. This is what gets installed via `pip`.\r\n* **`examples/`**: Standalone scripts that demonstrate how to use the library. Not included in the `pip` installation.\r\n* **`tests/`**: The automated test suite (`pytest`) to ensure code quality and prevent bugs.\r\n\r\n### How to Contribute\r\n\r\n1. **Clone the repository:** `git clone https://github.com/vcussei/jingongo.git && cd jingongo`\r\n2. **Create a virtual environment:** `python -m venv venv && source venv/bin/activate`\r\n3. **Install in editable mode with test dependencies:** `pip install -e .[test]`\r\n4. **Run the tests:** `pytest`\r\n\r\nIf all tests pass, you are ready to start developing!\r\n\r\n## License\r\n\r\nThis project is licensed under the Apache-2.0 License. See the [LICENSE](LICENSE) file for details.\r\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "A Python SDK for the Jingongo Digital Twin Framework API.",
"version": "0.1.2",
"project_urls": {
"Bug Tracker": "https://github.com/vcussei/jingongo/issues",
"Homepage": "https://github.com/vcussei/jingongo",
"Repository": "https://github.com/vcussei/jingongo"
},
"split_keywords": [
"fmu",
" digital twin",
" simulation",
" jingongo",
" fmi"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "5d9739570ba8e119f2941276205ea8c2768cea256db0093d9286729e692c22c6",
"md5": "c71b46e01e372f507b4d3dd1ca69ade5",
"sha256": "f4a0100542d666958ca4220193d409e4c2f0d685a30ed4dd2c74f84b2875026a"
},
"downloads": -1,
"filename": "jingongo_framework-0.1.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c71b46e01e372f507b4d3dd1ca69ade5",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 13016,
"upload_time": "2025-07-25T23:49:52",
"upload_time_iso_8601": "2025-07-25T23:49:52.102506Z",
"url": "https://files.pythonhosted.org/packages/5d/97/39570ba8e119f2941276205ea8c2768cea256db0093d9286729e692c22c6/jingongo_framework-0.1.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "bd910130fe4ec98481801a90d374b4c92e1664514b383c5b4940d5e221a9e50d",
"md5": "1c9e16a2fc10be938410084113afa4c8",
"sha256": "6a138800e232b23c90d8bc22bf49b3034c62827ab3b3f5a23c83ca72a13f130f"
},
"downloads": -1,
"filename": "jingongo_framework-0.1.2.tar.gz",
"has_sig": false,
"md5_digest": "1c9e16a2fc10be938410084113afa4c8",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 16767,
"upload_time": "2025-07-25T23:49:53",
"upload_time_iso_8601": "2025-07-25T23:49:53.218469Z",
"url": "https://files.pythonhosted.org/packages/bd/91/0130fe4ec98481801a90d374b4c92e1664514b383c5b4940d5e221a9e50d/jingongo_framework-0.1.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-25 23:49:53",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "vcussei",
"github_project": "jingongo",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "jingongo-framework"
}