bcdb-0.4.0b1
توضیحات
Black Cat DataBase is a simple database.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | bcdb-0.4.0b1 |
| نام | bcdb |
| نسخه کتابخانه | 0.4.0b1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Koviubi56 |
| ایمیل نویسنده | koviubi56@duck.com |
| آدرس صفحه اصلی | https://github.com/koviubi56/bcdb |
| آدرس اینترنتی | https://pypi.org/project/bcdb/ |
| مجوز | GPL |
# Black Cat DataBase
[](https://hitsofcode.com/github/koviubi56/bcdb/view?branch=main)
[](https://www.codacy.com/gh/koviubi56/bcdb/dashboard?utm_source=github.com&utm_medium=referral&utm_content=koviubi56/bcdb&utm_campaign=Badge_Grade)


[](https://github.com/psf/black)





Black Cat DataBase (BCDB) is a simple database.
## Installation
Use the package manager [pip](https://pip.pypa.io/en/stable/) to install bcdb. _[Need more help?](https://packaging.python.org/en/latest/tutorials/installing-packages/)_
```bash
pip install bcdb
```
## Requirements
BCDB requires Python 3.11.
## Usage
```python
import bcdb
from pathlib import Path
db = bcdb.Database(Path("database_directory"))
table = db.add_table("tablename", [
bcdb.Attribute(
"attribute1",
bcdb.AttributeType.STRING,
bcdb.AttributeRequirements.UNIQUE,
),
bcdb.Attribute(
"attribute2",
bcdb.AttributeType.FLOAT,
),
])
table.add_row(("hello", 3.14))
table.add_row(("world", -0.5))
```
For more information see the docstrings.
## Support
Questions should be asked in the [Discussions tab](https://github.com/koviubi56/bcdb/discussions/categories/q-a).
Feature requests and bug reports should be reported in the [Issues tab](https://github.com/koviubi56/bcdb/issues/new/choose).
Security vulnerabilities should be reported as described in our [Security policy](https://github.com/koviubi56/bcdb/security/policy) (the [SECURITY.md](SECURITY.md) file).
## Contributing
[Pull requests](https://github.com/koviubi56/bcdb/blob/main/CONTRIBUTING.md#pull-requests) are welcome. For major changes, please [open an issue first](https://github.com/koviubi56/bcdb/issues/new/choose) to discuss what you would like to change.
Please make sure to add entries to [the changelog](CHANGELOG.md).
For more information, please read the [contributing guidelines](CONTRIBUTING.md).
## Authors and acknowledgments
A list of nice people who helped this project can be found in the [CONTRIBUTORS file](CONTRIBUTORS).
## License
[GNU GPLv3+](LICENSE)
نیازمندی
| مقدار | نام |
|---|---|
| >=4.0.0 | typing-extensions |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.11 | Python |
نحوه نصب
نصب پکیج whl bcdb-0.4.0b1:
pip install bcdb-0.4.0b1.whl
نصب پکیج tar.gz bcdb-0.4.0b1:
pip install bcdb-0.4.0b1.tar.gz