beberes 0.0.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- beberes/__init__.py +3 -0
- beberes/cli/__init__.py +0 -0
- beberes/cli/main.py +63 -0
- beberes/dedupe/__init__.py +1 -0
- beberes/detectors/__init__.py +1 -0
- beberes/fixers/__init__.py +1 -0
- beberes/i18n/__init__.py +3 -0
- beberes/i18n/bahasa.py +35 -0
- beberes/i18n/katalog_en.py +5 -0
- beberes/i18n/katalog_id.py +5 -0
- beberes/io/__init__.py +4 -0
- beberes/io/reader.py +134 -0
- beberes/io/writer.py +44 -0
- beberes/profiling/__init__.py +1 -0
- beberes/report/__init__.py +1 -0
- beberes/rules/__init__.py +1 -0
- beberes/validators/__init__.py +1 -0
- beberes-0.0.1.dist-info/METADATA +104 -0
- beberes-0.0.1.dist-info/RECORD +22 -0
- beberes-0.0.1.dist-info/WHEEL +4 -0
- beberes-0.0.1.dist-info/entry_points.txt +2 -0
- beberes-0.0.1.dist-info/licenses/LICENSE +21 -0
beberes/__init__.py
ADDED
beberes/cli/__init__.py
ADDED
|
File without changes
|
beberes/cli/main.py
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"""CLI beberes. Perintah punya alias dua bahasa (D-006). Masih stub: belum ada logika core."""
|
|
2
|
+
from pathlib import Path
|
|
3
|
+
|
|
4
|
+
import typer
|
|
5
|
+
|
|
6
|
+
from beberes import __version__
|
|
7
|
+
from beberes.i18n import atur_bahasa, t
|
|
8
|
+
|
|
9
|
+
app = typer.Typer(
|
|
10
|
+
help="beberes: Tidy up messy Indonesian spreadsheets.",
|
|
11
|
+
no_args_is_help=True,
|
|
12
|
+
add_completion=False,
|
|
13
|
+
)
|
|
14
|
+
|
|
15
|
+
BERKAS = typer.Argument(..., help="Berkas .xlsx / .csv | File to process")
|
|
16
|
+
BAHASA = typer.Option(None, "--bahasa", "--lang", help="id | en")
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
def _siapkan(berkas: Path, bahasa: str | None) -> None:
|
|
20
|
+
atur_bahasa(bahasa)
|
|
21
|
+
if not berkas.exists():
|
|
22
|
+
typer.echo(t("berkas_tidak_ada", berkas=berkas), err=True)
|
|
23
|
+
raise typer.Exit(code=3)
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
def periksa(berkas: Path = BERKAS, bahasa: str | None = BAHASA) -> None:
|
|
27
|
+
"""Lihat masalah tanpa mengubah apa pun | Inspect only, change nothing."""
|
|
28
|
+
_siapkan(berkas, bahasa)
|
|
29
|
+
typer.echo(t("belum_ada", perintah="periksa/check", berkas=berkas))
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
def bersihkan(
|
|
33
|
+
berkas: Path = BERKAS,
|
|
34
|
+
keluar: Path | None = typer.Option(
|
|
35
|
+
None, "--keluar", "--out", help="Berkas keluaran | Output file"
|
|
36
|
+
),
|
|
37
|
+
laporan: bool = typer.Option(
|
|
38
|
+
False, "--laporan", "--report", help="Buat laporan | Write report"
|
|
39
|
+
),
|
|
40
|
+
bahasa: str | None = BAHASA,
|
|
41
|
+
) -> None:
|
|
42
|
+
"""Terapkan perbaikan ke berkas baru | Apply fixes to a new file."""
|
|
43
|
+
_siapkan(berkas, bahasa)
|
|
44
|
+
typer.echo(t("belum_ada", perintah="bersihkan/clean", berkas=berkas))
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
def versi(bahasa: str | None = BAHASA) -> None:
|
|
48
|
+
"""Tampilkan versi | Show version."""
|
|
49
|
+
atur_bahasa(bahasa)
|
|
50
|
+
typer.echo(t("versi", versi=__version__))
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
# Alias dua bahasa: satu fungsi, dua nama perintah.
|
|
54
|
+
app.command("periksa")(periksa)
|
|
55
|
+
app.command("check")(periksa)
|
|
56
|
+
app.command("bersihkan")(bersihkan)
|
|
57
|
+
app.command("clean")(bersihkan)
|
|
58
|
+
app.command("versi")(versi)
|
|
59
|
+
app.command("version")(versi)
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
if __name__ == "__main__":
|
|
63
|
+
app()
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Modul ini belum diimplementasikan. Lihat docs/02-arsitektur.md."""
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Modul ini belum diimplementasikan. Lihat docs/02-arsitektur.md."""
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Modul ini belum diimplementasikan. Lihat docs/02-arsitektur.md."""
|
beberes/i18n/__init__.py
ADDED
beberes/i18n/bahasa.py
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"""Katalog pesan id/en. Semua teks yang dilihat user harus lewat t(), jangan hard-code (D-012)."""
|
|
2
|
+
import locale
|
|
3
|
+
import os
|
|
4
|
+
|
|
5
|
+
from .katalog_en import PESAN as PESAN_EN
|
|
6
|
+
from .katalog_id import PESAN as PESAN_ID
|
|
7
|
+
|
|
8
|
+
_KATALOG = {"id": PESAN_ID, "en": PESAN_EN}
|
|
9
|
+
_aktif: str | None = None
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
def _deteksi() -> str:
|
|
13
|
+
env = os.environ.get("BEBERES_LANG", "").lower()
|
|
14
|
+
if env in _KATALOG:
|
|
15
|
+
return env
|
|
16
|
+
kode = (locale.getlocale()[0] or "").lower()
|
|
17
|
+
return "id" if kode.startswith("id") else "en"
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
def atur_bahasa(kode: str | None) -> None:
|
|
21
|
+
"""Set bahasa ('id' atau 'en'). None = deteksi otomatis."""
|
|
22
|
+
global _aktif
|
|
23
|
+
if kode is not None and kode not in _KATALOG:
|
|
24
|
+
raise ValueError(f"Bahasa tidak didukung: {kode}")
|
|
25
|
+
_aktif = kode
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
def bahasa_aktif() -> str:
|
|
29
|
+
return _aktif or _deteksi()
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
def t(kunci: str, **kw) -> str:
|
|
33
|
+
katalog = _KATALOG[bahasa_aktif()]
|
|
34
|
+
teks = katalog.get(kunci) or PESAN_EN.get(kunci, kunci)
|
|
35
|
+
return teks.format(**kw)
|
beberes/io/__init__.py
ADDED
beberes/io/reader.py
ADDED
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
"""Reader file .xlsx / .csv -> representasi internal Lembar.
|
|
2
|
+
|
|
3
|
+
Menangani pola umum file berantakan (docs/02):
|
|
4
|
+
- header tidak di baris 1 (ada baris judul/kosong di atasnya)
|
|
5
|
+
- sel kosong -> None
|
|
6
|
+
- csv dengan encoding non-UTF8 dan delimiter ';'
|
|
7
|
+
|
|
8
|
+
TODO: sel digabung (merged cells) dan sheet tersembunyi belum ditangani penuh.
|
|
9
|
+
"""
|
|
10
|
+
|
|
11
|
+
import csv
|
|
12
|
+
from dataclasses import dataclass, field
|
|
13
|
+
from pathlib import Path
|
|
14
|
+
|
|
15
|
+
import openpyxl
|
|
16
|
+
|
|
17
|
+
# Berapa baris awal yang discan untuk mencari baris header.
|
|
18
|
+
MAKS_CARI_HEADER = 10
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
@dataclass
|
|
22
|
+
class Lembar:
|
|
23
|
+
"""Satu sheet/tabel hasil bacaan.
|
|
24
|
+
|
|
25
|
+
baris_header: nomor baris Excel (1-based) tempat header berada.
|
|
26
|
+
baris: baris data (tanpa header), tiap sel None kalau kosong.
|
|
27
|
+
baris_excel: nomor baris Excel (1-based) untuk tiap baris di `baris`.
|
|
28
|
+
"""
|
|
29
|
+
|
|
30
|
+
nama: str
|
|
31
|
+
header: list[str]
|
|
32
|
+
baris_header: int
|
|
33
|
+
baris: list[list] = field(default_factory=list)
|
|
34
|
+
baris_excel: list[int] = field(default_factory=list)
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
def _sel_terisi(baris: list) -> list:
|
|
38
|
+
return [c for c in baris if c is not None and str(c).strip() != ""]
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
def _cari_header(kandidat: list[list]) -> int:
|
|
42
|
+
"""Index (0-based) baris header dalam kandidat.
|
|
43
|
+
|
|
44
|
+
Header = baris pertama (dari atas) yang punya jumlah sel terisi maksimum
|
|
45
|
+
di antara MAKS_CARI_HEADER baris awal, minimal 2 sel.
|
|
46
|
+
"""
|
|
47
|
+
hitung = [len(_sel_terisi(b)) for b in kandidat[:MAKS_CARI_HEADER]]
|
|
48
|
+
maks = max(hitung, default=0)
|
|
49
|
+
if maks < 2:
|
|
50
|
+
return 0
|
|
51
|
+
return hitung.index(maks)
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
def _rapikan(baris: list[list], lebar: int) -> list[list]:
|
|
55
|
+
"""Samakan panjang tiap baris ke `lebar` dengan None."""
|
|
56
|
+
return [list(b) + [None] * (lebar - len(b)) for b in baris]
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
def _buat_lembar(nama: str, semua_baris: list[list]) -> Lembar:
|
|
60
|
+
"""Ubah daftar baris mentah (dari openpyxl/csv) jadi Lembar."""
|
|
61
|
+
if not semua_baris:
|
|
62
|
+
return Lembar(nama=nama, header=[], baris_header=1)
|
|
63
|
+
|
|
64
|
+
idx_header = _cari_header(semua_baris)
|
|
65
|
+
mentah_header = semua_baris[idx_header]
|
|
66
|
+
header = ["" if c is None else str(c).strip() for c in mentah_header]
|
|
67
|
+
|
|
68
|
+
# Buang baris kosong di antara data; catat nomor baris Excel-nya.
|
|
69
|
+
baris_data: list[list] = []
|
|
70
|
+
baris_excel: list[int] = []
|
|
71
|
+
for i, baris in enumerate(semua_baris[idx_header + 1 :], start=idx_header + 2):
|
|
72
|
+
if not _sel_terisi(baris):
|
|
73
|
+
continue
|
|
74
|
+
baris_data.append(baris)
|
|
75
|
+
baris_excel.append(i)
|
|
76
|
+
|
|
77
|
+
lebar = max([len(header), *(len(b) for b in baris_data)])
|
|
78
|
+
return Lembar(
|
|
79
|
+
nama=nama,
|
|
80
|
+
header=_rapikan([header], lebar)[0],
|
|
81
|
+
baris_header=idx_header + 1,
|
|
82
|
+
baris=_rapikan(baris_data, lebar),
|
|
83
|
+
baris_excel=baris_excel,
|
|
84
|
+
)
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
def _baca_xlsx(path: Path) -> list[Lembar]:
|
|
88
|
+
wb = openpyxl.load_workbook(path, read_only=True, data_only=True)
|
|
89
|
+
lembar = []
|
|
90
|
+
for ws in wb.worksheets:
|
|
91
|
+
semua = [list(b) for b in ws.iter_rows(values_only=True)]
|
|
92
|
+
lembar.append(_buat_lembar(ws.title, semua))
|
|
93
|
+
wb.close()
|
|
94
|
+
return lembar
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
def _deteksi_encoding(path: Path) -> str:
|
|
98
|
+
"""Coba utf-8-sig dulu, lalu cp1252, terakhir latin-1 (tidak pernah gagal)."""
|
|
99
|
+
data = path.read_bytes()
|
|
100
|
+
for enc in ("utf-8-sig", "cp1252", "latin-1"):
|
|
101
|
+
try:
|
|
102
|
+
data.decode(enc)
|
|
103
|
+
return enc
|
|
104
|
+
except UnicodeDecodeError:
|
|
105
|
+
continue
|
|
106
|
+
return "latin-1"
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
def _deteksi_delimiter(baris_pertama: str) -> str:
|
|
110
|
+
"""Pilih ';' kalau koma tidak menghasilkan lebih dari satu kolom."""
|
|
111
|
+
if baris_pertama.count(";") > baris_pertama.count(","):
|
|
112
|
+
return ";"
|
|
113
|
+
return ","
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
def _baca_csv(path: Path) -> list[Lembar]:
|
|
117
|
+
enc = _deteksi_encoding(path)
|
|
118
|
+
teks = path.read_text(encoding=enc)
|
|
119
|
+
baris_teks = teks.splitlines()
|
|
120
|
+
if not baris_teks:
|
|
121
|
+
return [_buat_lembar(path.stem, [])]
|
|
122
|
+
delim = _deteksi_delimiter(baris_teks[0])
|
|
123
|
+
semua = [list(b) for b in csv.reader(baris_teks, delimiter=delim)]
|
|
124
|
+
return [_buat_lembar(path.stem, semua)]
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
def baca_berkas(path: str | Path) -> list[Lembar]:
|
|
128
|
+
"""Baca .xlsx atau .csv, kembalikan daftar Lembar (csv selalu 1)."""
|
|
129
|
+
path = Path(path)
|
|
130
|
+
if path.suffix.lower() == ".csv":
|
|
131
|
+
return _baca_csv(path)
|
|
132
|
+
if path.suffix.lower() in (".xlsx", ".xlsm"):
|
|
133
|
+
return _baca_xlsx(path)
|
|
134
|
+
raise ValueError(f"Format tidak didukung: {path.suffix} (dukung .xlsx dan .csv)")
|
beberes/io/writer.py
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"""Writer: simpan Lembar ke file baru (.xlsx / .csv).
|
|
2
|
+
|
|
3
|
+
Prinsip proyek: file asli tidak pernah ditimpa — pemanggil wajib memberi
|
|
4
|
+
tujuan path baru (docs/02, D-004).
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
import csv
|
|
8
|
+
from pathlib import Path
|
|
9
|
+
|
|
10
|
+
import openpyxl
|
|
11
|
+
|
|
12
|
+
from .reader import Lembar
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
def tulis_xlsx(path: str | Path, lembar: Lembar) -> None:
|
|
16
|
+
wb = openpyxl.Workbook()
|
|
17
|
+
ws = wb.active
|
|
18
|
+
ws.title = lembar.nama[:31] # batas panjang nama sheet Excel
|
|
19
|
+
if lembar.header:
|
|
20
|
+
ws.append(lembar.header)
|
|
21
|
+
for baris in lembar.baris:
|
|
22
|
+
ws.append(["" if c is None else c for c in baris])
|
|
23
|
+
wb.save(path)
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
def tulis_csv(path: str | Path, lembar: Lembar) -> None:
|
|
27
|
+
# utf-8-sig supaya Excel membaca header dengan benar.
|
|
28
|
+
with open(path, "w", encoding="utf-8-sig", newline="") as f:
|
|
29
|
+
w = csv.writer(f)
|
|
30
|
+
if lembar.header:
|
|
31
|
+
w.writerow(lembar.header)
|
|
32
|
+
for baris in lembar.baris:
|
|
33
|
+
w.writerow(["" if c is None else c for c in baris])
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
def simpan(lembar: Lembar, path: str | Path) -> None:
|
|
37
|
+
"""Simpan Lembar ke path; format ditentukan suffix file."""
|
|
38
|
+
path = Path(path)
|
|
39
|
+
if path.suffix.lower() == ".csv":
|
|
40
|
+
tulis_csv(path, lembar)
|
|
41
|
+
elif path.suffix.lower() in (".xlsx", ".xlsm"):
|
|
42
|
+
tulis_xlsx(path, lembar)
|
|
43
|
+
else:
|
|
44
|
+
raise ValueError(f"Format tidak didukung: {path.suffix} (dukung .xlsx dan .csv)")
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Modul ini belum diimplementasikan. Lihat docs/02-arsitektur.md."""
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Modul ini belum diimplementasikan. Lihat docs/02-arsitektur.md."""
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Modul ini belum diimplementasikan. Lihat docs/02-arsitektur.md."""
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Modul ini belum diimplementasikan. Lihat docs/02-arsitektur.md."""
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: beberes
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: Tidy up messy Indonesian spreadsheets. Data-quality engine for Excel/CSV, aware of Indonesian formats (NIK, NPWP, Rupiah, regions).
|
|
5
|
+
Project-URL: Homepage, https://github.com/mhmmd-naufl/beberes
|
|
6
|
+
Project-URL: Issues, https://github.com/mhmmd-naufl/beberes/issues
|
|
7
|
+
Author: Naufal
|
|
8
|
+
License-Expression: MIT
|
|
9
|
+
License-File: LICENSE
|
|
10
|
+
Keywords: csv,data-cleaning,data-quality,excel,indonesia,nik,npwp,spreadsheet
|
|
11
|
+
Classifier: Development Status :: 2 - Pre-Alpha
|
|
12
|
+
Classifier: Intended Audience :: End Users/Desktop
|
|
13
|
+
Classifier: Natural Language :: English
|
|
14
|
+
Classifier: Natural Language :: Indonesian
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Topic :: Office/Business
|
|
17
|
+
Requires-Python: >=3.10
|
|
18
|
+
Requires-Dist: openpyxl>=3.1
|
|
19
|
+
Requires-Dist: pydantic>=2.0
|
|
20
|
+
Requires-Dist: pyyaml>=6.0
|
|
21
|
+
Requires-Dist: typer>=0.12
|
|
22
|
+
Provides-Extra: dev
|
|
23
|
+
Requires-Dist: faker>=30; extra == 'dev'
|
|
24
|
+
Requires-Dist: pytest>=8.0; extra == 'dev'
|
|
25
|
+
Requires-Dist: ruff>=0.5; extra == 'dev'
|
|
26
|
+
Description-Content-Type: text/markdown
|
|
27
|
+
|
|
28
|
+
# beberes
|
|
29
|
+
|
|
30
|
+
> *Tidy up messy Indonesian spreadsheets.*
|
|
31
|
+
> A data-quality engine for messy Excel/CSV files, built for how Indonesian data actually looks.
|
|
32
|
+
|
|
33
|
+
🇮🇩 [Versi Bahasa Indonesia](README.id.md)
|
|
34
|
+
|
|
35
|
+
**Status:** planning (pre-v0.1)
|
|
36
|
+
|
|
37
|
+
*"Beberes"* is Indonesian for "tidying up". It does that to your data.
|
|
38
|
+
|
|
39
|
+
## The problem
|
|
40
|
+
|
|
41
|
+
Spreadsheets from village offices, schools, event committees, and small businesses are almost always a mess:
|
|
42
|
+
mixed date formats, "Rp 25.000" stored as text, the same person spelled three ways, misspelled place names,
|
|
43
|
+
empty cells everywhere. Cleaning them by hand is slow and error-prone. Existing data-cleaning tools target
|
|
44
|
+
data scientists and don't understand Indonesian formats (NIK, NPWP, plate numbers, Rupiah, honorifics, administrative regions).
|
|
45
|
+
|
|
46
|
+
## How it works
|
|
47
|
+
|
|
48
|
+
```
|
|
49
|
+
read file -> profile columns -> detect issues -> propose fixes -> apply -> report + audit log
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
Everything runs **locally**. No data leaves your computer.
|
|
53
|
+
|
|
54
|
+
## Planned usage
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
pip install beberes
|
|
58
|
+
|
|
59
|
+
# inspect only, change nothing (safe default)
|
|
60
|
+
beberes check data.xlsx # Indonesian alias: beberes periksa
|
|
61
|
+
|
|
62
|
+
# apply fixes, write a new file + report
|
|
63
|
+
beberes clean data.xlsx --out data_clean.xlsx --report # alias: beberes bersihkan
|
|
64
|
+
|
|
65
|
+
# use your own rules
|
|
66
|
+
beberes clean data.xlsx --rules rules.yaml
|
|
67
|
+
|
|
68
|
+
# message language: id or en (defaults to system language)
|
|
69
|
+
beberes check data.xlsx --lang en
|
|
70
|
+
|
|
71
|
+
# (v0.5) local browser UI
|
|
72
|
+
beberes ui
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
> CLI flags have both Indonesian and English forms (e.g. `--keluar`/`--out`, `--laporan`/`--report`, `--aturan`/`--rules`, `--bahasa`/`--lang`).
|
|
76
|
+
|
|
77
|
+
## Why it's different
|
|
78
|
+
|
|
79
|
+
- **Indonesian-aware:** NIK / NPWP / phone / plate validators, region-name normalization, Rupiah and `dd/mm/yyyy` handling, honorifics in names
|
|
80
|
+
- **Safe by design:** dry-run by default, original files never overwritten, every change logged and undoable
|
|
81
|
+
- **Deterministic:** same input, same output; rules are plain YAML
|
|
82
|
+
- **Offline and light:** runs on an ordinary laptop, no GPU, no cloud
|
|
83
|
+
|
|
84
|
+
## Documentation
|
|
85
|
+
|
|
86
|
+
Detailed docs are currently written in Indonesian (English summaries come with v0.1).
|
|
87
|
+
|
|
88
|
+
| File | Contents |
|
|
89
|
+
|---|---|
|
|
90
|
+
| [docs/01-visi-dan-ruang-lingkup.md](docs/01-visi-dan-ruang-lingkup.md) | Vision, target users, non-goals, success criteria |
|
|
91
|
+
| [docs/02-arsitektur.md](docs/02-arsitektur.md) | Layers, modules, data flow, repo structure |
|
|
92
|
+
| [docs/03-spesifikasi-aturan-dan-laporan.md](docs/03-spesifikasi-aturan-dan-laporan.md) | YAML rule format, issue codes, report & audit-log format |
|
|
93
|
+
| [docs/04-rencana-data-uji.md](docs/04-rencana-data-uji.md) | Test data sources, synthetic generator, metrics, privacy rules |
|
|
94
|
+
| [docs/05-validasi-user.md](docs/05-validasi-user.md) | Finding users, interview questions, feedback log |
|
|
95
|
+
| [docs/06-keputusan-dan-risiko.md](docs/06-keputusan-dan-risiko.md) | Design decision log + risks |
|
|
96
|
+
| [docs/07-panduan-vibecoding.md](docs/07-panduan-vibecoding.md) | AI-assisted (vibecoding) workflow guide |
|
|
97
|
+
| [CLAUDE.md](CLAUDE.md) | Context file for AI coding assistants |
|
|
98
|
+
| [ROADMAP.md](ROADMAP.md) | Versions and checklists (no dates) |
|
|
99
|
+
| [CHANGELOG.md](CHANGELOG.md) | Change history |
|
|
100
|
+
| [CONTRIBUTING.md](CONTRIBUTING.md) | How to contribute (issues in English or Indonesian are welcome) |
|
|
101
|
+
|
|
102
|
+
## License
|
|
103
|
+
|
|
104
|
+
Not decided yet (see decision D-007).
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
beberes/__init__.py,sha256=50miure_RvM0X27z04TLZt9SFKz5vn0ga-kG0Df4bxs,77
|
|
2
|
+
beberes/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
+
beberes/cli/main.py,sha256=e-k9VxEWx8swIYT0ks7_S9Y3_hNqHDyDBt1mWoP6HSk,1898
|
|
4
|
+
beberes/dedupe/__init__.py,sha256=TeSueQ_FTLgwTv36_Tlq8b8FBd2PwrzxU5IQG_gbrtc,70
|
|
5
|
+
beberes/detectors/__init__.py,sha256=TeSueQ_FTLgwTv36_Tlq8b8FBd2PwrzxU5IQG_gbrtc,70
|
|
6
|
+
beberes/fixers/__init__.py,sha256=TeSueQ_FTLgwTv36_Tlq8b8FBd2PwrzxU5IQG_gbrtc,70
|
|
7
|
+
beberes/i18n/__init__.py,sha256=No2UejLhvn5ei9y9JJN_QLKJau0FpeYeq9Bguup1guk,97
|
|
8
|
+
beberes/i18n/bahasa.py,sha256=n__FiMYgARxlRDNmbKPu3LEeRcrtWhVY3rnqjgZgkv0,977
|
|
9
|
+
beberes/i18n/katalog_en.py,sha256=vOdg6j-XaojYwsQE92REL3E75ZeSlgwBmDJgR_aXRUI,184
|
|
10
|
+
beberes/i18n/katalog_id.py,sha256=uQmIiqK9tyjl5uaqx7mOegPJwy666ozg8U2ks7u2hmk,194
|
|
11
|
+
beberes/io/__init__.py,sha256=1kxumUjd5EiDHLXc_EUnUnU1jB3NKS986ygK_X0n4Hw,164
|
|
12
|
+
beberes/io/reader.py,sha256=5DInM0jL2fota0KZOyu51pSO7zJ-gHtlpE5RhTBAKus,4433
|
|
13
|
+
beberes/io/writer.py,sha256=xu-Lr7lQlBOdHZhrAxrVDMTDeZ7HoPA9swgOMEloO4Y,1400
|
|
14
|
+
beberes/profiling/__init__.py,sha256=TeSueQ_FTLgwTv36_Tlq8b8FBd2PwrzxU5IQG_gbrtc,70
|
|
15
|
+
beberes/report/__init__.py,sha256=TeSueQ_FTLgwTv36_Tlq8b8FBd2PwrzxU5IQG_gbrtc,70
|
|
16
|
+
beberes/rules/__init__.py,sha256=TeSueQ_FTLgwTv36_Tlq8b8FBd2PwrzxU5IQG_gbrtc,70
|
|
17
|
+
beberes/validators/__init__.py,sha256=TeSueQ_FTLgwTv36_Tlq8b8FBd2PwrzxU5IQG_gbrtc,70
|
|
18
|
+
beberes-0.0.1.dist-info/METADATA,sha256=HH1VpMZ_rj61MKVILNMFPXfzeekwD_iFuTubVXF4L_U,4348
|
|
19
|
+
beberes-0.0.1.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
|
|
20
|
+
beberes-0.0.1.dist-info/entry_points.txt,sha256=UIKwLohyo-tlunnClhnCE8PKmao0u1a2--RJwmxBj68,49
|
|
21
|
+
beberes-0.0.1.dist-info/licenses/LICENSE,sha256=B9O0ESGn0lrjFSPsXen4Bo-bmH_h8mvTETIvUK5QsXA,1084
|
|
22
|
+
beberes-0.0.1.dist-info/RECORD,,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Naufal
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|