semvec/pypi-packages huggingface dataset:
akari-site 0.1.3
A minimalist static site generator
Requires Python: >=3.11

# akari
[![PyPI](https://img.shields.io/pypi/v/hikugen?style=flat-square&logo=pypi)](https://pypi.org/project/akari-site/)
[![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)

A minimalist static site generator.

## Installation

```bash
uv tool install akari-site
```

## Quick Start

```bash
# Initialize new blog
akari init my-blog
cd my-blog

# Build
akari build

# Or use watch mode for development
akari watch

# Output is in dist/
```

## Features

- **Zero framework bloat** - just Python, YAML, and Markdown
- **Dynamic sections** - any folder in `content/` becomes a section
- **Section-specific templates** - customize each section's design
- **Auto-generated navigation** - nav builds from discovered sections
- **GitHub Pages ready** - outputs pure static HTML to `dist/`

## Using Your Blog

### Add Posts

Create files in `content/posts/` with YAML front matter:

```markdown
---
title: "My First Post"
date: 2025-11-30
---

Your content here...
```

### Create New Sections

1. Create `content/my-section/` with Markdown files
2. Create `templates/my-section/` with `item.html` and `index.html`
3. Run `akari build`

### Build

```bash
akari build
```

Output is in `dist/`. Deploy to GitHub Pages!

### Watch for Changes

During development, use watch mode to automatically rebuild when you change files:

```bash
akari watch
```

This will:
- Perform an initial build
- Watch `content/` and `templates/` directories for changes
- Automatically rebuild when any files change
- Press Ctrl+C to stop watching

Perfect for development - just save your changes and the site rebuilds automatically!

## Project Structure

```
my-blog/
├── content/
│   ├── about.md
│   ├── posts/
│   │   └── 2025-11-30-hello.md
│   └── projects/
├── templates/
│   ├── base.html
│   ├── posts/
│   │   ├── item.html
│   │   └── index.html
│   └── projects/
│       ├── item.html
│       └── index.html
└── static/
    ├── css/style.css
    ├── logo.svg
    └── favicon.ico
```

## Development

```bash
git clone <repo>
cd akari
uv sync
uv tool install .
```

To test locally:

```bash
akari init test-blog
cd test-blog
akari build
python -m http.server --directory dist 8000
```
magma-rsam 1.8.2
Calculating RSAM Value
Requires Python: >=3.11
Keywords: seismic, volcano, volcanology, convert, sds, seiscomp, mseed

# magma-rsam
Python package to calculating RSAM Value

```python
from magma_rsam import RSAM, PlotRsam

rsam = RSAM(
    seismic_dir="G:\\Output\\Converted\\SDS",
    station='AWU1',
    channel='EHZ',
    network = 'VG',
    location = '00',
    start_date = '2024-01-01',
    end_date = '2024-07-31',
    directory_structure = 'sds' # check https://github.com/martanto/magma-converter for supported directory
)
```

Apply filter:
```python
rsam.apply_filter(freq_min=5.0, freq_max=18.0)
```

Run RSAM calculation:
```python
rsam.run()
```

## Plot RSAM
```python
plot_rsam = PlotRsam(
    station = 'AWU1',
    channel = 'EHZ',
    network = 'VG',
    location = '00',
    start_date = '2024-01-01',
    end_date = '2024-07-31',
    resample = '10min'
)
```

Plot using filter:
```python
plot_rsam.with_filter(
    freq_min=5.0,
    freq_max=18.0
)
```

Set `y_limit`:
```python
plot_rsam.set_y_lim(
    y_min=0,
    y_max=1200
)
```

Run plot:
```python
plot_rsam.run(
    metrics = ['mean', 'median'],
    windows = ['1d'],
    plot_as_log = False,
    datetime_interval = 7,
    colors = ['#FFEB3B', '#F44336'] # colors must have the same length of metrics*windows
)
```