Manage your hyperparameters more easily.
Project description
Eafig
Manage your hyperparameters more easily.
Installation
pip install eafig
Quick Start
from eafig import register_config
# Add decorator to your class like `dataclass`
@register_config
class MyConfig:
learning_rate: float = 0.001
batch_size: int = 32
num_epochs: int = 10
# new settings will be applied when you create a new instance
eafig.load_config()
config = MyConfig()
# Use you config as freely
print(config.learning_rate) # 0.001
# Read all the parameters by `eafig.parse_config()`
eafig.save_config()
Overriding Priority: Command Line > Config File > Assigned > Default
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
eafig-0.1.1.tar.gz
(3.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
eafig-0.1.1-py3-none-any.whl
(5.6 kB
view details)
File details
Details for the file eafig-0.1.1.tar.gz.
File metadata
- Download URL: eafig-0.1.1.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8844aa942334b006b78b35dca9ae7d94a8936ac1077c99922e718aff89dd4d03
|
|
| MD5 |
6aaaee540a432116b3b39c760aa7ef9e
|
|
| BLAKE2b-256 |
718d3a6ed487afaa05a39eae9d80b743721a14ec9394796812ea47ff7ce81479
|
File details
Details for the file eafig-0.1.1-py3-none-any.whl.
File metadata
- Download URL: eafig-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d12bb8b81c057a9e585d1e1dde4ca3bb6a26e3e2711accf49587cc6e1e299aa7
|
|
| MD5 |
85d7fce1f2a1acded176b85a4088577d
|
|
| BLAKE2b-256 |
300f35b80b311321556db1f4f7a80d4da8d83a478639faefbcbcab695d56be19
|