semvec/pypi-packages huggingface dataset:
hyrule-shield 0.1.2
Uma biblioteca para anonimização de informações sensíveis em textos.
License: MIT
Requires Python: <4.0,>=3.7

# Hyrule Shield

Hyrule Shield is a Python library for anonymizing sensitive information in texts. The library uses Natural Language Processing (NLP) techniques to identify and anonymize data such as personal names, CPF, CNPJ, addresses, phone numbers, and more.

## Features
- Anonymization of personal information such as CPF, RG, CNPJ, phone numbers, and addresses.
- Uses pre-trained SpaCy models for entity recognition in Portuguese.
- Easy integration with other projects.

## Installation

You can install the library directly from PyPI (when available):

```sh
pip install hyrule_shield
```

Or install it locally after cloning this repository:

```sh
pip install -e .
```

## Usage

Here is a simple example of how to use the library to anonymize a message:

```python
from hyrule_shield.anonymizer import anonymize_message_spacy

message = "My name is Carlos Eduardo, my CPF is 111.222.333-44."
anonymized_message = anonymize_message_spacy(message)
print(anonymized_message)
```

**Output:**
```
My name is <PER>, my CPF is <CPF>.
```

## Dependencies
- Python 3.7, 3.8, 3.9, 3.10, 3.11
- spacy>=3.0.0
- transformers>=4.0.0

## Development

If you want to contribute to the development of this library, follow the steps below:

1. Clone the repository:
   ```sh
   git clone https://github.com/jadercampos/hyrule_shield.git
   ```

2. Install the dependencies:
   ```sh
   pip install -r requirements.txt
   ```

3. Run the tests:
   ```sh
   python -m unittest discover tests
   ```

## License
This project is licensed under the MIT License - see the [LICENSE](./LICENSE) file for details.

## Contributions
Contributions are welcome! Feel free to open issues or submit pull requests.

## Author
- Jader Campos - [jadercampos@gmail.com](mailto:jadercampos@gmail.com)
instagram-direct 0.0.4
Instagram Direct Messages API
License: MIT
Requires Python: <4.0,>=3.10

# Instagram Direct Messages API 

## Example:

```python
from typing import List

from instagram_direct import InstagramDirect
from instagram_direct.direct_api.model.MessageModel import MessageModel

direct = InstagramDirect(session_id="your_session_id")

async def main():
    all_threads = await direct.inbox.all()
    all_new_threads = await direct.inbox.all_pending()
    
    selected_thread = await direct.thread.get("thread_id", cursor="for previus pages")
    
    chat_messages: List[MessageModel] = selected_thread.messages
    
    unread_count: int = await direct.badge.unread_count()

```

## Direct API Endpoints:

- [x] /api/v1/direct_v2/inbox/
- [x] /api/v1/direct_v2/pending_inbox/
- [x] /api/v1/direct_v2/threads/<thread_id:int>/
- [ ] /api/v1/direct_v2/threads/<thread_id:int>/items/<item_id:int>/seen/
- [ ] /api/v1/direct_v2/threads/<thread_id:int>/items/<item_id:int>/delete/
- [ ] /api/v1/direct_v2/threads/approve_multiple/
- [ ] /api/v1/direct_v2/threads/decline_all/
- [ ] /api/v1/direct_v2/threads/decline_multiple/
- [ ] /api/v1/direct_v2/threads/broadcast/configure_photo/
- [ ] /api/v1/direct_v2/ranked_recipients/
- [ ] /api/v1/direct_v2/create_group_thread/
- [ ] /api/v1/direct_v2/threads/<thread_id:int>/add_user/
- [ ] /api/v1/direct_v2/threads/<thread_id:int>/remove_users/
- [ ] /api/v1/direct_v2/threads/<thread_id:int>/add_admins/
- [ ] /api/v1/direct_v2/threads/<thread_id:int>/remove_admins/
- [ ] /api/v1/direct_v2/threads/<thread_id:int>/update_title/
- [ ] /api/v1/direct_v2/threads/<thread_id:int>/mute_video_call/
- [ ] /api/v1/direct_v2/threads/<thread_id:int>/unmute_video_call/
- [ ] /api/v1/direct_v2/threads/<thread_id:int>/mute/
- [ ] /api/v1/direct_v2/threads/<thread_id:int>/unmute/
- [ ] /api/v1/direct_v2/threads/<thread_id:int>/leave/
- [ ] /api/v1/direct_v2/threads/<thread_id:int>/hide/
- [ ] /api/v1/direct_v2/threads/<thread_id:int>/move/
- [ ] /api/v1/direct_v2/threads/broadcast/reel_share/
- [ ] /api/v1/direct_v2/threads/broadcast/story_share/
- [ ] /api/v1/direct_v2/threads/broadcast/live_viewer_invite/
- [ ] /api/v1/direct_v2/threads/broadcast/link/
- [ ] /api/v1/direct_v2/threads/broadcast/reel_react/
- [x] /api/v1/direct_v2/get_badge_count/
- [ ] /api/v1/direct_v2/get_presence/
- [ ] /api/v1/direct_v2/threads/broadcast/forward/
- [ ] /api/v1/direct_v2/has_interop_upgraded/
- [ ] ~~/api/v1/direct_v2/threads/<thread_id:int>/get_items/~~
- [ ] /api/v1/direct_v2/icebreakers/get_suggested_icebreakers/
- [ ] /api/v1/direct_v2/threads/<thread_id:int>/set_disappearing_messages_settings/
- [ ] /api/v1/users/web_profile_info/


