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.9.tar.gz (23.2 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.9-cp313-cp313-win_amd64.whl (20.8 kB view details)

Uploaded CPython 3.13Windows x86-64

pgcooldown-0.3.9-cp313-cp313-win32.whl (20.7 kB view details)

Uploaded CPython 3.13Windows x86

pgcooldown-0.3.9-cp313-cp313-musllinux_1_2_x86_64.whl (38.5 kB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

pgcooldown-0.3.9-cp313-cp313-musllinux_1_2_i686.whl (37.8 kB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ i686

pgcooldown-0.3.9-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (38.8 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

pgcooldown-0.3.9-cp313-cp313-manylinux_2_17_i686.manylinux2014_i686.whl (35.9 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ i686

pgcooldown-0.3.9-cp313-cp313-macosx_11_0_arm64.whl (18.6 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

pgcooldown-0.3.9-cp313-cp313-macosx_10_13_x86_64.whl (18.3 kB view details)

Uploaded CPython 3.13macOS 10.13+ x86-64

pgcooldown-0.3.9-cp312-cp312-win_amd64.whl (20.8 kB view details)

Uploaded CPython 3.12Windows x86-64

pgcooldown-0.3.9-cp312-cp312-win32.whl (20.6 kB view details)

Uploaded CPython 3.12Windows x86

pgcooldown-0.3.9-cp312-cp312-musllinux_1_2_x86_64.whl (38.4 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

pgcooldown-0.3.9-cp312-cp312-musllinux_1_2_i686.whl (37.8 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ i686

pgcooldown-0.3.9-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (38.9 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

pgcooldown-0.3.9-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl (35.9 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ i686

pgcooldown-0.3.9-cp312-cp312-macosx_11_0_arm64.whl (18.6 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

pgcooldown-0.3.9-cp312-cp312-macosx_10_13_x86_64.whl (18.3 kB view details)

Uploaded CPython 3.12macOS 10.13+ x86-64

pgcooldown-0.3.9-cp311-cp311-win_amd64.whl (20.8 kB view details)

Uploaded CPython 3.11Windows x86-64

pgcooldown-0.3.9-cp311-cp311-win32.whl (20.6 kB view details)

Uploaded CPython 3.11Windows x86

pgcooldown-0.3.9-cp311-cp311-musllinux_1_2_x86_64.whl (38.6 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

pgcooldown-0.3.9-cp311-cp311-musllinux_1_2_i686.whl (38.0 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ i686

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

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

pgcooldown-0.3.9-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl (36.3 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ i686

pgcooldown-0.3.9-cp311-cp311-macosx_11_0_arm64.whl (18.6 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

pgcooldown-0.3.9-cp311-cp311-macosx_10_9_x86_64.whl (18.2 kB view details)

Uploaded CPython 3.11macOS 10.9+ x86-64

pgcooldown-0.3.9-cp310-cp310-win_amd64.whl (20.8 kB view details)

Uploaded CPython 3.10Windows x86-64

pgcooldown-0.3.9-cp310-cp310-win32.whl (20.6 kB view details)

Uploaded CPython 3.10Windows x86

pgcooldown-0.3.9-cp310-cp310-musllinux_1_2_x86_64.whl (38.5 kB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

pgcooldown-0.3.9-cp310-cp310-musllinux_1_2_i686.whl (37.8 kB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ i686

pgcooldown-0.3.9-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (38.7 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

pgcooldown-0.3.9-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl (36.1 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ i686

pgcooldown-0.3.9-cp310-cp310-macosx_11_0_arm64.whl (18.6 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

pgcooldown-0.3.9-cp310-cp310-macosx_10_9_x86_64.whl (18.2 kB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: pgcooldown-0.3.9.tar.gz
  • Upload date:
  • Size: 23.2 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.9.tar.gz
Algorithm Hash digest
SHA256 d771127f431a8c54abab7ab34fdd0548f2781760b2698442e5eae93936ab7397
MD5 78411a22f2eed182e07ee027933ea609
BLAKE2b-256 1ea9039f37ec290f865c6b1ac54d0d2063ed95f563694c1e148d9a61486e4c17

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pgcooldown-0.3.9-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 20.8 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.9-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 1e7d332752eb671d281bc8214aea01b0c8b87a1865d816848613fc1857afebb9
MD5 49c5544fcc7fd4fc86f8041881df8493
BLAKE2b-256 a9ddb0719dcdedcdaf4c7080d3be6d84004d304e78eb085c593cf30153132667

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pgcooldown-0.3.9-cp313-cp313-win32.whl
  • Upload date:
  • Size: 20.7 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.9-cp313-cp313-win32.whl
Algorithm Hash digest
SHA256 faea94a007f0c647d4afb1432d37ab97c49943c4eec38092f8fbae849c098580
MD5 ca43279fb330bfa825240a8d148641b9
BLAKE2b-256 5a92ddb21ff0ce2bfe6a127174d102c9e8f9f6a87c637bdcd77a2368dc08c5a2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.9-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8fa2333cd0b599755d7c15b2ec26eaa6bc45b45267429bdb0ddd6012dc4fc646
MD5 39cbb814f0429784bbd426c5c0621204
BLAKE2b-256 4f6f1b8c213a33a51cf0926dd95f808fd46c152ae9de154fb0e8e681187fb88f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.9-cp313-cp313-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 20c924936b567bb3b8113a08cc0ed531040f577dfacd1c74146ab9b0219507bb
MD5 570910089301cbccc89c5c66bd8bd9b5
BLAKE2b-256 cbf20f725c00b77af508766051ec637ef206ecb2bd076570a9e1b9e061498f06

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.9-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 43d496efbf067d8476203964e8885ab28e3e6d3de5b7812f4a884bbb5d586964
MD5 10123de9e23327154a08cf6c376055cd
BLAKE2b-256 864b63475ea65e76559e52a41047a1456f1920ac44b4397e6a2489d31d6e3a2a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.9-cp313-cp313-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 0f7aa59f3ee0d3a0d63085dfecfd986ab0a1c7db13cf6e8caaa1d292e5405c93
MD5 a8fef78a4d9a05a84e325a9197552d1d
BLAKE2b-256 76aa7524685649c7c32be6c525a072cfe352f9bf5258f5442854be6264a6ea3d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.9-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 72ad95aad6e88b1ea097f14cf38410989a8e1837ca219bf38d1ea7f6a27e731d
MD5 b42cdf8ddb05b462cd3dd3faf81e6419
BLAKE2b-256 162c143b72b5f98e236777ebc449ecdfc7e88713c4a6797b6169064833109bf0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.9-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 a2ae16ac6dbc9871151180ffad897c5bef18762958cf3e9f304b090d244b7ea6
MD5 57e1400a8747050885b324efe1fa9507
BLAKE2b-256 8e333bbd103c508f0400be7ea4640f4e126dcf75b2a31b74a06b9a41f0d49b35

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pgcooldown-0.3.9-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 20.8 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.9-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 db061219777f72f5efab9274d389e7dbfaf7d1f859cf67083da08264816b3439
MD5 83362fcc43ac676f72889e777fae735a
BLAKE2b-256 84acd700c1f961c1256341f5de768de94b8e71825c7a15207eaa613a03461d36

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pgcooldown-0.3.9-cp312-cp312-win32.whl
  • Upload date:
  • Size: 20.6 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.9-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 5df494615a19e44591f8f7bce2aaa8997f80369efd3a70b7891c843087c23b17
MD5 9cc2be3cf40056314360cc3f49528e46
BLAKE2b-256 312d11b1042afaa4ed64198129059785a0bc7d5a724583eb66a3e6163b583421

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.9-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 6640f0b59f39f3abbe3299a5fa4780cc6271ba3f9945df36d7d8fc309288e4a9
MD5 ac67be2c4b30b1de7a6fb435669ddb71
BLAKE2b-256 8ed89ad065190e410c57497c25b5eb54920e50d42c509d7cf53944f39899df5e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.9-cp312-cp312-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 6f3d8c7c326984a0c7ecde40881c414937e69900553f2c5c084cf4534b1d564e
MD5 aa3a69d3f687b369e98b7f1fcffa3da2
BLAKE2b-256 9a5466a5f57210265e4c1579e9d3b30739ebc0e1fa25bf4a4b9e0859d6726d27

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.9-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0842430b30c24b6fb21af84f77ffe0c1a1037739e6d8386ffea607ac8950dfe2
MD5 c099848458c70f19322c8cbf85749a79
BLAKE2b-256 ed50ee854b0c46e2f8289592792898ed06f202ea9489e7babc5ab9e956a6dd0e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.9-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 2b11958d90dbbee9a75c81842196b592322edd48985b1e0f283c3c1cd0c3c6cb
MD5 eec0ad14a0e41c1a4348c5a386ed0e32
BLAKE2b-256 9582b70135fd4676976703c3a06290dce0e0460291e58b336067683124d20541

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.9-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ddd328f40270f89912a38f81064d5d677cc1646b89a34c015ab0e6d39fb4c783
MD5 9cd31cce0bd9a677dff0b43acf0b9f00
BLAKE2b-256 797c70fbbdf68ef26c8a51c32735c2efe8c32a6eb53268db20eebb81c0dcbc40

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.9-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 fd29dae9fe9f5e080ec6e20d582f336bad4bac63aae6a16d26461879e992a4db
MD5 27390ed2e1ff8efe89c225ce474d430d
BLAKE2b-256 ea4868879c2813355bd150e4d8c1a34c68a0c325e3e2995995dd97ef311906bd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pgcooldown-0.3.9-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 20.8 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.9-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 27e667051554ea3803b0f772bcd520da525fd470dac425b862a8273295b23d2c
MD5 60b6c6b109f7d08411e44ff823f34c59
BLAKE2b-256 5524afb80319a504249bb5cbab8a5e1366dfa6c1a35e2d7b94cc31dc87ae9ff7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pgcooldown-0.3.9-cp311-cp311-win32.whl
  • Upload date:
  • Size: 20.6 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.9-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 46943c709b7e3a0027cd92218394441fa1988ca0a1368baa29893dff0c588d89
MD5 f395e57a5b6e6382ad0a6b0fe1b79e38
BLAKE2b-256 8836463bce5bb6f08639177b1f14c51297c77650b3c0a4b9f67a14edec9948cb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.9-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 a7cfa7cfb8dd61acabb0e7a4ea305081ff2d0a811b56942e4db517963a94c911
MD5 2ea3cccc21235ca5848f10b45fc54f0d
BLAKE2b-256 c7df678fe03da2b9643c29f627e59cd6078f101b9acbeec0c3cf7eace4ce54d0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.9-cp311-cp311-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 5a7bcf3134a610aae1fd7e525941d137c377a4c12b6a49e6a9c851aca530b5cc
MD5 06d80c0b5342230544cbb7f976c0cf60
BLAKE2b-256 79bbfaf5553db063f400e4a6786cd00d25eac983a19b82afde6c829f74cacf7a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.9-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3b424358fa70570b0009ed389a2148c87f80fdf3dbfb286a412df629e83b3236
MD5 6cf654e4ea1d0825da22569f018e7d2d
BLAKE2b-256 31d639e8cdd93d6a551a010c477bdcb9700d2db161264861b64269ced60a5f21

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.9-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 3b130f428bb00d6172def1f8edf19944b6d38d075cf729ed74ce7f5b8d489a6e
MD5 6216faa2ea589ca3d2d1b5db61976c4a
BLAKE2b-256 ebcc53e07f49950ef358d6b17cd3dda9ca0d4d95abf184da425b819ca4700ded

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.9-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 dc71a47cf1d9134dddffa64c27018c0bc992b5d00aeca61e7a1b5473f8157fc4
MD5 151a0225517fb00f1c42879107e6a3f8
BLAKE2b-256 a99e87356dea709ea336c14f2d2b97224ee029b231a806ecdcd448f652a126c0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.9-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 07e541a6f0fcf96822bcedecf2dd7e3b5aa623ba73bed9c911fbd7dc127b1907
MD5 6a9fe5844ed5dc8dadc29681185afa2f
BLAKE2b-256 757714e507fcb6f9fad360c4519ced96a089579ed9f750f8abc9cd90b0b17114

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pgcooldown-0.3.9-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 20.8 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.9-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 c367edb465200e396c99e23d6a103148a659405b37121a1a92c0171548ba40b4
MD5 c3957be648b72dd464b3cecb7388b8ae
BLAKE2b-256 fe05b0d4e309496f1cd3462827bb3cc9a0f9af2d9622be4c797bae9ee123ec40

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pgcooldown-0.3.9-cp310-cp310-win32.whl
  • Upload date:
  • Size: 20.6 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.9-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 6dee75a78e629c133277c52f17db3de0fe80aaa527d03b5181ac74a14d8f6a1c
MD5 e0ef35f06a71d4d801c88dbbbf3d491c
BLAKE2b-256 9dfdf71c9351a815ba4a1ccc7ec49cfb137051d5031a80867f68507d4e71e3a6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.9-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 c442447b83ca11fb4a60ec8029dd81e8a1f7a467bde4a03cb25872faa23e60f1
MD5 8e9050cab8dee7c377be0648afacfde8
BLAKE2b-256 d7946f532639f5f78e2b2ebe5eaeeb054d5f73eef4c5892de808f8e7684688e7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.9-cp310-cp310-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 ca0bac2c4c25368671666dc295229d64172e4e7d2ba6d38455d47b124f0698f7
MD5 50025885d7ecc4db9f6f71bd80593c4c
BLAKE2b-256 263ab52c65712bef372cc155a853c4750c4420bfd3373902c292d64dbb19c0a6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.9-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cee805d3aa8f59ac8f290be7cdcd89a468c8ba434841467ed8aade7ff62125b7
MD5 78d606832ca748059178eb30d7523145
BLAKE2b-256 24edcc061dee662aa9610fdde12d1cb230398abafaa24dc51b8963dbadbe7ee2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.9-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 2f5da4fc696449057179e4aab275eb18533011356f2d52ebb05ab8889b978b4b
MD5 794416df00b9ec88112d85b46f472b2f
BLAKE2b-256 c0d04178f2c44906bd2f84973e232be60cd01b0ce9e3aa5a0e43a80742c903c2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.9-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ac6945f2519a36b8771926b2fdcfa6fe273be7f38bc62697c20c24e9b74edf68
MD5 37188f92d7e03be9d7e41efbceb5becc
BLAKE2b-256 06d92edb3626f3dfdebbef87e143c9f7d447778cfab38fe77fc6d2e3c6b865a5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcooldown-0.3.9-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 83ca8409d5f58dea722a96a7fde04164d4e3af1b95d2ed78d843deb1b5e0eb51
MD5 8f49a2ccb1be268b32794a7ea52642ba
BLAKE2b-256 5589b9cf60b1fa5fb6c23a46f6363a52983c5fb01efaab3b82ac7e33d7a4c5dc

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