factory_boy
postgrest
Our great sponsors
factory_boy | postgrest | |
---|---|---|
3 | 98 | |
3,389 | 21,997 | |
1.4% | 1.3% | |
6.9 | 9.7 | |
4 days ago | about 7 hours ago | |
Python | Haskell | |
MIT License | MIT License |
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.
factory_boy
-
Embracing Modern Python for Web Development
Factory Boy doesn't currently support asynchronous operations, but there is an async-factory-boy extension with enough async support for most use cases. There is also an open pull request in Factory Boy with recent updates (July 2023) that will hopefully be merged soon.
-
Testing files in Python like a pro
You can use it with Faker and factory_boy (for ORM integration).
-
Five Easy to Miss PostgreSQL Query Performance Bottlenecks
When releasing a new application (or feature) I've always loaded each table in my development environments database with a few million rows. Tools like Python's Factory Boy [1] or Ruby's Factory Bot [2] make this trivial.
After the data is loaded up, start navigating through the application and it will become evident where improvements need to be made. Tools like Django Debug Toolbar [3] help expose where the bad ORM calls are or also by tailing Postgres log files.
postgrest
- Soul: A SQLite REST and Realtime Server
-
Build a simple project management app with Neon, PostgREST, and DigitalOcean
wget 'https://github.com/PostgREST/postgrest/releases/download/v11.2.0/postgrest-v11.2.0-linux-static-x64.tar.xz'
-
Oink: An API for PHP in a single file
You don't need this PHP snippet:
To get the same functionality without the extra step, simply use PostgREST [1]
- Ask HN: Popular open source tool originally written in Haskell?
-
Use PostgREST and HTMX to Build RESTful APIs from PostgreSQL Databases
PostgREST is a standalone web server that turns your PostgreSQL database into a RESTful API using the database's structural constraints and permissions to define the API's endpoints and operations. In this tutorial, you will create a simple note-taking app by leveraging PostgREST to construct a RESTful API for the app and using htmx to deliver HTML content.
-
We built our customer data warehouse all on Postgres
You might find some info in the docs of PostgREST [1] or in the previous discussions on HN about it [2].
For the versioning, I just have a git repo where I keep every role, schema, table, view, function, trigger, etc. definitions. Every time I change something in the database I first change it in the git repo too to have an history.
-
Pandoc
Don't know if you would call this a "program" but PostgREST is written is Haskell too.
-
2024 Web Development Wish List
Despite what most people think, postgREST is incredibly powerful. I know, I am a sponsor. I specifically am trying to get nested mutation built-in. Currently, queries are probably more powerful than Hasura or Prisma, but most people don't know this.
-
DB2Rest VS postgrest - a user suggested alternative
2 projects | 8 Jan 2024
Others https://github.com/Azure/data-api-builder https://github.com/directus/directus https://github.com/dreamfactorysoftware/dreamfactory https://github.com/prest/prest
-
PostgREST: Providing HTML Content Using Htmx
[2]: Also part of the PostgREST team and major contributor https://github.com/PostgREST/postgrest/graphs/contributors
What are some alternatives?
mixer - Mixer -- Is a fixtures replacement. Supported Django, Flask, SqlAlchemy and custom python objects.
Hasura - Blazing fast, instant realtime GraphQL APIs on your DB with fine grained access control, also trigger webhooks on database events.
supabase - The open source Firebase alternative.
model_mommy
postgres-websockets - PostgreSQL + Websockets
Appwrite - Build like a team of hundreds_
PyRestTest - Python Rest Testing
callee - Argument matchers for unittest.mock
gotrue - An SWT based API for managing users and issuing SWT tokens.
TimescaleDB - An open-source time-series SQL database optimized for fast ingest and complex queries. Packaged as a PostgreSQL extension.
Selenium Wire - Extends Selenium's Python bindings to give you the ability to inspect requests made by the browser.
supabase-graphql-example - A HackerNews-like clone built with Supabase and pg_graphql