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.1-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: clean_logging-0.9.1-py3-none-any.whl
  • Upload date:
  • Size: 9.2 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 702cb0775d9d26922aeea1c519fc6cf880a38cb083ed18ce9bd1add815cdef56
MD5 501a4aff72dbca144ab7b59630a155bc
BLAKE2b-256 94e50fec365e6e3460f8133bfabb82587110d3fa0a313407a715521b07328749

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