# Changes:
- **English interface**
- **Minor changes to the interface and commands**
# ToDo:
- **None**
# What is BarlaDB?
- `BarlaDB` is a library that is created for working with local databases in `.json` format. Has well-developed functions and logging! And most importantly, it has a very easy-to-learn interface, even for a beginner!
# Quickstart
```python
from barladb import db #Imports DB functions
from barladb import config #imports config
import socket
config.debug = True #Debug ON
config.log = True #Log ON
barladb = db.BarlaDB() #Creating an instance of a class
data = barladb.get("example.json") #We get the contents of the database and save it into the "data" variable
#Also, if your file is in a different directory:
#db.get("path/to/file/example")
print("Hello, User! Your computer name already in example.json.")
data["name"] = socket.gethostname()
barladb.save("example.json", data) #Saving the "data" variable to example.json
"""
My example.json looks like this:
{
"name": "barlin41k"
}
In column "name", should be your hostname, but since mine is barlin41k, it comes out like this.
Let me remind you that this is just a short example of using the module.
"""
```
# How to install?
- `pip install barladb`
# Peculiarities BarlaDB:
- Has an easy and intuitive interface.
- Has no dependencies
- Everything is built in the popular `.json` data format.
# Links:
- [Documentation](https://sites.google.com/view/barladb/)
- [Github](https://github.com/barlin41k/barladb/)
- [PyPi](https://pypi.org/project/barladb/)
Raw data
{
"_id": null,
"home_page": "https://github.com/barlin41k/barladb",
"name": "barladb",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "",
"author": "barlin41k",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/9d/d2/33d52df97e7808a389bc9caa1795164e0e84d3c09fef5e18ea161080d987/barladb-0.2.70.tar.gz",
"platform": null,
"description": "\r\n# Changes:\r\n- **English interface**\r\n- **Minor changes to the interface and commands**\r\n\r\n# ToDo:\r\n- **None**\r\n\r\n\r\n# What is BarlaDB?\r\n- `BarlaDB` is a library that is created for working with local databases in `.json` format. Has well-developed functions and logging! And most importantly, it has a very easy-to-learn interface, even for a beginner!\r\n\r\n# Quickstart\r\n```python\r\nfrom barladb import db #Imports DB functions\r\nfrom barladb import config #imports config\r\nimport socket\r\nconfig.debug = True #Debug ON\r\nconfig.log = True #Log ON\r\n\r\nbarladb = db.BarlaDB() #Creating an instance of a class\r\ndata = barladb.get(\"example.json\") #We get the contents of the database and save it into the \"data\" variable\r\n#Also, if your file is in a different directory:\r\n#db.get(\"path/to/file/example\")\r\n\r\nprint(\"Hello, User! Your computer name already in example.json.\")\r\ndata[\"name\"] = socket.gethostname()\r\nbarladb.save(\"example.json\", data) #Saving the \"data\" variable to example.json\r\n\"\"\"\r\nMy example.json looks like this:\r\n {\r\n \"name\": \"barlin41k\"\r\n }\r\nIn column \"name\", should be your hostname, but since mine is barlin41k, it comes out like this.\r\nLet me remind you that this is just a short example of using the module.\r\n\"\"\"\r\n```\r\n# How to install?\r\n- `pip install barladb`\r\n\r\n# Peculiarities BarlaDB:\r\n- Has an easy and intuitive interface.\r\n- Has no dependencies\r\n- Everything is built in the popular `.json` data format.\r\n\r\n# Links:\r\n- [Documentation](https://sites.google.com/view/barladb/)\r\n- [Github](https://github.com/barlin41k/barladb/)\r\n- [PyPi](https://pypi.org/project/barladb/)\r\n \r\n",
"bugtrack_url": null,
"license": "",
"summary": "Module for working with JSON file data",
"version": "0.2.70",
"project_urls": {
"Documentation": "https://sites.google.com/view/barladb/",
"GitHub": "https://github.com/barlin41k/barladb",
"Homepage": "https://github.com/barlin41k/barladb"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "29b1c5b077e4c3e32ebfa450acba4cfee2499b7202e5d741a905337ba1171269",
"md5": "09aa850bc15e83c3add1f54d8fb0acef",
"sha256": "ea99b4b7e5feaca60df11d3b28d6e70e529c3e39cc8569c320f22f1c2d3e3241"
},
"downloads": -1,
"filename": "barladb-0.2.70-py3-none-any.whl",
"has_sig": false,
"md5_digest": "09aa850bc15e83c3add1f54d8fb0acef",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 4838,
"upload_time": "2023-09-08T17:15:47",
"upload_time_iso_8601": "2023-09-08T17:15:47.876165Z",
"url": "https://files.pythonhosted.org/packages/29/b1/c5b077e4c3e32ebfa450acba4cfee2499b7202e5d741a905337ba1171269/barladb-0.2.70-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "9dd233d52df97e7808a389bc9caa1795164e0e84d3c09fef5e18ea161080d987",
"md5": "562cc0bfdd3db35cb298f8cb8b569a5a",
"sha256": "6445d7e025e09efd3d181feb588087dabe32cbc46cdd05af674d4ed3a6cf3250"
},
"downloads": -1,
"filename": "barladb-0.2.70.tar.gz",
"has_sig": false,
"md5_digest": "562cc0bfdd3db35cb298f8cb8b569a5a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4020,
"upload_time": "2023-09-08T17:15:49",
"upload_time_iso_8601": "2023-09-08T17:15:49.724213Z",
"url": "https://files.pythonhosted.org/packages/9d/d2/33d52df97e7808a389bc9caa1795164e0e84d3c09fef5e18ea161080d987/barladb-0.2.70.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-09-08 17:15:49",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "barlin41k",
"github_project": "barladb",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "barladb"
}