semvec/pypi-packages huggingface dataset:
xkbregistry 1.5
Bindings for libxkbregistry using cffi
License: MIT
Requires Python: >=3.8

xkbregistry
===========

Python bindings for libxkbregistry_ using cffi_.

libxkbregistry_ is part of libxkbcommon_ but is commonly packaged
separately in distributions.

Example usage:

>>> from xkbregistry import rxkb
>>> ctx = rxkb.Context()
>>> ctx.models["pc101"].description
'Generic 101-key PC'
>>> ctx.layouts["us"]
rxkb.Layout('us')
>>> ctx.layouts["us"].description
'English (US)'
>>> ctx.layouts["us(intl)"].description
'English (US, intl., with dead keys)'
>>> ctx.option_groups[0].description
'Switching to another layout'


Version numbering
-----------------

From release 1.0 onwards, the version numbering of this package will
relate to releases of libxkbcommon_ as follows:

If the Python package version is major.minor[.patch] then it requires
at least release major.minor.0 of libxkbcommon and/or libxkbregistry
to build and run, and should work with any subsequent release. The
patch version of the Python package is unrelated to the patch version
of libxkbcommon.

.. _libxkbregistry: https://xkbcommon.org/doc/current/group__registry.html
.. _libxkbcommon: https://xkbcommon.org/
.. _cffi: https://pypi.python.org/pypi/cffi
m-abac-test 1.0.56
Thư viện xử lý kiểm tra quyền theo logic ABAC (Attribute-based access control)
License: MIT
Requires Python: >=3
Keywords: mobio, mobio-engine, m-abac

### ABAC Engine
Thư viện xử lý kiểm tra quyền theo logic ABAC (Attribute-based access control).


### Cài đặt:
```bash
 $ pip3 install m-abac
 ```

### Sử dụng:

##### Kiểm tra user có quyền thao tác hay không:
   ```python
    from mobio.libs.abac import PolicyDecisionPoint
    resource = "deal"
    # action = "UpdateFromSale"
    action = "ListFromSale"

    pdb = PolicyDecisionPoint(resource=resource, action=action)
    result = pdb.is_allowed()
    if not result.get_allow_access():
        # trả về lỗi không có quyền truy cập 
   ```
#### Log - 1.0.0
    - release sdk
#### Log - 1.0.2
    - update sdk
#### Log - 1.0.3
    - update cache
#### Log - 1.0.4
    - update cache
#### Log - 1.0.5
    - mm-dd operator
    - update if exists
#### Log - 1.0.6
    - update operator exists
#### Log - 1.0.7
    - format date string using parse, string ignore case, accept check value None
#### Log - 1.0.11
    - update abac check sub resource Product Holding