Open jankokert opened 1 year ago
I copied a file from a different branch: "https://raw.githubusercontent.com/pluots/PyAltium/docs-theme/src/pyaltium/helpers.py" to my "C:\Program Files (x86)\Python311-32\Lib\site-packages\pyaltium"
And also run:
pip install olefile
But now the next package is missing:
File "C:\Program Files (x86)\Python311-32\Lib\site-packages\pyaltium\_helpers.py", line 10, in <module>
from pyaltium.magic import MAX_READ_SIZE_BYTES
ModuleNotFoundError: No module named 'pyaltium.magic'
Somehow it seems, that all the dependencies are broken. What is going on?
Hello!
This project is incomplete and I have not had a chance to work on it. Specifically, I hit a limitation in parsing the binaries in Python (which was a silly idea in retrospect). So, unfortunately, this project is unsupported until I get a chance to rewrite the parser. I have updated the readme to reflect this.
If you are interested, you are welcome to make PRs to fix anything, but I can't promise anything about the functionality of the project at this point.
Hey @jankokert, I now have a working library for this in Rust. The API is much much cleaner than the Python version and it's significantly less buggy (and much faster).
I'm not sure how familiar you are with the language, but if you'd like to try it out the docs are at http://docs.rs/altium and the repo is here https://github.com/pluots/altium. Python bindings are an eventual plan, but that's a long way off.
Hi, when I run the first example (SchLib - Sample usage) , I get this error message:
I'm using Python 3.11.1 and installed pyaltium using:
In the git repository I can not find the file. Is there really a file missing? Please fix it. Thank you very much in advance!