steelbase


Namesteelbase JSON
Version 1.0.1 PyPI version JSON
download
home_page
SummaryA basic database structure, like sqlite3.
upload_time2024-01-27 22:44:02
maintainer
docs_urlNone
authorSteelDev
requires_python
license
keywords database db sqlite pydb pydatabase steelbase steeldatabase
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# SteelBase

Ex.

Creating A Simple Database

```python
# Importing steelbase (pip install steelbase)
from steelbase import SteelBase

# Creating a SteelBase instance (loading existing data if any)
steelbase_instance = SteelBase()

# Creating a table named 'books'
steelbase_instance.create_table("books")

# Adding records to the 'books' table
steelbase_instance.add_record("books", 1, {"title": "Python 101", "author": "John Doe"})
steelbase_instance.add_record("books", 2, {"title": "Web Development Basics", "author": "Jane Smith"})

# Saving the data to the file with ".steelbase" extension
steelbase_instance.save_data()

# Retrieving and printing all records in the 'books' table
print(steelbase_instance.show_records("books"))
```

# Developed by steeldev

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "steelbase",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "database,db,sqlite,pydb,pydatabase,steelbase,steeldatabase",
    "author": "SteelDev",
    "author_email": "<stupidnaive8@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/e1/4f/8fec3c48cf40f95a6c53afa51542ef541dfeb1c51b1f8c5cf176a9fa6718/steelbase-1.0.1.tar.gz",
    "platform": null,
    "description": "\n# SteelBase\n\nEx.\n\nCreating A Simple Database\n\n```python\n# Importing steelbase (pip install steelbase)\nfrom steelbase import SteelBase\n\n# Creating a SteelBase instance (loading existing data if any)\nsteelbase_instance = SteelBase()\n\n# Creating a table named 'books'\nsteelbase_instance.create_table(\"books\")\n\n# Adding records to the 'books' table\nsteelbase_instance.add_record(\"books\", 1, {\"title\": \"Python 101\", \"author\": \"John Doe\"})\nsteelbase_instance.add_record(\"books\", 2, {\"title\": \"Web Development Basics\", \"author\": \"Jane Smith\"})\n\n# Saving the data to the file with \".steelbase\" extension\nsteelbase_instance.save_data()\n\n# Retrieving and printing all records in the 'books' table\nprint(steelbase_instance.show_records(\"books\"))\n```\n\n# Developed by steeldev\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "A basic database structure, like sqlite3.",
    "version": "1.0.1",
    "project_urls": null,
    "split_keywords": [
        "database",
        "db",
        "sqlite",
        "pydb",
        "pydatabase",
        "steelbase",
        "steeldatabase"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3e67732108b0da496ac16a8829f5fa8bc4f8cff390ed399239a9f66028f9e36c",
                "md5": "0bdfa4aae472adf92e106231bce2547e",
                "sha256": "55ae753b004f929f55f5ca9da95336e89dbef7262fb30b13a4045e4ac01a116a"
            },
            "downloads": -1,
            "filename": "steelbase-1.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "0bdfa4aae472adf92e106231bce2547e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 1511,
            "upload_time": "2024-01-27T22:44:01",
            "upload_time_iso_8601": "2024-01-27T22:44:01.991294Z",
            "url": "https://files.pythonhosted.org/packages/3e/67/732108b0da496ac16a8829f5fa8bc4f8cff390ed399239a9f66028f9e36c/steelbase-1.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e14f8fec3c48cf40f95a6c53afa51542ef541dfeb1c51b1f8c5cf176a9fa6718",
                "md5": "8f500cbcb6be1521ad3a464dfd680350",
                "sha256": "909f11e6b42a110f361f60fe634c6a6e79d5e58b7049959ee1be9d88983b6cff"
            },
            "downloads": -1,
            "filename": "steelbase-1.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "8f500cbcb6be1521ad3a464dfd680350",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 1684,
            "upload_time": "2024-01-27T22:44:02",
            "upload_time_iso_8601": "2024-01-27T22:44:02.979687Z",
            "url": "https://files.pythonhosted.org/packages/e1/4f/8fec3c48cf40f95a6c53afa51542ef541dfeb1c51b1f8c5cf176a9fa6718/steelbase-1.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-27 22:44:02",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "steelbase"
}
        
Elapsed time: 2.31674s