psycopg2
citus
Our great sponsors
psycopg2 | citus | |
---|---|---|
19 | 46 | |
2,947 | 8,432 | |
0.5% | 1.8% | |
4.7 | 8.3 | |
9 days ago | 3 days ago | |
C | C | |
BSD with attribution | GNU Affero General Public License v3.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
psycopg2
-
Underappreciated Challenges with Python Packaging
Back when I used Psycopg2, there was no -binary package, so you'd get libpq set up similarly to pg-native. Docs say:
> The binary package is a practical choice for development and testing but in production it is advised to use the package built from sources.
Relevant GitHub discussion: https://github.com/psycopg/psycopg2/issues/674
I dunno, this seems worse to me.
-
Has anyone made the switch from developing in Windows to macOS? Any general or specific advice about the switch?
psycopg2-binary. See https://github.com/psycopg/psycopg2/issues/1286.
-
Dockerize a Django, React, and Postgres application with docker and docker-compose | by Anjal Bam
psycopg2-binary, PostgreSQL Database adapter for python.
-
My Cookiecutter Django Setup
... # psycopg2==2.9.3 # https://github.com/psycopg/psycopg2 ...
-
How to deploy the Front-end(React) and Backend(Django) with Postgres at Heroku
psycopg2: Psycopg is a PostgreSQL adapter for the Python programming language.
-
How To Access And Query Your Amazon Redshift Data Using Python And R
Since Redshift is compatible with other databases such as PostgreSQL, we use the Python psycopg library to access and query the data from Redshift. We will then store the query results as a dataframe in pandas using the SQLAlchemy library.
- Exemplo de AWS API Gateway com Lambda pelo Terraform
-
Using YugabyteDB in Python App Development
Since we are going to use both PostgreSQL and Apache Cassandra data model, we need to install those two drivers: psycopg2 for PostgreSQL and Python Driver for Apache Cassandra.
citus
-
Opinions and Suggestions for PostgreSQL Extension under Development
What about getting in touch with commercial organisations that have products/services based on PostgreSQL? For example Timescale, EDB, and Citus Data, or really any hosting provider that offers a managed PostgreSQL service.
-
Ask HN: It's 2023, how do you choose between MySQL and Postgres?
Friends don't let their friends choose Mysql :)
A super long time ago (decades) when I was using Oracle regularly I had to make a decision on which way to go. Although Mysql then had the mindshare I thought that Postgres was more similar to Oracle, more standards compliant, and more of a real enterprise type of DB. The rumor was also that Postgres was heavier than MySQL. Too many horror stories of lost data (MyIsam), bad transactions (MyIsam lacks transaction integrity), and the number of Mysql gotchas being a really long list influenced me.
In time I actually found out that I had underestimated one of the most important attributes of Postgres that was a huge strength over Mysql: the power of community. Because Postgres has a really superb community that can be found on Libera Chat and elsewhere, and they are very willing to help out, I think Postgres has a huge advantage over Mysql. RhodiumToad [Andrew Gierth] https://github.com/RhodiumToad & davidfetter [David Fetter] https://www.linkedin.com/in/davidfetter are incredibly helpful folks.
I don't know that Postgres' licensing made a huge difference or not but my perception is that there are a ton of 3rd party products based on Postgres but customized to specific DB needs because of the more liberalness of the PG license which is MIT/BSD derived https://www.postgresql.org/about/licence/
Some of the PG based 3rd party DBs:
Enterprise DB https://www.enterprisedb.com/ - general purpose PG with some variants
Greenplum https://greenplum.org/ - Data warehousing
Crunchydata https://www.crunchydata.com/products/hardened-postgres - high security Postgres for regulated environments
Citus https://www.citusdata.com - Distributed DB & Columnar
Timescale https://www.timescale.com/
Why Choose PG today?
If you want better ACID: Postgres
If you want more compliant SQL: Postgres
If you want more customizability to a variety of use-cases: Postgres using a variant
If you want the flexibility of using NOSQL at times: Postgres
If you want more product knowledge reusability for other backend products: Postgres
-
Can someone share experience configuring Highly Available PgSQL?
Citus - Citus is very much alive and is a thriving open-source and commercial product, but is not HA on its own. It is essentially distributed/sharded Postgres.
-
Any self hostable postgres clustering, replication and fail over system?
Maybe also have a look at https://www.citusdata.com
- I would like to know your advice, I am creating an inventory control software, and I would like to use the PostgreSQL database instead of SQL Server, Could you give me your opinions of the advantages and disadvantages of using one or the other, Thank you.
-
Just Use Postgres for Everything
As always: it depends. For some workloads something like Citus [1] might allow you stay within the PostgreSQL ecosystem even when you are trying to do OLAP.
-
Citus: Make enterprise features open source
Wait, isn't the license [1] on this repo AGPL? While I would like to voice a general protest against the AGPL FUD, it's also somewhat strange to do it in the same breath as "Much respect" for Citus here.
----------------------------------------
-
Ingesting an S3 file into an RDS PostgreSQL table
either we go for RDS, but we stick to the AWS handpicked extensions (exit timescale, citus or their columnar storage, ... ),
-
The implementation of the UK Covid-19 dashboard
To be accurte, it's not completely Micrsoft agnostic, it make use case for a PSQL extension citus[1], the company behind this extension has been acquired by Microsoft two years ago[2].
What are some alternatives?
asyncpg - A fast PostgreSQL Database Client Library for Python/asyncio.
queries - PostgreSQL database access simplified
SQLAlchemy - The Database Toolkit for Python
PostgreSQL - Mirror of the official PostgreSQL GIT repository. Note that this is just a *mirror* - we don't work with pull requests on github. To contribute, please see https://wiki.postgresql.org/wiki/Submitting_a_Patch
Greenplum - Greenplum Database - Massively Parallel PostgreSQL for Analytics. An open-source massively parallel data platform for analytics, machine learning and AI.
txpostgres - Twisted wrapper for asynchronous PostgreSQL connections
yugabyte-db - YugabyteDB - the cloud native distributed SQL database for mission-critical applications.
awesome-mysql - A curated list of awesome MySQL software, libraries, tools and resources
Python PG Extras - Python PostgreSQL database performance insights. Locks, index usage, buffer cache hit ratios, vacuum stats and more.
vitess - Vitess is a database clustering system for horizontal scaling of MySQL.
clickhouse-driver - ClickHouse Python Driver with native interface support