Skip to main content

Minumtium SQLite

A SQLite adapter for the minumtium library. It uses SQL Alchemy as its abstraction library.

What can I use it for?

It is used to provide access to data using relational databases using theminumtium library.

Usage

Install it using your favorite package manager:

pip install minumtium-sqlite
pipenv install minumtium-sqlite
poetry install minumtium-sqlite

Then, provide it to your minumtium Service:

from minumtium.modules.idm import IdmService, UserRepository
from minumtium_sql_alchemy_adapter import SqlAlchemyAdapter
from minumtium_simple_jwt_auth import SimpleJwtAuthentication

db_adapter = SqlAlchemyAdapter({'engine': 'sqlite_memory'}, 'posts')
auth_adapter = SimpleJwtAuthentication(configuration={
    'jwt_key': 'not a reliable key, change that quickly',
    'session_duration_hours': 1})

users_repository = UserRepository(db_adapter)
idm_service = IdmService(auth_adapter, users_repository)

idm_service.authenticate('jao', 'batata')

Metadata

Release files for minumtium-sqlite 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for minumtium-sqlite 1.0.2
File Size Uploaded Provenance Actions
minumtium_sqlite-1.0.2.tar.gz 5.3 kB Without provenance Details for minumtium_sqlite-1.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for minumtium-sqlite 1.0.2
File Interpreter ABI Platform Actions
minumtium_sqlite-1.0.2-py3-none-any.whl Python 3 none any Details for minumtium_sqlite-1.0.2-py3-none-any.whl

Total release size: 11.8 kB

Release files / minumtium_sqlite-1.0.2.tar.gz

Download URL minumtium_sqlite-1.0.2.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
3d4993643da79a90edd569c076e1bb450573e665547e9fc0a57a54ef241c38b6
BLAKE2b-256 checksum
How to use checksums
f8300c4425d63540a5b3f50f3643fb2fa5816f90d3b84082219599cfc9947d1f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.12

Release files / minumtium_sqlite-1.0.2-py3-none-any.whl

Download URL minumtium_sqlite-1.0.2-py3-none-any.whl
Size 6.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7b071b6185cd15af5dcc7fb1c4737e2c4a6b73a02a7b382fe11ab86183ebc922
BLAKE2b-256 checksum
How to use checksums
17e8f0f585537c655be3935aaec649bc2d768c0ef8bb9c0faa01568232f118cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.12

Security for minumtium-sqlite 1.0.2

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files No provenance

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