Using IronXL for Python License Keys
How to Get a License Key
Adding an IronXL license key allows you to deploy your project live without restrictions or watermarks.
You can buy a license here or sign up for a free 30 day trial key here.
Step 1: Add IronXL as a Dependency in Your Python Project
To integrate the IronXL library into your Python project, you must install it as a dependency using the widely used Python package management tool, pip. Open the terminal and execute the following command:
pip install IronXL
This will install the specified version of IronXL in your project, making it accessible for import.
Please note
Step 2: Apply Your License Key
Next, you need to apply your license key or trial key by setting the LicenseKey attribute at the beginning of your Python script, before utilizing IronXL.
# Apply your license key
License.LicenseKey = "IRONXL-MYLICENSE-KEY-1EF01"
Step 3: Validate Your License Key
Verify the Installed License Key
To verify whether the license key has been applied correctly, you can check the IsLicensed attribute of the License module. Use the following code snippet:
# Check if the license key has been applied
is_licensed = License.IsLicensed
Validate the License Key
To ensure the validity of your license or trial key, you can use the following code snippet:
# Check if a given license key string is valid
is_valid = License.IsValidLicense("IRONXL-MYLICENSE-KEY-1EF01")
If the return value is True, it means the key is valid, and you can proceed with using IronXL. However, if the return value is False, it indicates that the key is invalid
Please note
Step 4: Getting Started with Your Project
To start working with IronXL, we highly recommend following our comprehensive tutorial on how to Get Started with IronXL. This tutorial provides detailed instructions and examples to help you understand the fundamentals of using IronXL in your Python projects.
Questions or Need Support?
During the development phase, you are free to use and test IronXL for Python
. However, for live projects, you will need to purchase a license. We also provide a trial license for evaluation purposes. More information and the trial license can be obtained by visiting here.
For a comprehensive collection of code examples, tutorials, licensing details, and extensive documentation, please visit the IronXL for Python section on our website.
If you need additional support or have any inquiries, our team is here to assist you. Don't hesitate to ask our team.