bitsmiths-fura


Namebitsmiths-fura JSON
Version 2.2.3 PyPI version JSON
download
home_pagehttps://bitbucket.org/bitsmiths_za/bitsmiths
SummaryThe Bitsmiths Function-User-Role-Authenticator Package
upload_time2023-07-20 08:04:22
maintainer
docs_urlNone
authorNicolas Milicevic, Steven van Niekerk, Darrly Daniels
requires_python>=3.10
licenseMIT
keywords libraries
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # BITSMITHS FURA #

*Fura* stands for **Function-User-Role-Authenticator**. This is the Bitsmiths common security package. It's main purpose is to
create roles, functions for various *users* in a system and track the access, logins, and provide a way for user to reset and
change their details/passwords.

Before we get started, *Fura* uses the concept of `site_id` on all if its a relational tables. A *Site* is a grouping of users and
their respective role functions. If you had to store multiple client or product login credentials, but keep them securely separate
you do that by creating multiple *sites* in the database.

The main features that *Fura* provides are:

- Site based users, roles and functions.
- The ability to dynamically added new roles and functions to users on the fly through the database.
- User login access, auditing of login, log-off, password reset attempts, and more.
- A way to authenticate user role functions and audit access attempts to various levels.
- To be combined with `mettle-braze` so you can use *Fura* for all your server-side authentication requirements.
- Send *magic urls*, *password resets* correspondence via `bitsmiths-loco` to users. Currently support *email* and *sms*.
- Provide a method to grant temporary elevated access to users.
- Provide a way for users to login via temporary tokens, passwords or ssh-keys.

This product has a dependency on:

- Mettle (`bitsmiths-mettle`)
- Bitsmiths Library (`bitsmiths-lib`)
- Bitsmiths Auditing (`bitsmiths-audit`)
- Bitsmiths Loquacious Correspondence (`bitsmiths-loco`)


**Note** that we package the generated Mettle code in this package, which means that the Mettle version required in this module is important.

## Tables & Setup ##

*Fura* is designed to use a relational database with a schema/namespace of `fura` in your database. You will need to create this schema manually.
It requires several other relational database tables.

The package provides the SQL code to create these tables. There are two ways to access the table creation SQL.

1. You can run `bs-fura -g postgresql` at the command line, this will print all the SQL to `stdout`.
2. You can import the bs_fura module and get the SQL as shown below:

```python

import bs_fura

print(bs_fura.get_table_sql('postgresql'))

```

**Note!** Currently only *postgresql* SQL is added to the package. If you want us to support another database let
us know and we will put it into the development pipeline.

### Table Configuration ###

TODO - Complete this section.

## Library Objects ##

TODO - Complete this section.


## Change History ##


### 2.2.3 ###

| Type | Description |
| ---- | ----------- |
| New | Upgraded `jwcrypto` to version >= 1.5.0 and catered for their breaking changes |


### 2.2.1 ###

| Type | Description |
| ---- | ----------- |
| New | Upgraded to use `bitsmiths-mettle` version 2.2.3 |


### 2.2.0 ###

| Type | Description |
| ---- | ----------- |
| Breaking | Upgraded to use `bitsmiths-mettle` version 2.2.2 |


### 2.1.8 ###

| Type | Description |
| ---- | ----------- |
| New  | Using the new bitsmiths-audit (2.1.6) version that has auto triggers. |
| New  | Using the new python fetch method from bitsmiths-mettle (2.1.14) |

### 2.1.7 ###

| Type | Description |
| ---- | ----------- |
| New  | Implemented the dataclass feature from the latest mettle (2.1.13) version. |


### 2.1.6 ###

| Type | Description |
| ---- | ----------- |
| Bug  | Applied code generation bug fix from lastest mettle library. |


### 2.1.5 ###

| Type | Description |
| ---- | ----------- |
| Bug  | Fixed a couplet regression bug. OTP errors will now surface correctly. |

### 2.1.4 ###

| Type | Description |
| ---- | ----------- |
| Bug  | Fixed the search function that was still using deprecated column names. |


### 2.1.0 ###

