semvec/pypi-packages huggingface dataset:
cmake2graph 0.1.1
Visualize CMake target dependencies as a directed graph
Requires Python: >=3.6

# cmake2graph

A tool to visualize CMake target dependencies as a directed graph.

## Installation

```bash
pip install cmake2graph
```

To install the package locally for development:

```bash
cd cmake2graph
python3 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install flake8 pytest pytest-cov
pip install -e .[test]
pytest --cov=cmake2graph # test
```

## Usage

```bash
cmake2graph /path/to/cpp-cmake-project
cmake2graph /path/to/cpp-cmake-project --exclude-external --output graph.png --target my_target --depth 2
```

Produces

![Example](example.png)

## Features

- Parse CMake files recursively
- Generate dependency graphs
- Filter by specific targets
- Control dependency depth
- Exclude external libraries (not working yet)
- Export to various image formats
lineup-lang 0.2.0
Pseudo language interpreter for Python

# LineUp

LineUp is a pseudo-code interpreter that allows you to write and run a code with a limited action set by the language.

The language is designed to be simple and easy to modify, and add actions to it. But it will be a little complex to write a code with it.

## Installation

```bash
pip install lineup-lang
```

```py
from lineup_lang import Language, luexec, lucore
```

## Usage

```py
# Create a new language
# Add here the default actions that your language will have
core_object = [lucore.Variables({"a": 0, "b": -1})]

# You need an executor to run the code, it's the object that will iterate over the code
# Default executor, it will run the code line by line
executor = luexec.DefaultExecutor(core_object)
# Jumper executor, it will run the code line by line, but it will also allow you to jump to a specific line
executor = luexec.JumperExecutor(core_object)

# Create the language object, it's the object that will read the code, split it and send it to the executor
language = Language(executor)

# Run the code
language.run('''
    VAR c USE VAR a GET
    IF *+2 VAR c GET
    ELSE *+2
    EXIT VAR a GET
    EXIT VAR b GET
''')
```

## Default core objects

- `Variables`: It's a object that will store variables and their values. It's a dictionary that will store the variables and their values.
  - `Variables({"a": 0, "b": -1})`: It will create a new object with the variables `a` and `b` with the values `0` and `-1` respectively.
  - `VAR x`: Execute an action on a variable.
    - `GET`: Get the value of a variable.
    - `SET y`: Set the value "y" of a variable.
    - `COPY y`: Copy the value of the variable y to the variable.
    - `USE ACTION` : Execute a core action and store the result in the variable x.
    - `EXEC ACTION` : Execute an action on a variable. The variable need to be a `LanguageObject`.
    - `ACTION` : Execute an action on a variable. The variable need to be a `LanguageObject`.

- `ConditionsJumpObject`: An object that will store the conditions and the lines to jump.
  - `IF x CONDITION`: If the condition is true, go to the line x, else go to the next line.
  - `ELSE JUMP x`: Go to the line x.
  - `NOTIF x CONDITION`: If the condition is false, go to the line x, else go to the next line.
  - Condition:
    - `ACTION` Execute a core action, if the result is true, the condition is true.
    - `"ACTION" SIGN "ACTION"`: Compare two actions with the sign.
    - SIGN:
      - Equal: `EQ`, `==`
      - Not equal: `NE`, `!=`
      - Greater: `GT`, `>`
      - Greater or equal: `GE`, `>=`
      - Less: `LT`, `<`
      - Less or equal: `LE`, `<=`
Authipy 0.0.4
2FA Authenticator
Requires Python: >=3.8

# Authipy

<div align="center">

[![PyPI Version](https://img.shields.io/pypi/v/Authipy.svg)](https://pypi.org/project/Authipy)
[![Python Version](https://img.shields.io/badge/python-3.8%2B-blue.svg)](https://python.org)
[![License](https://img.shields.io/github/license/TanmoyTheBoT/authipy.svg)](LICENSE)
[![Downloads](https://img.shields.io/github/downloads/TanmoyTheBoT/authipy/total.svg)](https://github.com/TanmoyTheBoT/authipy/releases)

A secure, offline Two-Factor Authentication (2FA) desktop application.

[Features](#features) • [Installation](#installation) • [Usage](#usage) • [Contributing](#contributing)

<img src="https://raw.githubusercontent.com/TanmoyTheBoT/Authipy/master/docs/images/screenshot.png" alt="Authipy Screenshot" width="400">

</div>

## Features

- 🔒 Secure TOTP code generation
- 💾 Local-only storage
- 📱 QR code import/export
- 🗑️ Recycle bin feature
- 📋 One-click copying
- ⚡ Modern Qt interface

## Installation

### Method 1: Windows Executable (Recommended)
1. Download the latest `Authipy.exe` from [Releases](https://github.com/TanmoyTheBoT/authipy/releases)
2. Run directly - No installation required

### Method 2: PyPI Package
```bash
pip install authipy
authipy  # to run
```

### Method 3: Build from Source

1. Clone the repository:
```bash
git clone https://github.com/TanmoyTheBoT/authipy.git
cd authipy
```

2. Create and activate virtual environment (recommended):
```bash
python -m venv venv
venv\\Scripts\\activate   # Windows
```

3. Install dependencies:
```bash
pip install -r requirements.txt
```

4. Install in development mode:
```bash
pip install -e .
```

5. Run the application:
```bash
authipy
```

6. Build executable (optional):
```bash
# Install PyInstaller
pip install pyinstaller Pillow sip

# Build single-file executable
pyinstaller --clean --noconsole --onefile --icon=docs/images/test.jpg --name Authipy src/authipy/main.py
```

The executable will be created in the `dist` directory.

## Usage

### Add New Account
1. Click "Add Account"
2. Enter:
   - Service name (required)
   - Secret key (required)
   - Issuer name (optional)

### Generate Codes
- Select account from list
- Code displays automatically
- Click code to copy

### Manage Accounts
- Right-click for options
- Use recycle bin
- Import/Export accounts

### Data Location
- Windows: `%USERPROFILE%\.config\authipy`
- Offline storage only

## Contributing

1. Fork the repository
2. Install dev dependencies:
```bash
pip install -r requirements-dev.txt
```
3. Make changes
4. Run tests:
```bash
pytest
pytest --cov=src --cov-report=html  # coverage report
```
5. Submit Pull Request

## Support

- [Report Issues](https://github.com/TanmoyTheBoT/authipy/issues)
- [GitHub Repository](https://github.com/TanmoyTheBoT/authipy)

## License

[MIT License](LICENSE)

---
<div align="center">
<sub>Built with ❤️ by <a href="https://github.com/TanmoyTheBoT">TanmoyTheBoT</a></sub>
</div>