| Name | quapp-common JSON | 
            
| Version | 
                  0.0.11.dev7
                   
                  JSON | 
            
 | download  | 
            
| home_page | None  | 
            
| Summary | Quapp common library supporting Quapp Platform for Quantum Computing | 
            | upload_time | 2025-09-05 04:45:54 | 
            | maintainer | None | 
            
            | docs_url | None | 
            | author | None | 
            
            | requires_python | >=3.7 | 
            
            
            | license | The MIT License (MIT)
        Copyright © CITYNOW Co. Ltd. All rights reserved.
        
        Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | 
            | keywords | 
                
                    quapp
                
                     quapp-common
                
                     quantum
                 | 
            | VCS | 
                
                    | 
                
            
            | bugtrack_url | 
                
                 | 
             
            
            | requirements | 
                
                  No requirements were recorded.
                
             | 
            
| Travis-CI | 
                
                   No Travis.
                
             | 
            | coveralls test coverage | 
                
                   No coveralls.
                
             | 
        
        
            
            # quapp-common
Quapp common library supporting Quapp Platform for Quantum Computing.
## Overview
`quapp-common` is a Python library designed to support the Quapp Platform for
Quantum Computing by providing common utilities, configurations, and
abstractions for working with
quantum providers and devices.
Recent improvements add first-class asynchronous job processing with a
cross-process JobManager,
background task execution, and standardized result models for immediate client
responses while work
continues in the background.
## Features
- Provider and device factory for quantum computing platforms.
- Logging and configuration utilities with improved and detailed log messages.
- Support for AWS Braket, OQC Cloud, Qiskit, PennyLane, DWave Ocean, and Quapp
  quantum simulators.
- Refactored classes and utilities to remove tenant-specific request, response,
  and promise classes.
- Standardized naming by renaming `ProjectHeader` to `CustomHeader`.
- Enhanced error handling and job metadata update mechanisms.
- Simplified and cleaner HTTP request/response logging and URL parsing
  utilities.
- Asynchronous job processing:
    - AsyncInvocationTask to run handlers in a background thread pool and return
      immediate responses.
    - JobManager for cross-process job registry with atomic add/update/get and
      pub-sub updates.
    - Standard Event/Result (Success, Error) models for consistent async
      responses.
    - Scheduler integration via callback URL; local updates are patched to the
      scheduler.
    - Safety: updates to jobs already DONE/FAILED are ignored to prevent
      post-completion mutations.
## Installation
Install via pip:
```bash
pip install quapp-common
```
Notes:
- From version 0.0.11.dev7, `starlette` is a direct dependency to support
  background execution helpers.
## Recently Changes Highlights
- Version bump to 0.0.11.dev7 and dependency update (add `starlette`).
- Introduce asynchronous job processing primitives:
    - AsyncInvocationTask for background execution with immediate client
      response.
    - Event and standardized Result models (Success, Error).
- Introduce JobManager for cross-process job management and update publication.
- Integrate JobManager into Request to register jobs and carry scheduler
  callback URL.
- Modularize update_job_metadata with clearer helpers; patch scheduler on local
  state changes.
