ClickCounter
Create redirect url's with click monitoring from multiple providers.
Features
- Growing list of click count providers (with a common lib interface)
- Commandline tool (CLI)
- Simple and easy to use
Support the development ❤️
You can support the development by:
Install
Install from pypi:
$ pip install clickcounter
Usage (module)
using the default provider (
shorturl.at)
import os
import time
import clickcounter
track_url = clickcounter.register_url("https://example.com")
print(track_url)
first_count = clickcounter.get_visits(track_url)
print(first_count)
clickcounter.make_visit(track_url)
time.sleep(2)
second_count = clickcounter.get_visits(track_url)
print(second_count)
# https://shorturl.at/iANR5
# 0
# 1
more examples here:
Usage (CLI)
usage: _cli.py [-h] [--provider PROVIDER] [--username USERNAME] [--password PASSWORD] [--url URL] [--trackurl TRACKURL]
command
positional arguments:
command valid commands: register, get, getall
optional arguments:
-h, --help show this help message and exit
--provider PROVIDER defaults to shorturl.at
--username USERNAME some providers require login
--password PASSWORD some providers require login
--url URL used during register
--trackurl TRACKURL used during get
example:
$ clickcounter register --url https://example.com
https://shorturl.at/wABHQ
# visit the link in browser...
# and then get click count via:
$ clickcounter get --trackurl https://shorturl.at/wABHQ
1
Metadata
Release files for clickcounter 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| clickcounter-1.0.4.tar.gz | 5.3 kB | Without provenance | Details for clickcounter-1.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| clickcounter-1.0.4-py3-none-any.whl | Python 3 | none | any | Details for clickcounter-1.0.4-py3-none-any.whl |
Total release size: 12.3 kB
Release files / clickcounter-1.0.4.tar.gz
| Download URL | clickcounter-1.0.4.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6e423d3e448d641bfac509e5a3348178898a88976c07a6d50dd1237b809ed594
|
|
BLAKE2b-256 checksum How to use checksums |
2093d61c8fb3187feab4cf75c83af7195ebcf61f81d0ee7e7ea39f3716a0b84a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.5 CPython/3.8.6 Darwin/19.6.0
|
Release files / clickcounter-1.0.4-py3-none-any.whl
| Download URL | clickcounter-1.0.4-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d141f647b516762182c2c69c78b01126a7750ae4f570d74098aaa9fabe4c664d
|
|
BLAKE2b-256 checksum How to use checksums |
bcd3a7394ecf2b426d13c2e059537b4eb697e409285a3216db7de8994285c5ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.5 CPython/3.8.6 Darwin/19.6.0
|
Security for clickcounter 1.0.4
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.