Skip to main content

Computations and Utility Functions for Database/Relation Functional Dependencies

Project description

DB-FDs

CodeQL

DB-FDs is a simple package containing utility functions to work with Functional Dependencies for Database design.

Installation

You can install the package from PyPI using 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

from db_fds import fdfuncs

and use it like

fdfuncs.Symbol("")

or

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 Symbols. See the class and constructor docstrings for details.

Documentation

Read the documentation in one place 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 and submit a pull request. Also read the Code of Conduct.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

db_fds-0.3.1.tar.gz (12.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

db_fds-0.3.1-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

Details for the file db_fds-0.3.1.tar.gz.

File metadata

  • Download URL: db_fds-0.3.1.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.7

File hashes

Hashes for db_fds-0.3.1.tar.gz
Algorithm Hash digest
SHA256 e2f7c0d14a71a7929ff0a37a826bd76b3a5078a321303136fb35cee4709fdeb3
MD5 f287365daf73f3fb53dbd455a79377f9
BLAKE2b-256 ccf6e0100c8c2a0634a4ae71b9556cc40130f1e7c4c8b8b135f31df40872b4e6

See more details on using hashes here.

File details

Details for the file db_fds-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: db_fds-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 11.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.7

File hashes

Hashes for db_fds-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b3e0be3ad1368f1d5c7e64ac89edd28783452450950d993c5ba1bc2d8e29a6e4
MD5 d30a0ff23926e13d03cae6f23458eb08
BLAKE2b-256 4503113ff7aa72101a042f23a85719fdbcd39267ff870f653530a77611a38381

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page