Rambo
A command line sprite tool for smashing your images into sprites.
Includes pypacker, written by Joe Wezorek.
Features
Automatic support for multiple sprite resolutions (based on folder names)
pngcrush for a low-fat diet
Produces an HTML test page so can preview your sprites
Python, so it’s blazing fast
Set up your images
You’ll need to drop your sprite images in a sub-folder for each pixel aspect ratio.
Eg, sprites/
foo/ (the 1x has no prefix. Your sprite will be called this.)
foo-0.75x/ (smaller than 1x for poxy androids. Use the same base-name `foo`)
foo-1.5x/ (android pseudo-retina)
foo-2x/ (true retina)
bar/
bar-2x/
Usage
pip install rambo
Then run rambo from the command line:
rambo --input "images/sprites" --output "images" --csspath "css" --cssfile "_sprites.scss" --sasspath "sass/sprites" --testpage_dir "site" --testpage_name "test_page.html"
Arguments
-h, --help show this help message and exit
--input INPUT Input directory, images/sprites
--output OUTPUT Output directory, images/
--cssfile CSSFILE CSS filename, _sprites.scss
--csspath CSSPATH CSS output path, css
--sasspath SASSPATH SaSS output path, sass/sprites
--testpage_dir TEST_DIR Cheat sheet dir, site/
--testpage_name TESTPAGE Cheat sheet, cheat_sheet.html
Metadata
Release files for rambo 0.1.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rambo-0.1.1.1.tar.gz | 12.7 kB | Without provenance | Details for rambo-0.1.1.1.tar.gz |
Release files / rambo-0.1.1.1.tar.gz
| Download URL | rambo-0.1.1.1.tar.gz |
|---|---|
| Size | 12.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f2e928a94471271e66aeb93678cb7ce3c262b2bf65ca38970da1cb7be1c3d823
|
|
BLAKE2b-256 checksum How to use checksums |
79b526ed7e6df423e96cd3e49472664e9d18f3b1a38f5bb14645a13deaa5b9a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for rambo 0.1.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.