No project description provided
Project description
notice
not changing the repo name due to dependency issues. this repo will be archived soon.
Gui has not been set up yet. Don't try to run the gui.py
if you are using the PyPi package, you will need to have a running postgres server, else it won't work.
pixBoards
pixBoards is a python library to help you organise your images and videos into masonry-containers (the pinterest layout)
It outputs simple html files with links to the images. Simplicity was the aim here, so don't expect fancy stuff in it.
It organises the images into "boards" which can be nested inside other boards. (Just think of them as a folder for now)
You can also upload the files to imgchest and use those links in the output html files. You can then simply host these output files and you will have a working webpage. (If you had to use local files, you'd have to host the images too, which would be a pain in)
you can also use lists of imagelinks to create boards.
I also recently added the ability to use links in sidecarfiles to use as upload links instead of uploading the image to imgchest. (if you used a bulk downloader like gallery-dl, you'd be able to easily create such sidecar files every time you download.)
screenshots
example of index file
!
example of image board
how to use
first, rename the config_example.yml to config.yml. or start afresh, your choice.
if you wish to upload to imgchest and use those links instead, use --upload
If it is the first time you are uploading, you will have to install postgresql first if not already installed.
install
you can install the pixBoards package from PyPi
pip install pixBoards
or clone the repo.
git clone https://github.com/flynnsharwood/boards_v2.git
First time upload
If it is the first time you are uploading, you will have to install postgresql first if not already installed.
Also, if you have a LOT of files to upload for the first time, go to the uploader folder. repo link
- set up the directories list in config.yml
- run listFiles.py. it will create a file named "MediaFiles.py"
- now run calc_hex.py
- run fileListUpload.py
fileListUpload basically uploads in batches of 20, unlike the original script where it uploads each image individually. This will upload and cache the links and hashes to postgress db
Usage
simply use the binary file provided boards.exe
Or do python3 cli.py or python3 __main__.py
flags you might use
--upload ensure all files are being uploaded. If you have pictures with the same filenames in different folders, you might need to fix this.
--gitPush this will push your created html files to a github repo. set up your repo to trigger a gh_pages deployment every push.
--config change the config file being used
here is a link to an example board - https://flynnsharwood.github.io/exampleBoard/index.html
features
added an button to load a random page in 0.2.18
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pixBoards-0.2.20.tar.gz.
File metadata
- Download URL: pixBoards-0.2.20.tar.gz
- Upload date:
- Size: 19.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5155ccb5967b4ac83e64f2db0a801492f0ee5382d466ac6fe4d3a17aa44aeda8
|
|
| MD5 |
6a5b590222cb81658e77d21c2e81aab4
|
|
| BLAKE2b-256 |
38999a89bf86d181edf2214337fad69a246230416b0e52673ae72156c6d189e5
|
File details
Details for the file pixBoards-0.2.20-py3-none-any.whl.
File metadata
- Download URL: pixBoards-0.2.20-py3-none-any.whl
- Upload date:
- Size: 23.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb2786c0bee106780dae2feeede3116e67c53ab39cab7f59ef21646b24c52808
|
|
| MD5 |
0629559776ef6104b55a642bee4401ff
|
|
| BLAKE2b-256 |
87166494cee7d577d473bda45033b787f61e819931dfd2a7ae8534865e1cd0f7
|