semvec/pypi-packages huggingface dataset:
newsmeta 1.0.2
A python module for parsing HTML into news components.
License: MIT
Keywords: article parser

# newsmeta

<a href="https://pypi.org/project/newsmeta/">
    <img alt="PyPi" src="https://img.shields.io/pypi/v/newsmeta">
</a>

A python module for parsing HTML into news components.

## Dependencies :globe_with_meridians:

* [Python 3.7](https://www.python.org/downloads/release/python-370/)
* [Newspaper3k 0.2.8](https://pypi.org/project/newspaper3k/)
* [BeautifulSoup 0.0.1](https://beautiful-soup-4.readthedocs.io/en/latest/)
* [Dateutil 2.8.2](https://pypi.org/project/python-dateutil/)
* [LangDetect 1.0.9](https://pypi.org/project/langdetect/)
* [Extruct 0.13.0](https://pypi.org/project/extruct/)
* [DeepTranslator 1.5.4](https://pypi.org/project/deep-translator/)
* [HTML5Lib 1.1](https://pypi.org/project/html5lib/)

## Installation :inbox_tray:

This is a python package hosted on pypi, so to install simply run the following command:

`pip install newsmeta`

## Usage example :eyes:

In order to use this library simply feed it the downloaded HTML and the URL of the news piece, like so:

```py
import newsmeta

with open("article.html") as article_fh:
    article = newsmeta.parse(article_fh.read(), "http://www.article.com/article")
    print(article.title)
```

## License :memo:

The project is available under the [MIT License](LICENSE).
PREFS 0.2.65
Python library that helps you to store and manage user preferences and settings.
License: MIT
Keywords: prefs,preferences,settings

# PREFS
> **PREFS is a Python library to store and manage preferences and settings.**  

[![PREFS logo](https://github.com/Patitotective/PREFS/blob/main/img/logo.png?raw=true)](https://patitotective.github.io/PREFS)

[![Python Version](https://img.shields.io/pypi/pyversions/prefs)](https://pypi.org/project/prefs/)
[![PYPI](https://img.shields.io/pypi/v/prefs)](https://pypi.org/project/prefs/)
[![Downloads](https://pepy.tech/badge/prefs)](https://pepy.tech/project/prefs)
[![Stars](https://img.shields.io/github/stars/patitotective/prefs)](https://github.com/Patitotective/PREFS/stargazers)
[![Watchers](https://img.shields.io/github/watchers/Patitotective/PREFS)](https://github.com/Patitotective/PREFS/watchers)
<br/>
[![Build](https://img.shields.io/appveyor/build/Patitotective/PREFS)](https://ci.appveyor.com/project/Patitotective/prefs)
[![Last commit](https://img.shields.io/github/last-commit/Patitotective/PREFS)](https://github.com/Patitotective/PREFS/commits/main)
[![Size](https://img.shields.io/github/repo-size/Patitotective/PREFS)](https://github.com/Patitotective/PREFS)
[![Top languages](https://img.shields.io/github/languages/top/Patitotective/PREFS)](https://github.com/Patitotective/PREFS)
[![License MIT](https://img.shields.io/github/license/Patitotective/PREFS)](https://github.com/Patitotective/PREFS/)
<br/>
[![Made with Python](https://img.shields.io/badge/made%20with-python-blue)](https://www.python.org/)

**PREFS** stores a Python dictionary in a total human-readable file, the PREFS file is created when it can't find it (normally the first time you run the program), otherwise if the file already exists it just read it's content.

## Installation:
On windows:
`pip install PREFS`

On MacOS and Linux:
`pip3 install PREFS`

### Syntax:

Each PREFS file is an instance of the `PREFS` class:  
The `PREFS` class has one required parameter, which is a dictionary with the default preferences (used to create the file when it can't it).

```Python
default_prefs = {
  "theme": "light", 
  "lang": "en", 
  "keybindings": {"Ctrl+C": "Copy", "Ctrl+V": "Paste", "Ctrl+X": "Cut"}
}

user_prefs = PREFS.Prefs(default_prefs)
```

This code will create a file like this:
```python
#PREFS
theme='light'
lang='en'
keybindings=>
  Ctrl+C='Copy'
  Ctrl+V='Paste'
  Ctrl+X='Cut'
```
A total human readable file that supports cascade/tree in nested dictionaries.

## Other functions
- `read_json_file()`.
- `read_yaml_file()`.
- `read_prefs_file()`.
- `convert_to_prefs()`.

## Documentation
PREFS documentation can be found at https://patitotective.github.io/PREFS/docs/ with more examples and information.

[Extra info](https://github.com/Patitotective/PREFS/blob/main/EXTRAINFO.md).

About
---

- GitHub page: https://github.com/Patitotective/PREFS.
- Pypi page: https://pypi.org/project/PREFS/.

- Contact me:
  - Discord: **Patitotective#0127**.
  - Email: **cristobalriaga@gmail.com**.

***v0.2.65***
nygame 1.4.0
nygame
License: MIT
Requires Python: >=3.8
Keywords: game

# nygame

nygame is a wrapper around the pygame library. It's goal is to provide and more pythonic and easy to use experience.

## Usage

A basic game structure can be started like this:

```python
import nygame
import pygame

class Game(nygame.Game):
    def __init__(self):
        super().__init__(size=(300, 200))
        pass

    def loop(self, events):
        pygame.draw.circle(self.surface, "red", (150, 100), 50)

if __name__ == "__main__":
    Game().run()
```

After `Game.__init__()` is called, a new game. A window of 300x200 will be created to host the game. Further options are available in `super().__init__()`'s doc string.

`Game.loop()` will be called every frame, with the most recent events in the `events` argument. The screen will automatically be cleared before every frame and can be drawn to by using `self.surface`.

## Demos

[EmojiApp](demos) - A demo app that lets you browse through emoji

## Development

### Deployment

???