Skip to content

Commit

Permalink
jk mozilla license
Browse files Browse the repository at this point in the history
  • Loading branch information
potatochip committed Jan 19, 2020
1 parent 5dda154 commit 142d09c
Show file tree
Hide file tree
Showing 10 changed files with 406 additions and 193 deletions.
547 changes: 373 additions & 174 deletions LICENSE

Large diffs are not rendered by default.

17 changes: 3 additions & 14 deletions bamboo/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this file,
# You can obtain one at http://mozilla.org/MPL/2.0/.
"""Provides a pandas-style interface for Elasticsearch.
Classes:
Expand All @@ -15,20 +18,6 @@
FieldConflictError: Raise when a root field conflicts with a namespace
MissingMappingError: Raise when no mapping could be found for an index
MissingQueryError: Raise when no query has been defined
Copyright 2020 Juvo Mobile Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
import pkg_resources

Expand Down
3 changes: 3 additions & 0 deletions bamboo/config.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this file,
# You can obtain one at http://mozilla.org/MPL/2.0/.
"""Module for managing elasticsearch / bamboo configuration settings."""
import os
from collections import MutableMapping
Expand Down
3 changes: 3 additions & 0 deletions bamboo/dataframe.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this file,
# You can obtain one at http://mozilla.org/MPL/2.0/.
"""Pandas-style framework for interacting with elasticsearch."""
from copy import deepcopy

Expand Down
3 changes: 3 additions & 0 deletions bamboo/exceptions.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this file,
# You can obtain one at http://mozilla.org/MPL/2.0/.
"""Bamboo exceptions."""


Expand Down
3 changes: 3 additions & 0 deletions bamboo/fields.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this file,
# You can obtain one at http://mozilla.org/MPL/2.0/.
"""Field and namespace objects representing Elasticsearch field types."""
import warnings
from abc import ABCMeta
Expand Down
6 changes: 4 additions & 2 deletions bamboo/orm.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
"""
ORM cixin class providing orm-like functionality for an index.
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this file,
# You can obtain one at http://mozilla.org/MPL/2.0/.
"""ORM mixin providing orm-like functionality for an index.
Works with dynamic and static mappings.
"""
Expand Down
3 changes: 3 additions & 0 deletions bamboo/queries.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this file,
# You can obtain one at http://mozilla.org/MPL/2.0/.
"""Classes representing elasticsearch queries."""
from abc import ABCMeta, abstractproperty
from collections import defaultdict
Expand Down
3 changes: 3 additions & 0 deletions bamboo/utils.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this file,
# You can obtain one at http://mozilla.org/MPL/2.0/.
"""General utility functions."""
import functools
import warnings
Expand Down
11 changes: 8 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this file,
# You can obtain one at http://mozilla.org/MPL/2.0/.
"""Install bamboo package."""
from setuptools import setup

Expand All @@ -7,7 +10,7 @@
name='bamboo',
packages=['bamboo'],
version=VERSION,
license='Apache License, Version 2.0',
license='Mozilla Public License 2.0 (MPL 2.0)',
description='DataFrame interface for ElasticSearch',
author='Aaron Mangum',
author_email='aaron.mangum@juvo.com',
Expand All @@ -21,8 +24,10 @@
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
'License :: OSI Approved :: Apache Software License',
'License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)',
'Topic :: Software Development',
'Topic :: Utilities',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
],
Expand Down

0 comments on commit 142d09c

Please sign in to comment.