### Supported 4/35 Endpoints

---

# Внимание:

### Автор/ы кода не несут ответственности если ваш аккаунт заблокируют или получит ограничения
jarguments 0.3.0
Provides a straightforward way to create command line arguments.
License: MIT
Requires Python: >=3.8

<!-- omit from toc -->
# jarguments

simplifying args jargon

![version](https://img.shields.io/pypi/v/jarguments)
![status](https://img.shields.io/github/actions/workflow/status/silvncr/jarguments/python-publish.yml)
![downloads](https://img.shields.io/pypi/dm/jarguments)

![license](https://img.shields.io/github/license/silvncr/jarguments)
![format](https://img.shields.io/pypi/format/jarguments)
![pyversions](https://img.shields.io/pypi/pyversions/jarguments)

![repo-size](https://img.shields.io/github/repo-size/silvncr/jarguments)
![code-size](https://img.shields.io/github/languages/code-size/silvncr/jarguments)

## Summary

Provides a straightforward way to create command line arguments.

- :snake: Supports Python 3.8 and above. Tested on Windows 10.
- :construction: This project is still in development. Contributions are welcome!
- :star: Show your support by leaving a star!

## Contents

- [Summary](#summary)
- [Contents](#contents)
- [Installation](#installation)
- [Usage](#usage)

## Installation

```sh
python -m pip install --upgrade jarguments
```

> [!WARNING]
> All versions before `0.3.0` have been unpublished [due to a major oversight](https://silvncr.github.io/random/2024/10/21/regarding-deleted-commit-histories.html). Please update to the latest version.

## Usage

There are three steps to using the jarguments library:

1. Import the jarguments library.

    ```py
    from jarguments import create, parse
    ```

2. Provide your arguments with jarguments' classes.

    ```py
    # argument parser
    args = parse.JParser(

      # boolean argument
      create.JBool('show-text', helpstring='determines whether "text" is shown'),

      # integer argument
      create.JInt('number', default=1),

      # string argument
      create.JStr('text'),
    )
    ```

3. Use the outputs; they're parsed automatically!

    ```py
    if args.show_text:
      for _ in range(args.number):
        print(args.text)
    ```

Now it works just like any other command line application.

  ```sh
  $ python example.py --show-text --text "hello" "world"
  ["hello", "world"]
  ```

- Arguments without a default value are required. If you don't provide them, the script will raise an error:

    ```sh
    $ python example.py --show-text
    error: the following arguments are required: --text
    ```

- The `--help`/`-h` flag displays help messages:

    ```sh
    $ python example.py -h
    usage: example.py [-h] [--show-text [SHOW_TEXT]] [--number NUMBER] --text [TEXT ...]

    options:
      -h, --help            show this help message and exit
      --show-text [SHOW_TEXT]
                            determines whether "text" is shown
      --number NUMBER
      --text [TEXT ...]
    ```