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 begginers to working with database's. 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

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 credientals 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.1.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.1-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: postpie-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 a6b4d26292c57da12248af54da262c552eec974862c38784616f99fdf55d91f4
MD5 d01c89496c1a4ef9e8e13f1f3a79b5e6
BLAKE2b-256 cd4f071fcfe7135bd9077ee737305f476e90215d648650b67a9e4679620425bf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PostPie-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 10.4 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a65c471b90ca13c5ae55511a4374d7a6a2bf3edad6559e1a65d130124ed5a4ae
MD5 b8c22f09948da4c8e3b1a436b1d72213
BLAKE2b-256 bb6b76b555a7485264781265c81cf31a60ea7ad6fbc7ef2435f45b55e82e4b63

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