1
# Licensing and contributing to PyZMQ
3
PyZMQ uses different licenses for different parts of the code.
5
The 'core' of PyZMQ (located in zmq/core) is licensed under LGPLv3. This just
6
means that if you make any changes to how that code works, you must release
7
those changes under the LGPL. If you just *use* pyzmq, then you can use any
8
license you want for your own code.
10
We don't feel that the restrictions imposed by the LGPL make sense for the
11
'non-core' functionality in pyzmq (derivative code must *also* be LGPL or GPL),
12
especially for examples and utility code, so we have relicensed all 'non-core'
13
code under the more permissive BSD (specifically Modified BSD aka New BSD aka
14
3-clause BSD), where possible. This means that you can copy this code and build
15
your own apps without needing to license your own code with the LGPL or GPL.
19
When you contribute to PyZMQ, your contributions are made under the same
20
license as the file you are working on. Any new original code should be BSD
23
Examples are copyright their respective authors, and BSD unless otherwise
24
specified by the author. You can LGPL (or GPL or MIT or Apache, etc.) your own new
25
examples if you like, but we strongly encourage using the default BSD license.
27
## Inherited licenses in pyzmq
29
Some code outside the core is taken from other open-source projects, and
30
inherits that project's license.
32
* zmq/eventloop contains files inherited and adapted from [tornado][], and inherits the Apache license
34
* zmq/ssh/forward.py is from [paramiko][], and inherits LGPL
36
* zmq/devices/monitoredqueue.pxd is derived from the zmq_device function in
37
libzmq, and inherits LGPL
39
* perf examples are (c) iMatix, and LGPL
41
[tornado]: http://www.tornadoweb.org
42
[paramiko]: http://www.lag.net/paramiko
b'\\ No newline at end of file'