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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
File details
Details for the file pygeminfo-0.0.1.zip
.
File metadata
- Download URL: pygeminfo-0.0.1.zip
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 463cbd7f986278fd47a839847c83001a9722a66d7cb404587cc49768213b192f |
|
MD5 | d4199bdf2eef53043d8038b785fc4709 |
|
BLAKE2b-256 | f38ae32e96c7e50fc13c6418c0d5ac19262bda9b17ecf3ac68b010ca44986e84 |
File details
Details for the file pygeminfo-0.0.1.tar.gz
.
File metadata
- Download URL: pygeminfo-0.0.1.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4aa58c58c3944f154f4c876daa01f8c263ab406415e140b3eb49afb5f32ac40 |
|
MD5 | 38d75efa0c8924e9e05c9d6f2a4c08ee |
|
BLAKE2b-256 | 20b51b850501dfb38ead533b98b4f0be068832c61b909112db53c0a8bf1ed495 |
File details
Details for the file pygeminfo-0.0.1.win32.exe
.
File metadata
- Download URL: pygeminfo-0.0.1.win32.exe
- Upload date:
- Size: 200.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc832b5cec362a3aaf118d722effb6503dfdc5f2db294d2198b2aa2c0717c87b |
|
MD5 | 7b6880b7f09be75b454d5202c7b43a1b |
|
BLAKE2b-256 | b1cd81ca78236be57c6cbc9f5a4d0e1b2071cdf753edafe86b94be7143a6969f |
File details
Details for the file pygeminfo-0.0.1-1.src.rpm
.
File metadata
- Download URL: pygeminfo-0.0.1-1.src.rpm
- Upload date:
- Size: 12.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28b9b4ea589ca8c6eaaa199f569a9fd12d5421c729e6c96997221aeff821f48a |
|
MD5 | 0b15182205f1da2bef2890e525e53991 |
|
BLAKE2b-256 | 9fac44f35874b68e5c9ddc462f5afa0c3e82b8f0edaa2ae5c9f454ef76a066c4 |
File details
Details for the file pygeminfo-0.0.1-1.noarch.rpm
.
File metadata
- Download URL: pygeminfo-0.0.1-1.noarch.rpm
- Upload date:
- Size: 15.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab2a95fd772d2514d6fb6fd8e8244de9dcc26703b2ada9d936036a711f70ea5c |
|
MD5 | 67e3231c073dc87f957faf20ab7d90c1 |
|
BLAKE2b-256 | 69433280398070dc6e939d0cf2576f769fd21b19810399a6c0536830483662ae |