3 unstable releases

0.1.1 Apr 4, 2023
0.1.0 Nov 17, 2021
0.0.1 May 19, 2021

#22 in #create-file

28 downloads per month

Custom license

15KB
388 lines

PyGo

crates.io lastupdated GitHub repo size issuse Lines of Code License Discord Chat

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

RoadMap

  • 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.

Dependencies

~2–3MB
~53K SLoC