Metadata-Version: 2.4
Name: clean_logging
Version: 0.9.2
Summary: A clean and modular logging package
Author-email: qasem <qasemt@gmail.com>
License: MIT
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: coloredlogs>=15.0
Requires-Dist: pytz
Dynamic: license-file

# clean_logging
clean loggin for project python (clean arch)

```
your-project/
├── core/
├── application/
├── infrastructure/
├── external_modules/          ← ✅ محل submoduleها
│   └── clean_logging/         ← git submodule

###  در Dockerfile حتماً submodule را بارگذاری کنید

```
RUN git submodule update --init --recursive
```

### در پروژه ی که می خواهید استفاده کنید 

```
git submodule add https://github.com/qasemt/clean-logging.git external_modules/clean-logging
```


 #  پاک‌سازی و انجام مجدد به درستی
 ```
 # 1. حذف پوشه‌ی اشتباه
rmdir /s external_modules

# 2. حذف submodule از پیکربندی (اگر قبلاً اضافه شده)
git config --remove-section submodule.external_modules/clean_logging 2>nul

# 3. حذف فایل .gitmodules اگر فقط این submodule بود
del .gitmodules 2>nul

# 4. حذف از staging area (اگر staged شده بود)
git rm --cached external_modules -r 2>nul
```

## test package 
```
(.venv) PS C:\work_space\clean_logging> pip install build\dist\clean_logging-0.1.0-py3-none-any.whl
```


## بررسی کنید که wheel ساخته‌شده شامل این پوشه است:
```
unzip -l build/dist/clean_logging-*.whl | grep pyarmor
```


## انتشار در PyPI:
```
# ساخت
python -m build

# آپلود pypi
pip install twine
twine upload G:\workspace\github_projects\python\clean_logging\build\dist/*
```

---

clean_logging[root project]
├── src/ 
│ 	│ 
│ 	└── clean_logging/  
│ 	├── __init__.py 
│ 	├── core/ 
│ 	└── infrastructure/
│		├── __init__.py 
│		
├── pyproject.toml
├── MANIFEST.in
├── build-obfuscated-wheel.py


(.venv) PS G:\workspace\github_projects\python\clean_logging> pyarmor --version
Pyarmor 9.1.9 (trial), 000000, non-profits

License Type    : pyarmor-trial
License No.     : pyarmor-vax-000000
License To      :
License Product : non-profits

BCC Mode        : No
RFT Mode        : No
CI/CD Mode      : No

Notes
* Can't obfuscate big script and mix str
This is trial license
