Skip to main content

proj

https://badge.fury.io/py/proj.png https://travis-ci.org/larsyencken/proj.png?branch=master https://pypip.in/d/proj/badge.png

A command-line folder manager for archiving and restoring a long-term set of projects.

proj assumes the following working setup:

  • You have a directory of active projects that you’re working on (e.g. ~/Projects)

  • You have a directory of inactive projects, your archive (e.g. ~/Archive)

Given this setup, proj helps you add and remove projects from your archive, and keeps your archive organised in <year>/<quarter> subfolders, based on when each project was last worked on.

Installation

Install the package with pip:

pip install proj

Then, tell proj where your archive directory is, by creating a ~/.proj.yml file

archive_dir: _archive

You can enable compression for archives by adding more directives to the YAML file:

compression: true
compression_format: bztar

The supported formats are: tar, gztar, bztar and zip.

Usage

Use proj to get rid of clutter in your main directory of projects by archiving ones that aren’t being worked on. Proj will detect when you last made a change and file it accordingly.

$ ls
cocktails-that-are-blue   news-for-llamas   old-crusty-project
$ proj archive old-crusty-project
old-crusty-project -> /Users/lars/Archive/2012/q3/old-crusty-project
$ ls
cocktails-that-are-blue   news-for-llamas
$ proj list
2012/q3/old-crusty-project

Now we’ve archived this project, but we can restore it at any time.

$ proj restore old-crusty-project
/Users/lars/Archive/2012/q3/old-crusty-project -> old-crusty-project
$ ls
cocktails-that-are-blue   news-for-llamas   old-crusty-project

Features

  • proj archive: archive a project to an appropriate directory

  • proj restore: restore a project from the archive

  • proj list: search the archive for a project

History

0.2.0 (dev)

  • Moved to Python 3.x only support to allow type hinting

  • Move to a config file rather than environment variables

  • Support compression for archiving and restoring

0.1.0 (2014-01-11)

  • First release on PyPI.

  • Archive, restore and search features.

Metadata

Release files for proj 0.2.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 proj 0.2.0
File Size Uploaded
proj-0.2.0.tar.gz 19.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for proj 0.2.0
File Interpreter ABI Platform
proj-0.2.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 28.2 kB

Release files / proj-0.2.0.tar.gz

Download URL proj-0.2.0.tar.gz
Size 19.6 kB
Tags Source
SHA-256 checksum
How to use checksums
acf1e0a6aa3d6e3a7ca56f9a1b25abce80d1e9d6a69d57c89a2bce43133ff65d
BLAKE2b-256 checksum
How to use checksums
a02b70459cdba0d97758ed3ab53641f12d0639e8dd9c3d6bd835977bf5a34c23
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

Release files / proj-0.2.0-py2.py3-none-any.whl

Download URL proj-0.2.0-py2.py3-none-any.whl
Size 8.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
350b8f46d49e1a5080bb6dff61f8a18c11e81caf2ae0a3ede04e293c9cb891db
BLAKE2b-256 checksum
How to use checksums
87d7032c1f29b50e8d970cde7dc25d9231a4b26747be2a0b8b5f3ab20f9d5c42
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

2 release files

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