Skip to main content

Python utils.

Project description

a3py

Python utils.

History.

Install

pip install a3py

Examples

1. Simplified example

from datetime import date
from a3py.simplified.datetime import date2str

assert date2str(date(2019, 10, 3)) == '2019-10-03'

2. Improved example

from a3py.improved.json import fast_dumps

fast_dumps([1, 2, 3])

3. Readable example

from a3py.improved.readable import get_readable_size

assert get_readable_size(1024 * 1024) == "1.0MB"

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

a3py-0.2.0.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

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

a3py-0.2.0-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

Details for the file a3py-0.2.0.tar.gz.

File metadata

  • Download URL: a3py-0.2.0.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.2

File hashes

Hashes for a3py-0.2.0.tar.gz
Algorithm Hash digest
SHA256 136e8a78b8dd75d58b6cfdf6314ea1874323bfc8fbc2cddabbe462e72410d9e6
MD5 ea9ddbaa7507c9a2b6f7f56010bb3b24
BLAKE2b-256 4495c984598de2cd382ab0f148fb5bd4c2844058125edb7b3f6e6485376ca6d6

See more details on using hashes here.

File details

Details for the file a3py-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: a3py-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 10.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.2

File hashes

Hashes for a3py-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0ebe3bd001c36a02a505fe30b6420fd517a53c287260fd0e0fe0aee8a9c16da3
MD5 3577f46acd4fe3ab306185ceb128a102
BLAKE2b-256 3d62559f7c54cc5fb70e559c5433b4158412d06e26bdc37be945a1d8794eb54c

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