Skip to main content

Mines Data Engineering

This package simplifies the process of starting common database systems in the background on Singularity Hub.

Supported Databases

  • MongoDB
  • TimescaleDB (and Postgres)

Examples

MongoDB

from mines_data_engineering import start_mongo
import pymongo

# will need wait a couple minutes the first time this happens
# while Singularity downloads and converts the Docker image
connection_string = start_mongo()

client = pymongo.MongoClient(connection_string)
client.my_db.my_col.insert_one({'finally': 'working'})

Postgres/TimescaleDB

from mines_data_engineering import start_postgres
import psycopg2


# will need wait a couple minutes the first time this happens
# while Singularity downloads and converts the Docker image
connection_string = start_postgres()

conn = psycopg2.connect(connection_string)
cur = conn.cursor()
cur.execute("SELECT 1")
assert next(cur) == (1,)

Metadata

Release files for mines-data-engineering 0.1.7

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

Source distribution (sdist)

Source distribution for mines-data-engineering 0.1.7
File Size Uploaded Provenance Actions
mines_data_engineering-0.1.7.tar.gz 8.2 kB Without provenance Details for mines_data_engineering-0.1.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mines-data-engineering 0.1.7
File Interpreter ABI Platform Actions
mines_data_engineering-0.1.7-py3-none-any.whl Python 3 none any Details for mines_data_engineering-0.1.7-py3-none-any.whl

Total release size: 17.8 kB

Release files / mines_data_engineering-0.1.7.tar.gz

Download URL mines_data_engineering-0.1.7.tar.gz
Size 8.2 kB
Tags Source
SHA-256 checksum
How to use checksums
563b0e07ff45d0763f861017bddb5d28670f66a092608141b7d8f37c0814466c
BLAKE2b-256 checksum
How to use checksums
74b0de28aaf97a779c5e318073f26108e49a9df0da894d3356e5a9c014047f0c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.2 CPython/3.9.12 Linux/6.1.11-76060111-generic

Release files / mines_data_engineering-0.1.7-py3-none-any.whl

Download URL mines_data_engineering-0.1.7-py3-none-any.whl
Size 9.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ae17d1d52988f5b628fedd974b6ce688aac19f4c7cf004a81236b216de756640
BLAKE2b-256 checksum
How to use checksums
387d0e0abf0b15c8f44b7ca834b6e5721a89328498a78927c5087048f59924e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.2 CPython/3.9.12 Linux/6.1.11-76060111-generic

Security for mines-data-engineering 0.1.7

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.7 This release

2 release files No provenance

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