Skip to content

Commit

Permalink
Initial Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
danbradham committed Jan 15, 2018
1 parent 117955e commit 93fd14f
Show file tree
Hide file tree
Showing 12 changed files with 1,199 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[[source]]
url = "https://pypi.python.org/simple"
verify_ssl = true
name = "pypi"

[dev-packages]

[packages]

scandir = "*"
pyyaml = "*"
nose = "*"
fstrings = "*"
click = "*"
scrim = "*"
110 changes: 110 additions & 0 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 32 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
fsfs
====
Tag and store metadata on your filesystem.


How it looks
============

Command line::

> fsfs tag project --root=tmp/project_dir
> fsfs search project
.../tmp/project_dir
> fsfs write -k start_frame 100 -k end_frame 200 --root=tmp/project_dir
> fsfs read --root=tmp/project_dir
{
'start_frame': 100,
'end_frame': 200
}

Python::

>>> import fsfs
>>> fsfs.tag('tmp/project_dir', 'project')
>>> fsfs.search('.', 'project')
.../tmp/project_dir
>>> fsfs.write('tmp/project_dir', start_frame=100, end_frame=100)
>>> fsfs.read('tmp/project_dir')
{
'start_frame': 100,
'end_frame': 200
}
13 changes: 13 additions & 0 deletions fsfs/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# -*- coding: utf-8 -*-
from __future__ import absolute_import
__author__ = 'Dan Bradham'
__title__ = 'fsfs'
__author__ = 'Dan Bradham'
__email__ = '[email protected]'
__url__ = 'http://github.com/fsfs.git'
__version__ = '0.0.3'
__license__ = 'NO LICENSE'
__description__ = 'tag filesystem locations and store metadata'

from fsfs.api import *
from fsfs.models import *
6 changes: 6 additions & 0 deletions fsfs/__main__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# -*- coding: utf-8 -*-
from __future__ import absolute_import
from fsfs.cli import cli

if __name__ == '__main__':
cli()
Loading

0 comments on commit 93fd14f

Please sign in to comment.