semvec/pypi-packages huggingface dataset:
twittapi 0.1.0
Unofficial Twitter API In Python
License: MIT
Keywords: twitter, api, unofficial, python, twittapi

# Unofficial Twitter API In Python

<p align="center">
  <img src="https://github.com/twittapi-labs/twitter-api/blob/main/public/images/logo.png" width="160">
</p>

## Overview
This project is an unofficial Python wrapper for the Twitter API, enabling developers to easily access and retrieve data from Twitter without the need for Cookies or Proxies.

[![GitHub Repo stars](https://img.shields.io/github/stars/twittapi-labs/twitter-api?style=social)](https://github.com/twittapi-labs/twitter-api/stargazers/)
[![GitHub forks](https://img.shields.io/github/forks/twittapi-labs/twitter-api?style=social)](https://github.com/twittapi-labs/twitter-api/network/)
[![Vistors](https://visitor-badge.laobi.icu/badge?page_id=twittapi-labs.twitter-api&title=Visitors)](https://github.com/twittapi-labs/twitter-api)
[![License](https://img.shields.io/github/license/twittapi-labs/twitter-api?label=License)](https://mit-license.org/)

## Installation
To install the package, use pip:
```bash
pip install twittapi
```

## Usage
Here's a basic example of how to use the API:

> First, you need to get the `X_RAPIDAPI_KEY`. See more: [How to get X_RAPIDAPI_KEY?](#how-to-get-x_rapidapi_key).

```python
from twitter_api import TwitterAPI

X_RAPIDAPI_KEY = '<YOUR_X_RAPIDAPI_KEY>'
twitter = TwitterAPI(X_RAPIDAPI_KEY)

# Get user detail
user_detail = twitter.get_user_detail(username='taylorswift13')
print(user_detail)

# Get user tweets
user_id = user_detail['user']['result']['rest_id']
tweets = twitter.get_user_tweets(user_id=user_id)
print(tweets)
```

## How to get X_RAPIDAPI_KEY?
To get your X_RAPIDAPI_KEY, follow these steps:

1. Go to the RapidAPI website: [RapidAPI](https://rapidapi.com/)

2. Sign up for a free account or log in if you already have one.

3. Navigate to the Twitter API page: https://rapidapi.com/Lundehund/api/twitter-x-api

4. Subscribe to the API by selecting a pricing plan that suits your needs.

5. After subscribing, you will be able to find your API key in the "App" tab section of your RapidAPI dashboard.

![where-to-find-x-rapidapi-key](./public/images/where-to-find-x-rapidapi-key.png)

6. Copy the API key and use it to initialize the TwitterApi class in your code.

## Examples

Go to the `/examples` folder to view more snippet code and example data.

## Contributing
Contributions are welcome! If you find this project helpful, please consider starring the repository on [GitHub](https://github.com/twittapi-labs/twitter-api) ⭐️

## Additional Resources
Here are some additional resources you might find helpful:

- [Unoffical Twitter API on RapidAPI](https://rapidapi.com/Lundehund/api/twitter-x-api)
- [Twitter Scraper](https://apify.com/twittapi?fpr=hs6s8)

## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details.
pyevalis 0.0.7
Python package for PyEvalis
License: MIT

# PyEvalis

## Overview

PyEvalis is a Python library for building and evaluating machine learning models, specifically focusing on Random Forest and Decision Tree algorithms. It aims to simplify the process of model training and evaluation, making it accessible for both beginners and experienced data scientists.

## Features

- **Random Forest**: An ensemble learning method for classification and regression that builds multiple decision trees and merges their outputs for improved accuracy.
- **Decision Tree**: A straightforward model that uses a tree-like graph of decisions and their possible consequences, ideal for both classification and regression tasks.

## Installation

You can install My Package using pip. Run the following command in your terminal:

```bash
pip install pyevalis