Skip to main content

# stir

![stir header image](stir-800x200.png?raw=true)

stir is a tool for synchronizing files between two or more systems — a general purpose package manager.

stir is a simple method of sharing source code libraries between microservices, fetching credential files (like Google’s service account credentials.json), or any other files.

## How It Works

  1. A package containing some files is created and placed on your private server.

  2. The package is then installed via stir install package-name wherever the files are needed.

## Features

  • Merging - Multiple packages can be installed in the same directory.

  • Easy - Creating and publishing packages is trivial.

  • Language Agnostic - Python, JavaScript, C source, or any file type you need to package and share.

  • Secure - Packages can require authentication to update or fetch.

  • Private - Host your own stir server.

  • Microservices - No need to duplicate code between services.

## Examples

### Sharing Source Code

Project bar depends on libraries maintained in project foo’s git repository.

  1. From foo’s git repository, in a directory that will be the package root, create your package.
    • stir upsert foolibs -p “**.py”

    • This will find all files in the current that match **.py (** is the convention for recursive matching).

  2. From foo’s git repository, run stir publish foolibs. This will bundle the package (foolibs-0.0.1.zip) and push it to the server.

  3. When working in the bar project, fetch the latest foolibs package.
    • stir install foolibs

    • If foolibs is not installed, or an older version, this will pull the most recent foolibs package from your stir server and install it in foolibs/.

  4. Add to your deployment pipeline. For example, in your Dockerfile:
    • RUN pip install stir && (cd /app/bar && stir -y install foolibs)

Metadata

Release files for stir 0.0.3

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

Source distribution (sdist)

Source distribution for stir 0.0.3
File Size Uploaded Provenance
stir-0.0.3.tar.gz 7.0 kB Without provenance Details

Release files / stir-0.0.3.tar.gz

Download URL stir-0.0.3.tar.gz
Size 7.0 kB
Tags Source
SHA-256 checksum
How to use checksums
78d77419acc6fb4831394891b792607e2f2f09abdc6489c44a0667ef008be647
BLAKE2b-256 checksum
How to use checksums
97faebcf2fd06238289701389d8da9dc5f9e40d56b8edc0ba854c4e87ff7a47c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for stir 0.0.3

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.0.3 This release

1 release file 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