Skip to content
This repository has been archived by the owner on Sep 4, 2022. It is now read-only.

heryandi/mnp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mininet Packager

Mininet Packager (mnp) is a wrapper script to help simplify the commands to download/upload packages from/to Mininet repository.

Example usage:

  • Downloading:
    • Download one package:
      • mnp download <package>
    • Download multiple packages:
      • mnp download <package1> <package2> <package3>
    • Download from custom repository:
      • mnp download <package> -r <repo_name>
      • mnp download <package> -i <repo_url>
    • Download one package, forcing upgrade if package already installed:
      • mnp download --upgrade <package>
  • Uploading:
    • Upload package:
      • mnp upload
    • Upload to custom repository:
      • mnp upload -r <repo_name>
  • Listing available packages:
    • mnp list
    • mnp list -r <repo_name>
  • Searching:
    • mnp search <query>
    • mnp search <query> -r <repo_name>
  • Print package README:
    • mnp docs <package_name>
    • mnp docs <package_name> -r <repo_name>
  • Print package information:
    • Print information of latest version of a package:
      • mnp info <package_name>
      • mnp info <package_name> -r <repo_name>
    • Print information of specific version of a package:
      • mnp info <package_name> <package_version>
      • mnp info <package_name> <package_version> -r <repo_name>

<repo_name> and <repo_url> will be read from your ~/.pypirc file, so make sure the file is setup properly.

TODO: Update the default value of <repo_url> once finalized.

mnp Development:

  • Run unit tests:
    • python -m unittest discover

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages