Skip to main content

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

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

clean_logging-0.9.5-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

Details for the file clean_logging-0.9.5-py3-none-any.whl.

File metadata

  • Download URL: clean_logging-0.9.5-py3-none-any.whl
  • Upload date:
  • Size: 10.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.1

File hashes

Hashes for clean_logging-0.9.5-py3-none-any.whl
Algorithm Hash digest
SHA256 2dbdbb4c0d946e8c220c76efa1298274dea50e7790bd296ff8203700d0163804
MD5 289a6af76db209c1003d43a4065e305b
BLAKE2b-256 fd736defff3d64c100b34a4f5346b048625fd64beb0d5ff0d75ecb2cb4a31423

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page