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
File details
Details for the file npm_analyser_withrepo-1.0.0.tar.gz.
File metadata
- Download URL: npm_analyser_withrepo-1.0.0.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 colorama/0.4.6 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.28.1 rfc3986/1.5.0 tqdm/4.64.1 urllib3/1.26.5 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ae300ff21e7b9709c1e65c0bdde0726a897bbfae5b91771d0299e4c4c2bcb43e
|
|
| MD5 |
82f1702f79e98d0a6eab64cbf102a292
|
|
| BLAKE2b-256 |
c6ee086f6d4a96f243fe89faf439e0716a490e8ae995796b74dd26760ebd2d7b
|