semvec/pypi-packages huggingface dataset:
tornapi 0.2.0
A Python library for interacting with the Torn API
License: MIT
Requires Python: >=3.9

# TornAPI

TornAPI is a Python library for interacting with the Torn API. This library provides easy access to Torn's various API endpoints, including user, city, and faction endpoints. It supports rate limiting and allows users to set custom API keys.

- Easy-to-use API client.
- Rate limiting to avoid exceeding the API request limits.
- Custom exceptions for error handling.
- Comprehensive support for user selection endpoints.

## Features

- Access to multiple Torn API endpoints
- Rate limiting to prevent exceeding API request limits
- Customizable API key and rate limit settings
- Optional user ID parameter for user-related endpoints
- Exception handling for API errors
- Deprecation warnings for deprecated functions

## Installation

To install TornAPI, simply use pip:

```bash
pip install tornapi
```

## Usage

Here's an example of how to use the TornAPI library:

```python
from tornapi import TornAPI

# Initialize the API client
api = TornAPI('your-api-key', rate_limit=100)

# Fetch basic user data
user_data = api.user.basic()
print(user_data)

# Fetch user icons
icons_data = api.user.icons()
print(icons_data)

# Fetch your profile
profile_data = api.user.profile()
print(profile_data)

# Fetch another user's profile by user ID
profile_data = api.user.profile(user_id=123456)
print(profile_data)

# Fetch stock data
stock_data = api.torn.stocks()
print(stock_data)
```
githubinformation 1.0
A tool that lets you check your GitHub Project for updates.
License: MIT
Requires Python: >=3.9
Keywords: updates, github, check-for-updates


<div align="center">
  
# githubinformation

[![License](https://img.shields.io/badge/License-MIT-blue)](https://github.com/wfxey/githubrepoinfo#license)  [![PyPi](https://img.shields.io/badge/PyPi%20Link-FFFF00)](https://pypi.org/project/githubrepoinfo/)  <a href="https://github.com/wfxey/githubrepoinfo/blob/master/CONTRIBUTING.md"><img src="https://img.shields.io/github/contributors-anon/wfxey/githubrepoinfo" alt="Contributors badge" /></a>  

A tool that lets you check your GitHub Project for updates.

</div>

## Installation

You can install `githubinformation` using pip:

```bash
pip install githubinformation
```
# .repo

### get_repo_info(owner, repo)

```python
import githubinformation

repo_info = githubinformation.repo.get_repo_info("wfxey", "binaryconvert")
```

### All subinfos

```python
import githubinformation

repo_info = githubinformation.repo.get_repo_info("wfxey", "binaryconvert")

if repo_info:
  print(f"Repository: {repo_info['full_name']}")
  print(f"Description: {get_description(repo_info)}")
  print(f"Stars: {get_stars(repo_info)}")
  print(f"Forks: {get_forks(repo_info)}")
  print(f"Open Issues: {get_open_issues(repo_info)}")
    
repo_link(f"{owner}/{repo}")
```

### Output 

```bash
Repository: wfxey/binaryconvert
Description: A super easy python tool that converts your text in binary language 8x Bit
Stars: 1
Forks: 0
Open Issues: 0
```
<hr>

# .user

### user_link(user)

```python
import githubinformation

githubinformation.user.user_link("wfxey")
```
### Output
```bash
https://github.com/wfxey
```

<hr>

# .release

### release_link(name_and_repo, tag)

```python
import githubinformation

githubinformation.release.release_link("D-I-Projects/diec", "v1.0")
```
### Output 
```bash
https://github.com/D-I-Projects/diec/releases/tag/v1.0
```

<hr>