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 key 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
IronXL for Python relies on the IronXL for .NET library as its underlying technology. Therefore, it is necessary to have the .NET 6.0 SDK installed on your machine in order to use IronXL for Python.


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.

:path=/static-assets/excel-python/content-code-examples/get-started/license-keys-apply.py
// THIS CODE SNIPPET IS NOT AVAILABLE!
PYTHON

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:

:path=/static-assets/excel-python/content-code-examples/get-started/license-keys-is-licensed.py
// THIS CODE SNIPPET IS NOT AVAILABLE!
PYTHON

Validate the License Key

To ensure the validity of your license or trial key, you can use the following code snippet:

:path=/static-assets/excel-python/content-code-examples/get-started/license-keys-is-valid.py
// THIS CODE SNIPPET IS NOT AVAILABLE!
PYTHON

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
After adding a license, it is essential to clean and republish your application to ensure a smooth deployment process and avoid any potential mistakes.

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. A trial licenseis also available.

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.

Frequently Asked Questions

How can I obtain a license key for IronXL for Python?

You can buy a license key or sign up for a free 30-day trial key from the IronXL licensing page.

What is the first step to use IronXL for Python?

The first step is to add IronXL as a dependency in your Python project using pip by executing the command: `pip install ironxl`.

Why do I need the .NET 6.0 SDK for IronXL for Python?

IronXL for Python relies on the IronXL .NET library, specifically .NET 6.0, as its underlying technology, making the .NET 6.0 SDK necessary for use.

How do I apply a license key in my IronXL for Python project?

You can apply your license key by setting the `LicenseKey` attribute at the beginning of your Python script with the code: `ironxl.LicenseKey = 'YOUR_LICENSE_KEY_HERE'`.

How can I verify if the license key has been applied correctly?

You can verify the installed license key by checking the `IsLicensed` attribute of the `License` module with the code: `is_licensed = ironxl.License.IsLicensed()`.

How do I validate the license key for IronXL?

To validate the license key, use the code: `is_valid = ironxl.License.IsValid()`. A return value of `True` means the key is valid.

What should I do after applying a license key?

After applying a license key, it is essential to clean and republish your application to ensure a smooth deployment process.

Where can I find tutorials and detailed instructions for IronXL?

For detailed instructions and tutorials, visit the IronXL for Python section on our website or follow our comprehensive tutorial on how to get started with IronXL.

Do I need a license key for development purposes?

During development, you are free to use and test IronXL for Python without a license key. For live projects, a purchased license or a trial license is required.

How can I get support or assistance with IronXL?

If you need support or have inquiries, you can reach out to our team for assistance or visit our website for extensive documentation and support options.