semvec/pypi-packages huggingface dataset:
pytrust 0.2.6
CLI tool to check package permissions.
Requires Python: >=3.8

# pytrust

![PyPI](https://img.shields.io/pypi/v/pytrust?color=blue)
![License](https://img.shields.io/github/license/MartinThoma/pytrust)

**pytrust** is a CLI tool to analyze Python packages for their use of file system, environment variables, web requests, and exec calls. It helps you audit dependencies and generate permission reports in YAML format.


## Installation

```bash
pip install pytrust
```


## Usage

### Analyze a single package and print its permissions as YAML
```bash
$ pytrust pypdf
pypdf:
  file_system: true
  env_vars: false
  web_requests: false
  exec_usage: false

```

### Check a package against a permissions file
```bash
$ pytrust pypdf package-permissions.yaml
Permission violations found:
 - file_system: REQUIRED but NOT GIVEN
```



### Analyze all installed (non-default) packages and print combined YAML
```bash
$ pytrust > all-packages-permissions.yaml

# Gives:
pypdf:
  file_system: true
  env_vars: false
  web_requests: false
  exec_usage: false
pytz:
  file_system: true
  env_vars: true
  web_requests: false
  exec_usage: false
flit:
  file_system: true
  env_vars: true
  web_requests: true
  exec_usage: false
six:
  file_system: false
  env_vars: false
  web_requests: false
  exec_usage: true
... (the list might be pretty long!)
```



## Permissions YAML Example

In this file you specify which packages are allowed to access certain resources. For example:

```yaml
pypdf:
	file_system: true  # needed to read/write PDF files
	env_vars: false
	web_requests: false
	exec_usage: false
```

## Permissions

* `INTERNET`: Is socket/urllib/requests used?
* `FILE_SYSTEM`: Is the file system accessed?
* `ENV_VARS`: Are environment variables accessed?
* `EXEC_USAGE`: Is exec() or similar used?


## Contributing & Help
- Issues and PRs welcome!




**Made with ❤️ by Martin Thoma and contributors.**
uncloud-backup 0.1.1
Local backups of your cloudy data.
Requires Python: >=3.12

# Uncloud
Local backups of your cloudy data.


## Dev Setup

1. Make sure [you have uv installed](https://docs.astral.sh/uv/getting-started/installation/).
2. Make sure you have Python 3.12 installed (or let uv install it for your).
3. Run `uv sync` to create a virtual environment at `.venv` and install dependencies
4. Run `uv run uncloud --help` to see what you can do.
pokemanager 0.1.3
A suite of tools for analysing Pokémon teams.
Requires Python: >=3.11
Keywords: pokemon, analysis

# Pokemanager

<div align="center">

<img src="docs\assets\pokemanager-logo.svg" alt="Pokemanager Logo"></br>

[![Release](https://img.shields.io/github/v/release/ethan-shanahan/pokemanager?label=Release)](https://github.com/ethan-shanahan/pokemanager/releases/latest)
[![Docs](https://github.com/ethan-shanahan/pokemanager/actions/workflows/docs.yml/badge.svg)](https://ethan-shanahan.github.io/pokemanager/)
[![License](https://img.shields.io/github/license/ethan-shanahan/pokemanager?label=License)](https://www.gnu.org/licenses/gpl-3.0.en.html)

</div>

**Pokemanager** is your very own **command-line PC**. Just like the PC, you can save a collection of Pokémon, but Pokemanager goes above and beyond to provide a whole host of analysis tools to boot.

> [!WARNING]
> Pokemanager is in alpha and as such, most features are not implemented or may be broken. Use at your own risk.

## Features

- Save your Pokémon data locally to reuse at any time or even share with others.
- Integrate with Google Sheets to conveniently display your Pokémon and update your collection.
- Analyse your Pokémon individually to plan training, move sets, etc.
- Analyse your Pokémon collectively to devise teams for various purposes.
- Compartmentalise your collection to track Pokémon in:
  - different generational contexts
  - Nuzlocke playthroughs
  - Soullink Nuzlocke playthroughs

Read all about what Pokemanager has to offer and how best to use it in the [documentation](https://ethan-shanahan.github.io/pokemanager/).

## Install

You can easily install Pokemanager from the [Python Package Index](https://pypi.org/project/pokemanager/). If you have Python already installed, this is likely as simple as:

```sh
pip install pokemanager
```

But feel free to use whatever package manager you like.

If you instead decide to clone this repository for the development build or environment, then I recommend using [Pixi](https://pixi.sh/latest/) like so:

```sh
pixi install
```