Currentcps
PyPlanet cp tracker app
Description
Currentcps is an app for PyPlanet. It shows the progress of multiple players on the current track. The players are ordered by their current CP and their time at that CP.
Finished players
Players that already finished the track are shown first, but only the fastest 5 finished players are shown. However, each finished player can always see themselves.
Restart
When a player starts to drive and they haven't reached any CP before, they are shown with CP 0 and a time of 0:00.000. A player that has already reached a CP before and decides to restart is shown with the old CP and time until they pass a CP. The same happens with players that have already finished.
Spectating
A player is automatically set to spectator mode when they click on a name in the widget. Of course, the player will be spectating the player they clicked on. Also, players that enter spectator mode via this or any other method, will be removed from the current-CP-list. They will be re-added when they start to drive again.
Installation
Installation of this app is handled by PyPi. To install it, simply activate your virtual environment and type
pip install -U pyplanet_currentcps
The same command can also be used to update the plugin and any dependencies.
If you have already installed a version from github, you'll have to remove or
rename it.
To activate the app, open your settings/apps.py and add 'teemann.currentcps'. The file should look somewhat like this:
APPS = {
'default': [
'pyplanet.apps.contrib.admin',
'pyplanet.apps.contrib.jukebox',
'pyplanet.apps.contrib.karma',
'pyplanet.apps.contrib.local_records',
'pyplanet.apps.contrib.dedimania',
'pyplanet.apps.contrib.players',
'pyplanet.apps.contrib.info',
'pyplanet.apps.contrib.mx',
'pyplanet.apps.contrib.sector_times',
'teemann.currentcps',
]
}
If pyplanet is still running, restart it.
Metadata
Release files for pyplanet-currentcps 1.1.0
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 |
|---|---|---|---|---|
| pyplanet_currentcps-1.1.0.tar.gz | 19.1 kB | Without provenance | Details for pyplanet_currentcps-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyplanet_currentcps-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for pyplanet_currentcps-1.1.0-py3-none-any.whl |
Total release size: 38.6 kB
Release files / pyplanet_currentcps-1.1.0.tar.gz
| Download URL | pyplanet_currentcps-1.1.0.tar.gz |
|---|---|
| Size | 19.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7219d84f7d376b1db5fbf6b620a8bf0ff4a459c16658037f2ff840466a666286
|
|
BLAKE2b-256 checksum How to use checksums |
faf7fb5a41341e132b0b1a18f6c6bb17b6a067d2d0ab31bfa0aef9b55f55b34e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.1
|
Release files / pyplanet_currentcps-1.1.0-py3-none-any.whl
| Download URL | pyplanet_currentcps-1.1.0-py3-none-any.whl |
|---|---|
| Size | 19.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1d043c2b435146bc222e6efbea99fcff83aac7fa9635bc8bb02ce161c27e4020
|
|
BLAKE2b-256 checksum How to use checksums |
34928f4b61d78a0ef74527008063bce76f8acc74095007549402012d2742c348
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.1
|
Security for pyplanet-currentcps 1.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.