semvec/pypi-packages huggingface dataset:
formulascraper 1.2.2
A Python library for parsing Formula data.
License: MIT
Requires Python: >=3.11,<4.0

# formulascraper #

**What is this?**

This Python library allows you to extract data from various Formula racing websites effortlessly. Get driver standings, race results, team rankings, and fastest laps for Formula 1, F1 Academy, Formula 2, Formula 3 and Formula E.

**Categories:**

- Drivers Standings (drivers)
- Race Results (races)
- Teams Standing (teams)
- Fastest Laps Results (fastest_laps)


**Data Availability:**

- Formula 1: All categories since 1950 (Teams Standings since 1958)
- Formula 1 Academy: All categories since 2023 (expect fastest_laps)
- Formula 2: All categories since 2017 (expect fastest_laps)
- Formula 3: All categories since 2019 (expect fastest_laps)
- Formula E: All categories since 2015 (expect fastest_laps)

## Quickstart ##

**Install**:

	pip install formulascraper

**Import**:

	from formulascraper import Formula1Scraper, get_drivers_data

----------

**Extract Data:**

 Formula 1 data:

	scraper = Formula1Scraper()
	drivers_data = scraper.get_drivers_data(2021)

 Formula 1 Academy data:

	academy_scraper = Formula1AcademyScraper()
	races_data = academy_scraper.get_races_data(2023)

 Formula 2 data:

	f2_scraper = Formula2Scraper()
	teams_data = f2_scraper.get_teams_data(2012)

 Formula 3 data:

	f3_scraper = Formula3Scraper()
	fastest_laps = f3_scraper.get_drivers_data(2021)

 Formula E data:

	fe_scraper = FormulaEScraper()
	fastest_laps = fe_scraper.get_teams_data(2021)

----------

**Documentation:**

Classes and Functions:

- Formula1Scraper: `get_drivers_data`, `get_races_data`, `get_teams_data`, `get_fastest_laps_data`

- Formula1AcademyScraper: `get_drivers_data`, `get_races_data`, `get_teams_data`

- Formula2Scraper: `get_drivers_data`, `get_races_data`, `get_teams_data`

- Formula3Scraper: `get_drivers_data`, `get_races_data`, `get_teams_data`

- FormulaEScraper: `get_drivers_data`, `get_races_data`, `get_teams_data`


----------

Author:

ryazhenkofc (GitHub profile: https://github.com/ryazhenkofc)

----------

Additional Resources:

-   Formula 1 Website: [https://www.formula1.com]
-   Formula 1 Academy Website: [https://www.f1academy.com]
-   Formula 2 Website: [https://www.fiaformula2.com]
-   Formula 3 Website: [https://www.fiaformula3.com]
-   Formula E Website: [https://www.fiaformulae.com]

----------
### Version Updates

1.2.2 version update

- small fixes

1.2.1 version update

- added FormulaE scraping
- added valuechecks

1.1.2 version update

- small fixes
- added docstrings

1.1.1 version update

- updated tests
- added categories (Formula 1 Academy, Formula 2, Formula 3)
- updated README.md

1.0.1 version update (Release)

- test samples
- added Formula 1 scraping
punjabi-stopwords 1.0.0
A Python library for Punjabi language stopwords.
License: MIT
Requires Python: >=3.7
Keywords: stopwords,punjabi,nlp,punjabi language,natural language processing

# Punjabi Stopwords Library

The `punjabi_stopwords` library is a Python package providing a collection of stopwords in the Punjabi language. Stopwords are words which are filtered out before processing natural language data. They are typically words that are very common in the language and do not contribute much to the meaning of a sentence, especially when performing tasks like text analysis or natural language processing.

## Main Features

The punjabi_stopwords package offers several functionalities, including:
1. Identifying Punjabi stopwords in text.
2. Removing Punjabi stopwords from text.
3. Adding custom stopwords to the existing list.

### Install the Package

You can install punjabi_stopwords directly from PyPI

## Installation

Install `punjabi_stopwords` using pip:

```python
pip install punjabi_stopwords
```
# Usage
Here's how to use the punjabi_stopwords library in your Python projects:

## Check if a word is a stopword

```python
from punjabi_stopwords import is_stopword

word = 'ਇਸ'
print(is_stopword(word))  # Returns: True if the word is a stopword, False otherwise

```
Output
```
True
```
## Remove stopwords from text

```python
from punjabi_stopwords import remove_stopwords

sample_text = 'ਇਹ ਇੱਕ ਉਦਾਹਰਣ ਵਾਕ ਹੈ।'
filtered_text = remove_stopwords(sample_text)
print(filtered_text)
```
Output
```
ਉਦਾਹਰਣ ਵਾਕ
```
## Add additional stopwords

```python
from punjabi_stopwords import add_stopwords

additional_stopwords = ['ਨਵਾਂਸਟਾਪਵਰਡ1', 'ਨਵਾਂਸਟਾਪਵਰਡ2']
add_stopwords(additional_stopwords)
```

## Contributing
Contributions to punjabi_stopwords are welcome! If you have suggestions for additional stopwords, or improvements to the existing list, please feel free to contribute.

## License
This project is licensed under the MIT License - see the LICENSE file for details.