Skip to main content

A cooldown/counter class to wait for stuff in games

Project description

pgcooldown - Cooldown & co...

DESCRIPTION

This module started with just the Cooldown class, which can be used check if a specified time has passed. It is mostly indended to be used to control objects in a game loop, but it is general enough for other purposes as well.

fire_cooldown = Cooldown(1, cold=True)
while True:
    if fire_shot and fire_cooldown.cold():
        fire_cooldown.reset()
        launch_bullet()

    ...

With the usage of Cooldown on ramp data (e.g. a Lerp between an opaque and a fully transparent sprite over the time of n seconds), I came up with the LerpThing. The LerpThing gives you exactly that. A lerp between from and to mapped onto a duration.

alpha = LerpThing(0, 255, 5)
while True:
    ...
    sprite.set_alpha(alpha())
    # or sprite.set_alpha(alpha.v)

    if alpha.finished:
        sprite.kill()

Finally, the need to use Cooldown for scheduling the creations of game objects, the CronD class was added. It schedules functions to run after a wait period.

Note, that CronD doesn't do any magic background timer stuff, it needs to be updated in the game loop.

crond = CronD()
crond.add(1, create_enemy(screen.center))
crond.add(2, create_enemy(screen.center))
crond.add(3, create_enemy(screen.center))
crond.add(4, create_enemy(screen.center))

while True:
    ...
    crond.update()

CLASSES

Cooldown

c = Cooldown(c)

Track a cooldown over a period of time.

cooldown = Cooldown(5)

while True:
    do_stuff()

    if key_pressed
        if key == 'P':
            cooldown.pause()
        elif key == 'ESC':
            cooldown.start()

    if cooldown.cold():
        launch_stuff()
        cooldown.reset()

Cooldown can be used to time sprite animation frame changes, weapon cooldown in shmups, all sorts of events when programming a game.

If you want to use the cooldown more as a timing gauge, e.g. to modify acceleration of a sprite over time, have a look at the LerpThing class in this package, which makes this incredibly easy.

When instantiated (and started), Cooldown stores the current time. The cooldown will become cold when the given duration has passed.

While a cooldown is paused, the remaining time doesn't change.

At any time, the cooldown can be reset to its initial or a new value.

A cooldown can be compared to int/float/bool, in which case the remaining property is used.

Cooldown provides a "copy constructor", meaning you can initialize a new cooldown with an existing one. The full state of the initial cooldown is used, including paused, wrap, and the remaining time.

When a cooldown is reset, depending on when you checked the cold state, more time may have passed than the actual cooldown duration.

The wrap attribute decides, if the cooldown then is just reset back to the duration, or if this additional time is taken into account. The wrap argument of the reset function overwrites the default configuration of the cooldown instance.

c0 = Cooldown(5)
c1 = Cooldown(5, wrap=True)
sleep(7)
c0.temperature, c1.temperature
    --> -2.000088164 -2.0000879129999998

c0.reset()
c1.reset()
c0.temperature, c1.temperature
    --> 4.999999539 2.999883194

sleep(7)
c0.temperature, c1.temperature
    --> -2.000189442 -4.000306759000001

c0.reset(wrap=True)
c1.reset(wrap=False)
c0.temperature, c1.temperature
    --> 2.999748423 4.999999169

IMPORTANT: wrapping is meant to keep precise timing over a long period of time, while dealing with load peaks. If you constantly overshoot, you won't be able to catch back up to the full cooldown time. Your overshoot errors will accumulate.

A cooldown can be used as an iterator, returning the time remaining.

for t in Cooldown(5):
    print(t)
    sleep(1)

4.998921067
3.998788201
2.998640238
1.9984825379999993
0.998318566

Arguments

duration: float | pgcooldown.Cooldown

Time to cooldown in seconds

cold: bool = False

Start the cooldown already cold, e.g. for initial events.

paused: bool = False

Created the cooldown in paused state. Use cooldown.start() to run it.

wrap: bool = False

Set the reset mode to wrapped (see above). Can be overwritten by the wrap argument to the reset function.

Attributes

All attributes are read/write.

duration: float

When calling reset, the cooldown is set to this value. Can be assigned to directly or by calling cooldown.reset(duration)

