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 Distribution

pgcooldown-0.3.12.tar.gz (23.5 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.12-cp314-cp314-win_arm64.whl (20.8 kB view details)

Uploaded CPython 3.14Windows ARM64

pgcooldown-0.3.12-cp314-cp314-win_amd64.whl (21.4 kB view details)

Uploaded CPython 3.14Windows x86-64

pgcooldown-0.3.12-cp314-cp314-win32.whl (21.2 kB view details)

Uploaded CPython 3.14Windows x86

pgcooldown-0.3.12-cp314-cp314-musllinux_1_2_x86_64.whl (38.8 kB view details)

Uploaded CPython 3.14musllinux: musl 1.2+ x86-64

pgcooldown-0.3.12-cp314-cp314-musllinux_1_2_aarch64.whl (38.4 kB view details)

Uploaded CPython 3.14musllinux: musl 1.2+ ARM64

pgcooldown-0.3.12-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (38.9 kB view details)

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

pgcooldown-0.3.12-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (39.3 kB view details)

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

pgcooldown-0.3.12-cp314-cp314-macosx_11_0_arm64.whl (18.9 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

pgcooldown-0.3.12-cp314-cp314-macosx_10_13_x86_64.whl (18.5 kB view details)

Uploaded CPython 3.14macOS 10.13+ x86-64

pgcooldown-0.3.12-cp313-cp313-win_arm64.whl (20.5 kB view details)

Uploaded CPython 3.13Windows ARM64

pgcooldown-0.3.12-cp313-cp313-win_amd64.whl (21.0 kB view details)

Uploaded CPython 3.13Windows x86-64

pgcooldown-0.3.12-cp313-cp313-win32.whl (20.9 kB view details)

Uploaded CPython 3.13Windows x86

pgcooldown-0.3.12-cp313-cp313-musllinux_1_2_x86_64.whl (38.8 kB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

pgcooldown-0.3.12-cp313-cp313-musllinux_1_2_aarch64.whl (38.4 kB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

pgcooldown-0.3.12-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (39.0 kB view details)

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

pgcooldown-0.3.12-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (39.2 kB view details)

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

pgcooldown-0.3.12-cp313-cp313-macosx_11_0_arm64.whl (18.9 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

pgcooldown-0.3.12-cp313-cp313-macosx_10_13_x86_64.whl (18.5 kB view details)

Uploaded CPython 3.13macOS 10.13+ x86-64

pgcooldown-0.3.12-cp312-cp312-win_arm64.whl (20.5 kB view details)

Uploaded CPython 3.12Windows ARM64

pgcooldown-0.3.12-cp312-cp312-win_amd64.whl (21.0 kB view details)

Uploaded CPython 3.12Windows x86-64

pgcooldown-0.3.12-cp312-cp312-win32.whl (20.9 kB view details)

Uploaded CPython 3.12Windows x86

pgcooldown-0.3.12-cp312-cp312-musllinux_1_2_x86_64.whl (38.7 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

pgcooldown-0.3.12-cp312-cp312-musllinux_1_2_aarch64.whl (38.3 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

pgcooldown-0.3.12-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (39.0 kB view details)

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

pgcooldown-0.3.12-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (39.2 kB view details)

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

pgcooldown-0.3.12-cp312-cp312-macosx_11_0_arm64.whl (18.9 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

pgcooldown-0.3.12-cp312-cp312-macosx_10_13_x86_64.whl (18.5 kB view details)

Uploaded CPython 3.12macOS 10.13+ x86-64

pgcooldown-0.3.12-cp311-cp311-win_arm64.whl (20.5 kB view details)

Uploaded CPython 3.11Windows ARM64

pgcooldown-0.3.12-cp311-cp311-win_amd64.whl (21.0 kB view details)

Uploaded CPython 3.11Windows x86-64

pgcooldown-0.3.12-cp311-cp311-win32.whl (20.8 kB view details)

Uploaded CPython 3.11Windows x86

pgcooldown-0.3.12-cp311-cp311-musllinux_1_2_x86_64.whl (38.9 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

pgcooldown-0.3.12-cp311-cp311-musllinux_1_2_aarch64.whl (38.7 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

pgcooldown-0.3.12-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (38.9 kB view details)

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

pgcooldown-0.3.12-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (39.7 kB view details)

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

pgcooldown-0.3.12-cp311-cp311-macosx_11_0_arm64.whl (18.8 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

pgcooldown-0.3.12-cp311-cp311-macosx_10_9_x86_64.whl (18.5 kB view details)

Uploaded CPython 3.11macOS 10.9+ x86-64

pgcooldown-0.3.12-cp310-cp310-win_arm64.whl (20.5 kB view details)

Uploaded CPython 3.10Windows ARM64

pgcooldown-0.3.12-cp310-cp310-win_amd64.whl (21.0 kB view details)

Uploaded CPython 3.10Windows x86-64

pgcooldown-0.3.12-cp310-cp310-win32.whl (20.8 kB view details)

Uploaded CPython 3.10Windows x86

pgcooldown-0.3.12-cp310-cp310-musllinux_1_2_x86_64.whl (38.8 kB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

pgcooldown-0.3.12-cp310-cp310-musllinux_1_2_aarch64.whl (38.6 kB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

pgcooldown-0.3.12-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (38.8 kB view details)

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

pgcooldown-0.3.12-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (39.5 kB view details)

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

pgcooldown-0.3.12-cp310-cp310-macosx_11_0_arm64.whl (18.8 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

pgcooldown-0.3.12-cp310-cp310-macosx_10_9_x86_64.whl (18.5 kB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: pgcooldown-0.3.12.tar.gz
  • Upload date:
  • Size: 23.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for pgcooldown-0.3.12.tar.gz
Algorithm Hash digest
SHA256 b0955873f5744af1b7ebd8f90c3c49119f411c58dded3fc188a044a689cd4145
MD5 985bc9c1d53f1804f6676a76b483a57f
BLAKE2b-256 96cb097e7c646b475a43e2dc2f809803df193afc156f7fc4ab03079a7dc74205

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.12-cp314-cp314-win_arm64.whl
Algorithm Hash digest
SHA256 529d3de5d120e233f18ec9bf63227d1309278cfbd5b91130bf0c1dbc80b4bf5b
MD5 9d6029f89dc047f57701af56dff2a4a5
BLAKE2b-256 0c9e5dab5a7f9df0604236562923d96bd219a79f1e54cda98a0c65e3100133fc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.12-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 a7c2ddebd6a63f57821ff191a68bdbdbdca4c3f0477f024ea19210712b6bf015
MD5 9a51ee56361cf0ff1b60870c8de42a5f
BLAKE2b-256 e083685fdf06a0c60f23eda68382e146868d4924464f16b7c1c9bacf33673e4b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pgcooldown-0.3.12-cp314-cp314-win32.whl
  • Upload date:
  • Size: 21.2 kB
  • Tags: CPython 3.14, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for pgcooldown-0.3.12-cp314-cp314-win32.whl
Algorithm Hash digest
SHA256 f18023960246fab784b67337122bfde55a17a6dac2cb7f209c8a4fb2c0d4e70c
MD5 4b28ef0f22c90784aa6bc90ee5dd862e
BLAKE2b-256 e19e5189a2d07da914883fa6b715cafc22502b2acf0dbe3b2faaa84dadc54064

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.12-cp314-cp314-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 2851d89443db4638b35807f7492a0d90a744fb18cf748c0811aabe891b866514
MD5 3758251e13d6a90163f2e69f95e45870
BLAKE2b-256 e8f5eefa4553df43de4300a683f815ffb12040a70a1b19daf83c8d53ba369aff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.12-cp314-cp314-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 0ec3924283a98f8d141e641761317f2d9c9e27305e3d650afe5eadd45ba0949c
MD5 bd11448cf12c884e169d2d515cfcacbd
BLAKE2b-256 2b5496bc576a70547cbe401c6067bb65303c9187784826c3c493b71b63624af5

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.12-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.12-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 93f1e522828b06ad97b240209ecdd87704bd9162c6d6e9c61841001af40d11ec
MD5 4eb9e33b21e0da5861a89b43217e5dc5
BLAKE2b-256 ea2ef44cf37f5557e424dd91951833dd94b012ab538a6a46d2ef174564e2a3f3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.12-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 492564aa557e3b39f1c0a7a8c18ea3d075546bac17249600bb9ddadcec6ad01e
MD5 303396b1468bf821c532935e7afd024f
BLAKE2b-256 95f425ad858653ed44f1b46b2ac7fde15a7e389bd7949e9df459b4c1351d85fc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.12-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 31281d7d4fc2113c1cdd5fa7a35281e3b8966ee30834306971fab723c6f54684
MD5 27e81759f6fb8adacfb517677b942790
BLAKE2b-256 507745b36f5aef1e83129de15e1c25f6171843a0d08357005c81f8ef0f92923e

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.12-cp314-cp314-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for pgcooldown-0.3.12-cp314-cp314-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 b90a22f193120243216337460477dee3e49916404705dc57a723bc2c7f0c88d2
MD5 5250277ac6bfd142aa234c8da071246b
BLAKE2b-256 0603ddd39c7a6667f9f5a85579599be63e213313e1816bf1f56983bce8c7a9cc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.12-cp313-cp313-win_arm64.whl
Algorithm Hash digest
SHA256 41ae4f63e718cec7fbab66dd32b4d08ff572e43138e2d0dbb242ff22eb8bd535
MD5 ce57f044a9264c6de0af7ed8eea394b9
BLAKE2b-256 ab9af9ec1581b37c48ed74e781d7a9b2dfcdd10d9a4b3830d952d030d31911e9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.12-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 37a669d41bedae66c984acb3858f9f624c95c83702ec2e6215310bfbc591c2ae
MD5 537784bd1a38dbf9b4f20ba51b697b20
BLAKE2b-256 8cd92e161be4d841ad44d61faf9349c1094ff32dfa82e0f659d940ec8c30dab4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pgcooldown-0.3.12-cp313-cp313-win32.whl
  • Upload date:
  • Size: 20.9 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.12-cp313-cp313-win32.whl
Algorithm Hash digest
SHA256 173caf23d84e11d5b59edc7a6893c6ed87c0c2f32a193f9d1c2590ba54fd9791
MD5 b592f717d623e90320142710fbfbf4a8
BLAKE2b-256 5ac4236d9e3472c9a67a680e56d1c81a40cda108a2399d37a9c347ee76f649bb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.12-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f51169db1f9342681375ad761978bb06fe20c57c71fefe27372f4cf62258f28d
MD5 81ab167474329892a15c1d6031340ef8
BLAKE2b-256 1be5ad894b9b64b8db6ca70c16d1537678c24d1e26b95cac696deeb4fa2194ee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.12-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 884692123c9e89e401d52c3140d0d29ca8d016183d1c85a9d407be91baa3599d
MD5 e6ee735540e9499a8df92978efceb7c9
BLAKE2b-256 634f75df36901a10fd4ad20f360e275962e00312f68772804a6d6834f775dd24

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.12-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.12-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1a148a6903ae93406f934efe2b22bf12965a64252303a7ff205a435cd86b5ce7
MD5 1455f26792012d25e25b1a566389bec7
BLAKE2b-256 256ded2394d4d0c354809418107d4664f941f21ce98fabcd351ae0058c7de4b6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.12-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 1d59a2423c351df4cb90ce5b71af8a7dbda5fe970a6d735c9c36f12111cc51d2
MD5 8b46f9e2949d14b1380184d1f2fc9c5d
BLAKE2b-256 e237b377d0425cca5babe3b00da8ed1b059952940e1a496ada82b8d4d2861e44

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.12-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4870e08f8c7f45c97d53fba954244211d1815255e5bbc3eb20718c141b2a3bbb
MD5 df1e00555c895d997790ec3e40789098
BLAKE2b-256 2d7e4fd666fdd0a07e11d98aad043a764a52a9aa20272d245bd9dc022a3bbd6b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.12-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 b7acea728b2346d1f7cce43a5aa748810cce5da5b500b658634ddbcfccd25c3c
MD5 d8ebbbdcd9baac1803b2d29fc0fc1340
BLAKE2b-256 b2ee64f167fa4e65cc43b308033eb8f41f346b66257b348af032902061a4a875

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.12-cp312-cp312-win_arm64.whl
Algorithm Hash digest
SHA256 a73d1c9787ca56ff59270a8db66c8ca0c02c7c22ce3b469d66c694fd885d132f
MD5 127fd53428684da3ada5f770f10b9070
BLAKE2b-256 3db6a3978e75070d416a63e369ae91745b42e848f1bdf209d56859b796f4c208

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.12-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 30f81920073bb445bf9c23ef4e33ed73e3b64bd6372bacc448113668fe152332
MD5 654c6ecf14647e9ae516599fdfd57b4a
BLAKE2b-256 72e93b64c79b1da2597e74e7f017b59a54a71e7f5c68846f5f9b98d13254bc65

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pgcooldown-0.3.12-cp312-cp312-win32.whl
  • Upload date:
  • Size: 20.9 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.12-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 f162333f9f216e814d546ae9c6e234eb4858805be2d7928ff7fbb3f866f69a69
MD5 e875807476364ab5e55c8e131d86db99
BLAKE2b-256 8520f886b2c8b0ba3ee1e5ef55463dc919abd2122ece22aa89671c6c7b944853

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.12-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 2fec975914b87502d4a828b0e1e57f4b0d65935139e9dac7caeb033058d0ed3b
MD5 5e6cd4350030e98e32a76abfd5e2c634
BLAKE2b-256 e991eb9f201cfac6a5efa35b8359d42997da47fff47652c5cfc5eb6828227ab5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.12-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 234e09ad05551fd150e6a6a6943b8dcd59693df32aee33697cd67a6306723a5c
MD5 4af1b0b1b888db85c17e93c06632c418
BLAKE2b-256 bd8ab05d90f1ded7209757ede8c410bf046e6592fb8a035a171666365f90f655

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.12-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.12-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 abf5e4c5e198f23bece659adb846a3a5e140878c7231d620eb746a469f723cd3
MD5 9087a0333ed42cba35b554b2e03fc183
BLAKE2b-256 7e3ff36bd9e94af58b1219a285529915389ac11dbd89371879601e37e9ea6caf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.12-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a052a3740868b5bbf7ecc6e87a1a9b821d166c4f860d3f96113d15bcd694e8e8
MD5 7cd7856bb4093b6e3765b0c6448195e4
BLAKE2b-256 4489bef4cf775b4d25f4a31ca6d25ba466be579e2764ff2020a6e8926f9be8b2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.12-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 777e23bdb558678e495c829d935489d7114718ac414276e69ce22308f32a4505
MD5 50ac86a232e2371b14b51c7ea00e98ef
BLAKE2b-256 59e3425d664e4b4582275418e2ab515a074b8e67a692283f00c9d13fd98d501b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.12-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 9aa26068185733e4ae943992e6f932ac506c97c2238dced1f63cf304b52d2164
MD5 dcafb746bea2446b058eb92586bb6f42
BLAKE2b-256 6520fbfea39b2613295082f09dcbbd3be22f62dc4f29ef2b4a5ea827a3d94b64

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.12-cp311-cp311-win_arm64.whl
Algorithm Hash digest
SHA256 ecbad012af1f82bb92eeb23bfb30968905b02a28916323df720124755371408f
MD5 d522c9e17bd9af23a9534db8217fc114
BLAKE2b-256 2c64c74b2e6745943e79a3734d160eedb15cffa156a9bf68f10b0ab9b88b1379

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.12-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 85e5bc2f0de7c33d8d81c66f10e6d649692e86456831a8bddef574377229bd21
MD5 de51445745f3d1676d666d1f928787d5
BLAKE2b-256 7fd9a845b46fae017065ebbda177b7fd00320edd624e8188177701073c53613e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pgcooldown-0.3.12-cp311-cp311-win32.whl
  • Upload date:
  • Size: 20.8 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.12-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 09eb64f9cb1dfc32bc852c321dd454d1b1efa7421cac5ea1b1792ac5f7fd47d0
MD5 965608469a33d6c3552bfb75648cca7f
BLAKE2b-256 f4d9bdf500fdae1651017002e60e30d390b5f0f0da4107bf2903d5970ac3124b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.12-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 eac51f23ca85cb4879186d71409116545ff2b042095fc6b0709d7dcefa91adc4
MD5 5df1458065fde0617b9f613f64052569
BLAKE2b-256 60070176b1975ed99187a63a8eae9329209860c2a141823a8a1e63c179a32fd2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.12-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 b7721c82e45f1506af0cadfb5040834de981addb644e50cc0769aea55539aae3
MD5 e058c1664011fbb5c49ddea710095c18
BLAKE2b-256 15881841e9c5eb8c607b7692222583d1b2c01e5c6118228bd6ea1eb37eecb207

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.12-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.12-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 929c7f87b9446d5e58396699cc742878b6cdea17c636c4d4904dc02b904f91f8
MD5 edb5b53d76e70197a73dbf01e2cf03f7
BLAKE2b-256 ece7c255b01865f9709da8c20497c7b7abdc5ebcefdded1e348fe0c3b23ac648

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.12-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a6d9956837876c9c9f70df2e0dce466791ab9c5d2c16e5aced48a15a1bbdd1d9
MD5 b7e4f6d94e4034c9bb27ff05f9c8d515
BLAKE2b-256 aa96af48972f02c473b517aac45e3e494123f360418df803c4338d9145ddf396

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.12-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 83a51a56e57bb40541a1c71d8bcc5e597969fe83b1ff0de05e431ef8242597ea
MD5 920afffc27c5cb33d0927e7f3a3fc849
BLAKE2b-256 d999784f93b93a88198c461e65d1706d9085f037d76749424255b36507778c77

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.12-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c5a73daab16399af1d10e58d1852d3a70128c12f7f41cb3f48c847a14f11ebc7
MD5 9232995c47e5d6916ac5d9aed0915252
BLAKE2b-256 3e1e2efd5a8ec1c88e1e2fada5e966f2ea8d062a9cad5b444ea95999ee1ae7fc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.12-cp310-cp310-win_arm64.whl
Algorithm Hash digest
SHA256 67f33d3f000913c0edf2466d5760b241a869c4777a7823e9bb6bcd00ffe7dbbd
MD5 2aa7c362f6a5c4c8a9f13416329191cd
BLAKE2b-256 e812d64b82c9f81f64cc563c414ce9a53ef80a127cb92282c3b1e4587de29051

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.12-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 7eae0752ce5267075b72dc00cb96c1e8cbfe7b5f849d46d4c31602972451fb21
MD5 f7041de18eca6703fec4e04de0b201ee
BLAKE2b-256 00f38f29444d84374e549b5d04984b302e80a95b0353fb61cdb08b6fb945f539

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pgcooldown-0.3.12-cp310-cp310-win32.whl
  • Upload date:
  • Size: 20.8 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.12-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 a6dde84923d1c8fc4a4b80d1e08ce20709108cb3dc0793ade0243b75ca66aa8a
MD5 291fda25a4053194df3e6d4de488993f
BLAKE2b-256 d98c42e8a012663ca80ea2b5074be9a92ca5335c46a7a060a52c8aade98cbb85

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.12-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 bac51ecd08ce8ba4d64a25e1406594967678d71d25ae1b38db87e1e1f0374bb3
MD5 705cc5b1e42894abebad6eb26398250b
BLAKE2b-256 b094d35eb24f1feda4ebcd120bdbef4285d48717f106c8b98f4efef44b7ccafb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.12-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 4e51b2cdad9c59105059a7347e1bedc04f2fa65408f6f7b36c5745ef609909fd
MD5 208dd220aa1dc9a81eea719b58e36fd4
BLAKE2b-256 016e87c1708b2aadc8acb9cc8bb2b851d19623dfc69f5d86de16c1dbbef1a778

See more details on using hashes here.

File details

Details for the file pgcooldown-0.3.12-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.12-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4aef55634d54d5c1e18848de9885282141e202c1b6736b57782aa69b18c7fcad
MD5 b4598b5fd090d95e68a1153cf53976f6
BLAKE2b-256 ff68e0d21f0dacfd2d45b123961d8990e1f6ba92f9f5ae20452fa27c52c7441e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.12-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 64b568de0f6028eb59791a546c39311dd236a526d74d0e8dd822d168cdab847d
MD5 52d4068f08528eb331ff0f3dab262223
BLAKE2b-256 c56d070b5f7576832fd2000e3460e25643622c69416814c0703069cb74054917

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.12-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 785ec666cc7058030dd9fdbfd3931dd6e93c7dd1c0603b1fa0376d7b22ae4a61
MD5 d487873b630534cae60e5a102357fa35
BLAKE2b-256 5d2357ca9f66cc252bc7c841feedaf2409f85909ef6fb8dc7f7e3893635eaa68

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.12-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 796aa2246e443bc99fbf6fd3cbe3f78ea4f6964db94efcab9e73d15814eb7f00
MD5 733a33d9f566a5c98f9e530734d28ed4
BLAKE2b-256 069d90f569379fbbf17756bc2068e12f0f633fc3633c3968580cf255dc1de9f2

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