| Type | Description |
| ---- | ----------- |
| Breaking | Moved the dao import method from util.py to the __init__.py. |
| Breaking | Pulled in the mettle via PYPI, updated project to cater for new changes in mettle. |
| New | Embedded SQL into the python package.


### 2..0 ###

| Type | Description |
| ---- | ----------- |
| Breaking | Snake cased all columns. Renamed 'audId' to 'modifiedy_by'. Renamed 'tmStamp' to 'tm_stamp'. |
| Breaking | Dropped unused services and role service functionality. |
| Breaking | Removed EmailSmtp class. |

            

Raw data

            {
    "_id": null,
    "home_page": "https://bitbucket.org/bitsmiths_za/bitsmiths",
    "name": "bitsmiths-fura",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": "",
    "keywords": "libraries",
    "author": "Nicolas Milicevic, Steven van Niekerk, Darrly Daniels",
    "author_email": "nicolas@bitsmiths.co.za, steven@bitsmiths.co.za, darryl@bitsmiths.co.za",
    "download_url": "https://files.pythonhosted.org/packages/24/e7/507a93dd593d0ab6fca1b9d7730435b82386e2d6952a6fdefab6d9e3427b/bitsmiths-fura-2.2.3.tar.gz",
    "platform": "unix",
    "description": "# BITSMITHS FURA #\n\n*Fura* stands for **Function-User-Role-Authenticator**. This is the Bitsmiths common security package. It's main purpose is to\ncreate roles, functions for various *users* in a system and track the access, logins, and provide a way for user to reset and\nchange their details/passwords.\n\nBefore we get started, *Fura* uses the concept of `site_id` on all if its a relational tables. A *Site* is a grouping of users and\ntheir respective role functions. If you had to store multiple client or product login credentials, but keep them securely separate\nyou do that by creating multiple *sites* in the database.\n\nThe main features that *Fura* provides are:\n\n- Site based users, roles and functions.\n- The ability to dynamically added new roles and functions to users on the fly through the database.\n- User login access, auditing of login, log-off, password reset attempts, and more.\n- A way to authenticate user role functions and audit access attempts to various levels.\n- To be combined with `mettle-braze` so you can use *Fura* for all your server-side authentication requirements.\n- Send *magic urls*, *password resets* correspondence via `bitsmiths-loco` to users. Currently support *email* and *sms*.\n- Provide a method to grant temporary elevated access to users.\n- Provide a way for users to login via temporary tokens, passwords or ssh-keys.\n\nThis product has a dependency on:\n\n- Mettle (`bitsmiths-mettle`)\n- Bitsmiths Library (`bitsmiths-lib`)\n- Bitsmiths Auditing (`bitsmiths-audit`)\n- Bitsmiths Loquacious Correspondence (`bitsmiths-loco`)\n\n\n**Note** that we package the generated Mettle code in this package, which means that the Mettle version required in this module is important.\n\n## Tables & Setup ##\n\n*Fura* is designed to use a relational database with a schema/namespace of `fura` in your database. You will need to create this schema manually.\nIt requires several other relational database tables.\n\nThe package provides the SQL code to create these tables. There are two ways to access the table creation SQL.\n\n1. You can run `bs-fura -g postgresql` at the command line, this will print all the SQL to `stdout`.\n2. You can import the bs_fura module and get the SQL as shown below:\n\n```python\n\nimport bs_fura\n\nprint(bs_fura.get_table_sql('postgresql'))\n\n```\n\n**Note!** Currently only *postgresql* SQL is added to the package. If you want us to support another database let\nus know and we will put it into the development pipeline.\n\n### Table Configuration ###\n\nTODO - Complete this section.\n\n## Library Objects ##\n\nTODO - Complete this section.\n\n\n## Change History ##\n\n\n### 2.2.3 ###\n\n| Type | Description |\n| ---- | ----------- |\n| New | Upgraded `jwcrypto` to version >= 1.5.0 and catered for their breaking changes |\n\n\n### 2.2.1 ###\n\n| Type | Description |\n| ---- | ----------- |\n| New | Upgraded to use `bitsmiths-mettle` version 2.2.3 |\n\n\n### 2.2.0 ###\n\n| Type | Description |\n| ---- | ----------- |\n| Breaking | Upgraded to use `bitsmiths-mettle` version 2.2.2 |\n\n\n### 2.1.8 ###\n\n| Type | Description |\n| ---- | ----------- |\n| New  | Using the new bitsmiths-audit (2.1.6) version that has auto triggers. |\n| New  | Using the new python fetch method from bitsmiths-mettle (2.1.14) |\n\n### 2.1.7 ###\n\n| Type | Description |\n| ---- | ----------- |\n| New  | Implemented the dataclass feature from the latest mettle (2.1.13) version. |\n\n\n### 2.1.6 ###\n\n| Type | Description |\n| ---- | ----------- |\n| Bug  | Applied code generation bug fix from lastest mettle library. |\n\n\n### 2.1.5 ###\n\n| Type | Description |\n| ---- | ----------- |\n| Bug  | Fixed a couplet regression bug. OTP errors will now surface correctly. |\n\n### 2.1.4 ###\n\n| Type | Description |\n| ---- | ----------- |\n| Bug  | Fixed the search function that was still using deprecated column names. |\n\n\n### 2.1.0 ###\n\n| Type | Description |\n| ---- | ----------- |\n| Breaking | Moved the dao import method from util.py to the __init__.py. |\n| Breaking | Pulled in the mettle via PYPI, updated project to cater for new changes in mettle. |\n| New | Embedded SQL into the python package.\n\n\n### 2..0 ###\n\n| Type | Description |\n| ---- | ----------- |\n| Breaking | Snake cased all columns. Renamed 'audId' to 'modifiedy_by'. Renamed 'tmStamp' to 'tm_stamp'. |\n| Breaking | Dropped unused services and role service functionality. |\n| Breaking | Removed EmailSmtp class. |\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "The Bitsmiths Function-User-Role-Authenticator Package",
    "version": "2.2.3",
    "project_urls": {
        "Homepage": "https://bitbucket.org/bitsmiths_za/bitsmiths",
        "Source": "https://bitbucket.org/bitsmiths_za/bitsmiths"
    },
    "split_keywords": [
        "libraries"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "43a22842b6317137269dc0652456f3eb619e24e1165e78e79f17996d712948a5",
                "md5": "409b90ed3d3821525d6604c2a2329cf7",
                "sha256": "64bba5a166071b4e23ecc40a72ebef4d97c54ebfca624cffc4a1c850b3b04bf4"
            },
            "downloads": -1,
            "filename": "bitsmiths_fura-2.2.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "409b90ed3d3821525d6604c2a2329cf7",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 575278,
            "upload_time": "2023-07-20T08:04:20",
            "upload_time_iso_8601": "2023-07-20T08:04:20.381745Z",
            "url": "https://files.pythonhosted.org/packages/43/a2/2842b6317137269dc0652456f3eb619e24e1165e78e79f17996d712948a5/bitsmiths_fura-2.2.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "24e7507a93dd593d0ab6fca1b9d7730435b82386e2d6952a6fdefab6d9e3427b",
                "md5": "ab0f2a7ebe1184e3ad71347bb3c25b02",
                "sha256": "14a6a2f6485de27d8cffd6114ceadd1500818b2eff67876fe33609e8c5986c5b"
            },
            "downloads": -1,
            "filename": "bitsmiths-fura-2.2.3.tar.gz",
            "has_sig": false,
            "md5_digest": "ab0f2a7ebe1184e3ad71347bb3c25b02",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 175554,
            "upload_time": "2023-07-20T08:04:22",
            "upload_time_iso_8601": "2023-07-20T08:04:22.725090Z",
            "url": "https://files.pythonhosted.org/packages/24/e7/507a93dd593d0ab6fca1b9d7730435b82386e2d6952a6fdefab6d9e3427b/bitsmiths-fura-2.2.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-07-20 08:04:22",
    "github": false,
    "gitlab": false,
    "bitbucket": true,
    "codeberg": false,
    "bitbucket_user": "bitsmiths_za",
    "bitbucket_project": "bitsmiths",
    "lcname": "bitsmiths-fura"
}
        
Elapsed time: 1.21393s