Skip to main content

A library mapped to ComboCurve's API.

Project description

ComboCurve API Helper combocurve-api-helper

A utility library mapped to ComboCurve's API.

Petroleum Engineering Toolbox


PyPi Version

Open in Visual Studio Code

Installation

Install from Python package repository:

python -m pip install combocurve-api-helper

or install directly from GitHub:

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.


cc-api.config.example.json:

{
    "apikey": "<apikey>"
}

combocurve.example.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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

combocurve_api_helper-1.1.4.tar.gz (86.1 kB view details)

Uploaded Source

Built Distribution

combocurve_api_helper-1.1.4-py3-none-any.whl (100.5 kB view details)

Uploaded Python 3

File details

Details for the file combocurve_api_helper-1.1.4.tar.gz.

File metadata

  • Download URL: combocurve_api_helper-1.1.4.tar.gz
  • Upload date:
  • Size: 86.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.13

File hashes

Hashes for combocurve_api_helper-1.1.4.tar.gz
Algorithm Hash digest
SHA256 7318b75645f21a099d2692b2393b59fdb98663dab79d5fa554d29977b08b7cb9
MD5 721007ea301f8aa4226a76d127be18c7
BLAKE2b-256 b7110e343eb459bbef5c4fae4df10047c55e0803ea0668e6aab826a15e6ddc65

See more details on using hashes here.

File details

Details for the file combocurve_api_helper-1.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for combocurve_api_helper-1.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0cc4b39d7b6c3dd108d7c05d1b0c22549b6e045865bd817df334c6bcde70f426
MD5 51b7e239d10893c8eb823151d9befdf4
BLAKE2b-256 3b8a311adac8d3fb688734e7277868a129758dc3cdeb9beafa472d89bd0dacce

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page