Skip to main content

A Python package that displays several information about a RubyGem.

Project description

Pygeminfo is a python package for displaying statistics about Rubygems. Its equivalent is the Rubygem called geminfo. It allows you to see several information about a Gem like Name, Author, UserID, Secure Hash Algorithm, Key, Total downloads, Latest version, total gems owned by author, gem’s release date etc.

MODULES –> gems

Contains a class Stats that takes one argument Gem name and has seventeen methods to display several information.

Stats

  • name() –> returns gem name.

  • authors() –> return gem’s Author names.

  • total() –> return gem’s total download for all versions.

  • latest() –> return Gem’s total download for latest version.

  • latestversion() –> returns gem’s latest version.

  • info() –> returns gem’s description.

  • licenses() –> returns gem’s licenses.

  • metadata() –> returns gem’s metadata.

  • sha() –> returns gem’s Secure Hash Algoruthm 256 Checksum.

  • projectURL() –> returns gem’s project URL.

  • gemURL() –> returns gem’s URL.

  • homepage() –> returns gem’s dedicated website.

  • wikiURL() –> returns gem’s wiki URL.

  • docURL() –> returns gem’s documentation URL.

  • mailURL() –> returns gem’s mailing list URL.

  • sourceURL() –> returns gem’s source-code URL.

  • bugURL() –> returns gem’s bug tracking URL.

as well as seven other methods.

Methods

# Argument is gem's name
gemversions("eventsims")

# Argument is username or ID
usergems("pixeltrix")

# Argument is gem's name
owner("rails")

# Argument is gem's name, optional--> (page number , amount to show)
search("gem")

# Optional --> (amount to show)
latestgems(5)

# Optional --> (amount to show)
updatedgems(3)

# No optional argument
downloads()

Importing

from pygeminfo.gems import *

help on using this package is included in the examples folder.

For more help information please see examples in the package or checkout its documentation at http://www.pythonhosted.org/pygeminfo/

Requirements

  • Any version of python

Download

Download and install using:

pip install pygeminfo

Issues

There are some unicode encoding issues on python 2 but it works fine on Python 3. It also works on Python 2 but sometimes, the errors arise so its better and advisable to use it on Python 3. Furthermore, you may need to do

pip install json
pip install requests

if it doesn’t come with your python package

Acknowledgements

All glory belongs to God and praise be to his holy name.

Contact

If further information or help is needed, feel free to contact me on my email at taiwo.kareem36@gmail.com This is still in a test mode please if any error or bugs is found, feel free to contact the developer and give details

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

pygeminfo-0.0.1.zip (7.6 kB view hashes)

Uploaded Source

pygeminfo-0.0.1.tar.gz (5.6 kB view hashes)

Uploaded Source

Built Distributions

pygeminfo-0.0.1.win32.exe (200.0 kB view hashes)

Uploaded Source

pygeminfo-0.0.1-1.src.rpm (12.0 kB view hashes)

Uploaded Source

pygeminfo-0.0.1-1.noarch.rpm (15.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page