git clone https://github.com/apache/skywalking-python.gitsetup-linux.sh, setup-windows.ps1) for your relevant OS to create a virtual environment folder in the project root (skywalking-python/venv) and install all the necessary requirementsYou can always take the existing plugins as examples, while there are some general ideas for all plugins.
skywalking/plugins/ with an install method;install method, you find out the relevant method(s) of the libraries that you plan to instrument, and create/close spans before/after those method(s).tests/plugin before it can be merged, refer to the plugin test guide when writing a plugin test.If your PR introduces the need for a new non-standard library which needs to be pulled via pip or if it removes the need for a previously-used library:
build_requirements script relevant to your OS.requirements.txt file in the project root to ensure that the changes have been reflected.