Skip to main content

Practical 6: Database-Backed Blogging API Backend (Transactional CRUD)

This package implements Practical 6:

Building a persistent database-backed blogging or e-commerce API backend to perform automated transactional CRUD operations.


🚀 How to Install on Any Machine via Pip

pip install yajvendra-prac6

⚡ How to Get and Use the Code on Any System

Run:

prac6 --get

or simply:

prac6 get

This instantly generates practical6_blog_api.py in your current working directory!

2. Run Automated Transactional CRUD Tests

prac6

This runs automated tests demonstrating:

  • Post Creation (CREATE)
  • Querying Posts (READ)
  • Atomic Updates (UPDATE)
  • ACID Rollback Verification (Simulating error & verifying rollback)
  • Post Deletion (DELETE)

3. Start Live API Server

prac6 --server

Launches the REST API backend on http://127.0.0.1:5000.

4. Print Full Source Code to Terminal

prac6 --show

🛠️ How to Build and Upload to PyPI

  1. Navigate to this folder:

    cd practical6_blog_api_crud
    
  2. Build the package:

    python -m build
    
  3. Upload to PyPI:

    twine upload dist/*
    

Metadata

Release files for yajvendra-prac6 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for yajvendra-prac6 0.1.1
File Size Uploaded Provenance Actions
yajvendra_prac6-0.1.1.tar.gz 4.0 kB Without provenance Details for yajvendra_prac6-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for yajvendra-prac6 0.1.1
File Interpreter ABI Platform Actions
yajvendra_prac6-0.1.1-py3-none-any.whl Python 3 none any Details for yajvendra_prac6-0.1.1-py3-none-any.whl

Total release size: 8.7 kB

Release files / yajvendra_prac6-0.1.1.tar.gz

Download URL yajvendra_prac6-0.1.1.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
cb9cfe2d32d44ed9ac508792005e1a8fcbfa24c777e26437223a9b0f9db90035
BLAKE2b-256 checksum
How to use checksums
44aeb8db70f90a9c85dd420966241219920364b4263a26c76e2f494a6e3c4146
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.3

Release files / yajvendra_prac6-0.1.1-py3-none-any.whl

Download URL yajvendra_prac6-0.1.1-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e76a237b5e130cab67d3fea88d7953cf5a8eb550e908240ab7d417dfc9ed6c53
BLAKE2b-256 checksum
How to use checksums
f721321bf395047405fd6f013ceec6697855dfec08adccc8657fb3604b2565d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.3

Security for yajvendra-prac6 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page