semvec/pypi-packages huggingface dataset:
bearer 3.1.0
Bearer python helper

# Bearer Python

Bearer Python client

## Installation

```
pip install bearer
```

## Usage

Get your Bearer [Secret Key](https://app.bearer.sh/keys) and integration id from
the [Dashboard](https://app.bearer.sh) and use the Bearer client as follows:

### Calling any APIs

```python
from bearer import Bearer

bearer = Bearer('BEARER_SECRET_KEY') # find it on https://app.bearer.sh/keys
github = (
    bearer
      .integration('your integration id') # you'll find it on the Bearer dashboard https://app.bearer.sh
      .auth('your auth id') # Create an auth id for your integration via the dashboard
)

print(github.get('/repositories').json())
```

We use [requests](https://2.python-requests.org/en/master/) internally and we
return the response from this library from the request methods (`request`,
`get`, `head`, `post`, `put`, `patch`, `delete`).

More advanced examples:

```python
# With query parameters
print(github.get('/repositories', query={ 'since': 364 }).json())

# With body data
print(github.post('/user/repos', body={ 'name': 'Just setting up my Bearer.sh' }).json())
```

### Setting the request timeout, and other http client settings
Bearer client is written on top of excellent [requests](https://github.com/psf/requests "requests library on github") library. Bearer provides reasonable defaults but you can adjust http client configuration by using any keyword argument which is accepted by requests.request method using `http_client_settings` keyword argument.
By default bearer client times out after 5 seconds. Bearer allows to increase the timeout to up to 30 seconds

```python
from bearer import Bearer

bearer = Bearer('BEARER_SECRET_KEY', http_client_settings={"timeout": 10}) # increase the request timeout to 10 seconds globally

# you can specify client settings per integration as well
github = bearer.integration('github', http_client_settings={"timeout": 2}) # github api is super fast 2 seconds should be plenty

print(github.get('/user/repos'))
```
## Development

``` bash
# setup venv
$ python -m venv venv

# install dependencies
$ venv/bin/python setup.py develop

# start the console
$ venv/bin/python
```
fraudster 1.3beta
fraudster is a service which lets you use and integrate disposable emails for free.
Keywords: fraud,fraudster,anonmail,fakemail,tempmail,mailapi,disposable,secure,temporary

# Fraudster
Fraudster Provides You Temporary And Disosable Mails To Use

## How To Install
This Code is hosted on PyPI so you can install by;
```
pip install fraudster
```

## Requirements 
-> requests 
<br>```pip install requests```

### How To USE
To Get Available Domain For Fraudster

```
>>> import fraudster
>>> domain=fraudster.get_available_domain()
```

To Get A Random Person Name

```
>>> from fraudster import *
>>> name=get_name()
```

To Get A Random Disposable E-Mail

```
>>> from fraudster import *
>>> email=get_email()
```

To Get A Custom UserName E-Mail

```
>>> from fraudster import *
>>> email=get_email("speedx",get_available_domains()[0])
```

To Get A List of All Received Mails

```
>>> from fraudster import *
>>> mails=fetch_emails()
```

To Get Body Of Any Mail

```
>>> from fraudster import *
>>> body=fetch_content(<Your_Mail_ID>,<Your_Message_ID>)
```

### TODO
-> Add Command Line Usage

-> Add More Features

-> Remove requests Dependencies


## Note 

Its Heavily  Under Work.... Report Any Bugs 

Made With â™¥ By SpeedX