Skip to content

A package manager for python binary applications. Similar to rust's cargo. Very similar hehe.

Notifications You must be signed in to change notification settings

sriram1999s/PyCargo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PyCargo

A Package Manager for Python, similar to Rust's Cargo

Functionalities

Dependancies

  • python3 or greater
  • pip3 or greater

Installation

  1. Clone the repository
  2. Run the install script (install.sh)
  3. add this to your shell config file : export PATH=$PATH":<enter-path-to-directory>/src

Test your install by running:

PyCargo help help

Your output should look like this:

PyCargo, a package manager for python binary applications!

	 help - Woah!! I see what you did there :D

Usage

Help

lists all command possibilities

PyCargo help

Creating Package

Creates a new package in the current working directory

PyCargo new <name>

Also creates the following:

  • PyCargo.toml : a file to specify package details and dependencies

Initializing directory

Initializes the current working directory as a PyCargo managed directory

PyCargo init

Make sure to be in a PyCargo managed directory for the following commands!

Running

Automatically installs necessary packages specified in PyCargo.toml

PyCargo run

Also creates the following:

  • PyCargo.lock : to lock updation/installation of dependencies

Updation

Explicitly update/install dependancies

PyCargo update

TOML creation

Creates new toml file

PyCargo create_toml

About

A package manager for python binary applications. Similar to rust's cargo. Very similar hehe.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published