| Name | combocurve-api-helper JSON | 
| Version | 1.2.0  JSON | 
|  | download | 
| home_page | None | 
| Summary | A library mapped to ComboCurve's API. | 
            | upload_time | 2025-09-12 18:43:37 | 
            | maintainer | David S. Fulford | 
            
            | docs_url | None | 
            | author | David S. Fulford | 
            
            | requires_python | >=3.8 | 
            
            
            | license | MIT License
        
        Copyright (c) 2023 Petroleum Engineering Toolbox
        
        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 | combocurve-api-helper
                
                     combocurve
                
                     cc
                
                     api | 
            | VCS |  | 
            | bugtrack_url |  | 
            | requirements | No requirements were recorded. | 
            
| Travis-CI | No Travis. | 
            | coveralls test coverage | No coveralls. | 
        
        
            
            # ComboCurve API Helper `combocurve-api-helper`
A utility library mapped to ComboCurve's API.
## Petroleum Engineering Toolbox
---
 [](https://github.com/petbox-dev/combocurve-api-helper)
 [Open in Visual Studio Code](https://open.vscode.dev/petbox-dev/combocurve-api-helper)
### Installation
Install from Python package repository:
```bash
python -m pip install combocurve-api-helper
```
or install directly from GitHub:
```bash
python -m pip install git+https://github.com/petbox-dev/combocurve-api-helper.git@main
```
### Setup
Two files are required in `~/.combocurve`:
- `cc-api.config.json`  
- `combocurve.json`
These are given by ComboCurve when configuring API access. Example files are provided
in `./config-examples/` to demonstrate the expected file structures.
<br>
`cc-api.config.example.json`:
```json
{
    "apikey": "<apikey>"
}
 ```
<br>
`combocurve.example.json`:
```json
{
  "type": "service_account",
  "project_id": "beta-combocurve",
  "private_key_id": "<private_key_id>",
  "private_key": "<private_key>",
  "client_email": "<client_email>",
  "client_id": "<client_id>",
  "auth_uri": "https://accounts.google.com/o/oauth2/auth",
  "token_uri": "https://oauth2.googleapis.com/token",
  "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
  "client_x509_cert_url": "<client_x509_cert_url>"
}
 ```
## Contributing
1. Fork the repository:
    - On this GitHub page, click "Fork" to create a copy under your own account.
2. CLone the forked repo onto on your machine:
    ```sh
    git clone https://github.com/<your-username>/combocurve-api-helper.git
    cd combocurve-api-helper
    ```
3. Set the upstream remote:
    - This allows you to fetch updates from the original repository:
    ```sh
    git remote add upstream https://github.com/petbox-dev/combocurve-api-helper.git
    ```
4. Create a new branch:
    - Always create a new branch for your feature or fix
    - A common convention is to name the branch your GitHub username, a forward slash, and a brief description of the work you're doing
    ```sh
    git checkout -b <your-username>/<your-branch-name>
    ```
5. Make your changes, and commit:
    - After adding your files, or making edits, ensure typechecking succeeds, then commit your changes
    ```sh
    mypy --package combocurve_api_helper
    git add .
    git commit -m "<description of changes>"
    ```
6. Push to your fork:
    ```sh
    git push origin <the-name-of-your-branch>
    ```
7. Create a pull request:
    - Go to ["Pull Requests" tab](https://github.com/petbox-dev/combocurve-api-helper/compare) in this repo, and click "compare across forks"
    - Choose your branch as the source and keep the default `main` branch as the target
        - ie: `petbox-dev/combocurve-api-helper` (`main`) `<-` `your-username/combocurve-api-helper` (`your-branch-name`)
    - Fill the title and description with a summary of the proposed changes
    - Request a review from `@dsfulf`
## Authors
- David Fulford
## License
MIT License
Copyright (c) 2023 Petroleum Engineering Toolbox
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.
            
         
        Raw data
        
            {
    "_id": null,
    "home_page": null,
    "name": "combocurve-api-helper",
    "maintainer": "David S. Fulford",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "combocurve-api-helper, combocurve, cc, api",
    "author": "David S. Fulford",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/50/6e/2ff5a006df6d9bde0ad3e4b8ecddb95f02981a000e5b9651acab98cdc372/combocurve_api_helper-1.2.0.tar.gz",
    "platform": null,
    "description": "# ComboCurve API Helper `combocurve-api-helper`\r\n\r\nA utility library mapped to ComboCurve's API.\r\n\r\n## Petroleum Engineering Toolbox\r\n\r\n---\r\n\r\n [](https://github.com/petbox-dev/combocurve-api-helper)\r\n\r\n [Open in Visual Studio Code](https://open.vscode.dev/petbox-dev/combocurve-api-helper)\r\n\r\n### Installation\r\n\r\nInstall from Python package repository:\r\n\r\n```bash\r\npython -m pip install combocurve-api-helper\r\n```\r\n\r\nor install directly from GitHub:\r\n\r\n```bash\r\npython -m pip install git+https://github.com/petbox-dev/combocurve-api-helper.git@main\r\n```\r\n\r\n### Setup\r\n\r\nTwo files are required in `~/.combocurve`:\r\n\r\n- `cc-api.config.json`  \r\n- `combocurve.json`\r\n\r\nThese are given by ComboCurve when configuring API access. Example files are provided\r\nin `./config-examples/` to demonstrate the expected file structures.\r\n\r\n<br>\r\n\r\n`cc-api.config.example.json`:\r\n```json\r\n{\r\n    \"apikey\": \"<apikey>\"\r\n}\r\n ```\r\n\r\n<br>\r\n\r\n`combocurve.example.json`:\r\n```json\r\n{\r\n  \"type\": \"service_account\",\r\n  \"project_id\": \"beta-combocurve\",\r\n  \"private_key_id\": \"<private_key_id>\",\r\n  \"private_key\": \"<private_key>\",\r\n  \"client_email\": \"<client_email>\",\r\n  \"client_id\": \"<client_id>\",\r\n  \"auth_uri\": \"https://accounts.google.com/o/oauth2/auth\",\r\n  \"token_uri\": \"https://oauth2.googleapis.com/token\",\r\n  \"auth_provider_x509_cert_url\": \"https://www.googleapis.com/oauth2/v1/certs\",\r\n  \"client_x509_cert_url\": \"<client_x509_cert_url>\"\r\n}\r\n\r\n ```\r\n\r\n## Contributing\r\n\r\n1. Fork the repository:\r\n    - On this GitHub page, click \"Fork\" to create a copy under your own account.\r\n\r\n2. CLone the forked repo onto on your machine:\r\n    ```sh\r\n    git clone https://github.com/<your-username>/combocurve-api-helper.git\r\n    cd combocurve-api-helper\r\n    ```\r\n\r\n3. Set the upstream remote:\r\n    - This allows you to fetch updates from the original repository:\r\n\r\n    ```sh\r\n    git remote add upstream https://github.com/petbox-dev/combocurve-api-helper.git\r\n    ```\r\n\r\n4. Create a new branch:\r\n    - Always create a new branch for your feature or fix\r\n    - A common convention is to name the branch your GitHub username, a forward slash, and a brief description of the work you're doing\r\n\r\n    ```sh\r\n    git checkout -b <your-username>/<your-branch-name>\r\n    ```\r\n\r\n5. Make your changes, and commit:\r\n    - After adding your files, or making edits, ensure typechecking succeeds, then commit your changes\r\n\r\n    ```sh\r\n    mypy --package combocurve_api_helper\r\n\r\n    git add .\r\n    git commit -m \"<description of changes>\"\r\n    ```\r\n\r\n6. Push to your fork:\r\n\r\n    ```sh\r\n    git push origin <the-name-of-your-branch>\r\n    ```\r\n\r\n7. Create a pull request:\r\n\r\n    - Go to [\"Pull Requests\" tab](https://github.com/petbox-dev/combocurve-api-helper/compare) in this repo, and click \"compare across forks\"\r\n    - Choose your branch as the source and keep the default `main` branch as the target\r\n        - ie: `petbox-dev/combocurve-api-helper` (`main`) `<-` `your-username/combocurve-api-helper` (`your-branch-name`)\r\n    - Fill the title and description with a summary of the proposed changes\r\n    - Request a review from `@dsfulf`\r\n\r\n## Authors\r\n\r\n- David Fulford\r\n\r\n## License\r\nMIT License\r\n\r\nCopyright (c) 2023 Petroleum Engineering Toolbox\r\n\r\nPermission is hereby granted, free of charge, to any person obtaining a copy\r\nof this software and associated documentation files (the \"Software\"), to deal\r\nin the Software without restriction, including without limitation the rights\r\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\r\ncopies of the Software, and to permit persons to whom the Software is\r\nfurnished to do so, subject to the following conditions:\r\n\r\nThe above copyright notice and this permission notice shall be included in all\r\ncopies or substantial portions of the Software.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\r\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\r\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\r\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\r\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\r\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\r\nSOFTWARE.\r\n",
    "bugtrack_url": null,
    "license": "MIT License\r\n        \r\n        Copyright (c) 2023 Petroleum Engineering Toolbox\r\n        \r\n        Permission is hereby granted, free of charge, to any person obtaining a copy\r\n        of this software and associated documentation files (the \"Software\"), to deal\r\n        in the Software without restriction, including without limitation the rights\r\n        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\r\n        copies of the Software, and to permit persons to whom the Software is\r\n        furnished to do so, subject to the following conditions:\r\n        \r\n        The above copyright notice and this permission notice shall be included in all\r\n        copies or substantial portions of the Software.\r\n        \r\n        THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\r\n        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\r\n        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\r\n        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\r\n        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\r\n        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\r\n        SOFTWARE.\r\n        ",
    "summary": "A library mapped to ComboCurve's API.",
    "version": "1.2.0",
    "project_urls": {
        "Homepage": "https://github.com/petbox-dev/combocurve-api-helper.git",
        "Issues": "https://github.com/petbox-dev/combocurve-api-helper/issues",
        "Repository": "https://github.com/petbox-dev/combocurve-api-helper.git"
    },
    "split_keywords": [
        "combocurve-api-helper",
        " combocurve",
        " cc",
        " api"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "8327c781ecca32298d7b29895b92697d30246a6e3a6bd58d0d5e6dfb32bec282",
                "md5": "1f88b4cc26229940439ec2618e25d76f",
                "sha256": "0161badf72d76bb3dd8fdfe11df194591dd2c17dc039bae561c01c64d5105346"
            },
            "downloads": -1,
            "filename": "combocurve_api_helper-1.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "1f88b4cc26229940439ec2618e25d76f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 109937,
            "upload_time": "2025-09-12T18:43:35",
            "upload_time_iso_8601": "2025-09-12T18:43:35.897339Z",
            "url": "https://files.pythonhosted.org/packages/83/27/c781ecca32298d7b29895b92697d30246a6e3a6bd58d0d5e6dfb32bec282/combocurve_api_helper-1.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "506e2ff5a006df6d9bde0ad3e4b8ecddb95f02981a000e5b9651acab98cdc372",
                "md5": "07a6aca2b0065cb5d610e2452db3574a",
                "sha256": "748bc9b1504fafdd2e51a879692a07552b0efeef7c295a7e386bc8caaf148e51"
            },
            "downloads": -1,
            "filename": "combocurve_api_helper-1.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "07a6aca2b0065cb5d610e2452db3574a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 95845,
            "upload_time": "2025-09-12T18:43:37",
            "upload_time_iso_8601": "2025-09-12T18:43:37.017957Z",
            "url": "https://files.pythonhosted.org/packages/50/6e/2ff5a006df6d9bde0ad3e4b8ecddb95f02981a000e5b9651acab98cdc372/combocurve_api_helper-1.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-09-12 18:43:37",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "petbox-dev",
    "github_project": "combocurve-api-helper",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "combocurve-api-helper"
}