Skip to main content

""" project is provides a fast way to make simple insecure database for any startups

only uses csv inbuilt module , so no external dependacies

code usage ->

''' from mydb import *

Create a CSVDatabase object for a file named 'inventory.csv'

inventory_db = mydb('inventory.csv')

Sample data (assuming the CSV file has headers like 'name', 'price', 'quantity')

new_item = ['Laptop', 599.99, 3]

Insert the new item

inventory_db.insert(new_item) print("Item inserted successfully!")

Update the price of the first item (assuming the data is loaded)

inventory_db.update(0, ['Headphones', 79.95, 10]) # Assuming the first row is headphones print("Item price updated!")

Delete the third item (assuming the data is loaded)

inventory_db.delete(2) print("Item deleted!")

Find items with 'price' greater than 100

expensive_items = inventory_db.find(search_term=None, column_index=1) # Search price column print("Expensive items:") for item in expensive_items: print(item)

Get the second row (assuming the data is loaded)

second_item = inventory_db.get_row(1) if second_item: print("Second item:", second_item) else: print("Invalid row index.")

'''

"""

Metadata

Release files for coolcsv 0.0.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 coolcsv 0.0.1
File Size Uploaded Provenance
coolcsv-0.0.1.tar.gz 3.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for coolcsv 0.0.1
File Interpreter ABI Platform
coolcsv-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 8.8 kB

Release files / coolcsv-0.0.1.tar.gz

Download URL coolcsv-0.0.1.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
3b352d2fc798bbf4d5720b982b4bc82ce335f441c4f75bf525f908622e7b36d7
BLAKE2b-256 checksum
How to use checksums
a5d8fe58d46c62c8c51d948abe65d192eb6a38ad3e225c9ddddb27bde6088811
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.12

Release files / coolcsv-0.0.1-py3-none-any.whl

Download URL coolcsv-0.0.1-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1c4e590605e817b18d40d2abdee4eea577a594938c27f5c87b08e6fc995986df
BLAKE2b-256 checksum
How to use checksums
26200d4a0ca0afbd4329e67f79bc6fd5aad729030d761a9035c6fc605d7a862b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.12

Security for coolcsv 0.0.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.

Release history Release notifications | RSS feed

This release

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