Licensing

Evaluation Version Limitations

The evaluation version of Aspose.Cells Python via .NET product (without a license specified) provides full product functionality, but it is limited to opening 100 files in one program and adds an extra worksheet with an evaluation watermark.

The limitations are shown below:

  • Number of Opened Files (Aspose.Cells Python via .NET)
    When running your program, you can only open 100 Excel files using the Aspose.Cells Python via .NET library. If your application exceeds this number, an exception will be thrown.

Moreover, a worksheet with an evaluation watermark will always appear as the active worksheet in the generated Excel file using the Aspose.Cells Python via .NET library. Only in the licensed version can you set the active worksheet to other worksheets. In the output PDF or image file generated by Aspose.Cells Python via .NET, an evaluation watermark is placed at the top of the document/image.

Applying a License in Aspose.Cells Python via Component

The license is a plain‑text XML file that contains details such as the product name, the number of developers it is licensed to, the subscription expiry date, and so on. The file is digitally signed, so do not modify it. Even an inadvertent addition of an extra line break will invalidate the license. You need to set a license before utilizing Aspose.Cells Python via .NET if you want to avoid its evaluation limitation. It is required to set a license only once per application (or process). The license can be loaded from a file.

Aspose.Cells Python via .NET tries to find the license in explicit path locations.

There are two common methods to apply a license from a file.

Applying a License from Disk

The easiest way to set a license is to put the license file in an explicit path.

# Instantiate an instance of License and set the license file through its path

license = License()
# For Windows
license.set_license("D:\\Aspose.Cells.lic")
# For Linux or macOS
license.set_license("/home/yourusername/Aspose.Cells.lic")