combocurve-api-helper


Namecombocurve-api-helper JSON
Version 1.1.4 PyPI version JSON
download
home_pageNone
SummaryA library mapped to ComboCurve's API.
upload_time2024-08-30 22:06:28
maintainerDavid S. Fulford
docs_urlNone
authorDavid S. Fulford
requires_python>=3.8
licenseMIT 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

---

 [![PyPi Version](https://img.shields.io/pypi/v/combocurve-api-helper.svg "PyPi Version")](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>"
}

 ```

## 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/b7/11/0e343eb459bbef5c4fae4df10047c55e0803ea0668e6aab826a15e6ddc65/combocurve_api_helper-1.1.4.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 [![PyPi Version](https://img.shields.io/pypi/v/combocurve-api-helper.svg \"PyPi Version\")](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## 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  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. ",
    "summary": "A library mapped to ComboCurve's API.",
    "version": "1.1.4",
    "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": "",
            "digests": {
                "blake2b_256": "3b8a311adac8d3fb688734e7277868a129758dc3cdeb9beafa472d89bd0dacce",
                "md5": "51b7e239d10893c8eb823151d9befdf4",
                "sha256": "0cc4b39d7b6c3dd108d7c05d1b0c22549b6e045865bd817df334c6bcde70f426"
            },
            "downloads": -1,
            "filename": "combocurve_api_helper-1.1.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "51b7e239d10893c8eb823151d9befdf4",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 100507,
            "upload_time": "2024-08-30T22:06:27",
            "upload_time_iso_8601": "2024-08-30T22:06:27.536644Z",
            "url": "https://files.pythonhosted.org/packages/3b/8a/311adac8d3fb688734e7277868a129758dc3cdeb9beafa472d89bd0dacce/combocurve_api_helper-1.1.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b7110e343eb459bbef5c4fae4df10047c55e0803ea0668e6aab826a15e6ddc65",
                "md5": "721007ea301f8aa4226a76d127be18c7",
                "sha256": "7318b75645f21a099d2692b2393b59fdb98663dab79d5fa554d29977b08b7cb9"
            },
            "downloads": -1,
            "filename": "combocurve_api_helper-1.1.4.tar.gz",
            "has_sig": false,
            "md5_digest": "721007ea301f8aa4226a76d127be18c7",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 86120,
            "upload_time": "2024-08-30T22:06:28",
            "upload_time_iso_8601": "2024-08-30T22:06:28.836705Z",
            "url": "https://files.pythonhosted.org/packages/b7/11/0e343eb459bbef5c4fae4df10047c55e0803ea0668e6aab826a15e6ddc65/combocurve_api_helper-1.1.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-30 22:06:28",
    "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"
}
        
Elapsed time: 0.92871s