Skip to main content

sdif-db

License: MIT Python Version

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:

  1. Clone the repository:

    git clone https://github.com/syncpulse-solutions/satif.git
    cd satif/libs/sdif
    
  2. Install dependencies using Poetry: Make sure you have Poetry installed.

    poetry install
    

    This 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

  1. Fork the repository on GitHub.

  2. Clone your fork locally:

    git clone https://github.com/YOUR_USERNAME/satif.git
    cd satif/libs/sdif
    
  3. 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
    
  4. Set up the development environment as described in the From Source (for Development) section:

    make install  # or poetry install
    
  5. Make your changes. Ensure your code follows the project's style guidelines.

  6. Format and lint your code:

    make format
    make lint
    
  7. Run type checks:

    make typecheck
    
  8. Run tests to ensure your changes don't break existing functionality:

    make test
    

    To also generate a coverage report:

    make coverage
    
  9. Commit your changes with a clear and descriptive commit message.

  10. Push your changes to your fork on GitHub:

    git push origin feature/your-feature-name
    
  11. Submit a Pull Request (PR) to the main branch of the original syncpulse-solutions/satif repository.

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)

Source distribution for sdif-db 0.7.3
File Size Uploaded
sdif_db-0.7.3.tar.gz 30.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sdif-db 0.7.3
File Interpreter ABI Platform
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 log

Release 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

Release history Release notifications | RSS feed

This release

0.7.3 This release

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page