Skip to main content

Zeta library is css, js framework.

Project description

Zeta library

Zeta library is a framework allows to create, collect and pack css, scss, js files much easier. Documentation during development.

Features

  • CSS import support:

    @import url(path or http);
  • JS require support:

    require("path or http");
  • SCSS compile and imports support See SCSS for more information about language:

    @import url(path or http);
  • Compass blueprint scss, css framework Ex.

    @import url( zeta://blueprint.css );
    /* Or */
    @import url( zeta://blueprint/typography.scss );
  • Partial compass framework support Ex.

    @import url( zeta://compass/reset.scss );
  • Boilerrplate framework support Ex.

    @import url( zeta://boilerplate.css );
  • Zeta css, js framework Ex:

    @import url( zeta://zeta.css );
    
    require( "zeta://zeta.js" );

Requirements

Installation

Zeta library should be installed using pip or setuptools:

pip install zetalibrary

easy_install zetalibrary

Usage

$zeta

Usage: zeta [--prefix PREFIX] FILENAME or DIRNAME

Parse file or dir, import css, js code and save with prefix.

Options:
-h, --help            show this help message and exit
-p PREFIX, --prefix=PREFIX
                        Save result with prefix. Default is '_'.
-f FORMAT, --format=FORMAT
                        Force use this format.
-n, --no-comments     Clear comments.
-w, --show-frameworks
                        Show available frameworks.
-z, --show-blocks     Show available zeta blocks.

Frameworks

Under construction.

Zeta blocks

Under construction.

Changes

Make sure you`ve read the following document if you are upgrading from previous versions of makesite:

http://packages.python.org/zetalibrary/changes.html

Examples

  1. Parse all static files in directory ‘’/tmp/static’’ with default prefix:

    $> ls -la /tmp/static
    drwxr-xr-x 4 www-data www-data 4096 2011-02-16 15:09 main
    -rw-r--r-- 1 www-data www-data  335 2011-02-16 15:09 main.css
    -rw-r--r-- 1 www-data www-data  343 2011-02-16 15:09 main.js
    -rw-r--r-- 1 www-data www-data    0 2011-02-16 15:09 print.css
    
    $> zeta /tmp/static
    ...
    $> ls -la /tmp/static
    drwxr-xr-x 4 www-data www-data 4096 2011-02-16 15:09 main
    -rw-r--r-- 1 www-data www-data  335 2011-02-16 15:09 main.css
    -rw-r--r-- 1 www-data www-data  335 2011-02-16 15:09 _main.css
    -rw-r--r-- 1 www-data www-data  343 2011-02-16 15:09 main.js
    -rw-r--r-- 1 www-data www-data  343 2011-02-16 15:09 _main.js
    -rw-r--r-- 1 www-data www-data    0 2011-02-16 15:09 print.css
    -rw-r--r-- 1 www-data www-data    0 2011-02-16 15:09 _print.css
  2. Parse /static/main.js

    $> zeta /static/main.js

Options

Under construction.

Bug tracker

If you have any suggestions, bug reports or annoyances please report them to the issue tracker at https://github.com/klen/zeta-library/issues

Contributing

Development of python-scss happens at github: https://github.com/klen/zeta-library

License

Licensed under a GNU lesser general public license.

Note

Your feedback are welcome!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zetalibrary-0.4.2.tar.gz (204.7 kB view details)

Uploaded Source

File details

Details for the file zetalibrary-0.4.2.tar.gz.

File metadata

  • Download URL: zetalibrary-0.4.2.tar.gz
  • Upload date:
  • Size: 204.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for zetalibrary-0.4.2.tar.gz
Algorithm Hash digest
SHA256 c8e2ae160de7ada43dd24590408869520d61318456ad8e9cddbc44d8f8b0943d
MD5 655a5bc48f593783b102895c0447481a
BLAKE2b-256 9ed935044f0353b9cd9d4b730a1717089068cf0e1888e7f91c59b65dadffdabd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page