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')
License
Distributed under the terms of the GPLv2 License.
Copyright 2015 Chintalagiri Shashank (Cython Wrapper) Copyright 2006 DJ Delorie (Original C code)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file tendril-gedaif-sym2eps-0.2.1.tar.gz
.
File metadata
- Download URL: tendril-gedaif-sym2eps-0.2.1.tar.gz
- Upload date:
- Size: 33.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38645985be7bc690f6931dd909e6e2c5dacf516e51d5ca2f8928e04bfac5625a |
|
MD5 | f9d8fc079c975f5c3dc882586461aae6 |
|
BLAKE2b-256 | e29ff0b4ec90db279c9a123497dbe520b292a948871909a25cc8fd92798dcded |