Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ichard26/black-mypyc-wheels
Getting psf/black compiled with mypyc for performance improvements. In particular, this (used to) host(s) automated wheel building configuration.
https://github.com/ichard26/black-mypyc-wheels
Last synced: about 1 month ago
JSON representation
Getting psf/black compiled with mypyc for performance improvements. In particular, this (used to) host(s) automated wheel building configuration.
- Host: GitHub
- URL: https://github.com/ichard26/black-mypyc-wheels
- Owner: ichard26
- License: mit
- Created: 2021-06-30T21:57:48.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-20T21:48:47.000Z (almost 2 years ago)
- Last Synced: 2024-10-03T03:44:15.906Z (about 2 months ago)
- Language: Python
- Homepage:
- Size: 81.1 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Black + mypyc
Hello! You've found the home base for the ongoing work getting [psf/black][black]
compiled with [mypyc][mypyc]. Mypyc is a compiler for typed Python code. The
end goal is to increase runtime performance. Since Black is already a well
typed project with type checking provided by mypy, mypyc won out over other
options like Cython. Although using mypyc isn't all smooth sailing, there's a
lot of infrastructural and tuning work to be done (not to mention compatibility
work since mypyc is in alpha). All of that is tracked here.The issue tracker details specific TO-DOs and goals, while the
["Getting Black compiled with mypyc"][project-board] project is intended as
a general overview of what has been done and what's still pending.## Performance status
See the latest performance report here: https://gist.github.com/ichard26/b996ccf410422b44fcd80fb158e05b0d
## Acknowledgements
The project is led by [@ichard26](https://github.com/ichard26).
Thank you to [@JelleZijlstra](https://github.com/JelleZijlstra) for their support and
insights while I debugged or tried to understand mypy[c]'s quirks.Many thanks goes to [@msullivan](https://github.com/msullivan) for laying the
[groundwork][initial-mypyc-pr] that this project stands on, and to the mypyc team
for building the tool.Finally, thank you to everyone else who chipped in whose name I have forgetten (sorry!).
[black]: https://github.com/psf/black/
[mypyc]: https://mypyc.readthedocs.io/
[blackbench]: https://github.com/ichard26/blackbench
[project-board]: https://github.com/ichard26/black-mypyc-wheels/projects/1
[initial-mypyc-pr]: https://github.com/psf/black/pull/1009