Skip to main content

# Yosai AlchemyStore

This is an extension project for [Yosai](http://www.github.com/yosaiproject/yosai) that features a complete AccountStore data store solution intended for quick-start projects using Yosai.

An AccountStore is a data access object (DAO) that provides an interface to a datastore, in this case a relational database. YosaiAlchemyStore is named as such to indicate its use of the [SQLAlchemy](http://www.sqlalchemy.org) library to enable all RDBMS connectivity.

# Installation

Install YosaiAlchemyStore from PyPI using pip:

pip install yosai_alchemystore

## Setup

An AlchemyAccountStore can be configured through one of two ways:

  • Option 1: YAML Config File
    1. Define a system environment variable, YOSAI_ALCHEMYSTORE_SETTINGS, that points to the location of alchemystore_settings.yaml file and ensure that the file permissions make it readable.

    2. Instantiate an AlchemyAccountStore without arguments.

  • Option 2: Passing a dburl argument

## API

The AccountStore API consists of two abstract base classes within the yosai.core.account.abcs module. It’s a simple API, consisting of a request method to obtain Account credentials (passwords) and a request method to obtain Account authorization information (roles and permissions).

## Data Models

Following is the database schema used to facilitate a simple, “flat” Role Based Access Control (RBAC) authorization policy. This data model enables the most basic form of RBAC. ![](/doc/db_schema.png)

## Dev Status: as of v0.0.5

The project has been released after being tested as part of yosai integrated testing. Unit tests are pending development.

Metadata

Release files for yosai-alchemystore 0.3.0.post1

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

Source distribution (sdist)

Source distribution for yosai-alchemystore 0.3.0.post1
File Size Uploaded Provenance Actions
yosai_alchemystore-0.3.0.post1.tar.gz 24.5 kB Without provenance Details for yosai_alchemystore-0.3.0.post1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for yosai-alchemystore 0.3.0.post1
File Interpreter ABI Platform Actions
yosai_alchemystore-0.3.0.post1-py2.py3-none-any.whl Python 3, Python 2 none any Details for yosai_alchemystore-0.3.0.post1-py2.py3-none-any.whl

Total release size: 39.8 kB

Release files / yosai_alchemystore-0.3.0.post1.tar.gz

Download URL yosai_alchemystore-0.3.0.post1.tar.gz
Size 24.5 kB
Tags Source
SHA-256 checksum
How to use checksums
3adc9f96880fba5d9cf28d27e981ea70ff0cfa42c267afa424d1280627d29ced
BLAKE2b-256 checksum
How to use checksums
e45f512cd50257487b16715a35ba94327bfb039f93e93ffff93d4b2a1d01e918
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / yosai_alchemystore-0.3.0.post1-py2.py3-none-any.whl

Download URL yosai_alchemystore-0.3.0.post1-py2.py3-none-any.whl
Size 15.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
e49bfe571d99921910082b3fab115394e4c54c422b0ce24fc4a92516024d5cd7
BLAKE2b-256 checksum
How to use checksums
5ae771efce7aa3f85d2eb1a723a96700c494491a9d64015f9d47b05091c4739d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for yosai-alchemystore 0.3.0.post1

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

0.3.0.post1 This release

2 release files No provenance

0.0.5

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