Python implementation of IlyasFamily data format
Project description
IlyasFamily Python Implementation
IlyasFamily adalah format pertukaran dan penyimpanan data alternatif, seperti JSON tetapi lebih kaya tipe data.
Ekstensi resmi: .ifamily.
Repositori ini berisi implementasi Python dari spesifikasi IlyasFamily.
Instalasi
pip install ilyasfamily-py
Contoh Pemakaiaan
from ilyasfamily import Node, dump_file, load_file
person = Node("Person", {"Name": "Budi", "Age": 21})
dump_file(person, "person.ifamily")
loaded = load_file("person_family")
print(loaded)
Menguji
Uji dengan pytest atau jalankan manual. Namun kali ini dengan pytest karena untuk uji coba cepat. Anda bisa mengedit kode test/test.py untuk uji coba manual.
- Instal pytest
pip install pytest - Jalankan dari root
atau jalur spesifik:pytestpytest tests/test.py -v
Apa bila pytest tidak menemukan package ilyasfamily karena struktur repositori memakai src/ layout.
Instal lokal dahulu
pip install -e .
Lalu coba lagi
pytest tests/test.py -v
Lisensi
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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
File details
Details for the file ilyasfamily-0.1.0.tar.gz.
File metadata
- Download URL: ilyasfamily-0.1.0.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e12aff7360b564d704d59a8bebe601de8ed74240628f2cdccb5d43acf489e713
|
|
| MD5 |
493c09ca41437904ccf8eb96aaa99d9f
|
|
| BLAKE2b-256 |
ba8998a68f13a1e610df63ff04a17cf8c99c82720593ca83360cf08c21108d48
|
File details
Details for the file ilyasfamily-0.1.0-py3-none-any.whl.
File metadata
- Download URL: ilyasfamily-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac5535e4dc180de8195449a9809d60268bd27ce861e26dbd8cbaecc40ddc8ee4
|
|
| MD5 |
c080263c475b0043946d21b92bd88f30
|
|
| BLAKE2b-256 |
6a71d82f491c173d6b4008418198909a0993a8ed943a846451389e3b2f8b9efe
|