semvec/pypi-packages huggingface dataset:
pylimiter 0.2.0
Limiter Python SDK
Requires Python: >=3.6

# Limiter Python SDK

## Installation

```
pip install pylimiter
```

## Quick Usage

### Default Backend

Initialize SDK with the managed storage backend

```python
from pylimiter import limiter

opts = {
  'backend': 'Default',
  'api_token': 'api-token',
};
client = limiter.Client('project-id', opts);
```

### Available Methods

```python
# Bind user to a plan
client.bind('plan-name', 'user-id')

# Check if a feature is within limit
if client.feature('feature-name', 'user-id'):
  print('Pass')

# Increment usage
client.increment('feature-name', 'user-id', 1)

# Decrement usage
client.decrement('feature-name', 'user-id', 1)

# Set usage to some value
client.set('feature-name', 'user-id', 5)

# Get feature matrix for the project
feature_matrix = client.feature_matrix()

# Get user's usage data
usage = client.usage('user-id')
```
drb-impl-s3 1.0.0
DRB aws3 implementation
Requires Python: >=3.8

# amazon simple storage service

This drb-impl-s3 module implements S3 protocol access with DRB data model.

## S3 Factory and S3 Node
The module implements the factory model defined in DRB in its node resolver. Based on the python entry point mechanism, this module can be dynamically imported into applications.

The entry point group reference is `drb.impl`.<br/>
The implementation name is `aws3`.<br/>
The factory class is encoded into `drb_impl_s3.s3_node_factory`.<br/>
The S3 signature id is  `4ab73f92-bbff-11ec-8422-0242ac120002`.<br/>


## Using this module
The project is present in https://www.pypi.org service. it can be freely 
loaded into projects with the following command line:

```commandline
pip install drb-impl-s3
```
## Access Data
`DrbS3Node` manages the s3 protocol to access remote data. The construction
parameter is an authentication object.

```python
from drb_impl_s3 import DrbS3Service, Auth
from botocore.config import Config

auth = Auth(service_name='s3',
                        endpoint_url='http://your_s3_storage/',
                        aws_access_key_id='user',
                        aws_secret_access_key='password',
                        config=Config(signature_version='s3v4'),
                        region_name='us-east-1'
                        )
node = DrbS3Service(auth)
```
When accessing a DrbS3Service the node gives access to all the bucket of this service by giving a list of DrbS3Bucket,
and then each node gives a list of DrbS3Object for each object in the bucket.

## Limitations

This implementation doesn't allow to write, modify, delete file on a s3 bucket,
or it doesn't allow to delete or upload a file.
This implementation doesn't allow to download directly a bucket.

## Documentation

The documentation of this implementation can be found here https://drb-python.gitlab.io/impl/aws3