mirror of
https://github.com/aykhans/AzSuicideDataVisualization.git
synced 2025-07-01 22:13:01 +00:00
first commit
This commit is contained in:
@ -0,0 +1 @@
|
||||
pip
|
274
.venv/Lib/site-packages/traitlets-5.2.1.post0.dist-info/METADATA
Normal file
274
.venv/Lib/site-packages/traitlets-5.2.1.post0.dist-info/METADATA
Normal file
@ -0,0 +1,274 @@
|
||||
Metadata-Version: 2.1
|
||||
Name: traitlets
|
||||
Version: 5.2.1.post0
|
||||
Project-URL: Homepage, https://github.com/ipython/traitlets
|
||||
Author-email: IPython Development Team <ipython-dev@python.org>
|
||||
License: # Licensing terms
|
||||
|
||||
Traitlets is adapted from enthought.traits, Copyright (c) Enthought, Inc.,
|
||||
under the terms of the Modified BSD License.
|
||||
|
||||
This project is licensed under the terms of the Modified BSD License
|
||||
(also known as New or Revised or 3-Clause BSD), as follows:
|
||||
|
||||
- Copyright (c) 2001-, IPython Development Team
|
||||
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
|
||||
Redistributions in binary form must reproduce the above copyright notice, this
|
||||
list of conditions and the following disclaimer in the documentation and/or
|
||||
other materials provided with the distribution.
|
||||
|
||||
Neither the name of the IPython Development Team nor the names of its
|
||||
contributors may be used to endorse or promote products derived from this
|
||||
software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
|
||||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
## About the IPython Development Team
|
||||
|
||||
The IPython Development Team is the set of all contributors to the IPython project.
|
||||
This includes all of the IPython subprojects.
|
||||
|
||||
The core team that coordinates development on GitHub can be found here:
|
||||
https://github.com/jupyter/.
|
||||
|
||||
## Our Copyright Policy
|
||||
|
||||
IPython uses a shared copyright model. Each contributor maintains copyright
|
||||
over their contributions to IPython. But, it is important to note that these
|
||||
contributions are typically only changes to the repositories. Thus, the IPython
|
||||
source code, in its entirety is not the copyright of any single person or
|
||||
institution. Instead, it is the collective copyright of the entire IPython
|
||||
Development Team. If individual contributors want to maintain a record of what
|
||||
changes/contributions they have specific copyright on, they should indicate
|
||||
their copyright in the commit message of the change, when they commit the
|
||||
change to one of the IPython repositories.
|
||||
|
||||
With this in mind, the following banner should be used in any source code file
|
||||
to indicate the copyright and license terms:
|
||||
|
||||
# Copyright (c) IPython Development Team.
|
||||
# Distributed under the terms of the Modified BSD License.
|
||||
Keywords: Interactive,Interpreter,Shell,Web
|
||||
Classifier: Intended Audience :: Developers
|
||||
Classifier: Intended Audience :: Science/Research
|
||||
Classifier: Intended Audience :: System Administrators
|
||||
Classifier: License :: OSI Approved :: BSD License
|
||||
Classifier: Programming Language :: Python
|
||||
Classifier: Programming Language :: Python :: 3
|
||||
Requires-Python: >=3.7
|
||||
Provides-Extra: test
|
||||
Requires-Dist: pre-commit; extra == 'test'
|
||||
Requires-Dist: pytest; extra == 'test'
|
||||
Description-Content-Type: text/markdown
|
||||
|
||||
# Traitlets
|
||||
|
||||
[](https://github.com/ipython/traitlets/actions/workflows/tests.yml)
|
||||
[](https://github.com/ipython/traitlets/actions/workflows/downstream.yml)
|
||||
[](https://traitlets.readthedocs.io/en/latest/?badge=latest)
|
||||
|
||||
| | |
|
||||
| ------------- | ------------------------------------ |
|
||||
| **home** | https://github.com/ipython/traitlets |
|
||||
| **pypi-repo** | https://pypi.org/project/traitlets/ |
|
||||
| **docs** | https://traitlets.readthedocs.io/ |
|
||||
| **license** | Modified BSD License |
|
||||
|
||||
Traitlets is a pure Python library enabling:
|
||||
|
||||
- the enforcement of strong typing for attributes of Python objects
|
||||
(typed attributes are called _"traits"_);
|
||||
- dynamically calculated default values;
|
||||
- automatic validation and coercion of trait attributes when attempting a
|
||||
change;
|
||||
- registering for receiving notifications when trait values change;
|
||||
- reading configuring values from files or from command line
|
||||
arguments - a distinct layer on top of traitlets, so you may use
|
||||
traitlets without the configuration machinery.
|
||||
|
||||
Its implementation relies on the [descriptor](https://docs.python.org/howto/descriptor.html)
|
||||
pattern, and it is a lightweight pure-python alternative of the
|
||||
[_traits_ library](https://docs.enthought.com/traits/).
|
||||
|
||||
Traitlets powers the configuration system of IPython and Jupyter
|
||||
and the declarative API of IPython interactive widgets.
|
||||
|
||||
## Installation
|
||||
|
||||
For a local installation, make sure you have
|
||||
[pip installed](https://pip.pypa.io/en/stable/installing/) and run:
|
||||
|
||||
```bash
|
||||
pip install traitlets
|
||||
```
|
||||
|
||||
For a **development installation**, clone this repository, change into the
|
||||
`traitlets` root directory, and run pip:
|
||||
|
||||
```bash
|
||||
git clone https://github.com/ipython/traitlets.git
|
||||
cd traitlets
|
||||
pip install -e .
|
||||
```
|
||||
|
||||
## Running the tests
|
||||
|
||||
```bash
|
||||
pip install "traitlets[test]"
|
||||
py.test traitlets
|
||||
```
|
||||
|
||||
## Code Styling
|
||||
|
||||
`traitlets` has adopted automatic code formatting so you shouldn't
|
||||
need to worry too much about your code style.
|
||||
As long as your code is valid,
|
||||
the pre-commit hook should take care of how it should look.
|
||||
|
||||
To install `pre-commit` locally, run the following::
|
||||
|
||||
pip install pre-commit
|
||||
pre-commit install
|
||||
|
||||
You can invoke the pre-commit hook by hand at any time with::
|
||||
|
||||
pre-commit run
|
||||
|
||||
which should run any autoformatting on your code
|
||||
and tell you about any errors it couldn't fix automatically.
|
||||
You may also install [black integration](https://github.com/psf/black#editor-integration)
|
||||
into your text editor to format code automatically.
|
||||
|
||||
If you have already committed files before setting up the pre-commit
|
||||
hook with `pre-commit install`, you can fix everything up using
|
||||
`pre-commit run --all-files`. You need to make the fixing commit
|
||||
yourself after that.
|
||||
|
||||
Some of the hooks only run on CI by default, but you can invoke them by
|
||||
running with the `--hook-stage manual` argument.
|
||||
|
||||
## Usage
|
||||
|
||||
Any class with trait attributes must inherit from `HasTraits`.
|
||||
For the list of available trait types and their properties, see the
|
||||
[Trait Types](https://traitlets.readthedocs.io/en/latest/trait_types.html)
|
||||
section of the documentation.
|
||||
|
||||
### Dynamic default values
|
||||
|
||||
To calculate a default value dynamically, decorate a method of your class with
|
||||
`@default({traitname})`. This method will be called on the instance, and
|
||||
should return the default value. In this example, the `_username_default`
|
||||
method is decorated with `@default('username')`:
|
||||
|
||||
```Python
|
||||
import getpass
|
||||
from traitlets import HasTraits, Unicode, default
|
||||
|
||||
class Identity(HasTraits):
|
||||
username = Unicode()
|
||||
|
||||
@default('username')
|
||||
def _username_default(self):
|
||||
return getpass.getuser()
|
||||
```
|
||||
|
||||
### Callbacks when a trait attribute changes
|
||||
|
||||
When a trait changes, an application can follow this trait change with
|
||||
additional actions.
|
||||
|
||||
To do something when a trait attribute is changed, decorate a method with
|
||||
[`traitlets.observe()`](https://traitlets.readthedocs.io/en/latest/api.html?highlight=observe#traitlets.observe).
|
||||
The method will be called with a single argument, a dictionary which contains
|
||||
an owner, new value, old value, name of the changed trait, and the event type.
|
||||
|
||||
In this example, the `_num_changed` method is decorated with `` @observe(`num`) ``:
|
||||
|
||||
```Python
|
||||
from traitlets import HasTraits, Integer, observe
|
||||
|
||||
class TraitletsExample(HasTraits):
|
||||
num = Integer(5, help="a number").tag(config=True)
|
||||
|
||||
@observe('num')
|
||||
def _num_changed(self, change):
|
||||
print("{name} changed from {old} to {new}".format(**change))
|
||||
```
|
||||
|
||||
and is passed the following dictionary when called:
|
||||
|
||||
```Python
|
||||
{
|
||||
'owner': object, # The HasTraits instance
|
||||
'new': 6, # The new value
|
||||
'old': 5, # The old value
|
||||
'name': "foo", # The name of the changed trait
|
||||
'type': 'change', # The event type of the notification, usually 'change'
|
||||
}
|
||||
```
|
||||
|
||||
### Validation and coercion
|
||||
|
||||
Each trait type (`Int`, `Unicode`, `Dict` etc.) may have its own validation or
|
||||
coercion logic. In addition, we can register custom cross-validators
|
||||
that may depend on the state of other attributes. For example:
|
||||
|
||||
```Python
|
||||
from traitlets import HasTraits, TraitError, Int, Bool, validate
|
||||
|
||||
class Parity(HasTraits):
|
||||
value = Int()
|
||||
parity = Int()
|
||||
|
||||
@validate('value')
|
||||
def _valid_value(self, proposal):
|
||||
if proposal['value'] % 2 != self.parity:
|
||||
raise TraitError('value and parity should be consistent')
|
||||
return proposal['value']
|
||||
|
||||
@validate('parity')
|
||||
def _valid_parity(self, proposal):
|
||||
parity = proposal['value']
|
||||
if parity not in [0, 1]:
|
||||
raise TraitError('parity should be 0 or 1')
|
||||
if self.value % 2 != parity:
|
||||
raise TraitError('value and parity should be consistent')
|
||||
return proposal['value']
|
||||
|
||||
parity_check = Parity(value=2)
|
||||
|
||||
# Changing required parity and value together while holding cross validation
|
||||
with parity_check.hold_trait_notifications():
|
||||
parity_check.value = 1
|
||||
parity_check.parity = 1
|
||||
```
|
||||
|
||||
However, we **recommend** that custom cross-validators don't modify the state
|
||||
of the HasTraits instance.
|
||||
|
||||
### Release build:
|
||||
|
||||
Releases should be automatically build and pushed to Pypi when a tag is marked and pushed to GitHub.
|
||||
|
||||
```bash
|
||||
$ pip install build
|
||||
$ python -m build .
|
||||
```
|
@ -0,0 +1,71 @@
|
||||
traitlets-5.2.1.post0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
||||
traitlets-5.2.1.post0.dist-info/METADATA,sha256=50AF6JRptCtboifwcNFpPB1l7nLbkXBsCyAHZ7y2M_8,10668
|
||||
traitlets-5.2.1.post0.dist-info/RECORD,,
|
||||
traitlets-5.2.1.post0.dist-info/WHEEL,sha256=TvgKizA8n0IOht6qQGmY02tNP9DoL8JxrP8HKAckPq8,87
|
||||
traitlets-5.2.1.post0.dist-info/entry_points.txt,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
||||
traitlets-5.2.1.post0.dist-info/license_files/COPYING.md,sha256=iNVNMRqKk4W8V5QDRVmEam2qsSTJtlzlcGnsLwnPLag,2954
|
||||
traitlets/__init__.py,sha256=neGQbs92--6Tj6rVAvw_caEAo1k_hGafomn2n4J6WKQ,698
|
||||
traitlets/__pycache__/__init__.cpython-310.pyc,,
|
||||
traitlets/__pycache__/_version.cpython-310.pyc,,
|
||||
traitlets/__pycache__/log.cpython-310.pyc,,
|
||||
traitlets/__pycache__/traitlets.cpython-310.pyc,,
|
||||
traitlets/_version.py,sha256=FVd8h-KfQaoJADeM34SSVqcBXF5kdl8VstdexSTOcMk,402
|
||||
traitlets/config/__init__.py,sha256=xh1x0A2DSY6flIcRylcQDt9OfdWf1cm3JWvJXOcOTFE,184
|
||||
traitlets/config/__pycache__/__init__.cpython-310.pyc,,
|
||||
traitlets/config/__pycache__/application.cpython-310.pyc,,
|
||||
traitlets/config/__pycache__/configurable.cpython-310.pyc,,
|
||||
traitlets/config/__pycache__/loader.cpython-310.pyc,,
|
||||
traitlets/config/__pycache__/manager.cpython-310.pyc,,
|
||||
traitlets/config/__pycache__/sphinxdoc.cpython-310.pyc,,
|
||||
traitlets/config/application.py,sha256=JmW1UeZ-aEATFyVC1cUrQxW9sq2REyGDJCLzXWoi9s4,37359
|
||||
traitlets/config/configurable.py,sha256=FY8k4_1URAgEzXxBnWpYh9v1qqLAXQoQDKXgX1ezCT4,21001
|
||||
traitlets/config/loader.py,sha256=0NysLHdPXVDGBwLnt0c8yYwrXp02T3upbnm4WG0lwmQ,36112
|
||||
traitlets/config/manager.py,sha256=x_ToJXwmujGPC9x9Uh1vRw1mTdkUH76pWYli2Rt06es,2313
|
||||
traitlets/config/sphinxdoc.py,sha256=VklnJNpyOBOO0EsCql39F-A_ODAGOrzGILwvkrVDaDM,4930
|
||||
traitlets/config/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
||||
traitlets/config/tests/__pycache__/__init__.cpython-310.pyc,,
|
||||
traitlets/config/tests/__pycache__/test_application.cpython-310.pyc,,
|
||||
traitlets/config/tests/__pycache__/test_configurable.cpython-310.pyc,,
|
||||
traitlets/config/tests/__pycache__/test_loader.cpython-310.pyc,,
|
||||
traitlets/config/tests/test_application.py,sha256=sGDBZc36gSRI7AiDeaZlSxbHZM5zJobv9jmiazroUBE,28305
|
||||
traitlets/config/tests/test_configurable.py,sha256=-k0IGPd65t_b-W52gUwbWZEadBO5sIjbvfFbXjpJyXI,22481
|
||||
traitlets/config/tests/test_loader.py,sha256=1aT1sK77NC5u8OURNlge1ttp0EtnBWm9QEM4uzc3QXk,22568
|
||||
traitlets/log.py,sha256=1rtmkQOvgXlBBsHuHH0BwQMRK9JdjD3AeuTsMbu6U-I,781
|
||||
traitlets/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
||||
traitlets/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
||||
traitlets/tests/__pycache__/__init__.cpython-310.pyc,,
|
||||
traitlets/tests/__pycache__/_warnings.cpython-310.pyc,,
|
||||
traitlets/tests/__pycache__/test_traitlets.cpython-310.pyc,,
|
||||
traitlets/tests/__pycache__/test_traitlets_enum.cpython-310.pyc,,
|
||||
traitlets/tests/__pycache__/utils.cpython-310.pyc,,
|
||||
traitlets/tests/_warnings.py,sha256=mLjd6cPeR8RTYX-LBBx0VkLVvAWYJxb6ME3T4ZUBuWM,4190
|
||||
traitlets/tests/test_traitlets.py,sha256=JaRQFR5Skkv_GaYCwtjb7aAkc6pkim7pB50iL_09_NI,77605
|
||||
traitlets/tests/test_traitlets_enum.py,sha256=NKaeF7ShZTDc8BZAt7zg2TFIRFhKz9DNDx-aBDMNKjo,13521
|
||||
traitlets/tests/utils.py,sha256=LuVhqsydBgVD0QWHzWyKjmQqwhViHVEEM9wlSED4oWw,1141
|
||||
traitlets/traitlets.py,sha256=kwBhkLffSTRNx2p27wuzmQ6O0AYFaKzGiJpTlq1ClXQ,118488
|
||||
traitlets/utils/__init__.py,sha256=3SwPRFsPeQwgbyE95PT7HbNwl7cQVQH0vah1HEGueWQ,2905
|
||||
traitlets/utils/__pycache__/__init__.cpython-310.pyc,,
|
||||
traitlets/utils/__pycache__/bunch.cpython-310.pyc,,
|
||||
traitlets/utils/__pycache__/decorators.cpython-310.pyc,,
|
||||
traitlets/utils/__pycache__/descriptions.cpython-310.pyc,,
|
||||
traitlets/utils/__pycache__/getargspec.cpython-310.pyc,,
|
||||
traitlets/utils/__pycache__/importstring.cpython-310.pyc,,
|
||||
traitlets/utils/__pycache__/nested_update.cpython-310.pyc,,
|
||||
traitlets/utils/__pycache__/sentinel.cpython-310.pyc,,
|
||||
traitlets/utils/__pycache__/text.cpython-310.pyc,,
|
||||
traitlets/utils/bunch.py,sha256=yGEz0HsfJl0lXRQDU3JsthSe6r-Uq-8vU41hiDjp9Rc,670
|
||||
traitlets/utils/decorators.py,sha256=9VIZWXWXHUsQCYHoHKlWIoV9obBDmVUlloEoxtxw-a0,2941
|
||||
traitlets/utils/descriptions.py,sha256=3jYmeSM6rkBQd_FHhspBViKM9zYZYO9VMIHQM75e1O8,5382
|
||||
traitlets/utils/getargspec.py,sha256=NgE26RAxXouOznLMYJb59uF9CNrEkUkt23oAEwLWS-o,1557
|
||||
traitlets/utils/importstring.py,sha256=G2rEo6QGd24o804X1S8I26Rk5-Y000uLFOJ9SZKfjMQ,1127
|
||||
traitlets/utils/nested_update.py,sha256=Dq-ctGMXuV8EuxvUJ_DoLf6g1oXWlu9a_Ed89GkKfLI,999
|
||||
traitlets/utils/sentinel.py,sha256=FoVJE6Xe5t6oPvjgBetcMB3s_e9ApVmWJ7EgaYxYDcQ,515
|
||||
traitlets/utils/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
||||
traitlets/utils/tests/__pycache__/__init__.cpython-310.pyc,,
|
||||
traitlets/utils/tests/__pycache__/test_bunch.cpython-310.pyc,,
|
||||
traitlets/utils/tests/__pycache__/test_decorators.cpython-310.pyc,,
|
||||
traitlets/utils/tests/__pycache__/test_importstring.cpython-310.pyc,,
|
||||
traitlets/utils/tests/test_bunch.py,sha256=WdT0I8FCjFREguXkS3ZdPHUMmJcZ7nCsEdt0H8NUBlg,274
|
||||
traitlets/utils/tests/test_decorators.py,sha256=QuMAWHlQVuP_O0azOJt-PB1FZHSXpK_cfGygiGqft8g,4748
|
||||
traitlets/utils/tests/test_importstring.py,sha256=qGwO_oCASvkPXjAS6lFSOLmNf_B6aox6cxsmP5PffYo,814
|
||||
traitlets/utils/text.py,sha256=q0qhTD1JnUH1xZMNVtaf1FPeK9Vf3lVOhUymsMx3FP0,1106
|
@ -0,0 +1,4 @@
|
||||
Wheel-Version: 1.0
|
||||
Generator: hatchling 0.25.0
|
||||
Root-Is-Purelib: true
|
||||
Tag: py3-none-any
|
@ -0,0 +1,62 @@
|
||||
# Licensing terms
|
||||
|
||||
Traitlets is adapted from enthought.traits, Copyright (c) Enthought, Inc.,
|
||||
under the terms of the Modified BSD License.
|
||||
|
||||
This project is licensed under the terms of the Modified BSD License
|
||||
(also known as New or Revised or 3-Clause BSD), as follows:
|
||||
|
||||
- Copyright (c) 2001-, IPython Development Team
|
||||
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
|
||||
Redistributions in binary form must reproduce the above copyright notice, this
|
||||
list of conditions and the following disclaimer in the documentation and/or
|
||||
other materials provided with the distribution.
|
||||
|
||||
Neither the name of the IPython Development Team nor the names of its
|
||||
contributors may be used to endorse or promote products derived from this
|
||||
software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
|
||||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
## About the IPython Development Team
|
||||
|
||||
The IPython Development Team is the set of all contributors to the IPython project.
|
||||
This includes all of the IPython subprojects.
|
||||
|
||||
The core team that coordinates development on GitHub can be found here:
|
||||
https://github.com/jupyter/.
|
||||
|
||||
## Our Copyright Policy
|
||||
|
||||
IPython uses a shared copyright model. Each contributor maintains copyright
|
||||
over their contributions to IPython. But, it is important to note that these
|
||||
contributions are typically only changes to the repositories. Thus, the IPython
|
||||
source code, in its entirety is not the copyright of any single person or
|
||||
institution. Instead, it is the collective copyright of the entire IPython
|
||||
Development Team. If individual contributors want to maintain a record of what
|
||||
changes/contributions they have specific copyright on, they should indicate
|
||||
their copyright in the commit message of the change, when they commit the
|
||||
change to one of the IPython repositories.
|
||||
|
||||
With this in mind, the following banner should be used in any source code file
|
||||
to indicate the copyright and license terms:
|
||||
|
||||
# Copyright (c) IPython Development Team.
|
||||
# Distributed under the terms of the Modified BSD License.
|
Reference in New Issue
Block a user