GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — python-licensing/python_licensing at development · flemk/python-licensing

Expand file tree

/

python_licensing

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

python_licensing

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
python_licensing
python_licensing
 
 
README.md
README.md
 
 
requirements.txt
requirements.txt
 
 
setup.py
setup.py
 
 

README.md

Outline

python-licensing

python-licensing is a Python package that provides functionality for licensing a Python script and providing licenses via a licensing server. It allows you to license individual functions via decorators or your entire script.

Installation

You can install python-licensing using pip:

pip install python-licensing

Usage

Here's an example of how to use python-licensing to license a function:

from python_licensing import licensed

@licensed('https://my-licensing-server.example.com')
def my_licensed_function():
    pass

In this example, my_licensed_function is a licensed function. The @licensed decorator takes the URL of your licensing server as an argument.

Licensing Server

The licensing server implementation is located in ./server. You can run it using Docker or Docker Compose. For more information, see the server README.

Obfuscating Your Script

You can combine python-licensing with pyarmor to obfuscate your script and hide the licensing logic. For more information, see the pyarmor documentation.

Contact

If you have any questions or issues, please contact:

[email protected]

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.