Skip to main content

PyBD

https://travis-ci.org/daytum/PyBD.svg?branch=master https://coveralls.io/repos/github/daytum/PyBD/badge.svg?branch=master Documentation Status https://badge.fury.io/py/pybd.svg https://img.shields.io/badge/code%20style-black-000000.svg

A Python API to access the Bazean Postgres database

Example Usage

A simple Python script that gets the production data from 10 wells from the state of Texas operated by XOM:

from pybd import PyBD

db = PyBD(user='bazean_postgres_username', password='bazean_postgres_password')
db.set_fetch_size(10)
latitude, longitude, apis = db.get_well_locations_by_ticker_and_state('XOM', 'TX')

oil_production = []
for i in range(10):
   dates, oil, gas, water = db.get_production_from_api(apis[i])
   oil_production += [oil]

Metadata

Release files for pybd 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pybd 0.1.2
File Size Uploaded Provenance
pybd-0.1.2.tar.gz 4.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pybd 0.1.2
File Interpreter ABI Platform
pybd-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 12.9 kB

Release files / pybd-0.1.2.tar.gz

Download URL pybd-0.1.2.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
da724856f6e60b9a9d889a669e3b90ab078caca0ac127042daa45588c5145cc0
BLAKE2b-256 checksum
How to use checksums
d9a4bd053ebc6f3ab4114db08341e0871d04ea46382296c2b71477a794f4117e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1

Release files / pybd-0.1.2-py3-none-any.whl

Download URL pybd-0.1.2-py3-none-any.whl
Size 8.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d00c318cb14132c8c238669048e5a47ccc11a6039a98dbb640b6296e5f9c1307
BLAKE2b-256 checksum
How to use checksums
dfc37d39a0cf469bae7ddac9be2cf3dfe8a680dd61ec509702c1e41ec25e5a68
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1

Security for pybd 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page