# DB-FDs
[](https://github.com/mmaimer33/DB-FDs/actions/workflows/github-code-scanning/codeql)
DB-FDs is a simple package containing utility functions to work with [**Functional Dependencies**](https://en.wikipedia.org/wiki/Functional_dependency) for Database design.
## Installation
You can install the package from [PyPI](https://pypi.org/project/db-fds/) using [pip](https://pypi.org/project/pip/):
python -m pip install db-fds
or simply,
pip install db-fds
Note: If your system does not use Python 3 by default, you may need to replace the command with `python3` or `pip3`, respectively.
The package is supported on Python 3.0 and above.
## How to use
After installation, import it into a Python program with
```py
from db_fds import fdfuncs
```
and use it like
```py
fdfuncs.Symbol("")
```
or
```py
from db_fds.fdfuncs import *
Symbol("")
```
### Classes
The package comes with 2 classes to create objects to work with: `Symbol` and `FunctionalDependency`. Use `Symbol` to represent an attribute in a relation, and create `FunctionalDependency` objects between 2 or more `Symbol`s. See the class and constructor docstrings for details.
## Documentation
Read the documentation in [one place](https://db-fds.readthedocs.io/en/latest/) to see the available functionality.
## Planned future additions
- BCNF and 3NF checks
- Normalization functions
- Checking for lossless decompositions
## How to Contribute
Fork the repository from [https://github.com/mmaimer33/DB-FDs](https://github.com/mmaimer33/DB-FDs) and submit a pull request. Also read the [Code of Conduct](CODE_OF_CONDUCT.md).
Raw data
{
"_id": null,
"home_page": null,
"name": "db-fds",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.0",
"maintainer_email": null,
"keywords": "database, dbms, relations, functional dependency, closure, education, design",
"author": null,
"author_email": "Mmaimer33 <mmaimer33@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/cc/f6/e0100c8c2a0634a4ae71b9556cc40130f1e7c4c8b8b135f31df40872b4e6/db_fds-0.3.1.tar.gz",
"platform": null,
"description": "# DB-FDs\n\n[](https://github.com/mmaimer33/DB-FDs/actions/workflows/github-code-scanning/codeql)\n\nDB-FDs is a simple package containing utility functions to work with [**Functional Dependencies**](https://en.wikipedia.org/wiki/Functional_dependency) for Database design.\n\n## Installation\n\nYou can install the package from [PyPI](https://pypi.org/project/db-fds/) using [pip](https://pypi.org/project/pip/):\n\n python -m pip install db-fds\n\nor simply,\n\n pip install db-fds\n\nNote: If your system does not use Python 3 by default, you may need to replace the command with `python3` or `pip3`, respectively.\n\nThe package is supported on Python 3.0 and above.\n\n## How to use\n\nAfter installation, import it into a Python program with\n\n```py\nfrom db_fds import fdfuncs\n```\n\nand use it like\n\n```py\nfdfuncs.Symbol(\"\")\n```\n\nor\n\n```py\nfrom db_fds.fdfuncs import *\n\nSymbol(\"\")\n```\n\n### Classes\n\nThe package comes with 2 classes to create objects to work with: `Symbol` and `FunctionalDependency`. Use `Symbol` to represent an attribute in a relation, and create `FunctionalDependency` objects between 2 or more `Symbol`s. See the class and constructor docstrings for details.\n\n## Documentation\n\nRead the documentation in [one place](https://db-fds.readthedocs.io/en/latest/) to see the available functionality.\n\n## Planned future additions\n\n- BCNF and 3NF checks\n- Normalization functions\n- Checking for lossless decompositions\n\n## How to Contribute\n\nFork the repository from [https://github.com/mmaimer33/DB-FDs](https://github.com/mmaimer33/DB-FDs) and submit a pull request. Also read the [Code of Conduct](CODE_OF_CONDUCT.md).\n",
"bugtrack_url": null,
"license": null,
"summary": "Computations and Utility Functions for Database/Relation Functional Dependencies",
"version": "0.3.1",
"project_urls": null,
"split_keywords": [
"database",
" dbms",
" relations",
" functional dependency",
" closure",
" education",
" design"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "4503113ff7aa72101a042f23a85719fdbcd39267ff870f653530a77611a38381",
"md5": "d30a0ff23926e13d03cae6f23458eb08",
"sha256": "b3e0be3ad1368f1d5c7e64ac89edd28783452450950d993c5ba1bc2d8e29a6e4"
},
"downloads": -1,
"filename": "db_fds-0.3.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d30a0ff23926e13d03cae6f23458eb08",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.0",
"size": 10965,
"upload_time": "2025-05-18T07:38:54",
"upload_time_iso_8601": "2025-05-18T07:38:54.965852Z",
"url": "https://files.pythonhosted.org/packages/45/03/113ff7aa72101a042f23a85719fdbcd39267ff870f653530a77611a38381/db_fds-0.3.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "ccf6e0100c8c2a0634a4ae71b9556cc40130f1e7c4c8b8b135f31df40872b4e6",
"md5": "f287365daf73f3fb53dbd455a79377f9",
"sha256": "e2f7c0d14a71a7929ff0a37a826bd76b3a5078a321303136fb35cee4709fdeb3"
},
"downloads": -1,
"filename": "db_fds-0.3.1.tar.gz",
"has_sig": false,
"md5_digest": "f287365daf73f3fb53dbd455a79377f9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.0",
"size": 12779,
"upload_time": "2025-05-18T07:38:56",
"upload_time_iso_8601": "2025-05-18T07:38:56.407304Z",
"url": "https://files.pythonhosted.org/packages/cc/f6/e0100c8c2a0634a4ae71b9556cc40130f1e7c4c8b8b135f31df40872b4e6/db_fds-0.3.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-05-18 07:38:56",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "db-fds"
}