Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marekjm/pake
Distributed system for distrubution of Python source modules
https://github.com/marekjm/pake
Last synced: 21 days ago
JSON representation
Distributed system for distrubution of Python source modules
- Host: GitHub
- URL: https://github.com/marekjm/pake
- Owner: marekjm
- License: gpl-3.0
- Created: 2013-06-05T19:42:22.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-11-11T20:39:24.000Z (almost 10 years ago)
- Last Synced: 2023-03-13T16:32:53.800Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 977 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: Changelog.markdown
- License: LICENSE
Awesome Lists containing this project
README
### PAKE
PAKE is a distributed system for distribution of Python source modules.
However, it doesn't operate on *Python-specific* files only and can be used to distribute any kind of
data - let it be text files, binary files and whatever you may throw at it.
Data is transferred in `*.tar.xz` archieves which are created using JSON configuration files.----
### Requirements
To run PAKE you must have Python 3 installed on your system.
Apart from the interpreter you must install few external libraries for Python.
**CLAP (Command Line Arguments Parser)**
CLAP is advanced commandline UI library and is used to build PAKE user interface.
It is hosted on [GitHub](https://github.com/marekjm/clap).
**PyFSRL (FSRL interpreter)**
PAKE uses FSRL (FileSystem Requests Language) for software installation, updates and removal.
These processes are described in FSRL files which must be interpreted by PyFSRL which you can
download from [GitHub](https://github.com/marekjm/pyfsrl).
----
### Installation
For now, the only installation method is with `Makefile` located in repo.
PAKE backend will be installed in `$PYTHON_SITEPACKAGES/pake`.
PAKE UI logic code will be installed in `$BINDIR/`.
JSON descriptions of PAKE UI will be stored in `$SHAREDIR/pake/ui`.Check `Makefile` for the default values of these variables.
If you can run `make install` and get no errors you can be 99% sure that PAKE will be working.Basic rules are that backend should be installed inside your Python `site-packages` directory,
UI logic should be installed in any directory in your `PATH` and runnable by your user.UI descriptions can be installed in two directories and be found by PAKE:
* `/usr/share/pake/ui`,
* `~/.local/share/pake/ui`.Different locations requires you to tinker with code of `getuipath()` function (it can be found in `pake/shared.py` module)
which iterates over a list of directories to find one containing PAKE data.