fccoelho / pypixplorer

Explore PYPI's collection of packages in unusual ways
Other
9 stars 16 forks source link

========== pypixplore

This tool provides interesting ways to explore python packages, both local and remote. This package is being built as a Python teaching exercise. This does not diminish our expectations for a full featured tool. Please use and report any bugs or missing features.

Download the package to your env with::

pip install pypixplore

Getting Started

These instructions will get you a copy of this package up and running in your local machine for development and test porpouses. Keep reading if you want to deploy and contribute to the project.

Prerequisites

First of all, make sure that you have installed:

.. _Python: http://www.python.org/

.. _pip: https://pypi.python.org/pypi/pip

Installing

Let's do a step-by-step installation:

Congratulations! Now you have a version of the project running in your machine. If you want to contribute and help to build this incredible tool, keep reading!

Using

After installation you will get a command-line tool named ppx. You can learn how to use it by issuing the following command::

ppx -h
usage: skeleton.py [-h] [--version] [-s NAME] [-l] [-r RELEASES] [-i INFO]
               [-p POPULARITY] [-v] [-vv]

Copyright (C) 2017 Flavio C. Coelho This program comes with ABSOLUTELY NO
WARRANTY; This is free software, and you are welcome to redistribute it under
certain conditions; For details access:
https://www.gnu.org/licenses/gpl-3.0.en.html Explore Python Package Index

optional arguments:
  -h, --help            show this help message and exit
  --version             show program's version number and exit
  -s NAME, --status NAME
                        Show Status for a given package.
  -l, --list            List installed packages
  -r RELEASES, --releases RELEASES
                        List package latest release
  -i INFO, --info INFO  Shows package info
  -p POPULARITY, --popularity POPULARITY
                        Return the popularity of a package as the number of
                        recent downloads
  -v, --verbose         set loglevel to INFO
  -vv, --very-verbose   set loglevel to DEBUG

for example, if you want to get the dependency tree of a package, you can::

ppx -t pypixplore
pypixplore
╠═ asciitree
╠═ pipdeptree
║  ╚═ pip
╠═ pip
╠═ morfessor
╚═ tinydb
note: only two levels shown.

Contributing

To contribute to the project it is better to follow some steps.

. Hint: Make sure that you are running with the last version of the main project. Just type git pull fccoelho master on terminal.

Built With