Skip to main content

sixfoh

Generates base sixfoh-encoded images for yer websites.

Installation

pip install sixfoh

Usage

Give sixfoh a some images to convert to base64::

sixfoh datauri/*.png

If no files are given, it will look for images in the current directory.

Usage with Less

Pipe your output with the --less` flag and it will prepend Less variables to import into your CSS.:

sixfoh --less myimage.png > datauri.less

I usually slice up all my icons in Photoshop and output them into a “data-uri” folder.:

sixfoh -L data-uri/* > datauri.less

Import it and use it::

@import "datauri.less";

#Logo {
    background-image: @myimage;
}

You do the same for Sass with the --scss flag.

Options

-L

Writes images into a group of LessCSS variables, to be included in a stylesheet or written to a .less file to be imported. (alias: –less)

-S

Writes images into a group of Sass variables, to be included in a stylesheet or written to a .scss file to be imported. (alias: –scss)

-f

Force output and ignore warnings.

—

image:: http://www.gifmania.co.uk/cars/3D/lowrider.gif

Metadata

Release files for sixfoh 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sixfoh 0.1.3
File Size Uploaded
sixfoh-0.1.3.tar.gz 3.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sixfoh 0.1.3
File Interpreter ABI Platform
sixfoh-0.1.3-py2.7.egg Legacy Egg format - - Details

Total release size: 8.9 kB

Release files / sixfoh-0.1.3.tar.gz

Download URL sixfoh-0.1.3.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
91e3c9e7d9b62669a80f3cc2e5f1e5893031ebdbc4aa859f46014593074a8104
BLAKE2b-256 checksum
How to use checksums
e9beab247439c43465566f3def7af565c83d6a90b42bb1e519dc43965f40f886
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / sixfoh-0.1.3-py2.7.egg

Download URL sixfoh-0.1.3-py2.7.egg
Size 5.7 kB
Tags Egg
SHA-256 checksum
How to use checksums
92144cb98c27f6b44ac7f418f52ca760dc6f71d1fa5447dab8f78c4657838845
BLAKE2b-256 checksum
How to use checksums
3902763f34ac9d55e899b7f3ed1fdb2e9d0f8a8853bde00aecddef0228c99826
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

1 release file

0.1

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page