Skip to main content

npspy

Code style: black

npspy is a simple package to calculate NPS (Net Promoter Score).

Install

pip install npspy

Example

import npspy

npspy.categorize(0)  # "detractor"
npspy.categorize(7)  # "passive"
npspy.categorize(9)  # "promoter"

npspy.calculate([0, 7, 9])  # 0
npspy.calculate([7, 9])  # 50
npspy.calculate([0, 7])  # -50

Metadata

Release files for npspy 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for npspy 0.1.0
File Size Uploaded Provenance Actions
npspy-0.1.0.tar.gz 2.5 kB Without provenance Details for npspy-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for npspy 0.1.0
File Interpreter ABI Platform Actions
npspy-0.1.0-py3-none-any.whl Python 3 none any Details for npspy-0.1.0-py3-none-any.whl

Total release size: 5.3 kB

Release files / npspy-0.1.0.tar.gz

Download URL npspy-0.1.0.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
5b6ce4e45bbaf7b95985f36e98914f23b1a4954c222ae13218e92ce895ad6fa7
BLAKE2b-256 checksum
How to use checksums
10b178b7eede2c02a9c575c31f112a9f63368091a4d207ab76be245ead1d6d10
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.8 CPython/3.9.1 Linux/4.19.128-microsoft-standard

Release files / npspy-0.1.0-py3-none-any.whl

Download URL npspy-0.1.0-py3-none-any.whl
Size 2.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
15021cf76328ce149605511558dced2fa22af20b767fa3747d1706fc4b266a0d
BLAKE2b-256 checksum
How to use checksums
5edbbb71eac415492e91cde47b2f7238917d3d2fc63ad8ab7a73560729a7224e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.8 CPython/3.9.1 Linux/4.19.128-microsoft-standard

Security for npspy 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page