File organization made easy using tags
Project description
HyperTag
File organization made easy. HyperTag let's humans intuitively express how they think about their files using tags.
Install
Currently there is no easy install available. Gotta clone this repo.
Install packages: $ python -m pip install fire tqdm filetype
Setup alias: alias hypertag='python your/clone/path/hypertag/hypertag/hypertag.py'
Quickstart
HyperTag offers a slick CLI but more importantly it creates a directory called HyperTagFS
which is a file system based representation of your files and tags using symbolic links and directories. HyperTag recognizes a multitude of file types and groups them automatically together into folders, which can be found in HyperTagFS
.
CLI Functions
Set HyperTagFS directory path
Default is the user's home directory.
$ hypertag set_hypertagfs_dir path/to/directory
Import existing directory recursively
Import files with tags inferred from existing directory hierarchy
$ hypertag import path/to/directory
Tag file/s
Manually tag files
$ hypertag tag humans/*.txt with human "Homo Sapiens"
Tag a tag
Metatag tag/s to create tag hierarchies
$ hypertag metatag human with animal
Merge tags
Merges all associations (files & tags) of tag_a into tag_b
$ hypertag merge human into "Homo Sapiens"
Query using Set Theory
Prints file names matching the query. Nesting is currently not supported, queries are evaluated from left to right.
Default operand is AND (intersection):
$ hypertag query human "Homo Sapiens"
OR (union):
$ hypertag query human or "Homo Sapiens"
MINUS (difference):
$ hypertag query human minus "Homo Sapiens"
Print all tags
$ hypertag show
Print all files
$ hypertag show files
Architecture
- Python 3.9 powers HyperTag
- SQLite3 serves as the meta data storage engine
- Symbolic links are used to create the HyperTagFS directory structure
Inspiration
This project is inspired by other existing open-source projects:
What is the point of HyperTag's existence? HyperTag offers some unique features such as the import function that make it very convenient to use. Also HyperTag's code base is written in Python and thus extremely small (<500 LOC) compared to TMSU (>10,000 LOC) and SuperTag (>25,000 LOC), making it very easy to modify / extend / fix it yourself.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file hypertag-0.1.2.tar.gz
.
File metadata
- Download URL: hypertag-0.1.2.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.9.1 Linux/5.10.3-arch1-1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2710225c5ffb669965cfda298a6c88c7f511a6610ae29e015055628651b0b60 |
|
MD5 | 65e173bc4fb8ef7d8ab52b4ad64ef32e |
|
BLAKE2b-256 | 079a9c74b2544768dd83444b1fdf0ab53fafbc4ac16654bc5c9fb5e29309c954 |
File details
Details for the file hypertag-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: hypertag-0.1.2-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.9.1 Linux/5.10.3-arch1-1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d1a931da8cb2416c5da5af023ca6bb2f3e2a24d550e24e5f14d86e4ee4752cd |
|
MD5 | ef07c5bd6fa74f62b2f10f2c5c5ce2e4 |
|
BLAKE2b-256 | 14bd249caf440581a9ad500e48b6d990cb6cacd5eeaf49c0f1c4df0163e89552 |