Skip to main content

ArtinForge

Lightweight, dependency-free Python utilities for developer workflows.

Version: 0.3.1 · Python: 3.9+ · Runtime dependencies: none

Install

python -m pip install artinforge==0.3.1

Quick start

from artinforge.security import sha256_file
from artinforge.text import normalize_persian
from artinforge.cache import TTLCache

print(normalize_persian("كیفیت"))
print(sha256_file("README.md"))
cache = TTLCache(maxsize=128, ttl=60)
cache.set("answer", 42)
print(cache.get("answer"))

CLI

artinforge --version
artinforge info
artinforge serve --directory . --host 127.0.0.1 --port 8765
artinforge hash README.md
artinforge json-check data.json
artinforge text-stats README.md
artinforge manifest . --output manifest.json

manifest writes relative file paths, sizes and SHA-256 digests to JSON. It skips common generated directories (.git, .venv, __pycache__, build, dist).

Security notes

  • The local static server binds to 127.0.0.1 by default and is intended for development, not direct public-internet exposure.
  • HTTP helpers accept only absolute HTTP(S) URLs, reject embedded URL credentials, and limit response bodies by default to 5 MiB. Set max_bytes deliberately when a larger response is expected.
  • SHA-256 checksums help detect changes; they do not prove who created a file unless the expected digest is trusted.
  • Keep dependencies minimal and audit any added dependencies before release. pip-audit checks known vulnerabilities in dependency trees but is not a static analyzer for this package's own code.

Development

python -m pip install -e .
python -m pip install pytest build twine
python -m pytest -q
python -m build
python -m twine check dist/*

MIT License.

Metadata

Release files for artinforge 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for artinforge 0.3.1
File Size Uploaded
artinforge-0.3.1.tar.gz 1.9 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for artinforge 0.3.1
File Interpreter ABI Platform
artinforge-0.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 3.8 MB

Release files / artinforge-0.3.1.tar.gz

Download URL artinforge-0.3.1.tar.gz
Size 1.9 MB
Tags Source
SHA-256 checksum
How to use checksums
b26c86fa549bafdb39860b952e7bd6a0eff07f0f056848ed061f0809ebfbb0c6
BLAKE2b-256 checksum
How to use checksums
fd43e1d683afa2547d307335dad1880f4a06a88b4ef966ed2d89ba95c296ac91
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Release files / artinforge-0.3.1-py3-none-any.whl

Download URL artinforge-0.3.1-py3-none-any.whl
Size 1.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
b97d01202bccbb7a71d66d1cdba17ecd664f1c813242315d4a7db6ed58deb811
BLAKE2b-256 checksum
How to use checksums
0d04ab52dfdaa0661d2e84ef31ab22d1cf9b4c2a8004923661a3a76a499eae84
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Release history Release notifications | RSS feed

This release

0.3.1 This release

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page