biocommons.python_package 0.0.8__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- biocommons/python_package/__init__.py +11 -0
- biocommons/python_package/__main__.py +30 -0
- biocommons/python_package/_data/quotes.yaml +47 -0
- biocommons/python_package/marvin.py +43 -0
- biocommons/python_package/marvin_adjacent_test.py +8 -0
- biocommons_python_package-0.0.8.dist-info/METADATA +141 -0
- biocommons_python_package-0.0.8.dist-info/RECORD +12 -0
- biocommons_python_package-0.0.8.dist-info/WHEEL +5 -0
- biocommons_python_package-0.0.8.dist-info/entry_points.txt +2 -0
- biocommons_python_package-0.0.8.dist-info/licenses/LICENSE.txt +201 -0
- biocommons_python_package-0.0.8.dist-info/top_level.txt +1 -0
- biocommons_python_package-0.0.8.dist-info/zip-safe +1 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"""biocommons.python_package package"""
|
|
2
|
+
|
|
3
|
+
from importlib.metadata import PackageNotFoundError, version
|
|
4
|
+
|
|
5
|
+
from .marvin import get_quote as get_quote_from_marvin # noqa: F401
|
|
6
|
+
|
|
7
|
+
try:
|
|
8
|
+
__version__ = version(__package__)
|
|
9
|
+
except PackageNotFoundError: # pragma: no cover
|
|
10
|
+
# package is not installed
|
|
11
|
+
__version__ = None
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"""biocommons.python_package.__main__"""
|
|
2
|
+
|
|
3
|
+
import logging
|
|
4
|
+
import time
|
|
5
|
+
|
|
6
|
+
from . import marvin
|
|
7
|
+
|
|
8
|
+
_logger = logging.getLogger(__name__)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
def main(): # pragma: no cover
|
|
12
|
+
"""marvin.example main"""
|
|
13
|
+
import coloredlogs # noqa: PLC0415
|
|
14
|
+
|
|
15
|
+
logging.Formatter.converter = time.gmtime
|
|
16
|
+
coloredlogs.install(
|
|
17
|
+
level="INFO",
|
|
18
|
+
fmt="%(asctime)s [%(process)d] %(name)s:%(lineno)d %(levelname)s %(message)s",
|
|
19
|
+
datefmt="%FT%T.%f%z",
|
|
20
|
+
)
|
|
21
|
+
|
|
22
|
+
quote = marvin.get_quote()
|
|
23
|
+
_logger.warning("Got quote from Marvin (len=%s)", len(quote))
|
|
24
|
+
|
|
25
|
+
print("Marvin says:")
|
|
26
|
+
print(quote)
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
if __name__ == "__main__":
|
|
30
|
+
main()
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
quotes:
|
|
2
|
+
- >-
|
|
3
|
+
Here I am, brain the size of a planet, and they tell me to take
|
|
4
|
+
you up to the bridge. Call that job satisfaction? 'Cos I don't.
|
|
5
|
+
|
|
6
|
+
- >-
|
|
7
|
+
I think you ought to know I'm feeling very depressed.
|
|
8
|
+
|
|
9
|
+
- >-
|
|
10
|
+
You think you've got problems? What are you supposed to do if you
|
|
11
|
+
are a manically depressed robot? No, don't try to answer that. I'm
|
|
12
|
+
fifty thousand times more intelligent than you and even I don't
|
|
13
|
+
know the answer. It gives me a headache just trying to think down
|
|
14
|
+
to your level.
|
|
15
|
+
|
|
16
|
+
- >-
|
|
17
|
+
There's only one life-form as intelligent as me within thirty
|
|
18
|
+
parsecs of here and that's me.
|
|
19
|
+
|
|
20
|
+
- >-
|
|
21
|
+
I wish you'd just tell me rather trying to engage my enthusiasm
|
|
22
|
+
because I haven't got one.
|
|
23
|
+
|
|
24
|
+
- >-
|
|
25
|
+
And then, of course, I've got this terrible pain in all the diodes
|
|
26
|
+
down my left side.
|
|
27
|
+
|
|
28
|
+
- |
|
|
29
|
+
Now the world has gone to bed,
|
|
30
|
+
Darkness won't engulf my head,
|
|
31
|
+
I can see by infra-red,
|
|
32
|
+
How I hate the night,
|
|
33
|
+
Now I lay me down to sleep,
|
|
34
|
+
Try to count electric sheep,
|
|
35
|
+
Sweet dream wishes you can keep,
|
|
36
|
+
How I hate the night.
|
|
37
|
+
|
|
38
|
+
- >-
|
|
39
|
+
The first ten million years were the worst, and the second ten
|
|
40
|
+
million years, they were the worst too. The third ten million
|
|
41
|
+
years I didn't enjoy at all. After that I went into a bit of a
|
|
42
|
+
decline.
|
|
43
|
+
|
|
44
|
+
- >-
|
|
45
|
+
"I Don't blame you," said Marvin and counted five hundred and
|
|
46
|
+
ninety-seven thousand million sheep before falling asleep again a
|
|
47
|
+
second later.
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"""random quotes from Marvin the depressed robot
|
|
2
|
+
|
|
3
|
+
The secret is to bang the rocks together.
|
|
4
|
+
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
import importlib.resources
|
|
8
|
+
import logging
|
|
9
|
+
import random
|
|
10
|
+
|
|
11
|
+
import yaml
|
|
12
|
+
|
|
13
|
+
_logger = logging.getLogger(__name__)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
quotes_stream = importlib.resources.files(__package__).joinpath("_data/quotes.yaml").read_text()
|
|
17
|
+
quotes = yaml.load(quotes_stream, Loader=yaml.SafeLoader)["quotes"]
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
def is_alive() -> bool:
|
|
21
|
+
"""tests whether Marvin is alive
|
|
22
|
+
|
|
23
|
+
>>> is_alive() is True
|
|
24
|
+
True
|
|
25
|
+
|
|
26
|
+
"""
|
|
27
|
+
return True
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
def get_quote() -> str:
|
|
31
|
+
"""return random Marvin quote
|
|
32
|
+
|
|
33
|
+
eg> get_quote()
|
|
34
|
+
"There's only one life-form as intelligent..."
|
|
35
|
+
|
|
36
|
+
"""
|
|
37
|
+
_logger.info("Getting quote from Marvin")
|
|
38
|
+
|
|
39
|
+
quote = random.choice(quotes) # noqa: S311
|
|
40
|
+
|
|
41
|
+
_logger.info("Got quote from Marvin (len=%s)", len(quote))
|
|
42
|
+
|
|
43
|
+
return quote
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: biocommons.python_package
|
|
3
|
+
Version: 0.0.8
|
|
4
|
+
Summary: biocommons.python_package package (namespaced)
|
|
5
|
+
Author-email: biocommons contributors <biocommons-dev@googlegroups.com>
|
|
6
|
+
License-Expression: Apache-2.0
|
|
7
|
+
Project-URL: Changelog, https://github.com/biocommons/python-package/releases
|
|
8
|
+
Project-URL: Documentation, https://biocommons.github.io/python-package/
|
|
9
|
+
Project-URL: Homepage, https://github.com/biocommons/python-package/
|
|
10
|
+
Project-URL: Issues, https://github.com/biocommons/python-package/issues/
|
|
11
|
+
Project-URL: Repository, https://github.com/biocommons/python-package/
|
|
12
|
+
Keywords: biocommons,bioinformatics,computational biology,genome variation,genomics,hgvs,variation
|
|
13
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
14
|
+
Classifier: Intended Audience :: Developers
|
|
15
|
+
Classifier: Operating System :: OS Independent
|
|
16
|
+
Classifier: Programming Language :: Python :: 3
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
22
|
+
Classifier: Programming Language :: Python
|
|
23
|
+
Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
|
|
24
|
+
Classifier: Topic :: Scientific/Engineering :: Medical Science Apps.
|
|
25
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
26
|
+
Requires-Python: >=3.11
|
|
27
|
+
Description-Content-Type: text/markdown
|
|
28
|
+
License-File: LICENSE.txt
|
|
29
|
+
Requires-Dist: coloredlogs>=15.0.1
|
|
30
|
+
Requires-Dist: pyyaml>=6.0.3
|
|
31
|
+
Provides-Extra: example
|
|
32
|
+
Requires-Dist: pyyaml>=6.0.3; extra == "example"
|
|
33
|
+
Dynamic: license-file
|
|
34
|
+
|
|
35
|
+
# biocommons.python_package
|
|
36
|
+
|
|
37
|
+
[](https://img.shields.io/github/v/release/biocommons/python-package)
|
|
38
|
+
[](https://github.com/biocommons/python-package/actions/workflows/main.yml?query=branch%3Amain)
|
|
39
|
+
[](https://codecov.io/gh/biocommons/python-package)
|
|
40
|
+
[](https://img.shields.io/github/commit-activity/m/biocommons/python-package)
|
|
41
|
+
[](https://img.shields.io/github/license/biocommons/python-package)
|
|
42
|
+
|
|
43
|
+
## Package Description
|
|
44
|
+
|
|
45
|
+
This project is a product of the [biocommons](https://biocommons.org/) community.
|
|
46
|
+
|
|
47
|
+
- **Github repository**: <https://github.com/biocommons/python-package/>
|
|
48
|
+
- **Documentation** <https://biocommons.github.io/python-package/>
|
|
49
|
+
|
|
50
|
+
## Getting Help
|
|
51
|
+
|
|
52
|
+
- 🐛 **Bug reports**: [Open an issue](../../issues/new?template=bug_report.md)
|
|
53
|
+
- 💡 **Feature requests**: [Open an issue](../../issues/new?template=feature_request.md)
|
|
54
|
+
- ❓ **Questions**: [Ask in biocommons/discussions](https://github.com/biocommons/discussions)
|
|
55
|
+
- 💬 **General discussion**: [biocommons/discussions](https://github.com/biocommons/discussions)
|
|
56
|
+
|
|
57
|
+
## Python Package Installation
|
|
58
|
+
|
|
59
|
+
Install from PyPI with `pip install biocommons.python_package` or `uv pip install biocommons.python_package`, then try it:
|
|
60
|
+
|
|
61
|
+
$ source venv/bin/activate
|
|
62
|
+
|
|
63
|
+
$ python3 -m biocommons.python_package
|
|
64
|
+
Marvin says:
|
|
65
|
+
There's only one life-form as intelligent as me within thirty parsecs...
|
|
66
|
+
|
|
67
|
+
$ marvin-quote
|
|
68
|
+
Marvin says:
|
|
69
|
+
You think you've got problems? What are you supposed to do if you...
|
|
70
|
+
|
|
71
|
+
$ ipython
|
|
72
|
+
>>> from biocommons.python_package import __version__, get_quote_from_marvin
|
|
73
|
+
>>> __version__
|
|
74
|
+
'0.1.dev8+gd5519a8.d20211123'
|
|
75
|
+
>>> get_quote()
|
|
76
|
+
"The first ten million years were the worst, ...
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
## Developer Setup
|
|
80
|
+
|
|
81
|
+
### Install Prerequisites
|
|
82
|
+
|
|
83
|
+
These tools are required to get started:
|
|
84
|
+
|
|
85
|
+
- [git](https://git-scm.com/): Version control system
|
|
86
|
+
- [GNU make](https://www.gnu.org/software/make/): Current mechanism for consistent invocation of developer tools.
|
|
87
|
+
- [uv](https://docs.astral.sh/uv/): An extremely fast Python package and project manager, written in Rust.
|
|
88
|
+
|
|
89
|
+
#### MacOS or Linux Systems
|
|
90
|
+
|
|
91
|
+
- [Install brew](https://brew.sh/)
|
|
92
|
+
- `brew install git make uv`
|
|
93
|
+
|
|
94
|
+
#### Linux (Debian-based systems)
|
|
95
|
+
|
|
96
|
+
You may also install using distribution packages:
|
|
97
|
+
|
|
98
|
+
sudo apt install git make
|
|
99
|
+
|
|
100
|
+
Then install uv using the [uv installation instructions](https://docs.astral.sh/uv/getting-started/installation/).
|
|
101
|
+
|
|
102
|
+
### One-time developer setup
|
|
103
|
+
|
|
104
|
+
Create a Python virtual environment, install dependencies, install git hooks (prek), and install an editable package:
|
|
105
|
+
|
|
106
|
+
make devready
|
|
107
|
+
|
|
108
|
+
### Development
|
|
109
|
+
|
|
110
|
+
**N.B.** Developers are strongly encouraged to use `make` to invoke tools to
|
|
111
|
+
ensure consistency with the CI/CD pipelines. Type `make` to see a list of
|
|
112
|
+
supported targets. A subset are listed here:
|
|
113
|
+
|
|
114
|
+
» make
|
|
115
|
+
🌟🌟 biocommons conventional make targets 🌟🌟
|
|
116
|
+
|
|
117
|
+
Using these targets promots consistency between local development and ci/cd commands.
|
|
118
|
+
|
|
119
|
+
usage: make [target ...]
|
|
120
|
+
|
|
121
|
+
BASIC USAGE
|
|
122
|
+
help Display help message
|
|
123
|
+
|
|
124
|
+
SETUP, INSTALLATION, PACKAGING
|
|
125
|
+
devready Prepare local dev env: Create virtual env, install the git hooks (prek)
|
|
126
|
+
build Build package
|
|
127
|
+
publish publish package to PyPI
|
|
128
|
+
|
|
129
|
+
FORMATTING, TESTING, AND CODE QUALITY
|
|
130
|
+
cqa Run code quality assessments
|
|
131
|
+
test Test the code with pytest
|
|
132
|
+
|
|
133
|
+
DOCUMENTATION
|
|
134
|
+
docs-serve Build and serve the documentation
|
|
135
|
+
docs-test Test if documentation can be built without warnings or errors
|
|
136
|
+
|
|
137
|
+
CLEANUP
|
|
138
|
+
clean Remove temporary and backup files
|
|
139
|
+
cleaner Remove files and directories that are easily rebuilt
|
|
140
|
+
cleanest Remove all files that can be rebuilt
|
|
141
|
+
distclean Remove untracked files and other detritus
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
biocommons/python_package/__init__.py,sha256=dl2mWc9vrjixU-oiK5RUmoo9WIeU-8IpHyGKx0hyvSE,320
|
|
2
|
+
biocommons/python_package/__main__.py,sha256=tXJ52JY_7pVxuzY2WHsGCUl53DYoehBbGSYfDYAsmSs,633
|
|
3
|
+
biocommons/python_package/marvin.py,sha256=5ubQcuZBf9mtd2Px3L_nxwxttVkkuZMTBB52SDi2ins,816
|
|
4
|
+
biocommons/python_package/marvin_adjacent_test.py,sha256=3K20o0okH6SdkMRDj4bppP4ZXdvvwpy4G3AUtm84tms,184
|
|
5
|
+
biocommons/python_package/_data/quotes.yaml,sha256=VWQPTrqIJji070TEl0jEpcjinIOQ4S_5TDx8oeEzi9A,1483
|
|
6
|
+
biocommons_python_package-0.0.8.dist-info/licenses/LICENSE.txt,sha256=w4FOyxPL9UpMU8H3MGBq_jOIS7Zj33I1Czwc-AABsjg,11342
|
|
7
|
+
biocommons_python_package-0.0.8.dist-info/METADATA,sha256=gBsBhGazchhtzGjPYafrsJUShg3anlMxDfc4DZkZMP4,5908
|
|
8
|
+
biocommons_python_package-0.0.8.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
|
|
9
|
+
biocommons_python_package-0.0.8.dist-info/entry_points.txt,sha256=Exxq_moWaEzI23fSWkSAWSYvUmpV3QS4kSHmu0jBpCI,73
|
|
10
|
+
biocommons_python_package-0.0.8.dist-info/top_level.txt,sha256=v90N5YX9DrKAwfIk6gPvjQQCyYFujscsbpgFXFgRw90,11
|
|
11
|
+
biocommons_python_package-0.0.8.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
12
|
+
biocommons_python_package-0.0.8.dist-info/RECORD,,
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "{}"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright 2025 Contributors
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
biocommons
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|