Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Allows you to interface Python and zepto crudely

Project Description

pyzepto

A crude way of interfacing zepto and Python.

Requirements

You need to have zepto installed.

Installation

pip install pyzepto

Usage

I really advise against using it. It’s amazingly crude. But if you really want to do this, it’s relatively straight-forward. The main function that is exposed by this package is zepto. It takes a string of zepto code and evaluates it, returning the return value as a string.

from pyzepto import zepto

zepto("(+ 1 2 3)") # => "6"
zepto("(make-byte-vector 10 0)") # => "b{0 0 0 0 0 0 0 0 0 0}"

I also implemented a custom module loader for your convenience, so you can import zepto files into Python using regular import statements. What could possibly go wrong?

Release History

Release History

This version
History Node

0.0.3

History Node

0.0.2

History Node

0.0.1

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting