Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dgnsrekt/g-packer
Idea for the bitglitter filepacker.
https://github.com/dgnsrekt/g-packer
Last synced: 20 days ago
JSON representation
Idea for the bitglitter filepacker.
- Host: GitHub
- URL: https://github.com/dgnsrekt/g-packer
- Owner: dgnsrekt
- License: mit
- Created: 2019-11-07T14:32:04.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-04-20T19:15:08.000Z (over 3 years ago)
- Last Synced: 2024-10-27T22:36:09.597Z (2 months ago)
- Language: Python
- Size: 196 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# g-packer
Idea for the bitglitter replacement filepacker.
## Requires
* python3.7
* pipenv## Start dev environment.
```
$ git clone [email protected]:dgnsrekt/g-packer.git
$ cd g-packer
$ pipenv sync --dev
$ pipenv shell
```## Run test
After starting the dev environment run.
```
$ pytest
```## Run test from nox
After starting the dev environment run.
```
$ nox -s tests
```## Run Example
After starting the dev environment run.
```
In the example.py change target_pack_folder to the
location you would like to pack.$ python3 example.py
```## Example of manifest.ini contents
```
[header]
creation_date = "2019-11-13 23:27:18.725056"
chunk_buffer_size = 2097152
top_directory = "stuff"
master_hash = "4fc4d2fd7c2f044dddb20db0e6deb9cc65f6c29ee96abc45a87701a805dba8c4a90185d8e8923bc259a3944f4684e40e53af44b9c1160c37ca28ea6cce22c074"["image.jpg"]
path = "stuff/image.jpg"
hash = "4fc4d2fd7c2f044dddb20db0e6deb9cc65f6c29ee96abc45a87701a805dba8c4"
chunks = 1["movie.mp4"]
path = "stuff/movie.mp4"
hash = "a90185d8e8923bc259a3944f4684e40e53af44b9c1160c37ca28ea6cce22c074"
chunks = 763
```## TODO
* Add setup.py
* Add cli