Licensing - Aspose.TeX for Python
Evaluate Aspose.TeX
To evaluate Aspose.TeX for Python, you can easily download the product from the Aspose.TeX for Python download page. The evaluation version is the same as the purchased version. By adding a few lines of code to apply the license, the evaluation version becomes licensed. Please refer to the download page for the latest version.
Evaluation Version Limitations
The The evaluation version of Aspose.TeX provides full product functionality, with the exception that only the first four pages can be obtained in the output document. Additionally, these pages will be stamped with an evaluation mode watermark.
If you would like to try Aspose.TeX without these evaluation limitations, you can request a 30-day temporary license which will you test every aspect of a product before buying it.
Applying a License
After you have completed your evaluation of Aspose.TeX for Python and are satisfied with its performance, you can purchase a license through the Aspose website at the Purchase Portal. It is recommended to familiarize yourself with the different license types available before making a purchase. If you have any questions or need assistance, please feel free to contact the Aspose sales team, as they will be more than happy to help you.
Each Aspose license includes a one-year subscription that entitles you to free upgrades to any new versions or fixes released during that period. We also offer free and unlimited technical support to both licensed and evaluation users.
The license for Aspose is a plain text XML file that includes information such as the product name, number of licensed developers, and subscription expiry date. It is important not to modify the file as it is digitally signed, and even adding an extra line break will invalidate it.
When to Apply a License
Please follow these guidelines:
- The license only needs to be set once per application domain.
- Set the license before using any other Aspose.TeX classes.
- Calling
SetLicense
multiple times is not harmful but wastes processor time.
Loading a License from File
The following code snippet demonstrates how to initialize a license stored in a file.
1license = License()
2# Set license.
3license.set_license(Util.license_path)
4print('License set successfully.')
Loading a License from a Stream Object
The next code initializes the license from a stream.
1license = License()
2# Load license in FileStream.
3with open(Util.license_path, "rb") as my_stream:
4 # Set license.
5 license.set_license(my_stream)
6print('License set successfully.')
Metered License
Aspose.TeX offers an alternative licensing mechanism called Metered Licensing, which allows customers to be billed based on their usage of the API features. Applying a Metered License is as simple as applying a pair of cryptographic keys. For more information, please refer to the Metered Licensing FAQ section.
To set the public and private keys of a metered license, you can use an instance of the Metered class, as shown in the following example:
1# Set metered public and private keys.
2Metered().set_metered_key('<type public key here>', '<type private key here>')
3print('License set successfully.')