The Wayback Machine - http://web.archive.org/web/20220409183744/https://github.com/topics/postgresql?l=python
Skip to content
#

PostgreSQL

postgresql logo

PostgreSQL is a database management system that is object-relational. PostgreSQL originated from the Ingres project at the University of California, Berkeley.

Here are 3,955 public repositories matching this topic...

ZoranPandovski
ZoranPandovski commented Mar 16, 2022

Introduction 📝 📈 🔧 🏗️

This tutorial should go over training a model using MindsDB that predicts Machine Failure. Example dataset can be found here.

Tutorial summary 🧾

The tutorial should follow the below steps 🔢 :

  • Connect
help wanted good first issue documentation looking for author

macOS development environment setup: Easy-to-understand instructions with automated setup scripts for developer tools like Vim, Sublime Text, Bash, iTerm, Python data analysis, Spark, Hadoop MapReduce, AWS, Heroku, JavaScript web development, Android development, common data stores, and dev-based OS X defaults.

  • Updated Feb 8, 2022
  • Python
usernein
usernein commented May 29, 2020

Example of usage:

users = await User.filter(first_name__ilike="c%r")

I know this can be done with startswith and endswith, but there are cases where using the LIKE operator is better:

users = await User.filter(first_name__ilike="j_r%")

This would be used to match Jeremy, Jorge, Jordan...

enhancement good first issue
hyperknot
hyperknot commented Nov 20, 2019

I am using PG server in a certificate pinned environment. In Python / SQLAlchemy, this is the following code needed to connect:

pg_certs = {
    'sslcert': 'certs_dir/client-cert.pem',
    'sslkey': 'certs_dir/client-key.pem',
    'sslrootcert': 'certs_dir/server-ca.pem',
}

create_engine(pg_url, connect_args={'sslmode': 'require', **pg_certs}, ...)

Does Migra support this? I

dantownsend
dantownsend commented Nov 12, 2021

It would be nice if there was a new clause which can be added to queries called callback.

For example:

def callback_handler(success, value):
    if success:
        print(f'The query was successful and returned {value}')
    else:
        print("The query failed")

Band.select().callback(callback_handler).run_sync()

The callback could be a function or coroutine, wh

enhancement good first issue medium priority

Created by Michael Stonebraker

Released July 8, 1996

Repository
postgres/postgres
Website
www.postgresql.org
Wikipedia
Wikipedia