combocurve-api-helper


Namecombocurve-api-helper JSON
Version 1.0.5 PyPI version JSON
download
home_page
SummaryA library mapped to ComboCurve's API.
upload_time2023-12-05 23:09:11
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

A utility library mapped to ComboCurve's API.

## 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/assets` 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": "",
    "name": "combocurve-api-helper",
    "maintainer": "David S. Fulford",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "combocurve-api-helper,combocurve,cc,api",
    "author": "David S. Fulford",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/09/4a/6810e2a27878c87d1b8db4ca301cbbee1b9ca45905c271d0a6517e6d9ad8/combocurve-api-helper-1.0.5.tar.gz",
    "platform": null,
    "description": "# combocurve-api-helper\r\n\r\nA utility library mapped to ComboCurve's API.\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/assets` 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.0.5",
    "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": "4864170380c49b9cce23ba95361fe0e1b615f9f56ef1896f4edadb48736f6e9a",
                "md5": "1bf6941328f4c54dbc90ca2786ac9d7b",
                "sha256": "717e1f5fd2dd2f2f71aebeb7a05b1f398a8d2d8f93d6223a711348a1189cc884"
            },
            "downloads": -1,
            "filename": "combocurve_api_helper-1.0.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "1bf6941328f4c54dbc90ca2786ac9d7b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 21725,
            "upload_time": "2023-12-05T23:09:09",
            "upload_time_iso_8601": "2023-12-05T23:09:09.876957Z",
            "url": "https://files.pythonhosted.org/packages/48/64/170380c49b9cce23ba95361fe0e1b615f9f56ef1896f4edadb48736f6e9a/combocurve_api_helper-1.0.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "094a6810e2a27878c87d1b8db4ca301cbbee1b9ca45905c271d0a6517e6d9ad8",
                "md5": "55159d079c564026aa43219669e1660d",
                "sha256": "6c936d32bd8e5c446433d79db1e9bbd88101d33c9202a2ed93b829a600b4d24d"
            },
            "downloads": -1,
            "filename": "combocurve-api-helper-1.0.5.tar.gz",
            "has_sig": false,
            "md5_digest": "55159d079c564026aa43219669e1660d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 17470,
            "upload_time": "2023-12-05T23:09:11",
            "upload_time_iso_8601": "2023-12-05T23:09:11.111181Z",
            "url": "https://files.pythonhosted.org/packages/09/4a/6810e2a27878c87d1b8db4ca301cbbee1b9ca45905c271d0a6517e6d9ad8/combocurve-api-helper-1.0.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-05 23:09:11",
    "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.15869s