Skip to main content

# ByteVCS

**A Git-inspired version control system built from scratch in Python.**

ByteVCS is a lightweight, local version control system that tracks file changes, stores content-addressed objects, maintains commit history, and supports branching and merging.

## Features

- Initialize repositories

- Store file contents using SHA-256 hashes

- Stage file additions and deletions

- Track staged, unstaged, and untracked changes

- Commit snapshots with messages and timestamps

- View commit history

- Compare staged and unstaged changes using diffs

- Create and switch between branches

- Merge branches with basic conflict detection

- Installable command-line interface

## Tech Stack

- Python

- SHA-256 hashing

- pathlib for filesystem operations

- unittest for automated testing

## Installation

Clone the repository and enter the project directory:

git clone <YOUR\_GITHUB\_REPOSITORY\_URL>

cd ByteVCS

Create and activate a virtual environment on Windows:

python -m venv .venv

.venv\\Scripts\\activate

Install ByteVCS:

python -m pip install -e .

## Usage

Initialize a repository:

bytevcs init .

Stage a file:

bytevcs add hello.txt

Create a commit:

bytevcs commit -m "Initial commit"

Check repository status:

bytevcs status

View commit history:

bytevcs log

Create and switch branches:

bytevcs branch feature

bytevcs checkout feature

View available commands:

bytevcs --help

## Testing

Run the automated test suite from the project root:

python -m unittest discover -s tests -v

## Project Status

ByteVCS is an educational project under active development. It currently supports local version control operations. Remote repositories, network-based push/pull, authentication, and a web interface are planned future enhancements.

## Disclaimer

ByteVCS is inspired by Git but is not Git-compatible. It is intended for learning and experimentation, not as a replacement for production version control systems.

Metadata

Release files for bytevcs 0.1.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 bytevcs 0.1.0
File Size Uploaded Provenance Actions
bytevcs-0.1.0.tar.gz 10.3 kB Without provenance Details for bytevcs-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 19.3 kB

Release files / bytevcs-0.1.0.tar.gz

Download URL bytevcs-0.1.0.tar.gz
Size 10.3 kB
Tags Source
SHA-256 checksum
How to use checksums
ede95ae564f081eba068235aa2cbef09fc8f2c6fe2ea27f142d526d2c613d972
BLAKE2b-256 checksum
How to use checksums
f42913637991198e911c51b507725a9c4a3fb4d40ebb0d58b0843c7fce7405a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.3

Release files / bytevcs-0.1.0-py3-none-any.whl

Download URL bytevcs-0.1.0-py3-none-any.whl
Size 9.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bbdd3976c317de890fe081e998b133839d60ad205c003f4ca7b85463339ed323
BLAKE2b-256 checksum
How to use checksums
07d3bd3ba7c42cc3c646625069dc77d2dee42d1fb6be18971939417aaf31dca8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.3

Security for bytevcs 0.1.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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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