Apero (Apero v2.1.0)

Copy Markdown View Source

Apero — Utility library for system operations and development workflows.

Provides domain-specific tools organised into independent modules behind a consistent {:ok, result} | {:error, reason} interface.

File & Path

  • Apero.File — file operations, path utilities, atomic writes, temp resources, locking, watching
  • Apero.Compress — zip, tar and gzip compression

Git & VCS

Containers

Security

Environment

  • Apero.Env — environment variable management and .env files
  • Apero.Conf — config file validation, linting and formatting

System

  • Apero.OS — operating system information (type, arch, CPU, memory, disk)
  • Apero.Proc — process and executable utilities

Cache

  • Apero.Cache — unified cache interface with ETS adapter

Summary

Functions

decrypt(encoded, key)

See Apero.Crypto.Cipher.decrypt/2.

encrypt(plaintext, key \\ nil)

See Apero.Crypto.Cipher.encrypt/2.

get_env(key, default \\ nil)

See Apero.Env.get/2.

md5(data)

See Apero.Crypto.Hash.md5/1.

os_arch()

See Apero.OS.arch/0.

os_type()

See Apero.OS.type/0.

put_env(key, value)

See Apero.Env.put/2.

retry(fun, opts \\ [])

See Apero.Retry.with/2.

sha256(data)

See Apero.Crypto.Hash.sha256/1.

sha512(data)

See Apero.Crypto.Hash.sha512/1.