rusty-ssim
A high-performance Rust-built IATA SSIM (Standard Schedules Information Manual) parser that can be used via CLI, Python, or Rust. This tool efficiently parses SSIM files into Polars DataFrames or exports directly to CSV/Parquet formats with streaming support for large files.
Features
- 🚀 Fast Performance: Built in Rust for optimal parsing speed with parallel processing capabilities
- ⚡ Parallel Processing: Leverages multi-core CPUs to process large SSIM files efficiently
- 💾 Memory Efficient: Optimize for large SSIM files
- 📊 Multiple Output Formats: CSV, Parquet, and in-memory DataFrames
- 🗜️ Flexible Compression: Support for various Parquet compression options (zstd, lz4, snappy, etc.)
- 🔧 Tooling Options: Both CLI and Python APIs available
- 📈 Production Ready: Handles files of any size with configurable batch processing
Quick Start
Python (Most Common Use Case)
import rustyssim as rs
# Parse SSIM file to DataFrame
df = rs.parse_ssim_to_dataframe("path/to/schedule.ssim")
print(f"Parsed {len(df)} flight records")
# Split into separate DataFrames by record type
carriers, flights, segments = rs.split_ssim_to_dataframes("schedule.ssim")
# Direct export to optimized formats
rs.parse_ssim_to_csv("schedule.ssim", "output.csv")
rs.parse_ssim_to_parquets("schedule.ssim", "./parquet_files", compression="zstd")
CLI (For Data Processing Pipelines)
# Convert to CSV
ssim csv -s schedule.ssim -o output.csv
# Convert to compressed Parquet files (one per airline)
ssim parquet -s schedule.ssim -o ./output -c zstd -b 50000
Installation
Python
pip install rustyssim
(Build from Source)
# Clone the repository
git clone https://github.com/wcagreen/rusty-ssim.git
cd rusty-ssim
# Install Python package
pip install maturin
maturin develop -m py-rusty-ssim/Cargo.toml
# Build CLI tool
cargo build -p cli-rusty-ssim --release
Requirements:
- Python 3.10+
- Rust toolchain (rustup.rs)
(Build CLI with Docker)
Download the Dockerfile from the repo, or build one your self.
# Build docker image.
docker build --no-cache -t wcagreen/rusty-ssim:latest .
# To run you can use the following command.
docker run --rm -v "${PWD}:/data" wcagreen/rusty-ssim:latest @args
# You can also just make this a permanent function for powershell, etc...
Documentation
📖 Python API Documentation
Complete reference for all Python functions with examples, parameters, and return values.
💻 CLI Documentation
Comprehensive guide for command-line usage, performance tuning, and integration examples.
Data Structure
The parser handles three types of SSIM records according to IATA standards:
Carrier Records (Type 2)
Contains airline and schedule metadata.
Flight Records (Type 3)
Contains core flight leg information.
Segment Records (Type 4)
Contains flight segment information.
Use Cases
Data Analytics
# Analyze route networks
df = rs.parse_ssim_to_dataframe("schedule.ssim")
routes = df.group_by(['departure_station', 'arrival_station']).count()
# Export for Tableau, Power BI, etc.
rs.parse_ssim_to_csv("schedule.ssim", "analytics_export.csv")
# Split by carrier for airline-specific analysis
carriers, flights, segments = rs.split_ssim_to_dataframes("schedule.ssim")
# Analyze specific airline operations
aa_flights = flights.filter(flights['airline_designator'] == 'AA')
capacity_analysis = aa_flights.group_by('aircraft_type').agg([
pl.count().alias('flights'),
pl.col('departure_station').n_unique().alias('origins')
])
Data Engineering Pipelines
# Batch processing in ETL pipelines
ssim parquet -s "./huge_multi_carrier_ssim.dat" -o /data/processed/ -c zstd -b 100000
Development
Running Tests
# Rust tests
cargo test
# Python tests
pip install pytest
pytest tests/
Contributing
Contributions are welcome! Please feel free to submit issues, feature requests, or pull requests.
Quick Contribution Steps
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Make your changes with tests
- Run the test suite (
cargo test && pytest) - Submit a pull request
Community & Support
- 🐛 Issues: GitHub Issues
- 💬 Discussions: GitHub Discussions
- 📧 Contact: Create an issue for questions or feature requests
License
This project is licensed under the MIT License - see the LICENSE file for details.
📋 Project Structure
rusty-ssim/
├── cli-rusty-ssim/ # CLI application
├── py-rusty-ssim/ # Python bindings
├── rusty-ssim-core/ # Core Rust library
├── docs/ # Documentation
Metadata
Release files for rustyssim 0.6.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rustyssim-0.6.2.tar.gz | 52.9 kB | With provenance | Details for rustyssim-0.6.2.tar.gz |
Built distributions (wheels)
Total release size: 358.3 MB
Release files / rustyssim-0.6.2.tar.gz
| Download URL | rustyssim-0.6.2.tar.gz |
|---|---|
| Size | 52.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4f3aa0d57a7a897db4ca77d31d0d8bc74641310a3bc032bac6982c03b84da300
|
|
BLAKE2b-256 checksum How to use checksums |
2c2d88bc8173d88512bde2fe0fe3353358c93e7b4aed84e0a280a2dddd890aec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 23, 2026.
Transparency logRelease files / rustyssim-0.6.2-cp314-cp314t-win_amd64.whl
| Download URL | rustyssim-0.6.2-cp314-cp314t-win_amd64.whl |
|---|---|
| Size | 24.3 MB |
| Tags | CPython 3.14 CPython 3.14 free-threading Windows x86-64 |
|
SHA-256 checksum How to use checksums |
29bbceebe3b01936160581dc22858966399007149aebc175c265897173543f51
|
|
BLAKE2b-256 checksum How to use checksums |
db31ea27fbc4e85d68948827088557e170ca76496dbe425d17b3cc2785c3f239
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 23, 2026.
Transparency logRelease files / rustyssim-0.6.2-cp314-cp314t-musllinux_1_2_x86_64.whl
| Download URL | rustyssim-0.6.2-cp314-cp314t-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 29.9 MB |
| Tags | CPython 3.14 CPython 3.14 free-threading Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
eafe0982ba0f2011f4bfe45ee2cb42534597b111044fa3d0453957db828d8297
|
|
BLAKE2b-256 checksum How to use checksums |
4e599f98ffe4f3ece0db84f052b738c16308adb2975de8f8f481727ef08f31ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 23, 2026.
Transparency logRelease files / rustyssim-0.6.2-cp314-cp314t-musllinux_1_2_aarch64.whl
| Download URL | rustyssim-0.6.2-cp314-cp314t-musllinux_1_2_aarch64.whl |
|---|---|
| Size | 29.3 MB |
| Tags | CPython 3.14 CPython 3.14 free-threading Linux musl 1.2+ ARM64 |
|
SHA-256 checksum How to use checksums |
986040d43a7306665fa90b52593c55203b95821d73ef19e47efa7a4305147970
|
|
BLAKE2b-256 checksum How to use checksums |
cfdd9422c71367091213df9e20cd7b368d128c7f78c518e1292994abec8c390d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 23, 2026.
Transparency logRelease files / rustyssim-0.6.2-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | rustyssim-0.6.2-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 22.4 MB |
| Tags | CPython 3.14 CPython 3.14 free-threading Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
98c3e48f3d3473339f75245afdb427da378033b59fbe05009f4c54e55b5ec944
|
|
BLAKE2b-256 checksum How to use checksums |
8b7dca4596cb6e2aab42757439ee9107803f1b949d6e03995c868bc0ec610e0c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 23, 2026.
Transparency logRelease files / rustyssim-0.6.2-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | rustyssim-0.6.2-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 21.2 MB |
| Tags | CPython 3.14 CPython 3.14 free-threading Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
d0b5b91e1249219378da3920ffc86e78586b4a5db045254dfaa6a7c4639a3734
|
|
BLAKE2b-256 checksum How to use checksums |
75c681c823bce3691ae77a5e13793e9c20f2712b32dbea14771bd38f4665098e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 23, 2026.
Transparency logRelease files / rustyssim-0.6.2-cp314-cp314t-macosx_11_0_arm64.whl
| Download URL | rustyssim-0.6.2-cp314-cp314t-macosx_11_0_arm64.whl |
|---|---|
| Size | 25.1 MB |
| Tags | CPython 3.14 CPython 3.14 free-threading macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
ee34236c90bfbe40f71a805af5fb4d912c055cce4783754c51161a4c15d8c5d4
|
|
BLAKE2b-256 checksum How to use checksums |
1c3ae97304afe58f9b4cea72f9c05d62d9ac979905a4759fa01472e9887500b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 23, 2026.
Transparency logRelease files / rustyssim-0.6.2-cp314-cp314t-macosx_10_12_x86_64.whl
| Download URL | rustyssim-0.6.2-cp314-cp314t-macosx_10_12_x86_64.whl |
|---|---|
| Size | 26.6 MB |
| Tags | CPython 3.14 CPython 3.14 free-threading macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
3d712fb93ca0982135c9d6672c8a1d9544998be667cdb9c0ad957bb6cfe8f60f
|
|
BLAKE2b-256 checksum How to use checksums |
e4a7414810e720b2808344034429c29cf8ea5d305b0c41662a819306a36d6625
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 23, 2026.
Transparency logRelease files / rustyssim-0.6.2-cp310-abi3-win_amd64.whl
| Download URL | rustyssim-0.6.2-cp310-abi3-win_amd64.whl |
|---|---|
| Size | 24.4 MB |
| Tags | CPython 3.10 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
dde878846bb8a855196962a1f7eb0af0e04b5fed0f277c89e7c3d1aceab85316
|
|
BLAKE2b-256 checksum How to use checksums |
0d77a5d960a3107127609b5f60e81dbff53cddb02310be9c69628b3db115a00e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 23, 2026.
Transparency logRelease files / rustyssim-0.6.2-cp310-abi3-musllinux_1_2_x86_64.whl
| Download URL | rustyssim-0.6.2-cp310-abi3-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 30.0 MB |
| Tags | CPython 3.10 Linux musl 1.2+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
1f3c394ab20e33d1d5a692955f9408b0123f5d18f289c1e13f13c87d73a6e2b6
|
|
BLAKE2b-256 checksum How to use checksums |
9993b8d57b8ea931bc0bfffd226c2759f6ff9cb039294e16a1e1e0eacd7916e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 23, 2026.
Transparency logRelease files / rustyssim-0.6.2-cp310-abi3-musllinux_1_2_aarch64.whl
| Download URL | rustyssim-0.6.2-cp310-abi3-musllinux_1_2_aarch64.whl |
|---|---|
| Size | 29.4 MB |
| Tags | CPython 3.10 Linux musl 1.2+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
65a968e7c5c75571b298b56056b358b6c7721ad12f52fed135de3962211ba830
|
|
BLAKE2b-256 checksum How to use checksums |
fc13268ae6db2720d8966876051764b4408cf7c46be99d153e1602df0f58f335
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 23, 2026.
Transparency logRelease files / rustyssim-0.6.2-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | rustyssim-0.6.2-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 22.6 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
ab03e79732a8fc0ef36f1f0439f5e1f23693c007a2440c129869bb055884e2c0
|
|
BLAKE2b-256 checksum How to use checksums |
0f85a85420adf96cb2f8535229b758bb76453c2e5d70544117623f0cf9f470b0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 23, 2026.
Transparency logRelease files / rustyssim-0.6.2-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | rustyssim-0.6.2-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 21.3 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
7a64b7fa957ab8782929dd9bc43b2bb894250e1e4f6795fb18922e1b2f120e94
|
|
BLAKE2b-256 checksum How to use checksums |
7ade3bd552a54faa5c2b6b9ffe8dd662a22564a5b58f0e7ed71638d6f3547a1e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 23, 2026.
Transparency logRelease files / rustyssim-0.6.2-cp310-abi3-macosx_11_0_arm64.whl
| Download URL | rustyssim-0.6.2-cp310-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 25.3 MB |
| Tags | CPython 3.10 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
12ab1e6b1b7693d24a791a9c7f827ebd57f2f54da301cdf47b39f79db04a0982
|
|
BLAKE2b-256 checksum How to use checksums |
17e3917555b65203b2fd89da125216e1e438e350b0c77f0c36c9080e317c9992
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 23, 2026.
Transparency logRelease files / rustyssim-0.6.2-cp310-abi3-macosx_10_12_x86_64.whl
| Download URL | rustyssim-0.6.2-cp310-abi3-macosx_10_12_x86_64.whl |
|---|---|
| Size | 26.5 MB |
| Tags | CPython 3.10 abi3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
135d29945e4b63d0f44fb395697c6d25f075467123ff45a4a935c2790fac1d15
|
|
BLAKE2b-256 checksum How to use checksums |
df30c633dbe5074ab96cec217b64743a137c3a1d719ad828d076002c0a0ed813
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 23, 2026.
Transparency logSecurity for rustyssim 0.6.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 15 files in this release have been uploaded with provenance metadata.
Attestation for rustyssim-0.6.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 23, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.