semvec/pypi-packages huggingface dataset:
simple-period-tracker 0.1.2
A simple, command-line period tracker with statistical analysis and prediction.
Requires Python: >=3.8

# Simple Period Tracker

[GitLab Repository](https://gitlab.com/aufildelanuit/period-tracker)


A simple, command-line period tracker with statistical analysis and prediction.

## Features

-   Calculates cycle lengths and provides statistics (mean, median, standard deviation).
-   Predicts next period and ovulation dates with confidence intervals.
-   Displays an ASCII calendar in the terminal with predictions.
-   Generates a graphical calendar as a PDF file.
-   Reads data from CSV files or standard input.
-   Optional support for `pandas`, `numpy`, `scipy`, and `matplotlib` for more advanced analysis and visualization.

## Installation

You can install `simple-period-tracker` using `pip`:

```bash
pip install simple-period-tracker
```

Or, if you have cloned the repository, you can install it with `poetry`:

```bash
poetry install
```

## Usage

```bash
simple-period-tracker [OPTIONS] [FILE]
```

### Arguments

-   `FILE`: Path to the CSV file with period dates. Use `--` to read from stdin.

### Options

-   `--luteal-phase DAYS`: Days between ovulation and period (default: 14, or calculated from data).
-   `--safe-days-buffer DAYS`: Days after ovulation confidence interval to start 'safe' days (default: 5).
-   `--period-duration DAYS`: Default period duration in days (default: 4).
-   `--calendar`: Display an ASCII calendar with predictions.
-   `--months MONTHS`: Number of months to display in the calendar (1-3, default: 3).
-   `--no-color`: Disable color output in the calendar.
-   `--hatch`: Use hatch patterns instead of filled colors for events in the figure.
-   `--figure-path PATH`: Path to save the calendar as a PDF figure.
-   `--ci-method METHOD`: Method for period/ovulation confidence interval: 'minmax' (default) or 'normal'.

### CSV File Format

The CSV file should have a header row and at least one column for the period start dates. The columns can be in any order, but the header must contain `period_start`, `period_end`, and `ovulation`.

Example:

```csv
period_start,period_end,ovulation
2023-01-01,2023-01-05,2023-01-15
2023-01-30,2023-02-03,2023-02-13
```

## License

This project is licensed under the MIT License.
simple_macrorecorder 1.0.4
Simple macro recorder for keystrokes across operating systems
Requires Python: >=3.10
Keywords: automation, keystrokes, macro, recorder

# Macro Recorder

A simple PySide6/Qt application for recording and replaying keyboard input. The app offers three macro slots, customizable playback timing, and persistent storage so you can automate repetitive tasks from the desktop.

![GUI Sample](sample_image.png)

## Features

- Record key presses/releases with their timing
- Store up to three independent macros
- Configure repetitions and per-key delays before playback
- Inspect recorded events directly within the GUI

## Requirements

- Python 3.10+
- PySide6 (Qt 6) runtime — installing the project with `pip` pulls the prebuilt Qt wheels for Linux, macOS, and Windows

> **Note:** The project uses `pynput` for keyboard hooks. On Linux, that dependency will additionally pull in `evdev` and `python-xlib`; on macOS it uses `pyobjc` frameworks, and on Windows it installs `pywin32`. macOS users must grant the terminal or Python executable “Accessibility” permissions so key capture can work, and Windows users should allow the app through any desktop security prompts the first time they run it.

## Installation

Install from PyPI:

```console
pip install simple_macrorecorder
```

Or work from source:

```console
git clone https://github.com/werzum/MacroRecorder.git
cd MacroRecorder
python -m venv .venv
source .venv/bin/activate  # use .venv\Scripts\activate on Windows PowerShell
pip install -e .
```

## Running the application

Launch the GUI with:

```console
python -m macrorecorder
```

If you installed the package globally, you can also use the console script:

```console
macrorecorder
```

Macros, slot-specific delays, and repetition counts are stored in your platform’s user data directory (for example: `~/.local/share/MacroRecorder/recorded_keys.json` on Linux, `%APPDATA%\\MacroRecorder\\recorded_keys.json` on Windows, or `~/Library/Application Support/MacroRecorder/recorded_keys.json` on macOS). Your latest GUI adjustments are saved automatically when you stop recording or close the app, so the same values are restored the next time you launch Macro Recorder on any supported platform.

## Typical workflow

1. Start the Macro Recorder GUI.
2. Choose a macro slot (1–3).
3. Click **Start Recording**, switch to the target application, and perform the actions you want captured.
4. Return to Macro Recorder and click **Stop Recording**.
5. Adjust repetitions and delays as needed.
6. Click **Play Recorded Script** to replay the macro.

The GUI displays the captured events for the active slot so you can review timing and key order before playback.