Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
EdwardLab committed Jun 2, 2022
2 parents cdd849d + d542432 commit 9004bd5
Showing 1 changed file with 44 additions and 4 deletions.
48 changes: 44 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,33 @@
# BINPython
Lightweight and small portable Python, build with pyinstaller
<h1 align="center" name="binpython">BINPython</h1>
<p align="center">
<em>Lightweight and small portable Python, build with pyinstaller
</em>
</p>
<p align="center">

![Github stars](https://img.shields.io/github/stars/xingyujie/binpython.svg)
![Discord](https://img.shields.io/badge/Discord-https://discord.gg/dz9HwwdSXh-green)
![telegram](https://img.shields.io/badge/Telegram-@binpython-blue)
![pyver](https://img.shields.io/badge/PythonVersion-<3.5-green)
![license](https://img.shields.io/badge/LICENSE-AGPL--3.0-brightgreen)
![author](https://img.shields.io/badge/Author-xingyujie-orange)
### Discord: https://discord.gg/dz9HwwdSXh
### Telegram: @binpython
### Twitter: xyj_offical
# Why BINPython?

Because:
* no edit to registry
* no extra .dlls(only a single executable)
* licensed with AGPL-V3.0
* Easy to integrate into any program, allowing any .py file to run without compiling to an executable
* Built-in portable IDE environment, you can enjoy the highlighted standardized IDE without downloading additional IDE
* Built-in portable http server for fast file transfer
* Built-in tkinter and turtle GUI form application framework to quickly build compile-free form applications
* Built-in dynamic website running framework such as tornado pywebio, the server is carried with you
* Support to encapsulate any library into BINPython, take it with you wherever you go
* The program occupies a small storage space, only about 10mb
* If you need commercial use, please contact us for authorization
# Usage
```
-h --help View this help
Expand All @@ -11,6 +39,7 @@ Lightweight and small portable Python, build with pyinstaller
-p --plus Open BINPython IDE Plus Code Editor(beta) with http web server
```
# Build

1. Clone this project
```bash
git clone https://github.com/xingyujie/binpython
Expand All @@ -20,11 +49,22 @@ cd binpython
```bash
pip install pyinstaller
```
3. Compile with basic pyinstaller, e.g.
3. choose BINPython version to build
The standard version is for integration into programs. It is recommended to use the ideplus version for learning

## Build BINPthon Standard version
Compile with basic pyinstaller, e.g.(Only standard version(binpython.py))
```bash
pyinstaller -F binpython.py
```
(You can also use more compilation parameters, see pyinstaller documentation for details)
## Build BINPthon ideplus version
(Only ideplus version (binpython-ideplus.py)

Windows: double-click "buildwin.bat"

Linux: Go to terminal and run "buildlinux.sh" bash script

(You can also use more compilation parameters, see pyinstaller documentation for details)

4. Switch to the dist directory and find the compiled executable file, such as exe or bin file
# Use
Expand Down

0 comments on commit 9004bd5

Please sign in to comment.