Skip to main content

ashe is super extension of Python.

Project description

ashe

ashe is a super extension of Python.

1 Feature

  1. System

    • size
  2. Dict

    • merge
    • remove
  3. List

    • reverse
  4. String

    • find
  5. File

    • read
    • write
  6. Date

    • today
    • yesterday

2 Getting Started

installation

pip install ashe -U

usage

from ashe import *

# get size
n = 1
print(size(n))
# 28

# reverse the list
l = [1, 2, 3]
print(reverse(l))
# [3, 2, 1]

# remove key and value from dict
d = {"a": 1, "b": 2}
print(remove("a", d))
# {'b': 2}

# get today and yesterday
print(today())
# 2022-10-15
print(yesterday())
# 2022-10-14

3 Consistency

- Why reverse(list) not list.reverse()?

- Because len(list) not list.len().

I find built-in method named reversed 🤦‍.

4 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

ashe-0.0.5.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

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

ashe-0.0.5-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file ashe-0.0.5.tar.gz.

File metadata

  • Download URL: ashe-0.0.5.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.8

File hashes

Hashes for ashe-0.0.5.tar.gz
Algorithm Hash digest
SHA256 43b191c73274b30d88bde6cc5f9f68a3cb4ed32ae1fe61c2a1e4cae773cb2de6
MD5 a8ab2432ae96b5f844d52304dd3b6150
BLAKE2b-256 acdbea70ae2693a89766e211e08071a7a5345700f9f5178f1efa0923af8a4ab1

See more details on using hashes here.

File details

Details for the file ashe-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: ashe-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.8

File hashes

Hashes for ashe-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 347db4525dcedb413a82ee66d2826fef841ef59648e1e8898615ffebb7d7b24c
MD5 40c3a5c1c387ed76677b94bb172e3fd3
BLAKE2b-256 630b9b020f8490b33e351590d6b3714302cc3099eea85336bb84c96f37dd1cbf

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