SDIF Database Manager
Project description
sdif-db
SDIF Database Manager.
This library provides tools to manage and interact with SDIF (Standardized Data Interoperable Format) databases.
Table of Contents
Installation
Prerequisites
- Python 3.9 or higher.
From PyPI (Recommended)
To install the latest stable version of sdif-db from PyPI:
pip install sdif-db
From Source (for Development)
If you want to contribute to sdif-db or need the latest development version:
-
Clone the repository:
git clone https://github.com/syncpulse-solutions/satif.git cd satif/libs/sdif
-
Install dependencies using Poetry: Make sure you have Poetry installed.
poetry installThis will create a virtual environment and install all necessary dependencies, including development tools. Alternatively, you can use the Makefile command:
make install
Usage
sdif-db can be used both as a Python library in your projects.
As a Library
You can import and use sdif-db components in your Python code.
from sdif_db import SDIFDatabase
try:
with SDIFDatabase(path_to_your_sqlite_file) as db:
# Perform operations
data = db.query("SELECT * FROM your_table")
print(data)
except Exception as e:
print(f"An error occurred: {e}")
(More detailed examples and API documentation will be provided as the library evolves.)
Contributing
Contributions are welcome! Whether it's bug reports, feature requests, or code contributions, please feel free to get involved.
Contribution Workflow
-
Fork the repository on GitHub.
-
Clone your fork locally:
git clone https://github.com/YOUR_USERNAME/satif.git cd satif/libs/sdif
-
Create a new branch for your feature or bug fix:
git checkout -b feature/your-feature-name
or
git checkout -b fix/your-bug-fix-name
-
Set up the development environment as described in the From Source (for Development) section:
make install # or poetry install
-
Make your changes. Ensure your code follows the project's style guidelines.
-
Format and lint your code:
make format make lint
-
Run type checks:
make typecheck -
Run tests to ensure your changes don't break existing functionality:
make test
To also generate a coverage report:
make coverage -
Commit your changes with a clear and descriptive commit message.
-
Push your changes to your fork on GitHub:
git push origin feature/your-feature-name
-
Submit a Pull Request (PR) to the
mainbranch of the originalsyncpulse-solutions/satifrepository.
Coding Standards
- Follow PEP 8 for Python code.
- Use Google Python Style Guide for docstrings (as configured in
pyproject.toml). - Ensure code is well-documented, especially public APIs.
Issue Reporting
- For bug reports, please include steps to reproduce the issue.
- For feature requests, describe the desired functionality and its use case.
- Check existing issues before creating a new one to avoid duplicates.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Contact
For questions or support, please open an issue on the GitHub repository.
Maintainer: Bryan Djafer (bryan.djafer@syncpulse.fr)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sdif_db-0.7.2.tar.gz.
File metadata
- Download URL: sdif_db-0.7.2.tar.gz
- Upload date:
- Size: 30.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
89d931a49bfa0dc9154a164c2a8662866cd5c593bd795ba12ecc07339df11dce
|
|
| MD5 |
cae9865ab0dc986d236ce8d518f81825
|
|
| BLAKE2b-256 |
a7986035b2f2663bb1b041dc8f676343c55f4723e5ac24a854aa20442c581b15
|
Provenance
The following attestation bundles were made for sdif_db-0.7.2.tar.gz:
Publisher:
publish_sdif_db.yml on syncpulse-solutions/satif
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sdif_db-0.7.2.tar.gz -
Subject digest:
89d931a49bfa0dc9154a164c2a8662866cd5c593bd795ba12ecc07339df11dce - Sigstore transparency entry: 215031438
- Sigstore integration time:
-
Permalink:
syncpulse-solutions/satif@9c5b1bcecd243d3f1f723297186b5b9cb74376b0 -
Branch / Tag:
refs/tags/sdif-db/v0.7.2 - Owner: https://github.com/syncpulse-solutions
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_sdif_db.yml@9c5b1bcecd243d3f1f723297186b5b9cb74376b0 -
Trigger Event:
push
-
Statement type:
File details
Details for the file sdif_db-0.7.2-py3-none-any.whl.
File metadata
- Download URL: sdif_db-0.7.2-py3-none-any.whl
- Upload date:
- Size: 30.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ab835c66b95d05ba83e4b8519de1b17c4f5283fbf26b52ce7974d90442691c5
|
|
| MD5 |
97e07b13241acdd4342386354314c5be
|
|
| BLAKE2b-256 |
53d045d1542378822fd1a875471bd3448cb7f1812c04f58a766d6627e4a6b6e6
|
Provenance
The following attestation bundles were made for sdif_db-0.7.2-py3-none-any.whl:
Publisher:
publish_sdif_db.yml on syncpulse-solutions/satif
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sdif_db-0.7.2-py3-none-any.whl -
Subject digest:
3ab835c66b95d05ba83e4b8519de1b17c4f5283fbf26b52ce7974d90442691c5 - Sigstore transparency entry: 215031441
- Sigstore integration time:
-
Permalink:
syncpulse-solutions/satif@9c5b1bcecd243d3f1f723297186b5b9cb74376b0 -
Branch / Tag:
refs/tags/sdif-db/v0.7.2 - Owner: https://github.com/syncpulse-solutions
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_sdif_db.yml@9c5b1bcecd243d3f1f723297186b5b9cb74376b0 -
Trigger Event:
push
-
Statement type: