Skip to content
This repository has been archived by the owner on Nov 12, 2017. It is now read-only.
/ pjtree Public archive

指定したディレクトリをJSON可したり逆のことをするスクリプト

Notifications You must be signed in to change notification settings

corrupt952/pjtree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Make any directory and files by json. Make directory hierarchy to json.

Requirements

  • Python 2.7
  • Python 3.3

Features

  • nonthing

Commands

  • jread
  • jwrite

Examples

Target directory to json. ::

$ jread [Target directory] [-f, --file] [--encoding]

Make any directory and files by json. ::

$ jwrite [Json] [Make path] [--encoding] [--force] [--notoverwrite]

Make any directory and files.

Installation

easy_install: ::

$ easy_install pjtree

pip: ::

$ pip install pjtree

License

Copyright (c) 2013, Kazuki Hasegawa All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

History

Version 0.1.0 (9-15-2013)

  • Responded to the python3.x

Version 0.0.3 (9-14-2013)

  • Added overwrite action

Version 0.0.2 (7-11-2013)

  • Responded to the python3.3

Version 0.0.1 (7-9-2013)

  • First release

About

指定したディレクトリをJSON可したり逆のことをするスクリプト

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages