Skip to main content

A psycopg2 PostgreSQL wrapper for data science

Project description

jumbo logo

📑 Welcome to Jumbo!

Jumbo is a wrapper of the amazing psycopg2 - the most popular PostgreSQL database adapter for the Python programming language.

Jumbo has been designed specifically for adoption in environments where thorough widespread knowledge of SQL protocols might be lacking and a streamlined approach to database interactions might be needed. Jumbo offers an intuitive and quickly deployable interface to successfully implement a database-centred data analysis pipeline at all levels of your team or organisation.

Jumbo is intuitive yet customisable - first-time users can easily interact with the database without worrying about handling transactions under the hood. At the same time, experienced PostgreSQL architects can still unleash the full power of psycopg2 and exploit its more advanced functionalities.

🚀 Quick Start

  1. 📚 Install jumbo like any other python package, using pip to download it from PyPI:

        $ pip install jumbo
    
  2. 🐘 Create a jumbo.env file in the root directory of your project with the following structure:

        DATABASE_HOST = <my_database_host_address>
        DATABASE_USERNAME = <my_database_user_name>
        DATABASE_PASSWORD = <my_database_user_password>
        DATABASE_PORT = <my_database_port>
        DATABASE_NAME = <my_database_name>
    
  3. 🐍 Test your installation running the following minimal script:

         import jumbo
    
         # Initialize database connection
         database = jumbo.database.Database()
    
         # Open a connection pool.
         with database.open() as pool:
    
            # Get an individual connection from the pool.
            with pool.connect():
    
               pass
    

📚 Documentation

To learn more about the package head over to the official documentation!

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

jumbo-1.0.2.tar.gz (14.6 kB view details)

Uploaded Source

Built Distribution

jumbo-1.0.2-py3-none-any.whl (27.2 kB view details)

Uploaded Python 3

File details

Details for the file jumbo-1.0.2.tar.gz.

File metadata

  • Download URL: jumbo-1.0.2.tar.gz
  • Upload date:
  • Size: 14.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.6

File hashes

Hashes for jumbo-1.0.2.tar.gz
Algorithm Hash digest
SHA256 63115df390299f480ed21da07f3789a8e373b3cdc776b08f8a76bf849b8d1454
MD5 651b847ba6e7853e4d2a0872bdafa1f2
BLAKE2b-256 8388094eb6d50f166d6660b7f4708deb2bfe80e4353915d72389d5428165ca59

See more details on using hashes here.

File details

Details for the file jumbo-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: jumbo-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 27.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.6

File hashes

Hashes for jumbo-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5b8f66768431ee78d1a75050759c7ea012eeb3e47b8fb63bfd8d7f95c2af7d58
MD5 f17f2fe5148361cad59098c5e70fca25
BLAKE2b-256 44f422d9fe3191cdd151cda26ef37836b4652ae17010408ca4770599de1c417d

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