https://github.com/aryaghan-mutum/algorhythms
A curated collection of algorithm implementations.
https://github.com/aryaghan-mutum/algorhythms
algorithms computer-science cryptography data-structures functional-programming graph-algorithms lisp mathematics number-theory racket searching-algorithms software-engineering sorting-algorithms tree-algorithms
Last synced: about 1 month ago
JSON representation
A curated collection of algorithm implementations.
- Host: GitHub
- URL: https://github.com/aryaghan-mutum/algorhythms
- Owner: aryaghan-mutum
- License: mit
- Created: 2025-10-12T20:47:33.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-12-24T13:54:49.000Z (3 months ago)
- Last Synced: 2025-12-25T05:12:25.984Z (3 months ago)
- Topics: algorithms, computer-science, cryptography, data-structures, functional-programming, graph-algorithms, lisp, mathematics, number-theory, racket, searching-algorithms, software-engineering, sorting-algorithms, tree-algorithms
- Language: Racket
- Homepage: https://pkgs.racket-lang.org/package/algorhythms
- Size: 553 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Algorhythms
[](https://github.com/aryaghan-mutum/algorhythms/actions/workflows/ci.yml)
[](https://github.com/aryaghan-mutum/algorhythms/actions/workflows/release.yml)
[](https://codecov.io/gh/aryaghan-mutum/algorhythms)
[](https://opensource.org/licenses/BSD-3-Clause)
[](https://racket-lang.org)
[](https://github.com/aryaghan-mutum/algorhythms/releases)
A Racket library of algorithms and data structures.
📦 **Package**: [Racket Package Catalog](https://pkgs.racket-lang.org/package/algorhythms)
📖 **Source**: [GitHub Repository](https://github.com/aryaghan-mutum/algorhythms)
🔧 **CI/CD**: [GitHub Actions](https://github.com/aryaghan-mutum/algorhythms/actions)
📊 **Coverage**: [Codecov Report](https://codecov.io/gh/aryaghan-mutum/algorhythms)
---
## Installation
### From Package Catalog
```bash
raco pkg install algorhythms
```
### From Source (Development)
```bash
git clone https://github.com/aryaghan-mutum/algorhythms.git
cd algorhythms
raco pkg install --link .
```
---
## Quick Start
```racket
#lang racket
(require algorhythms)
;; Use factorial
(factorial 10) ; => 3628800
;; Morse code
(encode-to-morse "SOS") ; => "... --- ..."
```
---
## Development Commands
### Setup & Build
```bash
# Verify Racket installation
racket --version
raco --version
# Build/compile the package
raco setup --pkgs algorhythms
# Clean compiled files
raco setup --clean algorhythms
```
### Testing
```bash
# Run all tests
raco test .
# Run tests in specific directory
raco test tests/
# Run a specific test file
raco test tests/encoding/morse-code-test.rkt
# Run tests with verbose output
raco test -v .
```
### Code Formatting
```bash
# Install formatter (one-time)
raco pkg install fmt
# Check formatting
raco fmt --check .
# Auto-format all files
raco fmt -i .
```
### Package Management
```bash
# Show package info
raco pkg show algorhythms
# Update package
raco pkg update algorhythms
# Remove package
raco pkg remove algorhythms
# Reinstall from local directory
raco pkg install --link .
```
### Documentation
```bash
# Build documentation
raco setup --doc-index algorhythms
# Open docs in browser
raco docs algorhythms
```
---
## License
BSD-3-Clause