- Fix: ignore updates for jobs that are already DONE or FAILED.
- Improve logging and error handling (use full tracebacks, cleaner logs).
---
For detailed usage and API references, please refer to the in-code documentation
or contact the maintainers.
            
         
        Raw data
        
            {
    "_id": null,
    "home_page": null,
    "name": "quapp-common",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "quapp, quapp-common, quantum",
    "author": null,
    "author_email": "\"CITYNOW Co. Ltd. \" <corp@citynow.vn>",
    "download_url": "https://files.pythonhosted.org/packages/0d/b0/9a3e49265cf66a431bbb5d50a8714b2dc2516b34330bb39a90ec4c1eecca/quapp_common-0.0.11.dev7.tar.gz",
    "platform": null,
    "description": "# quapp-common\n\nQuapp common library supporting Quapp Platform for Quantum Computing.\n\n## Overview\n\n`quapp-common` is a Python library designed to support the Quapp Platform for\nQuantum Computing by providing common utilities, configurations, and\nabstractions for working with\nquantum providers and devices.\nRecent improvements add first-class asynchronous job processing with a\ncross-process JobManager,\nbackground task execution, and standardized result models for immediate client\nresponses while work\ncontinues in the background.\n\n## Features\n\n- Provider and device factory for quantum computing platforms.\n- Logging and configuration utilities with improved and detailed log messages.\n- Support for AWS Braket, OQC Cloud, Qiskit, PennyLane, DWave Ocean, and Quapp\n  quantum simulators.\n- Refactored classes and utilities to remove tenant-specific request, response,\n  and promise classes.\n- Standardized naming by renaming `ProjectHeader` to `CustomHeader`.\n- Enhanced error handling and job metadata update mechanisms.\n- Simplified and cleaner HTTP request/response logging and URL parsing\n  utilities.\n- Asynchronous job processing:\n    - AsyncInvocationTask to run handlers in a background thread pool and return\n      immediate responses.\n    - JobManager for cross-process job registry with atomic add/update/get and\n      pub-sub updates.\n    - Standard Event/Result (Success, Error) models for consistent async\n      responses.\n    - Scheduler integration via callback URL; local updates are patched to the\n      scheduler.\n    - Safety: updates to jobs already DONE/FAILED are ignored to prevent\n      post-completion mutations.\n\n## Installation\n\nInstall via pip:\n\n```bash\npip install quapp-common\n```\n\nNotes:\n\n- From version 0.0.11.dev7, `starlette` is a direct dependency to support\n  background execution helpers.\n\n## Recently Changes Highlights\n\n- Version bump to 0.0.11.dev7 and dependency update (add `starlette`).\n- Introduce asynchronous job processing primitives:\n    - AsyncInvocationTask for background execution with immediate client\n      response.\n    - Event and standardized Result models (Success, Error).\n- Introduce JobManager for cross-process job management and update publication.\n- Integrate JobManager into Request to register jobs and carry scheduler\n  callback URL.\n- Modularize update_job_metadata with clearer helpers; patch scheduler on local\n  state changes.\n- Fix: ignore updates for jobs that are already DONE or FAILED.\n- Improve logging and error handling (use full tracebacks, cleaner logs).\n\n---\n\nFor detailed usage and API references, please refer to the in-code documentation\nor contact the maintainers.\n",
    "bugtrack_url": null,
    "license": "The MIT License (MIT)\n        Copyright \u00a9 CITYNOW Co. Ltd. All rights reserved.\n        \n        Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \u201cSoftware\u201d), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n        \n        The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n        \n        THE SOFTWARE IS PROVIDED \u201cAS IS\u201d, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
    "summary": "Quapp common library supporting Quapp Platform for Quantum Computing",
    "version": "0.0.11.dev7",
    "project_urls": {
        "Homepage": "https://citynow.asia/"
    },
    "split_keywords": [
        "quapp",
        " quapp-common",
        " quantum"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "2bfe03dc1b5c1d9ae51879ccfc9fb22637d603b111c020a040b53569fec49a8d",
                "md5": "2cd655b90dc022ad46630dbd3178f528",
                "sha256": "df84c796464a013765ffcb630b09d0c456d0e2ee1d44df773c95628312b344d4"
            },
            "downloads": -1,
            "filename": "quapp_common-0.0.11.dev7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "2cd655b90dc022ad46630dbd3178f528",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 50282,
            "upload_time": "2025-09-05T04:45:52",
            "upload_time_iso_8601": "2025-09-05T04:45:52.973700Z",
            "url": "https://files.pythonhosted.org/packages/2b/fe/03dc1b5c1d9ae51879ccfc9fb22637d603b111c020a040b53569fec49a8d/quapp_common-0.0.11.dev7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "0db09a3e49265cf66a431bbb5d50a8714b2dc2516b34330bb39a90ec4c1eecca",
                "md5": "b4461cb88b3fdeb8e34ca13adc815c37",
                "sha256": "a9033603ea8bd00ea5f5806584f13e4e8ffb10dff6bcdad0abb7bbc948e8a6ab"
            },
            "downloads": -1,
            "filename": "quapp_common-0.0.11.dev7.tar.gz",
            "has_sig": false,
            "md5_digest": "b4461cb88b3fdeb8e34ca13adc815c37",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 31065,
            "upload_time": "2025-09-05T04:45:54",
            "upload_time_iso_8601": "2025-09-05T04:45:54.730785Z",
            "url": "https://files.pythonhosted.org/packages/0d/b0/9a3e49265cf66a431bbb5d50a8714b2dc2516b34330bb39a90ec4c1eecca/quapp_common-0.0.11.dev7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-09-05 04:45:54",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "quapp-common"
}