Skip to main content

No project description provided

Project description

PostPie

Python Toolkit / Object Relational Mapper (ORM) for PostgreSQL

Introduction

PostPie is a lightweight Python Toolkit or Object-Relational Mapper (ORM) for PostgreSQL. PostPie makes communicating and querying to a PostgreSQL database easy and very simple. PostPie aims to take the complexity and learning curve away from other ORM's by utilizing an intuitive interface. PostPie is designed for small to medium-level projects and is aimed at developers who are beginners to working with databases. PostPie is powered by the psycopg2 driver.

Instillation

Open up your terminal or command line and enter:

  • pip install postpie

Get Started

Simply import Postpie at the top of your Python file: import PostPie

Its recommended you import PostPie as: from PostPie import PostPie

Next, you will need to connect your PostgreSQL database to PostPie. This step is also very easy, make sure you have the following:

  • Host Name
  • Database Name
  • Database Username
  • Database Password
  • Database Port Number

Next, you will need to create an instance of the PostPie class (all PostPie functions can be found in this class) Ex: py = PostPie.PostPie()
Enter in database credentials the following way into the PostPie class:

* py = PostPie.PostPie(host_name='HOST NAME', db_name='DB NAME', user='DB USERNAME', password='PASSWORD', port='PORT NUMBER

Now you should be connected to your database and can start using the PostPie ORM!

License

PostPie is distributed under the MIT license

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

postpie-1.0.2.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

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

PostPie-1.0.2-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: postpie-1.0.2.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.2

File hashes

Hashes for postpie-1.0.2.tar.gz
Algorithm Hash digest
SHA256 02225aaf36385488b4beeee129e2a5743da2db52053ba4ffbe9b2bf2b4921731
MD5 b062426fd97ce365a7d0ae44f8dbb861
BLAKE2b-256 eecb5cbc9a4d8682f7f62c7705655626f2acec81f0425952f13da80798c7515a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PostPie-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 10.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.2

File hashes

Hashes for PostPie-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 831e2fb7bfb4f9da00508d81b8fe76bc9d5839d3b0b4d359f544b6ede2bd2541
MD5 f001f529f21f55afae3d42705623257f
BLAKE2b-256 c7bfd5bdd85a9578abdcc2b9cadb89041b65635b298bd38fb99c8da43fdd82af

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