Crates.io | pygo |
lib.rs | pygo |
version | 0.1.1 |
source | src |
created_at | 2021-05-19 01:13:01.759996 |
updated_at | 2023-04-04 01:05:21.983091 |
description | Cargo like program for Python |
homepage | |
repository | https://github.com/cowboy8625/pygo |
max_upload_size | |
id | 399231 |
size | 30,290 |
PyGo is a Cargo like manager for Python
pygo new myproject
Creates a file structure like
myproject
|
- src
| |
| - __main__.py
|
- .git
|
- .gitignore
|
- README.md
The __main__.py
file will have a template like
def main():
print("Hello World")
if __name__ == "__main__":
main()
--bin
is a default argument
--lib
will create a file structure like
pygo new mylib --lib
myproject
|
- src
| |
| - __init__.py
|
- .git
|
- .gitignore
|
- README.md
new creates new project with a git repo command with --lib
or --bin
option where --bin
is default.
init creates a new project with out a git repo command with --lib
or --bin
option where --bin
is default.
run runs python project
clean clears all unused files from environment and packages.
build zips project and places it into a release directory.
test runs custom test for project.
Create custom environment for python project.