semvec/pypi-packages huggingface dataset:
pretend-api 0.1.0
An asynchronous wrapper for the Pretend API.
Requires Python: >=3.7

```markdown
# PretendAPI

PretendAPI is an asynchronous wrapper for the Pretend API, designed to simplify 
the process of fetching user information from the official Pretend API.

## Features

- Asynchronous requests using `aiohttp`
- Dot notation access to JSON responses
- Rate limiting support
- Handles exceptions gracefully

## Installation

You can install the package via pip:

```bash
pip install pretend-api
```

## Methods

### `get_userinfo(user_id: int)`
Fetches user information about a Discord user.

- **Parameters**: 
  - `user_id` (int): The user ID of the user.
- **Returns**: User information with dot notation access.

### `get_tiktok_user(username: str)`
Fetches information about a TikTok user.

- **Parameters**: 
  - `username` (str): The TikTok username.
- **Returns**: TikTok user information with dot notation access.

### `get_instagram_user(username: str)`
Fetches information about an Instagram user.

- **Parameters**: 
  - `username` (str): The Instagram username.
- **Returns**: Instagram user information with dot notation access.

### `get_twitter_user(username: str)`
Fetches information about a Twitter user.

- **Parameters**: 
  - `username` (str): The Twitter username.
- **Returns**: Twitter user information with dot notation access.

### `get_roblox_user(username: str)`
Fetches information about a Roblox user.

- **Parameters**: 
  - `username` (str): The Roblox username.
- **Returns**: Roblox user information with dot notation access.

### `get_signed_biolink(username: str)`
Fetches information about a signed.bio user.

- **Parameters**: 
  - `username` (str): The signed.bio username.
- **Returns**: signed.bio user information with dot notation access.

## Usage

Here's a basic example of how to use the `PretendAPI`:

```python
import asyncio
from pretend_api import PretendAPI

async def main():
    api_wrapper = PretendAPI(api_key="YOUR_API_KEY")
    
    
    user_info = await api_wrapper.get_userinfo(user_id=123456789)
    
    
    print(user_info.username)  

asyncio.run(main())
```



## License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
```
python-can-mcpcan 0.2.23
Python-can MCPcan
Requires Python: >=3.11

## python-can-mcpcan



This module is a plugin that lets you use [MCPcan adapters](available only from d10automation) with the [MCPcan firmware](softmagic) in python-can.


### Installation

Install using pip:

    $ pip install python-can-mcpcan


### Usage

Overall, using this plugin is quite similar to the main Python-CAN library, with the interface named `mcpcan`. For most scenarios, incorporating a MCPcan interface is as easy as modifying Python-can examples with the lines provided below:

Create python-can bus with the mcpcan serial interface:

    import can

    bus = can.Bus(interface="mcpcan", channel="COM2", fd=True, bitrate=500000, data_bitrate=2000000)