Skip to main content

An easier brython library

Project description

An easier brython library

This is library to use brython (document, window, etc) without breaking brain

FAQ

  1. Q: Why this library even exists? What was a reason of creating?
    A: One time, i was creating a game on brython, but using window.localstorage was too hard, so i created this library. Later, I've got a one more idea, then one more, then more, and that how it grown up.
  2. Q: How to use it?
    A: Two ways, one if you need to full, other if you want a few functions.
    First way:
from brython_easier import *

Second way:

from brython_easier import LocalStorageManager, timers  # and_etc
  1. Q: Why not use brython directly?
    A: You can use it, but it's a bit too hard to use. If you want to use it, use as you want, you can even both import in the same time. This library created to make brython more simple
  2. Q: My code giving me ValueError, Storage name is not set, how to fix it?
    A: Use set_storage function to set the storage name, For example:
localstorage.set_storage("ExampleGame") # put it somewhere in the start of code
  1. Q: How to install library?
    A: Use pip install brython-easier, or you can just download file and import like that:
from your_file_name import *
  1. Q: How to contribute?
    A: It's very simple, just create a pull request, and i'll look in it
  2. Q: How to report a bug?
    A: Create an issue

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

brython_easier-0.1.4.tar.gz (14.0 kB view details)

Uploaded Source

Built Distribution

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

brython_easier-0.1.4-py3-none-any.whl (14.1 kB view details)

Uploaded Python 3

File details

Details for the file brython_easier-0.1.4.tar.gz.

File metadata

  • Download URL: brython_easier-0.1.4.tar.gz
  • Upload date:
  • Size: 14.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for brython_easier-0.1.4.tar.gz
Algorithm Hash digest
SHA256 53b12cedc18c5228d590c1548e42dfd80272885a909f5a5749c4e854394fc034
MD5 acdce6c59d1ab19e2882a650f5d40870
BLAKE2b-256 1138dfbed4a24398b28c2679e46d483b36f0c2d8e69cf56e991c1f777783356f

See more details on using hashes here.

File details

Details for the file brython_easier-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: brython_easier-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 14.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for brython_easier-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 fa4f5f775d6887decc33ec006ee364ae70ffdfff3eee683016ab32c19eddd541
MD5 fe4a922b472bb0b8877fc03decd42a4c
BLAKE2b-256 c504ff724c58a44582ca80691544be80a8a6c0e89ac8c00f7686d8a2778c54fe

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