Skip to main content

Fun Democritus functions.

Project description

Democritus Fun

PyPI CI Lint codecov The Democritus Project uses semver version 2.0.0 The Democritus Project uses ruff to format and lint code License: LGPL v3

Fun Democritus functions[1].

[1] Democritus functions are simple, effective, modular, well-tested, and well-documented Python functions.

We use d8s (pronounced "dee-eights") as an abbreviation for democritus (you can read more about this here).

Installation

pip install d8s-fun

Usage

You import the library like:

from d8s_fun import *

Once imported, you can use any of the functions listed below.

Functions

  • def spinner(cycles: int = 10, *, frames_per_second: int = 10) -> None:
        """Print a spinner."""
    
  • def assumption_make():
        """."""
    
  • def password_create(*, length: int = 15, character_set: str = PASSWORD_CHARACTER_SET) -> str:
        """Create a password of the given length using the given character_set."""
    
  • def spin_until_done(func):
        """Show a spinner until the function is done."""
    

Development

👋  If you want to get involved in this project, we have some short, helpful guides below:

If you have any questions or there is anything we did not cover, please raise an issue and we'll be happy to help.

Credits

This package was created with Cookiecutter and Floyd Hightower's Python project template.

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

d8s_fun-0.7.0.tar.gz (89.8 kB view details)

Uploaded Source

Built Distribution

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

d8s_fun-0.7.0-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

File details

Details for the file d8s_fun-0.7.0.tar.gz.

File metadata

  • Download URL: d8s_fun-0.7.0.tar.gz
  • Upload date:
  • Size: 89.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for d8s_fun-0.7.0.tar.gz
Algorithm Hash digest
SHA256 3018d13d7a9a49d6693e5cf18f047e4620a10814c5f4f8f06bfa66e4d517e8ed
MD5 967732c95868df4b5f7d27126547a28d
BLAKE2b-256 3e9614817e0089b9cd05a438e0927e9134c83466fd43b0730e07499e840b006f

See more details on using hashes here.

Provenance

The following attestation bundles were made for d8s_fun-0.7.0.tar.gz:

Publisher: release-please.yml on democritus-project/d8s-fun

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file d8s_fun-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: d8s_fun-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 18.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for d8s_fun-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 589440ec5b1a31705c837285ce784e2ce995cc20164636f10015fed8425572ed
MD5 d7d7028abcae7774c62a6bc9c574305b
BLAKE2b-256 7af033191343a6ceae3cf49517bbf04f459c2f0ee060d42b3ebb0831697a07fe

See more details on using hashes here.

Provenance

The following attestation bundles were made for d8s_fun-0.7.0-py3-none-any.whl:

Publisher: release-please.yml on democritus-project/d8s-fun

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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