Skip to main content

splitnstitch

A powerful CLI tool for splitting and merging table files. Perfect for creating safe-to-share datasets, managing sensitive data, and reorganizing table structures.

Features

✨ Split Tables - Separate sensitive columns from public data
🔄 Stitch Tables - Merge split files back together seamlessly
📊 Melt Columns - Reshape wide data into long format
🛡️ Safe Export - Create redacted versions of datasets
🧩 Detail Joins - Enrich datasets with additional information
📁 Multiple Formats - Works with CSV and Excel files
💬 Interactive CLI - User-friendly command-line interface with guided workflows 🪟 Windows Support - Can be used on Windows machines as well as Linux

Installation

pip install splitnstitch

Or install from source:

git clone https://github.com/espehon/splitnstitch.git
cd splitnstitch
pip install -e .

Quick Start

Launch the interactive CLI:

sns

Or run with Python:

python -m splitnstitch

The tool will guide you through a series of prompts to:

  1. Choose your operation (split, stitch, melt)
  2. Select your data file (CSV or Excel)
  3. Configure your preferences
  4. Generate your output file(s)

Use Cases

🔐 Privacy Protection

Split sensitive customer data into separate files to share only non-sensitive columns with partners while keeping PII secure.

📦 Data Organization

Reorganize wide datasets into long format for easier analysis and database import.

🔀 Selective Sharing

Share safe columns publicly while maintaining a master file with complete data internally.

🧬 Data Enrichment

Stitch together detail data from multiple sources to create a comprehensive dataset.

Requirements

  • Python 3.8+
  • pandas
  • questionary
  • halo

License

This project is licensed under the MIT License - see the LICENSE file for details.

Author

Created by espehon

Metadata

Release files for splitnstitch 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for splitnstitch 0.3.0
File Size Uploaded Provenance Actions
splitnstitch-0.3.0.tar.gz 10.7 kB Without provenance Details for splitnstitch-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for splitnstitch 0.3.0
File Interpreter ABI Platform Actions
splitnstitch-0.3.0-py3-none-any.whl Python 3 none any Details for splitnstitch-0.3.0-py3-none-any.whl

Total release size: 20.9 kB

Release files / splitnstitch-0.3.0.tar.gz

Download URL splitnstitch-0.3.0.tar.gz
Size 10.7 kB
Tags Source
SHA-256 checksum
How to use checksums
446dd51ededb923f703f9009a583a72011522737ce646ccb2ca9e900e6615dd9
BLAKE2b-256 checksum
How to use checksums
d1a83037200f05713a72651729793ac919b1b38d5b253ccb84eee9ac84be024b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release files / splitnstitch-0.3.0-py3-none-any.whl

Download URL splitnstitch-0.3.0-py3-none-any.whl
Size 10.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4950d4f535127fb17664e4537b7469421555f71c32034aa2a66312a5aaa2a649
BLAKE2b-256 checksum
How to use checksums
a431cc6914de530bbf12ac5c0eb962067aa04e04ed20b8ccf01d0b0091d6ed67
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Security for splitnstitch 0.3.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page