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.

Note: if the lerp does not repeat, in contrast to e.g. python's range function, LerpThing will not stop short of the final value, but will include it once the time has run out.

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

LerpThing is both iterable and an iterator.

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 Distribution

pgcooldown-0.3.14.tar.gz (24.6 kB view details)

Uploaded Source

Built Distributions

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

pgcooldown-0.3.14-cp314-cp314-win_arm64.whl (21.6 kB view details)

Uploaded CPython 3.14Windows ARM64

pgcooldown-0.3.14-cp314-cp314-win_amd64.whl (22.1 kB view details)

Uploaded CPython 3.14Windows x86-64

pgcooldown-0.3.14-cp314-cp314-win32.whl (21.8 kB view details)

Uploaded CPython 3.14Windows x86

pgcooldown-0.3.14-cp314-cp314-musllinux_1_2_x86_64.whl (40.9 kB view details)

Uploaded CPython 3.14musllinux: musl 1.2+ x86-64

pgcooldown-0.3.14-cp314-cp314-musllinux_1_2_aarch64.whl (40.4 kB view details)

Uploaded CPython 3.14musllinux: musl 1.2+ ARM64

pgcooldown-0.3.14-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (41.0 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

pgcooldown-0.3.14-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (41.4 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

pgcooldown-0.3.14-cp314-cp314-macosx_11_0_arm64.whl (19.5 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

pgcooldown-0.3.14-cp313-cp313-win_arm64.whl (21.2 kB view details)

Uploaded CPython 3.13Windows ARM64

pgcooldown-0.3.14-cp313-cp313-win_amd64.whl (21.7 kB view details)

Uploaded CPython 3.13Windows x86-64

pgcooldown-0.3.14-cp313-cp313-win32.whl (21.4 kB view details)

Uploaded CPython 3.13Windows x86

pgcooldown-0.3.14-cp313-cp313-musllinux_1_2_x86_64.whl (40.9 kB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

pgcooldown-0.3.14-cp313-cp313-musllinux_1_2_aarch64.whl (40.3 kB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

pgcooldown-0.3.14-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (41.0 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

pgcooldown-0.3.14-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (41.4 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

pgcooldown-0.3.14-cp313-cp313-macosx_11_0_arm64.whl (19.6 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

pgcooldown-0.3.14-cp312-cp312-win_arm64.whl (21.2 kB view details)

Uploaded CPython 3.12Windows ARM64

pgcooldown-0.3.14-cp312-cp312-win_amd64.whl (21.7 kB view details)

Uploaded CPython 3.12Windows x86-64

pgcooldown-0.3.14-cp312-cp312-win32.whl (21.4 kB view details)

Uploaded CPython 3.12Windows x86

pgcooldown-0.3.14-cp312-cp312-musllinux_1_2_x86_64.whl (40.9 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

pgcooldown-0.3.14-cp312-cp312-musllinux_1_2_aarch64.whl (40.3 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

pgcooldown-0.3.14-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (41.0 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

pgcooldown-0.3.14-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (41.3 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

pgcooldown-0.3.14-cp312-cp312-macosx_11_0_arm64.whl (19.5 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

pgcooldown-0.3.14-cp311-cp311-win_arm64.whl (21.2 kB view details)

Uploaded CPython 3.11Windows ARM64

pgcooldown-0.3.14-cp311-cp311-win_amd64.whl (21.6 kB view details)

Uploaded CPython 3.11Windows x86-64

pgcooldown-0.3.14-cp311-cp311-win32.whl (21.4 kB view details)

Uploaded CPython 3.11Windows x86

pgcooldown-0.3.14-cp311-cp311-musllinux_1_2_x86_64.whl (41.1 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

pgcooldown-0.3.14-cp311-cp311-musllinux_1_2_aarch64.whl (40.8 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

pgcooldown-0.3.14-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (41.1 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

pgcooldown-0.3.14-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (42.0 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

pgcooldown-0.3.14-cp311-cp311-macosx_11_0_arm64.whl (19.5 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

pgcooldown-0.3.14-cp310-cp310-win_arm64.whl (21.2 kB view details)

Uploaded CPython 3.10Windows ARM64

pgcooldown-0.3.14-cp310-cp310-win_amd64.whl (21.6 kB view details)

Uploaded CPython 3.10Windows x86-64

pgcooldown-0.3.14-cp310-cp310-win32.whl (21.4 kB view details)

Uploaded CPython 3.10Windows x86

pgcooldown-0.3.14-cp310-cp310-musllinux_1_2_x86_64.whl (41.0 kB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

pgcooldown-0.3.14-cp310-cp310-musllinux_1_2_aarch64.whl (40.6 kB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

pgcooldown-0.3.14-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (41.0 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

pgcooldown-0.3.14-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (41.8 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

pgcooldown-0.3.14-cp310-cp310-macosx_11_0_arm64.whl (19.5 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

Details for the file pgcooldown-0.3.14.tar.gz.

File metadata

  • Download URL: pgcooldown-0.3.14.tar.gz
  • Upload date:
  • Size: 24.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for pgcooldown-0.3.14.tar.gz
Algorithm Hash digest
SHA256 be585b6e64b44d850c8944f8fdc218b9a9b2b9f784fdf90167bc33666a8e522d
MD5 34ba04ad43799e730d5c7a750d0cb165
BLAKE2b-256 80b24c2a5808eaeff47ba6e869b6b1a87bda6ba6a884c992661933dc62dec25a

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.14-cp314-cp314-win_arm64.whl.

File metadata

File hashes

Hashes for pgcooldown-0.3.14-cp314-cp314-win_arm64.whl
Algorithm Hash digest
SHA256 bd7801277ee2e72ac376e7805e4136ca2766a5eafdbcc3fa7e9eea0bac688889
MD5 7d9c0dd3469f2e9ffd89ab5327756e85
BLAKE2b-256 fc283af0dac90dcbdf9fa28b3eb8614dd88c896ee057ea4e29e77ef07db1c7a7

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.14-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for pgcooldown-0.3.14-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 4b84e24716301d95fd1b40aec5e16208f9236182427ee3343b8397569f9b4480
MD5 63817a452a8c726ce337a98ab662f698
BLAKE2b-256 2a1fd4d7fef12dd2b8e28cc634cc8a6d320eef46b31e0edd488b58a51b6c2599

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.14-cp314-cp314-win32.whl.

File metadata

  • Download URL: pgcooldown-0.3.14-cp314-cp314-win32.whl
  • Upload date:
  • Size: 21.8 kB
  • Tags: CPython 3.14, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for pgcooldown-0.3.14-cp314-cp314-win32.whl
Algorithm Hash digest
SHA256 4598a1ba0056a44a90cdb616f32ad3a387e5758ee041ee8b9563c7fd928ea854
MD5 2a502613d4faef755848b47b559732e2
BLAKE2b-256 0c7d6210bc755313b42a31da3cce03ae40af4eee1a361c9b52c2d39bb536ceb9

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.14-cp314-cp314-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pgcooldown-0.3.14-cp314-cp314-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 bcf0e65b26524c951a63c604976883aea61143d1696277a385c019f295a73d38
MD5 f512e780caed4ffee8f028510f587282
BLAKE2b-256 47a8084ac7e97558ebefe3498c32ba9f8407d3fc1a381515f877f2ee2069bbd8

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.14-cp314-cp314-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for pgcooldown-0.3.14-cp314-cp314-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 e345eb65bbd7e7610e28c819900b312120e5cdd4bcdbfd48fad46d419535bf44
MD5 ab70747469d06e5e30f680d0dffcd7ee
BLAKE2b-256 c3404a4913f8257dff11424f813413e5078f729cf87afcfc7b306303305a977a

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.14-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pgcooldown-0.3.14-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a06f088e54359f31e0e2d579128f6c4534466a3f5ca8a9bb5edfad1a5bd3410e
MD5 714f8a104111e95229812b4f8f7fe2be
BLAKE2b-256 cbc00ec5d308c18dfe77a4ce71dc3e18fca051dfae86ffa8a24d5a03a9a25472

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.14-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pgcooldown-0.3.14-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 6ab32b065a38040e1b13aabce97113de354eeb38c43fb676037ceba6fde1f7b4
MD5 e0f2e8faa0cf861b3128706d030df394
BLAKE2b-256 6ca6f601746c3a1967687711483b12a61ee24e452990b3fbe68dc7d530471175

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.14-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pgcooldown-0.3.14-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 75631ad3ffdfd808acce1f5d28bb89f11d4f8764d8f48b3d30d55687d723a6b9
MD5 62e712411eb374e8ad40657e3cdd9ac4
BLAKE2b-256 b00809f0fbb3e12a7ed643e6dac78df8fd86b23250981a12fdf13ac703c26fb8

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.14-cp313-cp313-win_arm64.whl.

File metadata

File hashes

Hashes for pgcooldown-0.3.14-cp313-cp313-win_arm64.whl
Algorithm Hash digest
SHA256 0fa97ee56ac4da354dc1523d1f6216593131cdd814da1ea8ac58cbe05c719312
MD5 a134eaf225e1b2bfed60a9dc8c14ab26
BLAKE2b-256 f20b97e68a90eb7c798b1042c1ab5a49f85a590fac998b3abda122029f8b6ef2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.14-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 76d8a7663599c90d5c59c1983fe5aebb2c6dbf06033bd27508b7ec90fe29b65d
MD5 a957bc96921bc2157ccd8138d0009f65
BLAKE2b-256 d809f694eca958ec8a59b23a17d681c7fcb8c3d332ff840d6b4129b57f890e09

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pgcooldown-0.3.14-cp313-cp313-win32.whl
  • Upload date:
  • Size: 21.4 kB
  • Tags: CPython 3.13, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for pgcooldown-0.3.14-cp313-cp313-win32.whl
Algorithm Hash digest
SHA256 5bbff9c9cf82b30d3e14ace44978ded30cc35e4dc0e77fe27becc0a1254e1fe6
MD5 d1d9747c05f92160e83f31611c23100b
BLAKE2b-256 b4d0974b6533b514a5d1c35483b4da61fce314ae9227c66366e7e9b8d342e981

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.14-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 9327c4ddd794aa2773ae18b3408d33bb568b16ddfd0994fca96f0e14dcd84341
MD5 d4fe223c8c4ed30d5713caee9a89aa45
BLAKE2b-256 f991a49d12d19b778c26a4d49787d2c4689e3d8c517c8370966d8d7fa47b7fbc

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.14-cp313-cp313-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for pgcooldown-0.3.14-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 0366cb8761129f1f68c902d50e1fdf57c34785ea33a0e24bda43e52e2102f8bd
MD5 6790a374228323537d1da7a003cc732b
BLAKE2b-256 2c2a76b555be95a56574e868cf9c74b51ff15cecf5e97618af6b627b317642be

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.14-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pgcooldown-0.3.14-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3ac2c26863f7815e68a4f0e7338e043380cadc5b0af83bfb45f9d4ec5940283b
MD5 15a2b694c7a2f8754638ee4b24f55659
BLAKE2b-256 cd14290ec7da5c7445e9ce39fb57552385f7c447f346521ea1228fa59bb7f169

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.14-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pgcooldown-0.3.14-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 1565d132a97ae3ab56f869da4ed0fefc489cab7c71a7fd6dd06f4a75c6932337
MD5 36d56c6fc234b1d53f3e0453e97010ab
BLAKE2b-256 48e64285e4f486507bcac15576a53d89abae0bce352171d9f0bb05da335cd45d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.14-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 59da857e7a32fc9d3befb09b31c8449c6d3b078353db2a52a124c58c14d24840
MD5 5898ee508f156e145430de6bafd007a0
BLAKE2b-256 898850ed1c564c4cf3e9a933a41109e7a164ba74df15ca6853c68af79e3e3c88

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.14-cp312-cp312-win_arm64.whl.

File metadata

File hashes

Hashes for pgcooldown-0.3.14-cp312-cp312-win_arm64.whl
Algorithm Hash digest
SHA256 50f9fb45f72b9a2dedb4d9747b36c348b00d2d26cafb9ecf6aee13b4a4c5f195
MD5 8e8d33f6c55353185bec8339984d8f49
BLAKE2b-256 01b8666a7b16c582e35f2bcdbd2fc9e79a91b86bb6eabc89125ed666e0960c56

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.14-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 e8df318d8e0df3118e3ce9eaca02eb1168abb5dd844f5787b3e721618dbeb83b
MD5 88f04ce57d761b664547110a3be18271
BLAKE2b-256 ab17a21b1f20773ac50c587a61a73b1aea357f7c8983d00c03681ea6aa36cd54

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pgcooldown-0.3.14-cp312-cp312-win32.whl
  • Upload date:
  • Size: 21.4 kB
  • Tags: CPython 3.12, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for pgcooldown-0.3.14-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 89891932c881707b7198758b3f975dd0f99d3cfc70de2f5df902ce8a4626c3ae
MD5 757b04090345acc11596af48dabdb62e
BLAKE2b-256 3902518a636848f43e4d18819811061ff1224347bb2cc5e17ba09f3532719b1a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.14-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ee340569eb0ff51aa45ab4ea191e0e9774018991e2a165c21d52276694b19772
MD5 f4f2f94ac4f909f3643b0f8415f8062c
BLAKE2b-256 8d6ad41dfc6310f88a7772b7b6b4683da60c4b43ffb19220a3bff8406d035001

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.14-cp312-cp312-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for pgcooldown-0.3.14-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 dbd43e0ad764822a824a8f88d2a81e4a50d6ac60fa2916a8ef2a75f84b834e0e
MD5 bae25fe87612a080e4de0b2deba0d385
BLAKE2b-256 04b43521392c61a58e234151347fde39871fdb04b219dcc586b3ca14b24e42a1

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.14-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pgcooldown-0.3.14-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0599af735b0c578f242dda3728fc5d5c61d27db84acdff3962b1a4930aed8bcc
MD5 cfe9c648f5009009d22b846fb3810bcf
BLAKE2b-256 9197017edac5867cfa14e2280fc44b7d331048c85f0aa77a72105c88750fe7ae

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.14-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pgcooldown-0.3.14-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 bf424a884864b312b096ca9796944a1ba81b3af1f671c15d495b3c87a6359f0d
MD5 0c097cd1b76207efa887909fe680c3aa
BLAKE2b-256 3ec1699b15e0cc3e1866458e32fb0633a75c6f5a05b541438122db3bb2cfcdf8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.14-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c22189a25c0c16e905dc39bc4a5cd1f8ea75ec4b943ea551ba5a93a7ea141dac
MD5 b7d42f193f74c3011383c35236759d82
BLAKE2b-256 e3535f687f916159cc8066c39182e690c214495ee6ac44a9f17f2646d6c483af

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.14-cp311-cp311-win_arm64.whl.

File metadata

File hashes

Hashes for pgcooldown-0.3.14-cp311-cp311-win_arm64.whl
Algorithm Hash digest
SHA256 a832d24b18d77290aa62e37fdba720d38da2dcf2651f95abc652733e022fd1b6
MD5 ba76444ff18a713ffc1d2704f915b983
BLAKE2b-256 6b989d98e4e6a6f8a73932d1081f1ef32eba9e665bd836197e998d535d6f9f6d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.14-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 62eb13653d1487af1dc385b3157e1631d7b5e6b8e9e6fea382eed51534029b8e
MD5 d508e64db7c54c65e239d69e7d128ad4
BLAKE2b-256 e0b5c5e0fa25ac69e6128a5f8b0dfce427079ec83af30a1a11aa6b0cc5aaff41

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pgcooldown-0.3.14-cp311-cp311-win32.whl
  • Upload date:
  • Size: 21.4 kB
  • Tags: CPython 3.11, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for pgcooldown-0.3.14-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 c648391dc032491859853635e46530e5fb6ef731e8abb4987c04ed30a8284cf9
MD5 70c32578ea700705cfab96a4c9c390a2
BLAKE2b-256 998e570573a417084e90e3a576f7420a345ee8eb6c214a7096932b16ea5f1f00

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.14-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e656e1d8a0f348b747006b806214d206fbdb774c48fbec38987ec8e4c525df2d
MD5 c75da903e34bdf4a31aa123eff80eb40
BLAKE2b-256 ad0bbb0a33118b859f7004dbb4dcf6f576a8aa5d2a8bc37b857e727885a7ab39

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.14-cp311-cp311-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for pgcooldown-0.3.14-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 86f54eb81a07228a38ed70eca142a27b2eceaed52acd42d6550bdb36a6eee4e8
MD5 930f6051b736eb4070e8fa7aa8cfbf5e
BLAKE2b-256 4d5d118012d8914ca0f6ad66ba5e7115806cccc2d352497f0687365df5b2029f

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.14-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pgcooldown-0.3.14-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c7c4dff1b3cdc9af24c10e4d31739eda1ccebe807e5def558235e3267430750f
MD5 c9d4a15d8476fac942d8d61f097ad06f
BLAKE2b-256 05ba1cdaa9df37ed851def98b8c59fc81b690ea4ecbc5333f92567672cba427e

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.14-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pgcooldown-0.3.14-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 fd9533846760b6f260bb1b7b839c9aaa0905d9382a3eba44fdf11ffd1229fd90
MD5 78fec2b5891b050c03ff840511cf58d7
BLAKE2b-256 545d9da115dcdb3ce5b43da393cc312355dce3f8498a056c896c7d5b04e4103b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.14-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 213ba6c377ea56f3a95e9466bfd49f04eceb28fa9a4ca94ab0928c04d2e24d79
MD5 835f4ba57755df847e1960aa734ebeac
BLAKE2b-256 ba94998b5dc4e39a93577ae9ad7aee858e8e4d52648ea8c8a7d59e5dadbb4d4d

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.14-cp310-cp310-win_arm64.whl.

File metadata

File hashes

Hashes for pgcooldown-0.3.14-cp310-cp310-win_arm64.whl
Algorithm Hash digest
SHA256 adf431e98557cd3139012b2733dfa85cda187dcaf7b537233070afd5628628e6
MD5 55feed7601c17c0e37436f516e861a5e
BLAKE2b-256 c079fa73ecf4b880d5d9eab90ba522ec418d4854ebba3ee9ac34f43973190eed

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.14-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 987c6539d6a76b131d456cfe084269ad218a522d7d9208f267912b81e6fd59a0
MD5 f7de8890fa4c78868c0fa77738b7b50b
BLAKE2b-256 7c6ebcb0d683e299eea18f70108cbd659d7f84f9728952d76c3faa5fc02ed8c6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pgcooldown-0.3.14-cp310-cp310-win32.whl
  • Upload date:
  • Size: 21.4 kB
  • Tags: CPython 3.10, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for pgcooldown-0.3.14-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 100ea56203102748ac9713462c473640121385582b5851a2b3aaef171d1f4d4a
MD5 e2ce622f07f2306d5f8850aae7b0d3fa
BLAKE2b-256 feff5bbda33e6d9aec8ee94a9e56538ebecde15cae21bf9fe2bdb32d39e0efc3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.14-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 598554d8fa87db1db8cce8a08affbb01de5705bacb0ed53eeb1631d25e2830cb
MD5 18eff602b7b97b2a111f0d50973c68c0
BLAKE2b-256 43429c2953624748a91a4f57e2b83cc4527e17e638b7562690edebb3f1880b77

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.14-cp310-cp310-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for pgcooldown-0.3.14-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 8611eeb9e0e930c6a65fa83420836fa32ddfa63c3be62339970d2d541f747598
MD5 80da478cfc1944f5e408d730167a07d2
BLAKE2b-256 6c117adb40fcaef694a7aa6719a723edc48441d53992d692fd6bbbf4e0ff62ad

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.14-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pgcooldown-0.3.14-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3b96b4e26909ef1550d51a671fac9578599aad611620c92929ff274bf85bade9
MD5 062328adbe66467e8c9d8e6ded91c012
BLAKE2b-256 d8b3953d2eaf95afa92bba27702d346c2f0bce1eb56ad2f60493eea7332a2ea8

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.14-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pgcooldown-0.3.14-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 21cb48cb81bad7caff87bad0fb8647cfb2b0d3b20fd4fe3bee476f9944336033
MD5 a4d5febfd5b15996b96a6b5e0f5b2822
BLAKE2b-256 8a0af46d695b082e72aa95097fecd29c622699b3a863596aaf4866214df252a7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.14-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a838e9b9bdfd8f7c98a4adf3604b1d5b42152dfc22a489fdc1ce301b2271959a
MD5 0b481a02221cbd74da588749bddfae36
BLAKE2b-256 9f2976efa283e2fc19861869e241c6a109ed844db04e4cf49c4ded7f10d880f6

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