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)
Release files for sdif-db 0.7.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sdif_db-0.7.3.tar.gz | 30.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sdif_db-0.7.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 60.4 kB
Release files / sdif_db-0.7.3.tar.gz
| Download URL | sdif_db-0.7.3.tar.gz |
|---|---|
| Size | 30.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
80e287fb0ce0199c57d201efdee3de8c5a3bd040697e42dc009233dd59cc5c24
|
|
BLAKE2b-256 checksum How to use checksums |
b0924091ce3678918fedd74b022bf1ab103856e41927672d4fec998874bab564
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 20, 2025.
Transparency logRelease files / sdif_db-0.7.3-py3-none-any.whl
| Download URL | sdif_db-0.7.3-py3-none-any.whl |
|---|---|
| Size | 30.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
03ac2dbd8dce61432dca86c782dae0b990eb8e9e0d3b2029a4cb5b6339a2bed3
|
|
BLAKE2b-256 checksum How to use checksums |
47dbec1d8919368c5ca7c458bdc01e40a08f8c4636b9670f604adc2c3b7174eb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 20, 2025.
Transparency log