|
1 | | -# Carbone Render Python SDK |
| 1 | +# Carbone Python SDK |
| 2 | + |
2 | 3 | [](https://pypi.org/project/carbone-sdk) |
3 | 4 | [](./API-REFERENCE.md) |
4 | 5 |
|
5 | | - |
6 | | -Python SDK to use Carbone Render easily. |
| 6 | +Generate Documents in Python: Seamless Integration with Carbone API. |
7 | 7 |
|
8 | 8 | ## About Carbone |
9 | 9 |
|
10 | | -Carbone is a powerful document generator (PDF, DOCX, XLSX, ODT, PPTX, ODS, XML, CSV...) using templates and JSON data. It is based on LibreOffice and can convert any document. It is also possible to convert HTML to PDF. Learn more about [supported files and features](https://carbone.io/documentation.html#supported-files-and-features-list). |
| 10 | +Carbone is a document generator that utilizes Templates and JSON data to create a wide range of file formats, including PDF, DOCX, XLSX, ODT, PPTX, ODS, XML, CSV, and more. With Carbone, you can produce professional, high-quality, rich reports without limitations and streamline document creation processes across all industries: |
| 11 | +- **For Organizations**: Effortlessly generate contracts, agreements, invoices, receipts, financial statements, marketing materials, employment contracts, NDAs, training manuals, and compliance documents. |
| 12 | +- **For Governments**: Create legislation and regulations, policy documents, budget reports, permits and licenses, public records, certificates, audit reports, and health and safety regulations with ease. |
| 13 | +- **For Finance**: Produce budget reports, tax returns, investment portfolios, loan agreements, audit reports, insurance policies, and financial forecasts efficiently. |
| 14 | +- **For Health**: Generate medical records, prescriptions, medical certificates, lab reports, and health insurance claims seamlessly. |
| 15 | + |
| 16 | +Learn more about [Carbone](https://carbone.io) and [Supported files and features](https://carbone.io/documentation.html#supported-files-and-features-list). |
11 | 17 |
|
12 | 18 | ### 🔖 [API REFERENCE](./API-REFERENCE.md) |
13 | 19 |
|
@@ -64,7 +70,7 @@ render_options = { |
64 | 70 | # https://carbone.io/api-reference.html#pdf-export-filter-options |
65 | 71 | } |
66 | 72 |
|
67 | | -# Render and return the report as bytes and a unique report name |
| 73 | +# Generate and return the document as bytes and a unique report name |
68 | 74 | report_bytes, unique_report_name = csdk.render(template_id, render_options) |
69 | 75 | fd = open(unique_report_name, "wb") |
70 | 76 | fd.write(report_bytes) |
@@ -94,8 +100,7 @@ $ make uninstall |
94 | 100 | ### Tests - Run manually |
95 | 101 | Install: |
96 | 102 | ``` |
97 | | -$ pip install pytest |
98 | | -$ pip install requests_mock |
| 103 | +$ pip install -r requirements.txt |
99 | 104 | ``` |
100 | 105 |
|
101 | 106 | To run all the test (-v for verbose output): |
|
0 commit comments