temperature: float

The time left (or passed) until cooldown. Will go negative once the cooldown time has passed.

remaining: float

Same as temperature, but will not go below 0. When assigning, a negative value will be reset to 0.

normalized: float

returns the current "distance" in the cooldown between 0 and 1, with one being cold. Ideal for being used in an easing function or lerp.

paused: bool

to check if the cooldown is paused. Alternatively use cooldown.pause()/.start()/.is_paused() if you prefer methods.

wrap: bool

Activate or deactivate wrap mode.

Methods

Cooldown provides a __repr__, the comparism methods <, <=, ==, >=, >, can be converted to float/int/bool, and can be used as an iterator. The 'temperature' value is used for all operations, so results can be negative. As an iterator, StopIteration is raised when the temperature goes below 0 though.

cold(): bool

Has the time of the cooldown run out?

hot(): bool

Is there stil time remaining before cooldown? This is just for convenience to not write not cooldown.cold() all over the place.

reset([new-duration], *, wrap=bool):

Resets the cooldown. Without argument, resets to the current duration, otherwise the given value. See wrap for nuance.

reset() return self, so it can e.g. be chained with pause()

pause(), start(), is_paused():

Pause, start, check the cooldown. Time is frozen during the pause.

set_to(val):

Same as cooldown.temperature = val.

set_cold():

Same as cooldown.temperature = 0.

LerpThing

lt = LerpThing(vt0=32, vt1=175, duration=10, repeat=2)
sleep(1)
value = lt()

A time based generic gauge that lerps between 2 points.

This class can be used for scaling, color shifts, momentum, ... It gets initialized with 2 Values for t0 and t1, and a time duration, then it lerps between these values.

Once the time runs out, the lerp can stop, repeat from start or bounce back and forth.

An optional easing function can be put on top of t.

Parameters

vt0, vt1: float

The endpoints of the lerp at t == 0 and t == 1

duration: Cooldown(1)

The length of the lerp. This duration is mapped onto the range 0 - 1 as t.

This is a Cooldown object, so all configuration and query options apply, if you want to modify the lerp during its runtime.

Note: If duration is 0, vt0 is always returned.

ease: callable = lambda x: x

An optional easing function to put over t

repeat: int = 0

After the duration has passed, how to proceed?

0: Don't repeat, just stop transmogrifying 1: Reset and repeat from start 2: Bounce back and forth. Note, that bounce back is implemented by swapping vt0 and vt1.

LerpThing.finished(self)

Just a conveninence wrapper for LerpThing.duration.cold()

AutoLerpThing

my_class_attribute = AutoLerpThing()

A descriptor class for LerpThing.

If an attribute in your class could either be a constant value, or a LerpThing, use this descriptor to automatically handle this.

Note: This is a proof of concept. This might or might not stay in here, the interface might or might not change. I'm not sure if this has any advantages over a property, except not having so much boilerplate in your class if you have multiple LerpThings in it.

Note 2: In contrast to a normal LerpThing, you access the AutoLerpThing like a normal attribute, not like a method call.

Use it like this:

class Asteroid:
    angle = AutoLerpThing()

    def __init__(self):
        self.angle = (0, 360, 10)  # Will do one full rotation over 10 seconds

asteroid = Asteroid()
asteroid.angle
    --> 107.43224363999998
asteroid.angle
    --> 129.791468736
...

CronD, Cronjob

crond = CronD()

A job manager class.

In the spirit of unix's crond, this class can be used to run functions after a cooldown once or repeatedly. See CronJob below for how and why to use it.

Methods

CronD.update()

Check for due jobs and run them.

CronD.add(cooldown, task, repeat=False)

Schedule a new task.

The cooldown can be either a Cooldown object or a float representing the number of seconds.

The task is a zero parameter callback function that is called once the cooldown is cold.

repeat (bool, default is False) decides if the cooldown will reset and the task will run on repeat, or if the job is a one shot that will be removed.

A job id is returned, which can be e.g. used to remove a pending or repeating job.

CronD.remove(id)

Remove the scheduled job with the given id.

Installation

The project home is https://github.com/dickerdackel/pgcooldown

Installing HEAD from github directly

