Skip to main content

memorize tool

Project description

file memorize (under construction)

import mem

def add_str(s0, s1):
	time.sleep(3)
	return s0 + s1

# memorize tool [mem]
memorized_func = mem(
	add_str,	# 計算結果をメモ化したい関数
	"add_str",	# 関数識別用の文字列
	confirm = False,	# メモ読み込みの確認有無
	mem_dir = "./"	# メモの置き場所
)
ret_str = memorized_func("Hello", ", World!!\n")
print(ret_str)

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

mem-1.0.0.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

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

mem-1.0.0-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file mem-1.0.0.tar.gz.

File metadata

  • Download URL: mem-1.0.0.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.8

File hashes

Hashes for mem-1.0.0.tar.gz
Algorithm Hash digest
SHA256 80bf7559b19756f5b2a296fa462a6a0aad1b64f823b81545230db9235a86aafa
MD5 63b56e136eb721f7347256d9f7fc6ce2
BLAKE2b-256 ed05980bd41cf445d95015694736441da4bd1abcb2d19645c7da3cbe68c615b3

See more details on using hashes here.

File details

Details for the file mem-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: mem-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.8

File hashes

Hashes for mem-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7d6ee71c76f677b93840dfa457a4fb73eb4e262619f288dc2a8cd6346332a764
MD5 074cbecaa20ffb3f9780ec318974e89b
BLAKE2b-256 ffe6b7967aeb26e4a870ffb023cbe7f90eaaca0a38b2ef2268302e55680cffda

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