Skip to main content

shlhom

مكتبة Python لحماية الأدوات مع تحقق من السيرفر + تشفير AES-GCM.

التثبيت

pip install shlhom

الاستخدام السريع

import shlhom

shlhom.set_config(
    server_url="http://yourserver:8080",
    user_key="USER-KEY-HERE"
)

shlhom.check("2027-06-09")

print("الأداة تعمل!")

الميزات

  • تحقق من السيرفر (Server-Side Validation)
  • تشفير AES-GCM للـ Cache المحلي
  • Cache مربوط ببصمة الجهاز
  • كشف تلاعب الوقت (3 محاولات متتالية)
  • Anti-Tamper (كشف تعديل الكود)
  • Config مشفّر (لا يوجد user_key مقروء)
  • Fallback محلي عند تعطل السيرفر

API

  • set_config(server_url, user_key, cache_hours, strict_mode)
  • check(expiry_date, exit_on_fail=True, show_info=True, user_key=None)
  • lock(expiry_date, **kwargs)
  • get_device_id()
  • get_real_time()
  • verify_server()

الترخيص

MIT

Release files for shlhom 3.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for shlhom 3.0.0
File Size Uploaded
shlhom-3.0.0.tar.gz 5.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for shlhom 3.0.0
File Interpreter ABI Platform
shlhom-3.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 10.3 kB

Release files / shlhom-3.0.0.tar.gz

Download URL shlhom-3.0.0.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
226ebb033fb9d687e8d305c7bfb1938b8984af7e522a1d2159faddce214fa5d4
BLAKE2b-256 checksum
How to use checksums
656c9cd0c9aaa403a208c9d9323ae863a4bc5a649a32f3bd5d7abf9d8513077e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release files / shlhom-3.0.0-py3-none-any.whl

Download URL shlhom-3.0.0-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fb3500a0fef71b55074a7613e2039747f50f198797198c7f1132780b5d7539a3
BLAKE2b-256 checksum
How to use checksums
493a618228515d9319c07f6e5e00006ecac086666568313ef5f9ca2a3fe0c451
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release history Release notifications | RSS feed

3.0.1

2 release files

This release

3.0.0 This release

2 release files

2.2.1

2 release files

2.2.0

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page