pip install git+https://github.com/dickerdackel/pgcooldown

Getting it from pypi

pip install pgcooldown

Tarball from github

Found at https://github.com/dickerdackel/pgcooldown/releases

Licensing stuff

This lib is under the MIT license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pgcooldown-0.3.4-cp313-cp313-win_amd64.whl (20.6 kB view details)

Uploaded CPython 3.13Windows x86-64

pgcooldown-0.3.4-cp313-cp313-win32.whl (20.4 kB view details)

Uploaded CPython 3.13Windows x86

pgcooldown-0.3.4-cp313-cp313-musllinux_1_2_x86_64.whl (38.2 kB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

pgcooldown-0.3.4-cp313-cp313-musllinux_1_2_i686.whl (37.6 kB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ i686

pgcooldown-0.3.4-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (38.6 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

pgcooldown-0.3.4-cp313-cp313-manylinux_2_17_i686.manylinux2014_i686.whl (35.7 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ i686

pgcooldown-0.3.4-cp313-cp313-macosx_11_0_arm64.whl (18.4 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

pgcooldown-0.3.4-cp313-cp313-macosx_10_13_x86_64.whl (18.0 kB view details)

Uploaded CPython 3.13macOS 10.13+ x86-64

pgcooldown-0.3.4-cp312-cp312-win_amd64.whl (20.6 kB view details)

Uploaded CPython 3.12Windows x86-64

pgcooldown-0.3.4-cp312-cp312-win32.whl (20.4 kB view details)

Uploaded CPython 3.12Windows x86

pgcooldown-0.3.4-cp312-cp312-musllinux_1_2_x86_64.whl (38.2 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

pgcooldown-0.3.4-cp312-cp312-musllinux_1_2_i686.whl (37.5 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ i686

pgcooldown-0.3.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (38.6 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

pgcooldown-0.3.4-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl (35.7 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ i686

pgcooldown-0.3.4-cp312-cp312-macosx_11_0_arm64.whl (18.4 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

pgcooldown-0.3.4-cp312-cp312-macosx_10_13_x86_64.whl (18.0 kB view details)

Uploaded CPython 3.12macOS 10.13+ x86-64

pgcooldown-0.3.4-cp311-cp311-win_amd64.whl (20.5 kB view details)

Uploaded CPython 3.11Windows x86-64

pgcooldown-0.3.4-cp311-cp311-win32.whl (20.4 kB view details)

Uploaded CPython 3.11Windows x86

pgcooldown-0.3.4-cp311-cp311-musllinux_1_2_x86_64.whl (38.4 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

pgcooldown-0.3.4-cp311-cp311-musllinux_1_2_i686.whl (37.7 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ i686

pgcooldown-0.3.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (38.6 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

pgcooldown-0.3.4-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl (36.0 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ i686

pgcooldown-0.3.4-cp311-cp311-macosx_11_0_arm64.whl (18.3 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

pgcooldown-0.3.4-cp311-cp311-macosx_10_9_x86_64.whl (17.9 kB view details)

Uploaded CPython 3.11macOS 10.9+ x86-64

pgcooldown-0.3.4-cp310-cp310-win_amd64.whl (20.5 kB view details)

Uploaded CPython 3.10Windows x86-64

pgcooldown-0.3.4-cp310-cp310-win32.whl (20.4 kB view details)

Uploaded CPython 3.10Windows x86

pgcooldown-0.3.4-cp310-cp310-musllinux_1_2_x86_64.whl (38.2 kB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

pgcooldown-0.3.4-cp310-cp310-musllinux_1_2_i686.whl (37.5 kB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ i686

pgcooldown-0.3.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (38.5 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

pgcooldown-0.3.4-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl (35.8 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ i686

pgcooldown-0.3.4-cp310-cp310-macosx_11_0_arm64.whl (18.3 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

pgcooldown-0.3.4-cp310-cp310-macosx_10_9_x86_64.whl (17.9 kB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

File details

Details for the file pgcooldown-0.3.4-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: pgcooldown-0.3.4-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 20.6 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for pgcooldown-0.3.4-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 60f46ca46a1c5ad878cf6ec9040e9c5741865a7d9906aa1eee71d9651fbc75eb
MD5 221b5c85d3fede8b0c07f1aa9d16b004
BLAKE2b-256 c78f41e98f38632a9b08817a45a08011ebb952fb82c724fe45b8243179a2f5a8

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.4-cp313-cp313-win32.whl.

File metadata

  • Download URL: pgcooldown-0.3.4-cp313-cp313-win32.whl
  • Upload date:
  • Size: 20.4 kB
  • Tags: CPython 3.13, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for pgcooldown-0.3.4-cp313-cp313-win32.whl
Algorithm Hash digest
SHA256 8d2966a2ab20012c59244e7420d6f365f7c9811834b6f74e5b7abcf59e97b373
MD5 4b98d6f394d64bf528a4d8fb89dcea53
BLAKE2b-256 ab4215c42eb81bf3605cf2b5110cf30633b9820389b7b1d6695e0cdea0bde775

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.4-cp313-cp313-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pgcooldown-0.3.4-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d0c96d3b2b05f3b8b6218e999525b4673ebca768065afc75eb9eed4db76e8a52
MD5 a0463ca5c562da00a320bd6cf32aa94d
BLAKE2b-256 a613a518f661f74be9b988a0e6f9ebf504a338ced910598e568c7e0a5a359365

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.4-cp313-cp313-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for pgcooldown-0.3.4-cp313-cp313-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 b0f854944fbcf9e9c5cb09834a60a12bc9ea3b3e4e05b689d860036292882be7
MD5 62ff570ad33750d68d9f779cf1e0af39
BLAKE2b-256 19dc72233b0f23fb54bfcfe756acbc8026ed31274f36cd16dd8279c2042e3f89

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.4-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pgcooldown-0.3.4-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 58389ef5ba81749e8f68cb40b9b64f1181c1194553954678139f970db7488066
MD5 32f704b1b6488bbea0a1b151fc16cd7c
BLAKE2b-256 4168b552cea952019f720dc84b64da94321bb64405f2d0472dead7de4981886b

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.4-cp313-cp313-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for pgcooldown-0.3.4-cp313-cp313-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 d90450783c9091b885831c04c78d685d3fe79c4d1e93c4457fb698b73a8fef99
MD5 86ceaa28648ffdcea47df0037b64420b
BLAKE2b-256 c912a09c90d9ba7ab10ffd7a1571d107b9e8c85056355397adb0419502cad527

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.4-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pgcooldown-0.3.4-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8d72c749e35a9210bad7b4e22fdb2c23918f6bded99b7e34ceb64685798cf4fc
MD5 9fe60242b7fb80bb09d65bdcb096a779
BLAKE2b-256 e633a4c546765cf05375827537fd6bd7e336749300530b7ec0dbe813e2db1644

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.4-cp313-cp313-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for pgcooldown-0.3.4-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 e4dc2551445032d684721b2dfa18ecc876f66ec141d0720b5b77b955f4d4ddda
MD5 50859697b16dfae3968301409f8eb082
BLAKE2b-256 9f6a41b463fdb9297df0cbfb514085f60fb532c68febb9f3192a86b61b160652

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.4-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: pgcooldown-0.3.4-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 20.6 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for pgcooldown-0.3.4-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 ad92a7d5d6c2466407b71bfb1445e46663f38268c34d4818b6368c48366d408b
MD5 091f7c2f83a826f8aa3d1c17cb1cf9e3
BLAKE2b-256 85c5306bcdd7d26ef4ded13fbb68ba069a41eb9962e8dfd9098f2ec8b31b7f83

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.4-cp312-cp312-win32.whl.

File metadata

  • Download URL: pgcooldown-0.3.4-cp312-cp312-win32.whl
  • Upload date:
  • Size: 20.4 kB
  • Tags: CPython 3.12, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for pgcooldown-0.3.4-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 6df8074387bfca480ea2a0c3e4d31e7ce7b415b61fc994200a26a0f58b69f323
MD5 a54571b0e41f62cf531ac8c6b2c06c28
BLAKE2b-256 8c163a76713b171e434d1bf6e32eee54718d343700789f78c40bf213e3d7836e

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.4-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pgcooldown-0.3.4-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 4618dfd337d712a4dda80c615565911984fba2c15fc9262b9f8d384f7da258cd
MD5 f8941b7f811f7195e86b144638c2bea5
BLAKE2b-256 49dc8238d2c26975f4a082251358f0248796d67883ac0ad222afdca99a8813aa

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.4-cp312-cp312-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for pgcooldown-0.3.4-cp312-cp312-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 4378373d30d05cb31fad0b7864845f4f08b3ebca3dde7f65cfa123d69aa5480e
MD5 8a1d949996a69019489105262bebe50e
BLAKE2b-256 377c021406d7e3d1a9ab6c07364b54ad7e7799857e883a5885d13b0d7d140ee3

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pgcooldown-0.3.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 709d2fb4d3279a2e92c6fce22bd6029601bde3c55155c3266ed919aff64b35e4
MD5 e218e8f95e5e39b3c2f044c7ac063221
BLAKE2b-256 703368f473ab2d37209ee8a5b3925b1cb8121750fcd15ea1bc513e049fca4490

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.4-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for pgcooldown-0.3.4-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 a29ef29c4d8f810383204bef199973887dcf4beec0bbf3a4bf926b7dae87293e
MD5 c0fb83e00e93b926e422863c3766f4b1
BLAKE2b-256 104047f5d5148aef7660fcc97127d58100ac8f1657a221f2c3af58218c9d135e

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.4-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pgcooldown-0.3.4-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 56763b8c4e52e47c5836a2552d3923e2c5731a1b475ec8183c17622b08852100
MD5 1fbf42540dd139d84c2e308fa5ec9a6a
BLAKE2b-256 f6a3d3e526fad03c5e91bc87ab1fcfffeaa3a84054d3b0d1775629c50dc5cdb2

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.4-cp312-cp312-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for pgcooldown-0.3.4-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 01f5409029e65930fc1e37a47094610c30802772deb8acd67405d967d4385111
MD5 25c3e9d31d61b84e37948d859bcddd9d
BLAKE2b-256 1a25d8901485a03df667dcde11c8495cf4b7814eabd174fb506c5fb4ccbb1a88

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.4-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: pgcooldown-0.3.4-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 20.5 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for pgcooldown-0.3.4-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 c1ad5169ef980e6941508bddafc1a527710eec4aa936f06363f78ed130f5febd
MD5 150a42c6e8df39bb479409f3a5edf012
BLAKE2b-256 78ccf8fa8dfe3f93e8e552db52d048dc73977b723c50b585f0ed7511a7763af3

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.4-cp311-cp311-win32.whl.

File metadata

  • Download URL: pgcooldown-0.3.4-cp311-cp311-win32.whl
  • Upload date:
  • Size: 20.4 kB
  • Tags: CPython 3.11, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for pgcooldown-0.3.4-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 706dc0264077a0cc7829a85ee88aef5cb10eef7575589f499d296f78c62c6ce9
MD5 15eb38d35960ef3955b317ca6f15ff2a
BLAKE2b-256 97f474e8bb8b8dd8e0a86714a90c6cea90fd1802ff88d3edd7fe3b6ebdf8840a

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.4-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pgcooldown-0.3.4-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 4be2f31e62ff962193ffdb81662644466c47bc4050701ff371d65e3cbc0e0b48
MD5 7fb5f6899554c8baa4d9465a9b91ed38
BLAKE2b-256 389c719566efc68fb206a2c1c9e25bdfa5d03bca94b05d1cce55fd370483a35c

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.4-cp311-cp311-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for pgcooldown-0.3.4-cp311-cp311-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 2b3f2465472a83610b326a0d50982c9cb2292444dd151a733f02ea3ab82ae466
MD5 97431fac3a326000c8c2e11406e00dd3
BLAKE2b-256 789584891dc28c47481606a6183eb9cf48c73b42d91f28d730fe28dcc07ae47d

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pgcooldown-0.3.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c55e5df5f90f09206c8992fc18bdb1ca6aa01e97a674bcf672acf7ed73df29a8
MD5 9420e0f67c190d9de7407d0607d8c633
BLAKE2b-256 b2a093d6646c94bec45fced8083ad4f735e1d40a66d529cf4b07eb480ee9fd01

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.4-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for pgcooldown-0.3.4-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 702fce63b527da88c82f446c3a02858a33af8f2696404983eaa07ef74c8edde1
MD5 ccc71cb862a1668f48188c48453f928e
BLAKE2b-256 d4f3370b5a7ea30ff65dfd974a23220d4ff2c9600214838842a2128c7e13d066

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.4-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pgcooldown-0.3.4-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1706dc41d7dc06b5dcebce11f936ecd2d75d169f40fbae43e8bfe1a0e90cc1af
MD5 c5ec00a4f61d8870840a9765f7a75f87
BLAKE2b-256 778777011192c609a4a4dd0f5d723658d89f772b089172a0973309136ef30532

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.4-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pgcooldown-0.3.4-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 3aec904b9c72ed9a3eb1af1db7af31768937e06f72285469035d2353215316da
MD5 b5d738baa5a3beb080b6146afd0794b3
BLAKE2b-256 43c38efae6e88b813bbea268b578a1010ae1644e7dc6b64ec231d9328d8e28d3

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.4-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: pgcooldown-0.3.4-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 20.5 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for pgcooldown-0.3.4-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 4d91f6f929dc10e15dc9315884d53b6cd8850de6d9cb4643c3d44618fa3fd235
MD5 519250122d98146e71b2e249cf3d6f4d
BLAKE2b-256 58490ece8ea9c1339b810087ee97fc44cd60f019484191a5261c45a439917ce8

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.4-cp310-cp310-win32.whl.

File metadata

  • Download URL: pgcooldown-0.3.4-cp310-cp310-win32.whl
  • Upload date:
  • Size: 20.4 kB
  • Tags: CPython 3.10, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for pgcooldown-0.3.4-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 da55a001faf15c005bbce83f506652addc47323875993806125252a4ad825669
MD5 f614bd38f177cd998ec9eb7b2926b97f
BLAKE2b-256 dc7174e810166503d89a8c965360ff9b96e876a6f1e72b77d2861ca9aad50935

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.4-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pgcooldown-0.3.4-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 1a7c7bee5f405f8013b91d4607fa2f315193d81b08e2939fb4492b13706cc902
MD5 81ea3715e6a29f0f9bd7b54f2f234393
BLAKE2b-256 7a8aa88d039aa202727d18ea5ed9057cfd862f2dade35de01846e06135aeb8a2

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.4-cp310-cp310-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for pgcooldown-0.3.4-cp310-cp310-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 261ba732681f575a8a2a1f16e9bb76675ed2f7c29b238e66372efb6db8a999ca
MD5 cb0c58851260971178e336d53ec7312d
BLAKE2b-256 7f8313e02d5435944cf430807c840b0580cd5dea3a0b4801906f2f90560a5eeb

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pgcooldown-0.3.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 070d305a7e2f3d8777f509738d5862eb5bf87ce50a080d5c380227b020f5066b
MD5 0960c55c5f1a73523712ff2bb1790dc4
BLAKE2b-256 25dbfb358aac8bce39a1dad417b5a36899b802083b585a285ff67c25bad2f4a2

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.4-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for pgcooldown-0.3.4-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 782c5f32427f0ec113cfaa959fe79bb59739c35f8c901fecaf580e3a704da5bc
MD5 f307eea0adce0fb1950709df31216d3a
BLAKE2b-256 c3db3ba395233e35ea19069df607ca6c2a273fca5d81f8a63ef6067e4b3327ab

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.4-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pgcooldown-0.3.4-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d3b6acb0e5ff2436c0b5471bedff4ba5db288427070c4e32531500fc98ba23c4
MD5 ac894f252adfa4c9f8213b859aa9dbb7
BLAKE2b-256 ba5e8d49fc7e80bce84fa24c5fc323448156240cc02469db95b7c8bfea2c1bbd

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.4-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pgcooldown-0.3.4-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 fb7a226e96db024ac836e05b56f57a1f364330cfb58befec8f182e37270d68c6
MD5 5813f96a3de7d3e9be301d2c551044b4
BLAKE2b-256 e60a0f07c18204d9d8e01bb7466b6816fd7cb128f2e7c16153becef0f5f807c2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page