A clean and modular logging package
Project description
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
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 clean_logging-0.9.4-py3-none-any.whl.
File metadata
- Download URL: clean_logging-0.9.4-py3-none-any.whl
- Upload date:
- Size: 9.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f6f0d6765fd946f2162b3ef892706ba019470188815132b7fc69e6a329c9b3a7
|
|
| MD5 |
093181fd45bbc96991e5d270b0b494b0
|
|
| BLAKE2b-256 |
c61f3f4fb8f31230a3f2c27bbd19e38fa7c89b3ce32d6a3b9b806f5997c59cce
|