Skip to content

Commit

Permalink
تحسين الفكرة المبسطة للمشروع وتصحيح المتغيرات الثابتة
Browse files Browse the repository at this point in the history
  • Loading branch information
vzool committed Jun 24, 2024
1 parent 6fd2c83 commit 4bd8ffe
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions README.ar.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@
<div dir="rtl">

# ☪️ الزكاة (Zakat): مكتبة بايثون للإدارة المالية الإسلامية
** **يجب علينا إخراج الزكاة إذا بلغت حد الحول والنصاب لكل معاملة** **
###### [تحت التطوير النشط]
** **يجب علينا إخراج الزكاة إذا بلغ ما تبقى من كل معاملة مالية مقدار النصاب ومدة الحول** **

###### [المشروع تحت البحث والتطوير النشط]
</div>

<p>
<a href="https://github.com/vzool/zakat/blob/main/README.md"><img src="https://img.shields.io/badge/lang-en-green.svg" alt="en" data-canonical-src="https://img.shields.io/badge/lang-en-green.svg" style="max-width: 100%;"></a>
</p>
</div>


<div dir="rtl">

الزكاة (Zakat) هي مكتبة بايثون سهلة الاستخدام مصممة لتبسيط عملية تتبع وحساب الزكاة، وهي ركن أساسي في المالية الإسلامية. سواء كنت فردًا أو مؤسسة، يوفر الزكاة (Zakat) الأدوات اللازمة لإدارة التزاماتك الزكوية بدقة.
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<div align="center" style="text-align: center;">

# ☪️ Zakat: A Python Library for Islamic Financial Management
** **We must pay Zakat if it has reached the Haul and Nisab limits for every transaction** **
###### [UNDER ACTIVE DEVELOPMENT]
** **We must pay Zakat if the remaining of every transaction reaches the Haul and Nisab limits** **
###### [PROJECT UNDER ACTIVE R&D]
<p>
<a href="https://github.com/vzool/zakat/blob/main/README.ar.md"><img src="https://img.shields.io/badge/lang-ar-green.svg" alt="ar" data-canonical-src="https://img.shields.io/badge/lang-en-green.svg" style="max-width: 100%;"></a>
</p>
Expand All @@ -31,7 +31,7 @@ Zakat is a user-friendly Python library designed to simplify the tracking and ca

- Data Persistence: Securely save and load your Zakat tracker data for continued use across sessions.

- History Tracking: Optionally enable a detailed history of actions for transparency and review (can be disabled for privacy).
- History Tracking: Optionally enable a detailed history of actions for transparency and review (can be disabled optionally).

### Benefits:

Expand Down
2 changes: 1 addition & 1 deletion zakat/zakat_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ class ZakatTracker:
# Hybrid Constants
ZakatCut = lambda x: 0.025*x # Zakat Cut in one Lunar Year
TimeCycle = lambda : int(60*60*24*354.367056*1e9) # Lunar Year in nanoseconds
Nisab = lambda x: 585*x # Silver Price in Local currency value
Nisab = lambda x: 595*x # Silver Price in Local currency value
Version = lambda : '0.2.2'

def __init__(self, db_path: str = "zakat.pickle", history_mode: bool = True):
Expand Down

0 comments on commit 4bd8ffe

Please sign in to comment.