Skip to main content

MS Office va LibreOffice uchun konvertatsiya vositasi

Project description

Office fayl konvertori

Bu Python skripti ofis hujjatlarini (Excel, Word, PowerPoint) turli formatlarga o'zgartirish uchun kuchli yechim taqdim etadi. U PDF, HTML, XLSX, DOCX, PPTX va boshqa ko'plab formatlarni qo'llab-quvvatlaydi.

Xususiyatlar:

  • Platformalararo qo'llab-quvvatlash: Skript Windows va Linux tizimlarida ishlaydi.
  • Ko'p formatlarni qo'llab-quvvatlash: Excel, Word va PowerPoint formatlari o'rtasida hujjatlarni o'zgartirish mumkin (masalan, XLS dan PDF ga, DOCX dan PDF ga, PPT dan PPTX ga).
  • Moslashtirilgan konvertatsiya usullari: Skript LibreOffice (Linux uchun) va Microsoft Office (Windows uchun) kabi mashhur dasturlar yordamida turli hujjat formatlarini o'zgartirish imkonini beradi.
  • Log yozuvi: Muvaffaqiyatli konvertatsiyalar va xatoliklar uchun batafsil loglar saqlanadi.
  • Buyruq satri interfeysi (CLI): Skriptni buyruq satridan faylni kiritish, natija faylini va kerakli formatni belgilash uchun oddiy argumentlar bilan ishlatish mumkin.

Qo'llab-quvvatlanadigan fayl formatlari:

  • Excel: PDF, HTML, XLS, XLSX, XLSB, CSV, ODS va boshqalar.
  • Word: PDF, DOC, DOCX, RTF, TXT, XML, ODT va boshqalar.
  • PowerPoint: PPTX, PPT, PPSX, PPS, ODP, XML, RTF, HTML va boshqalar.

O'rnatish:

  • Linux uchun: Konvertatsiya qilish uchun LibreOffice o'rnatilishi kerak.
  • Windows uchun: Microsoft Office (Excel, Word, PowerPoint) o'rnatilishi kerak.

Misol ishlatish:

python ml_converter xls2pdf input.xls output.pdf

Log yozuvi:

Barcha operatsiyalar conversion_log.log faylida qayd etiladi va kuzatish uchun ishlatiladi.


Office File Converter

This Python script provides a powerful solution for converting office documents (Excel, Word, PowerPoint) into various formats. It supports a wide range of formats, including PDF, HTML, XLSX, DOCX, PPTX, and many others.

Features:

  • Cross-platform support: Works on both Windows and Linux systems.
  • Multiple format support: Convert documents between Excel, Word, and PowerPoint formats (e.g., XLS to PDF, DOCX to PDF, PPT to PPTX).
  • Customizable conversion methods: The tool handles conversions for many document formats using well-known software such as LibreOffice (for Linux) and Microsoft Office (for Windows).
  • Logging: Detailed logs are maintained for successful conversions and error handling.
  • Command-line interface (CLI): Can be used directly from the command line with simple arguments for input file, output file, and desired conversion format.

Supported File Formats:

  • Excel: PDF, HTML, XLS, XLSX, XLSB, CSV, ODS, and more.
  • Word: PDF, DOC, DOCX, RTF, TXT, XML, ODT, and more.
  • PowerPoint: PPTX, PPT, PPSX, PPS, ODP, XML, RTF, HTML, and more.

Installation:

  • On Linux: LibreOffice must be installed to handle conversions via the command line.
  • On Windows: Microsoft Office (Excel, Word, PowerPoint) is required for file conversions.

Example Usage:

python ml_converter xls2pdf input.xls output.pdf

Logging:

All operations are logged into a conversion_log.log file for tracking and troubleshooting.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ml_convertor_free-0.1.1.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

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

ml_convertor_free-0.1.1-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file ml_convertor_free-0.1.1.tar.gz.

File metadata

  • Download URL: ml_convertor_free-0.1.1.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for ml_convertor_free-0.1.1.tar.gz
Algorithm Hash digest
SHA256 017a12b44cf274ca800449aa1cf94bdde0d50fec7ba417aa9cec64b6ec007de2
MD5 d6f07d6a8ea131a5549cd5b28e3354f3
BLAKE2b-256 aad89f7c32ddd4a2dbdf1bc78dc5686462d7dead8b6a7e7bc1a254b831355e15

See more details on using hashes here.

File details

Details for the file ml_convertor_free-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for ml_convertor_free-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 809f74110b2667cc6e319173a658a1f817ec75356635242d560b49463e73b57d
MD5 7318b3ceb77885a249780a7adeafcc89
BLAKE2b-256 6e136c7f9c6d0bb06d15a2d765f87bf5075af1c3b6a32d81a07287225a6a6370

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