Skip to main content

Macro Photo Generator

مكتبة Python لتوليد الصور باستخدام تقنية الذكاء الاصطناعي المتقدمة.

التثبيت

pip install macro-photo

الاستخدام الأساسي

from macro_photo import MacroImageGenerator

# إنشاء نسخة من المولد
generator = MacroImageGenerator()

# توليد صورة واحدة
image_path = generator.generate_image("سيارة رياضية حمراء جميلة")
print(f"تم حفظ الصورة في: {image_path}")

# توليد عدة صور دفعة واحدة
prompts = [
    "قطة صغيرة تلعب بكرة",
    "غروب الشمس على الشاطئ",
    "حديقة مليئة بالزهور"
]
image_paths = generator.batch_generate(prompts, prefix="my_images_")
print(f"تم إنشاء {len(image_paths)} صور")

المميزات

  • توليد صور من وصف نصي
  • دعم توليد صور متعددة دفعة واحدة
  • إمكانية تخصيص مجلد حفظ الصور
  • معالجة الأخطاء وإعادة المحاولة تلقائياً
  • تنسيق أسماء الملفات تلقائياً

المساهمة

نرحب بمساهماتكم! يرجى إرسال pull requests أو فتح issues على GitHub.

الترخيص

هذا المشروع مرخص تحت MIT License.

Metadata

Release files for macro-photo 0.1.5

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

Source distribution (sdist)

Source distribution for macro-photo 0.1.5
File Size Uploaded Provenance
macro_photo-0.1.5.tar.gz 6.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for macro-photo 0.1.5
File Interpreter ABI Platform
macro_photo-0.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 15.5 kB

Release files / macro_photo-0.1.5.tar.gz

Download URL macro_photo-0.1.5.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
dd02fe9ab09ff12694922b3109031d2866a118a122193e7155efcf5546f41308
BLAKE2b-256 checksum
How to use checksums
c72035fc5a7b6ee1df2f7b31630d7a2a42db11efb710bc01c3db86d9c2cf9273
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.11.4

Release files / macro_photo-0.1.5-py3-none-any.whl

Download URL macro_photo-0.1.5-py3-none-any.whl
Size 9.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d8542c4134b97b6eab1823994440ec13a5cac6b4ee83bf0cf80f775ca246c756
BLAKE2b-256 checksum
How to use checksums
21be2b2805b711edbc7a9781963f0b1be7d7ef11ba638c0e1e94287e8155d4a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.11.4

Security for macro-photo 0.1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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