Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ducdetronquito/pybun
The bun toolkit, packaged for Python 🍞 + 🐍 = 🚀
https://github.com/ducdetronquito/pybun
bun bunjs python
Last synced: 25 days ago
JSON representation
The bun toolkit, packaged for Python 🍞 + 🐍 = 🚀
- Host: GitHub
- URL: https://github.com/ducdetronquito/pybun
- Owner: ducdetronquito
- License: unlicense
- Created: 2024-08-27T15:55:48.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-10-11T10:44:57.000Z (3 months ago)
- Last Synced: 2024-11-30T18:49:08.227Z (26 days ago)
- Topics: bun, bunjs, python
- Language: Python
- Homepage:
- Size: 40 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pybun
**The bun toolkit, packaged for Python** 🍞 + 🐍 = 🚀
[Bun](https://bun.sh/) is an all-in-one toolkit for JavaScript and TypeScript apps.
The [pybun](https://pypi.org/project/pybun/) Python package redistributes the Bun executable so that it can be used as a dependency in your Python projects.
Usage
-----### Command line
```shell
pybun --version
```### Run library module as a script
```shell
python -m pybun --version
```### From python
```python
import sys, subprocesssubprocess.call([sys.executable, "-m", "pybun"])
```License
-------Pybun itself is released under [The Unlicense](https://choosealicense.com/licenses/unlicense/) license.
The bun executable [has its own licence](https://bun.sh/docs/project/licensing).
Credits
-------Thanks a lot to the [zig-pypi](https://github.com/ziglang/zig-pypi) maintainers: their code heavily helped me to understand how to do the same with Bun!