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.0

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.0
File Size Uploaded Provenance Actions
yajvendra_prac6-0.1.0.tar.gz 4.3 kB Without provenance Details for yajvendra_prac6-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 9.2 kB

Release files / yajvendra_prac6-0.1.0.tar.gz

Download URL yajvendra_prac6-0.1.0.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
d040f3feaa934563f2b9871249c08e0d945ed4aeef7d15b85c2317798dadc267
BLAKE2b-256 checksum
How to use checksums
7b8c8f77c1023541ce0da32f22a3259ebdc3a4e444ff263ace6bf50a39c5ee65
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.0-py3-none-any.whl

Download URL yajvendra_prac6-0.1.0-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3122093b0baf6b1bfea77c99539f42da5e8be6c2c073e45ee10b6a5653d9328e
BLAKE2b-256 checksum
How to use checksums
be4c3e31b5bb1b64275e565a6319329b313467c52e679b6b9da47198ac604ea4
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.0

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.0 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