A Python library to monitor an npm package!
Project description
Overview
npm_analyser is a Python library to monitor an npm package!
Package Installer
pip install npm-analyser==1.0.0
Usage
from npm_analyser import npm_analyser
'''
package_name -> string npm package name.
'''
package_details = npm_analyser(package_name)
print(package_details.package_name)
print(package_details.version)
print(package_details.weekly_downloads)
print(package_details.license)
print(package_details.last_published)
print(package_details.get_dev_dependencies)
Utilities
Name | Description |
---|---|
package_name | Returns the npm package name! |
version | Returns the npm package version! |
last_published | Returns the npm package last published date! |
total_versions | Returns the total versions of npm package! |
number_of_dependents | Returns the total number of dependents of the npm package! |
get_dev_dependencies | Returns the dev-dependencies of the npm package! |
weekly_downloads | Returns the weekly downloads of the npm package! |
license | Returns the license of the npm package! |
unpacked_size | Returns the unpacked size of the npm package! |
total_files | Returns the total files of the npm package! |
Requirements
The requirements.txt
file has details of all Python libraries for this package, and can be installed using
pip install -r requirements.txt
Organization
├── src
│ ├── npm_analyser
├── init <- init
├── npm_analyser <- package source code for npm analyser
├── setup.py <- setup file
├── LICENSE <- LICENSE
├── README.md <- README
├── CONTRIBUTING.md <- contribution
├── test.py <- test cases for unit testing
├── requirements.txt <- requirements file for reproducing the code package
License
MIT
Contributions
For steps on code contribution, please see CONTRIBUTING.
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 Distribution
npm_analyser-1.0.0.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for npm_analyser-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea92160c9f6ca5ee49dca88e68a64e8031ddb6156d7b9759b4ee8491e48f1b9a |
|
MD5 | 6a3b74825c18533873a20e783866079f |
|
BLAKE2b-256 | 875699eec6b202b12f46c992415a53a6447ed28e9332a362d4eb86ca35e6b2b4 |