Skip to main content

Bridge to import shared datasets across diverse projects.

Project description

databridge

The databridge package streamlines the management of common datasets across diverse projects. It facilitates the setup of paths, file names, and Python commands to access centralized files efficiently.

Why Use databridge?

Managing common datasets across multiple projects often involves repetitive tasks such as saving files, configuring paths, and importing libraries. The databridge package aims to simplify this process by offering a centralized data bucket.

Instead of manually saving files and configuring paths for each project, databridge allows you to create a config.json file. This file guides Python on where to locate common datasets locally, reducing redundancy and enhancing efficiency.

Example 1 - Without databridge

# Import geopandas package
import geopandas as gpd

# Import data
texas_boundaries = gpd.read_file("myproject_data_folder/Texas_boundaries.shp")

This method is straightforward but can become repetitive when dealing with multiple projects.

Example 2 - with databrigde

# Import databridge package
from databridge.databridge import DataBridge

# Initiate databridge class
db = DataBridge()

# Load dataset
texas_boundaries = db.load_dataset("local", "texas_boundaries")

Although Example 2 has one extra line of code compared to Example 1, it significantly reduces redundancy. When dealing with multiple projects, you no longer need to save the file multiple times or manually set different paths.

Explore the power of databridge to enhance your workflow and centralize your datasets effortlessly.

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

databridge-0.2.1.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

databridge-0.2.1-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file databridge-0.2.1.tar.gz.

File metadata

  • Download URL: databridge-0.2.1.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.9

File hashes

Hashes for databridge-0.2.1.tar.gz
Algorithm Hash digest
SHA256 cf790faf16d54d128b6253d0d8a8e0ddecd3272c4ad3a39e2c133b6396ee7e57
MD5 f57569d8f42e5c96a474e23c6fc536e2
BLAKE2b-256 e298e55eb82e8d401f88398a6f7818731c65a469d83cb90d23408ff7fb73d2a1

See more details on using hashes here.

File details

Details for the file databridge-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: databridge-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.9

File hashes

Hashes for databridge-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a93b471deb61b40572bfae0d5e15d8c8720033ddd5d62946e93b72a269d7afd4
MD5 b42482d0cc57378b4c996654b46a9c38
BLAKE2b-256 a47a73f1f4299f766282292a951fb43467152c7eeaafe7e3d2c48ed70a72c3d3

See more details on using hashes here.

Supported by

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