semvec/pypi-packages huggingface dataset:
pythondata-cpu-minerva 0.0.post294
Python module containing sources files for Minerva cpu.
Requires Python: >=3.5

# pythondata-cpu-minerva

Non-Python  files needed for the cpu minerva packaged
into a Python module so they can be used with Python libraries and tools.

This is useful for usage with tools like
[LiteX](https://github.com/enjoy-digital/litex.git).

The data files can be found under the Python module `pythondata_cpu_minerva`. The
`pythondata_cpu_minerva.data_location` value can be used to find the files on the file
system.

Example of getting the data file directly;
```python
import pythondata_cpu_minerva

my_data_file = "abc.txt"

with open(os.path.join(pythondata_cpu_minerva.data_location, my_data_file)) as f:
    print(f.read())
```

Example of getting the data file using `litex.data.find` API;
```python
from pythondata_cpu_minerva import data_file

my_data_file = "abc.txt"

with open(data_file(my_data_file)) as f:
    print(f.read())
```


The data files come from https://github.com/minerva-cpu/minerva
and are imported using `git subtrees` to the directory
[pythondata_cpu_minerva/sources](pythondata_cpu_minerva/sources).



# Installing

## Directly from git repository

### Manually

You can install the package manually, however this is **not** recommended.

```
git clone https://github.com/litex-hub/pythondata-cpu-minerva.git
cd pythondata-cpu-minerva
sudo python setup.py install
```

### Using [pip](https://pip.pypa.io/) with git repository

You can use [pip](https://pip.pypa.io/) to install the data package directly
from github using;

```
pip install --user git+https://github.com/litex-hub/pythondata-cpu-minerva.git
```

If you want to install for the whole system rather than just the current user,
you need to remove the `--user` argument and run as sudo like so;

```
sudo pip install git+https://github.com/litex-hub/pythondata-cpu-minerva.git
```

You can install a specific revision of the repository using;
```
pip install --user git+https://github.com/litex-hub/pythondata-cpu-minerva.git@<tag>
pip install --user git+https://github.com/litex-hub/pythondata-cpu-minerva.git@<branch>
pip install --user git+https://github.com/litex-hub/pythondata-cpu-minerva.git@<hash>
```

### With `requirements.txt` file

Add to your Python `requirements.txt` file using;
```
-e git+https://github.com/litex-hub/pythondata-cpu-minerva.git
```

To use a specific revision of the repository, use the following;
```
-e https://github.com/litex-hub/pythondata-cpu-minerva.git@<hash>
```

## Via [PyPi](https://pypi.org/project/pythondata-cpu-minerva/)

### Using [pip](https://pip.pypa.io/)

```
pip install --user pythondata-cpu-minerva
```

### With `requirements.txt` file

Add to your Python `requirements.txt` file using;
```
pythondata-cpu-minerva
```

# Issues and Fixes

This package is autogenerated from the sources in
<https://github.com/minerva-cpu/minerva>
using the [pythondata-auto](https://github.com/litex-hub/pythondata-auto)
toolset. Pull requests and issues on this pythondata repo may not be monitored.
mentat-bot 1.1.3
Discord bot designed to streamline credential management and access tracking during red team engagements.
Requires Python: <3.13,>=3.12

# Mentat

![Python Version from PEP 621 TOML](https://img.shields.io/python/required-version-toml?tomlFilePath=https%3A%2F%2Fraw.githubusercontent.com%2Fsapph2c%2Fmentat%2Fmain%2Fpyproject.toml&style=for-the-badge&logo=python&logoSize=auto)
![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/sapph2c/mentat/ci.yml?style=for-the-badge&logo=github&logoSize=auto)
![GitHub deployments](https://img.shields.io/github/deployments/sapph2c/mentat/pypi?style=for-the-badge&logo=pypi&logoColor=white&logoSize=auto)

Discord bot designed to streamline credential management and access tracking during red team engagements.

## Installation

Mentat is available as a Python package on PyPI and can be installed using `uv` (recommended), `pipx`, or `pip`.

**Note**: python 3.12 is required (currently does not support python 3.13)

It's recommended that you create a virtual environment before installation:

```bash
python3 -m venv venv
source venv/bin/activate
```

Install using uv:

```bash
uv tool install mentat-bot@latest
```

Install using pipx:

```bash
pipx install mentat-bot
```

Install using pip:

```bash
pip install mentat-bot
```

## Usage

In order to use Mentat, a bot account must first be created on Discord and invited to the server you want to use for your engagement. This can be done by following the guide at: https://discordpy.readthedocs.io/en/stable/discord.html

After installing, invoke the bot by simply running:

```bash
mentat
```

The Discord bot token should be available within your current directory in a file called `config.yml` or specified via `--path` when invoking the Mentat CLI.

## Features

- Automatic credential tracking for `SSH`
- Red Team ChatOps via Discord `/` commands.

## Commands

Mentat is managed using Discord `/` commands.

Management commands include:

- `/purge`: Removes all previous host channels
- `/addhosts`: Adds a list of hosts and credentials from an attached `.yaml` file
- `/addcreds <host ip> <type> <username> <password>`: Adds new credentials to a specified host

## File formats

Example `hosts.yaml` file:

```
192.168.56.1:
  creds:
    ssh:
      test_user: test_pass

192.168.56.2
192.168.56.3
```