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!

gEDA sym2eps Python Wrapper

Project Description

gEDA sym2eps Python Wrapper

Provides a _very_ simple wrapper around DJ Delorie’s sym2eps.

This package (and the wrapper) are mostly for fun and for having a simple reference implementation for a Cython wrapper package handy. There isn’t much inherent utility to it. Normally, you would just use DJ Delorie’s C file sym2eps.cc directly. Or better yet, the gaf binary from geda 1.9.2, and get much more than you would from here. This wrapper, for instance, doesn’t support reading from and writing to stdin/stdout, which the C file does.

The excuse for writing this wrapper was to be able to remove the C code and the consequent requirement of figuring out a safe build process for it from within the tendril core module. This way, we just list this package as a dependency and let setuptools / distutils take care of it.

Cython tutorial (for future reference): http://docs.cython.org/src/tutorial/

Installation

pip install tendril-gedaif-sym2eps

Usage Example

>>> import sym2eps
>>> sym2eps.convert('test/symbol.sym', 'test/output.eps')

Hint

The paths specified here should either be absolute or relative to the CWD.

Warning

This module is currently broken. It will segfault if you try to convert multiple files. If you think you can fix it, see the convert() function of src/_sym2eps.cc.

License

Distributed under the terms of the GPLv2 License.

Copyright 2015 Chintalagiri Shashank (Cython Wrapper) Copyright 2006 DJ Delorie (Original C code)

Release History

Release History

This version
History Node

0.2.1

History Node

0.2

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
tendril-gedaif-sym2eps-0.2.1.tar.gz (33.6 kB) Copy SHA256 Checksum SHA256 Source Oct 6, 2015

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