Skip to main content
Help us improve Python packaging – donate today!

gEDA sym2eps Python Wrapper

Project Description

gEDA sym2eps Python Wrapper

https://badge.fury.io/py/tendril-gedaif-sym2eps.png

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 notifications

This version
History Node

0.2.1

History Node

0.2

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
tendril-gedaif-sym2eps-0.2.1.tar.gz (33.6 kB) Copy SHA256 hash SHA256 Source None Oct 6, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page