You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@senssoft.apache.org by ms...@apache.org on 2016/09/19 21:21:20 UTC
[2/5] incubator-senssoft-distill git commit: Added Apache License
headers and cleaned up documentation.
Added Apache License headers and cleaned up documentation.
Project: http://git-wip-us.apache.org/repos/asf/incubator-senssoft-distill/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-senssoft-distill/commit/fb6c43a4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-senssoft-distill/tree/fb6c43a4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-senssoft-distill/diff/fb6c43a4
Branch: refs/heads/master
Commit: fb6c43a4e6bac829891ab66528a80957f1584c89
Parents: 51fc2b6
Author: mooshu1x2 <mb...@draper.com>
Authored: Mon Sep 19 13:52:55 2016 -0400
Committer: mooshu1x2 <mb...@draper.com>
Committed: Mon Sep 19 13:52:55 2016 -0400
----------------------------------------------------------------------
.gitignore | 15 ++
.travis.yml | 15 ++
AUTHORS.rst | 34 ++++
AUTHORS.txt | 15 --
CHANGELOG.rst | 49 ++++++
CHANGELOG.txt | 4 -
CONTRIBUTING.rst | 68 ++++++++
LICENSE | 201 +++++++++++++++++++++++
LICENSE.txt | 201 -----------------------
NOTICE | 5 +
README.rst | 22 +++
README.txt | 21 ---
distill/__init__.py | 15 ++
distill/algorithms/__init__.py | 14 ++
distill/algorithms/graphs/__init__.py | 14 ++
distill/algorithms/graphs/graph.py | 15 ++
distill/algorithms/graphs/tests/__init__.py | 15 ++
distill/algorithms/stats/__init__.py | 14 ++
distill/algorithms/stats/hist.py | 15 ++
distill/algorithms/stats/tests/__init__.py | 15 ++
distill/algorithms/tests/__init__.py | 14 ++
distill/app.py | 16 +-
distill/config.cfg | 27 ++-
distill/deploy/__init__.py | 14 ++
distill/deploy/distill.conf | 14 --
distill/deploy/nginx.conf | 42 -----
distill/deploy/run_server.py | 15 ++
distill/models/__init__.py | 14 ++
distill/models/brew.py | 17 +-
distill/models/stout.py | 16 +-
distill/models/tests/__init__.py | 15 ++
distill/models/userale.py | 36 +---
distill/version.py | 22 +++
doc_requirements.txt | 17 ++
docs/Makefile | 15 ++
docs/source/authors.rst | 20 ++-
docs/source/changelog.rst | 21 ++-
docs/source/conf.py | 38 +++--
docs/source/contents.rst.inc | 21 ++-
docs/source/contributing.rst | 19 +++
docs/source/distill.algorithms.rst | 20 ++-
docs/source/distill.api.rst | 18 ++
docs/source/distill.models.rst | 18 ++
docs/source/distill.rst | 34 +++-
docs/source/distill.utils.rst | 18 ++
docs/source/index.rst | 18 ++
docs/source/installation.rst | 62 ++++---
docs/source/license.rst | 31 +++-
docs/source/quickstart.rst | 18 ++
manual.pdf | Bin 135394 -> 0 bytes
requirements.txt | 19 ++-
setup.cfg | 15 ++
setup.py | 26 ++-
53 files changed, 1054 insertions(+), 423 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-senssoft-distill/blob/fb6c43a4/.gitignore
----------------------------------------------------------------------
diff --git a/.gitignore b/.gitignore
index 9146aad..ce414ba 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.
+
.DS_Store
# Byte-compiled / optimized / DLL files
http://git-wip-us.apache.org/repos/asf/incubator-senssoft-distill/blob/fb6c43a4/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index 1f566ec..9862ceb 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.
+
language: python
python:
- "2.7"
http://git-wip-us.apache.org/repos/asf/incubator-senssoft-distill/blob/fb6c43a4/AUTHORS.rst
----------------------------------------------------------------------
diff --git a/AUTHORS.rst b/AUTHORS.rst
new file mode 100644
index 0000000..692b03a
--- /dev/null
+++ b/AUTHORS.rst
@@ -0,0 +1,34 @@
+.. ..
+
+ <!--- Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You 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.
+ --->
+
+.. _authors:
+
+Apache Distill is written and maintained by Draper and various contributors:
+
+Development Lead
+````````````````
+
+- Michelle Beard <ms...@apache.org>
+
+Additional Staff
+````````````````
+
+- Laura Mariano <lm...@apache.org>
+- Dr. Joshua Poore <jp...@apache.org>
+- Clay Gimenez <cg...@dapache.org>
+- Steven York <sy...@draper.com>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-senssoft-distill/blob/fb6c43a4/AUTHORS.txt
----------------------------------------------------------------------
diff --git a/AUTHORS.txt b/AUTHORS.txt
deleted file mode 100644
index 07b60aa..0000000
--- a/AUTHORS.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-Distill is written and maintained by Michelle Beard and
-various contributors:
-
-Development Lead
-````````````````
-
-- Michelle Beard <mb...@draper.com>
-
-Additional Staff
-````````````````
-
-- Laura Mariano <lm...@draper.com>
-- Dr. Joshua Poore <jp...@draper.com>
-- Clay Gimenez <cg...@draper.com>
-- Steven York <sy...@draper.com>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-senssoft-distill/blob/fb6c43a4/CHANGELOG.rst
----------------------------------------------------------------------
diff --git a/CHANGELOG.rst b/CHANGELOG.rst
new file mode 100644
index 0000000..4f3281c
--- /dev/null
+++ b/CHANGELOG.rst
@@ -0,0 +1,49 @@
+.. ..
+
+ <!--- Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You 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.
+ --->
+
+.. _changelog:
+
+Changelog
+=========
+
+0.1.3 (2016-09-19)
+------------------
+* Moved to Apache.
+* Updated all documentation.
+* Added License headers
+* Docker compose file added to assist deployment of ELK stack with Distill
+
+0.1.2 (2016-07-22)
+------------------
+* Moved CRUD operations from UserAle model to Brew model.
+* Added API specs to segment UserAle data from Elasticsearch
+* Added deployment instructions
+
+0.1.1 (2016-06-14)
+------------------
+
+* Completed index route for status endpoint which lists all applications registered and their document count segmented by type.
+* Updated setup.py to reference deploy scripts
+* Example configuration to deploy Distll with Gunicorn and Nginx for Linux/Mac users
+* Added UserAle and Stout classes.
+* Updated requirements.txt for deployment.
+
+0.1.0 (2016-04-01)
+------------------
+
+Initial release.
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-senssoft-distill/blob/fb6c43a4/CHANGELOG.txt
----------------------------------------------------------------------
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
deleted file mode 100644
index 928b16f..0000000
--- a/CHANGELOG.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-Version 1.0
------------
-
- - Initial version.
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-senssoft-distill/blob/fb6c43a4/CONTRIBUTING.rst
----------------------------------------------------------------------
diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst
new file mode 100644
index 0000000..2b08027
--- /dev/null
+++ b/CONTRIBUTING.rst
@@ -0,0 +1,68 @@
+.. ..
+
+ <!--- Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You 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.
+ --->
+
+.. _contributing:
+
+Contributing to Apache Distill
+------------------------------
+
+Thank you for contributing to the Apache Distill project!
+
+There are certain procedures that must be followed for all contributions. These
+procedures are necessary to allow us to allocate resources for reviewing and
+testing your contribution, as well as to communicate effectively with you during
+the review process.
+
+1) Create an issue in JIRA
+
+ All changes to Apache Distill must have a corresponding issue in JIRA so the
+ change can be properly tracked:
+
+ https://issues.apache.org/jira/browse/senssoft
+
+ If you do not already have an account on JIRA, you will need to create
+ before creating your new issue.
+
+2) Make and test your changes locally
+
+ The Apache Distill source is maintained in a git repository hosted on Apache:
+
+ https://git-wip-us.apache.org/repos/asf/incubator-senssoft-distill.git
+
+ To make your changes, fork the repository and make commits
+ to a topic branch in your fork. Commits should be made in logical units
+ and must reference the JIRA issue number:
+
+ ::
+
+ $ git commit -m "#SENSSOFT-123: #High-level message describing the changes."
+
+ Avoid commits which cover multiple, distinct goals that could (and should)
+ be handled separately.
+
+ If you do not already have an account on JIRA, you will need to create
+ one before making your changes.
+
+3) Submit your changes via a pull request on Git
+
+ Once your changes are ready, submit them by creating a pull request for
+ the corresponding topic branch you created when you began working on your
+ changes.
+
+ The Apache Distill team will then review your changes and, if they pass review,
+ your changes will be merged.
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-senssoft-distill/blob/fb6c43a4/LICENSE
----------------------------------------------------------------------
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..8b33aad
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,201 @@
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "{}"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright 2016 The Charles Stark Draper Laboratory, 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.
http://git-wip-us.apache.org/repos/asf/incubator-senssoft-distill/blob/fb6c43a4/LICENSE.txt
----------------------------------------------------------------------
diff --git a/LICENSE.txt b/LICENSE.txt
deleted file mode 100644
index 8b33aad..0000000
--- a/LICENSE.txt
+++ /dev/null
@@ -1,201 +0,0 @@
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "{}"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright 2016 The Charles Stark Draper Laboratory, 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.
http://git-wip-us.apache.org/repos/asf/incubator-senssoft-distill/blob/fb6c43a4/NOTICE
----------------------------------------------------------------------
diff --git a/NOTICE b/NOTICE
new file mode 100644
index 0000000..2f37c2f
--- /dev/null
+++ b/NOTICE
@@ -0,0 +1,5 @@
+Apache Distill
+Copyright 2016 The Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-senssoft-distill/blob/fb6c43a4/README.rst
----------------------------------------------------------------------
diff --git a/README.rst b/README.rst
new file mode 100644
index 0000000..3ae4343
--- /dev/null
+++ b/README.rst
@@ -0,0 +1,22 @@
+.. ..
+
+ <!--- Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You 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.
+ --->
+
+Apache Distill - Under Development
+
+~ What is Apache Distill
+ An analytical engine for Apache UserALE to interact with user activity logs and apply basic analtical operations to the data.
http://git-wip-us.apache.org/repos/asf/incubator-senssoft-distill/blob/fb6c43a4/README.txt
----------------------------------------------------------------------
diff --git a/README.txt b/README.txt
deleted file mode 100644
index 89f8155..0000000
--- a/README.txt
+++ /dev/null
@@ -1,21 +0,0 @@
-Distill - Under Development
-
-~ What is Distill
- An analytical engine for User Ale to interact with user activity logs and apply basic analtical operations to the data.
-
-License
-=======
-
-Copyright 2016 The Charles Stark Draper Laboratory, 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.
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-senssoft-distill/blob/fb6c43a4/distill/__init__.py
----------------------------------------------------------------------
diff --git a/distill/__init__.py b/distill/__init__.py
index 46be462..2b44372 100644
--- a/distill/__init__.py
+++ b/distill/__init__.py
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.
+
from flask import Flask
from elasticsearch_dsl.connections import connections
http://git-wip-us.apache.org/repos/asf/incubator-senssoft-distill/blob/fb6c43a4/distill/algorithms/__init__.py
----------------------------------------------------------------------
diff --git a/distill/algorithms/__init__.py b/distill/algorithms/__init__.py
index e69de29..6acb5d1 100644
--- a/distill/algorithms/__init__.py
+++ b/distill/algorithms/__init__.py
@@ -0,0 +1,14 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.
http://git-wip-us.apache.org/repos/asf/incubator-senssoft-distill/blob/fb6c43a4/distill/algorithms/graphs/__init__.py
----------------------------------------------------------------------
diff --git a/distill/algorithms/graphs/__init__.py b/distill/algorithms/graphs/__init__.py
index e69de29..6acb5d1 100644
--- a/distill/algorithms/graphs/__init__.py
+++ b/distill/algorithms/graphs/__init__.py
@@ -0,0 +1,14 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.
http://git-wip-us.apache.org/repos/asf/incubator-senssoft-distill/blob/fb6c43a4/distill/algorithms/graphs/graph.py
----------------------------------------------------------------------
diff --git a/distill/algorithms/graphs/graph.py b/distill/algorithms/graphs/graph.py
index 2fe910f..3c44730 100644
--- a/distill/algorithms/graphs/graph.py
+++ b/distill/algorithms/graphs/graph.py
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.
+
class GraphAnalytics (object):
"""
Distill's graph analytics package. Apply graph algorithms to User Ale log data segmented with
http://git-wip-us.apache.org/repos/asf/incubator-senssoft-distill/blob/fb6c43a4/distill/algorithms/graphs/tests/__init__.py
----------------------------------------------------------------------
diff --git a/distill/algorithms/graphs/tests/__init__.py b/distill/algorithms/graphs/tests/__init__.py
index c278e5a..bb2f853 100644
--- a/distill/algorithms/graphs/tests/__init__.py
+++ b/distill/algorithms/graphs/tests/__init__.py
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.
+
'''
distill: tests module.
http://git-wip-us.apache.org/repos/asf/incubator-senssoft-distill/blob/fb6c43a4/distill/algorithms/stats/__init__.py
----------------------------------------------------------------------
diff --git a/distill/algorithms/stats/__init__.py b/distill/algorithms/stats/__init__.py
index e69de29..6acb5d1 100644
--- a/distill/algorithms/stats/__init__.py
+++ b/distill/algorithms/stats/__init__.py
@@ -0,0 +1,14 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.
http://git-wip-us.apache.org/repos/asf/incubator-senssoft-distill/blob/fb6c43a4/distill/algorithms/stats/hist.py
----------------------------------------------------------------------
diff --git a/distill/algorithms/stats/hist.py b/distill/algorithms/stats/hist.py
index 62e3b76..b516423 100644
--- a/distill/algorithms/stats/hist.py
+++ b/distill/algorithms/stats/hist.py
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.
+
from distill import es
from distill.utils.query_builder import QueryBuilder
from flask import jsonify
http://git-wip-us.apache.org/repos/asf/incubator-senssoft-distill/blob/fb6c43a4/distill/algorithms/stats/tests/__init__.py
----------------------------------------------------------------------
diff --git a/distill/algorithms/stats/tests/__init__.py b/distill/algorithms/stats/tests/__init__.py
index c278e5a..bb2f853 100644
--- a/distill/algorithms/stats/tests/__init__.py
+++ b/distill/algorithms/stats/tests/__init__.py
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.
+
'''
distill: tests module.
http://git-wip-us.apache.org/repos/asf/incubator-senssoft-distill/blob/fb6c43a4/distill/algorithms/tests/__init__.py
----------------------------------------------------------------------
diff --git a/distill/algorithms/tests/__init__.py b/distill/algorithms/tests/__init__.py
index e69de29..6acb5d1 100644
--- a/distill/algorithms/tests/__init__.py
+++ b/distill/algorithms/tests/__init__.py
@@ -0,0 +1,14 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.
http://git-wip-us.apache.org/repos/asf/incubator-senssoft-distill/blob/fb6c43a4/distill/app.py
----------------------------------------------------------------------
diff --git a/distill/app.py b/distill/app.py
index e23b0c5..58434a1 100644
--- a/distill/app.py
+++ b/distill/app.py
@@ -1,13 +1,11 @@
-# -*- coding: utf-8 -*-
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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
#
-# This file is part of Distill.
-# Copyright 2016 The Charles Stark Draper Laboratory, 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
+# 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,
http://git-wip-us.apache.org/repos/asf/incubator-senssoft-distill/blob/fb6c43a4/distill/config.cfg
----------------------------------------------------------------------
diff --git a/distill/config.cfg b/distill/config.cfg
index 5f9220c..b1fdfa7 100644
--- a/distill/config.cfg
+++ b/distill/config.cfg
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.
+
# Statement for enabling the development environment
DEBUG = True
@@ -9,15 +24,13 @@ PORT = 8090
# Enable STOUT integration into Distill
ENABLE_STOUT = False
-SQLITEDB = '/Users/msb3399/Documents/xdata/stout/stout.db'
-MASTER = '/Users/msb3399/Documents/xdata/stout/master_ans.csv'
-MAPPINGS = '/Users/msb3399/Documents/xdata/stout/MOT_Mappings.csv'
-SELECTED = '/Users/msb3399/Documents/xdata/stout/selected_vars_for_distill.csv'
+SQLITEDB = '../path/to/stout/stout.db'
+MASTER = '../path/to/master/master_ans.csv'
+MAPPINGS = '../path/to/mappings/MOT_Mappings.csv'
+SELECTED = '../path/to/stout/selected_vars_for_distill.csv'
# Elasticsearch Configuration
-#ES_HOST = 'http://52.20.188.117'
-#ES_HOST = 'http://msbx.draper.com'
-ES_HOST = 'http://msbx.draper.com'
+ES_HOST = 'http://localhost'
ES_PORT = 9200
HTTP_AUTH = None
USE_SSL = False
http://git-wip-us.apache.org/repos/asf/incubator-senssoft-distill/blob/fb6c43a4/distill/deploy/__init__.py
----------------------------------------------------------------------
diff --git a/distill/deploy/__init__.py b/distill/deploy/__init__.py
index e69de29..6acb5d1 100644
--- a/distill/deploy/__init__.py
+++ b/distill/deploy/__init__.py
@@ -0,0 +1,14 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.
http://git-wip-us.apache.org/repos/asf/incubator-senssoft-distill/blob/fb6c43a4/distill/deploy/distill.conf
----------------------------------------------------------------------
diff --git a/distill/deploy/distill.conf b/distill/deploy/distill.conf
deleted file mode 100644
index 478ae9c..0000000
--- a/distill/deploy/distill.conf
+++ /dev/null
@@ -1,14 +0,0 @@
-description "Gunicorn application server running Distill"
-
-# Restart process if it ever fails
-start on runlevel [2345]
-stop on runlevel [!2345]
-
-respawn
-#Setup user and group that Gunicorn should be run as
-setuid msb3399
-setgid www-data
-
-# Path to run_server
-chdir /home/msb3399/Documents/xdata/distill/distill
-exec gunicorn --workers 4 --bind unix:distill.sock -m 007 scripts/run_server:app
http://git-wip-us.apache.org/repos/asf/incubator-senssoft-distill/blob/fb6c43a4/distill/deploy/nginx.conf
----------------------------------------------------------------------
diff --git a/distill/deploy/nginx.conf b/distill/deploy/nginx.conf
deleted file mode 100644
index 2c85340..0000000
--- a/distill/deploy/nginx.conf
+++ /dev/null
@@ -1,42 +0,0 @@
-sudo /etc/init.d/nginx start
-sudo rm /etc/nginx/sites-enabled/default
-sudo touch /etc/nginx/sites-available/distill
-sudo ln -s /etc/nginx/sites-available/distill /etc/nginx/sites-enabled/distill
-
-sudo vim /etc/nginx/sites-enabled/distill
-
-user nobody;
-worker_processes 2;
-
-error_log /var/log/nginx/error.log;
-error_log /var/log/nginx/error.log notice;
-error_log /var/log/nginx/error.log info;
-
-pid /var/log/nginx/nginx.pid;
-
-events {
- worker_connections 1024;
-}
-
-http {
- include mime.types;
- default_type application/octet-stream;
-
- sendfile on;
-
- keepalive_timeout 65;
-
- server {
- listen 80;
- server_name localhost;
-
- access_log /var/log/nginx/distill.log;
-
- location / {
- proxy_pass http://127.0.0.1:8000;
- proxy_set_header Host $host;
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- }
-
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-senssoft-distill/blob/fb6c43a4/distill/deploy/run_server.py
----------------------------------------------------------------------
diff --git a/distill/deploy/run_server.py b/distill/deploy/run_server.py
index a0655b2..23acd83 100644
--- a/distill/deploy/run_server.py
+++ b/distill/deploy/run_server.py
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.
+
from distill import app
from distill.app import *
http://git-wip-us.apache.org/repos/asf/incubator-senssoft-distill/blob/fb6c43a4/distill/models/__init__.py
----------------------------------------------------------------------
diff --git a/distill/models/__init__.py b/distill/models/__init__.py
index e69de29..6acb5d1 100644
--- a/distill/models/__init__.py
+++ b/distill/models/__init__.py
@@ -0,0 +1,14 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.
http://git-wip-us.apache.org/repos/asf/incubator-senssoft-distill/blob/fb6c43a4/distill/models/brew.py
----------------------------------------------------------------------
diff --git a/distill/models/brew.py b/distill/models/brew.py
index cf221fe..28d16b3 100644
--- a/distill/models/brew.py
+++ b/distill/models/brew.py
@@ -1,13 +1,11 @@
-# -*- coding: utf-8 -*-
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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
#
-# This file is part of Distill.
-# Copyright 2016 The Charles Stark Draper Laboratory, 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
+# 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,
@@ -15,6 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
+
from elasticsearch import Elasticsearch, TransportError
from flask import jsonify
from distill import es
http://git-wip-us.apache.org/repos/asf/incubator-senssoft-distill/blob/fb6c43a4/distill/models/stout.py
----------------------------------------------------------------------
diff --git a/distill/models/stout.py b/distill/models/stout.py
index 1406a42..d6421d8 100644
--- a/distill/models/stout.py
+++ b/distill/models/stout.py
@@ -1,13 +1,11 @@
-# -*- coding: utf-8 -*-
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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
#
-# This file is part of Distill.
-# Copyright 2016 The Charles Stark Draper Laboratory, 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
+# 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,
http://git-wip-us.apache.org/repos/asf/incubator-senssoft-distill/blob/fb6c43a4/distill/models/tests/__init__.py
----------------------------------------------------------------------
diff --git a/distill/models/tests/__init__.py b/distill/models/tests/__init__.py
index c278e5a..bb2f853 100644
--- a/distill/models/tests/__init__.py
+++ b/distill/models/tests/__init__.py
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.
+
'''
distill: tests module.
http://git-wip-us.apache.org/repos/asf/incubator-senssoft-distill/blob/fb6c43a4/distill/models/userale.py
----------------------------------------------------------------------
diff --git a/distill/models/userale.py b/distill/models/userale.py
index f7d4a4e..f63fa51 100644
--- a/distill/models/userale.py
+++ b/distill/models/userale.py
@@ -1,12 +1,11 @@
-# -*- coding: utf-8 -*-
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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
#
-# Copyright 2016 The Charles Stark Draper Laboratory, 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
+# 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,
@@ -22,9 +21,7 @@ from elasticsearch_dsl.connections import connections
from werkzeug.datastructures import ImmutableMultiDict, MultiDict
from flask import jsonify, Markup
-
from distill import app, es
-
import datetime
class UserAle (object):
@@ -137,21 +134,4 @@ def parse_query_parameters (indx, app_type=None, request_args = {}):
'size': args.get ('size', 100),
'scroll': args.get ('scroll', False),
'filters': request_args.getlist ('fq')
- }
-
-# """
-# Parsed Docs Class
-# meta = {'index' : 'xdata_v3'}
-# Defaults to doctype=parsed
-# """
-# class UserAleParsedDoc (DocType):
-# timestamp = Date ()
-
-# class Meta:
-# doc_type = 'parsed'
-
-# def save (self, ** kwargs):
-# return super (UserAleParsedDoc, self).save (**kwargs)
-
-# doc = UserAleDoc (meta={"index" : "xdata_v3", "doc_type" : "testing"});
-# search = UserAleDoc.search().query ('match', activity="HIDE")
+ }
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-senssoft-distill/blob/fb6c43a4/distill/version.py
----------------------------------------------------------------------
diff --git a/distill/version.py b/distill/version.py
new file mode 100644
index 0000000..6532ea7
--- /dev/null
+++ b/distill/version.py
@@ -0,0 +1,22 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.
+
+"""Version information for Distill.
+
+This file is imported by ``Distill.__init__``,
+and parsed by ``setup.py``.
+"""
+
+__version__ = "0.1.3"
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-senssoft-distill/blob/fb6c43a4/doc_requirements.txt
----------------------------------------------------------------------
diff --git a/doc_requirements.txt b/doc_requirements.txt
new file mode 100644
index 0000000..e1c9809
--- /dev/null
+++ b/doc_requirements.txt
@@ -0,0 +1,17 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.
+
+Sphinx==1.4.6
+sphinx-rtd-theme==0.1.9
http://git-wip-us.apache.org/repos/asf/incubator-senssoft-distill/blob/fb6c43a4/docs/Makefile
----------------------------------------------------------------------
diff --git a/docs/Makefile b/docs/Makefile
index 3667552..b06e306 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.
+
# Makefile for Sphinx documentation
#
http://git-wip-us.apache.org/repos/asf/incubator-senssoft-distill/blob/fb6c43a4/docs/source/authors.rst
----------------------------------------------------------------------
diff --git a/docs/source/authors.rst b/docs/source/authors.rst
index 6afa6e6..a9b7934 100644
--- a/docs/source/authors.rst
+++ b/docs/source/authors.rst
@@ -1,4 +1,22 @@
+.. ..
+
+ <!--- Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You 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.
+ --->
+
Authors
-------
-.. include:: ../../AUTHORS.txt
+.. include:: ../../AUTHORS.rst
http://git-wip-us.apache.org/repos/asf/incubator-senssoft-distill/blob/fb6c43a4/docs/source/changelog.rst
----------------------------------------------------------------------
diff --git a/docs/source/changelog.rst b/docs/source/changelog.rst
index 5a77326..3b77ce5 100644
--- a/docs/source/changelog.rst
+++ b/docs/source/changelog.rst
@@ -1,6 +1,19 @@
-Distill Changelog
-=================
+.. ..
-Here you can see the full list of changes between each Distill release.
+ <!--- Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You 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
-.. include:: ../../CHANGELOG.txt
+ 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.
+ --->
+
+.. include:: ../../CHANGELOG.rst
http://git-wip-us.apache.org/repos/asf/incubator-senssoft-distill/blob/fb6c43a4/docs/source/conf.py
----------------------------------------------------------------------
diff --git a/docs/source/conf.py b/docs/source/conf.py
index 857c55e..0a0a7fa 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -1,5 +1,18 @@
-# -*- coding: utf-8 -*-
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.
+
# Distill documentation build configuration file, created by
# sphinx-quickstart on Mon Jun 20 12:12:29 2016.
#
@@ -20,6 +33,8 @@ import os
# documentation root, use os.path.abspath to make it absolute, like shown here.
sys.path.insert(0, os.path.abspath('../..'))
+from distill.version import __version__
+
# -- General configuration ------------------------------------------------
# If your documentation needs a minimal Sphinx version, state it here.
@@ -49,17 +64,17 @@ master_doc = 'index'
# General information about the project.
project = u'Apache Distill'
-copyright = u'2016, The Charles Stark Draper Laboratory Licensed under Apache Software License.'
-author = u'Michelle Beard <mb...@draper.com>'
+copyright = u'2016, Apache Software License'
+author = u'Michelle Beard <ms...@apache.dot.org>'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
-version = u'1.0'
+version = __version__
# The full version, including alpha/beta/rc tags.
-release = u'1.0 alpha'
+release = __version__
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
@@ -204,7 +219,7 @@ html_static_path = ['_static']
#html_search_scorer = 'scorer.js'
# Output file base name for HTML help builder.
-htmlhelp_basename = 'Distilldoc'
+htmlhelp_basename = 'ApacheDistilldoc'
# -- Options for LaTeX output ---------------------------------------------
@@ -226,10 +241,9 @@ latex_elements = {
# (source start file, target name, title,
# author, documentclass [howto, manual, or own class]).
latex_documents = [
- (master_doc, 'Distill.tex', u'Apache Distill Documentation',
- u'Michelle Beard', 'manual'),
+ (master_doc, 'ApacheDistill.tex', u'Apache Distill Documentation',
+ u'Michelle Beard \\textless{}msbeard@apache.dot.org\\textgreater{}', 'manual'),
]
-
# The name of an image file (relative to this directory) to place at the top of
# the title page.
#latex_logo = None
@@ -256,7 +270,7 @@ latex_documents = [
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
- (master_doc, 'distill', u'Apache Distill Documentation',
+ (master_doc, 'ApacheDistill', u'Apache Distill Documentation',
[author], 1)
]
@@ -270,8 +284,8 @@ man_pages = [
# (source start file, target name, title, author,
# dir menu entry, description, category)
texinfo_documents = [
- (master_doc, 'Distill', u'Apache Distill Documentation',
- author, 'Distill', 'One line description of project.',
+ (master_doc, 'ApacheDistill', u'Apache Distill Documentation',
+ author, 'ApacheDistill', 'An analytical framework for UserALE.',
'Miscellaneous'),
]
http://git-wip-us.apache.org/repos/asf/incubator-senssoft-distill/blob/fb6c43a4/docs/source/contents.rst.inc
----------------------------------------------------------------------
diff --git a/docs/source/contents.rst.inc b/docs/source/contents.rst.inc
index 419d239..5eb9f7f 100644
--- a/docs/source/contents.rst.inc
+++ b/docs/source/contents.rst.inc
@@ -1,3 +1,21 @@
+.. ..
+
+ <!--- Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You 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.
+ --->
+
User's Guide
------------
@@ -10,7 +28,7 @@ User's Guide
API Reference
-------------
-This entire section is mainly for Developers of Distill. This section was automatically generated by `Sphinx <http://www.sphinx-doc.org/en/stable/>`_ and `apidoc <http://apidocjs.com/>`_.
+This entire section is mainly for Developers of Apache Distill. This section was automatically generated by `Sphinx <http://www.sphinx-doc.org/en/stable/>`_ and `apidoc <http://apidocjs.com/>`_.
.. toctree::
:maxdepth: 3
@@ -26,5 +44,6 @@ Design notes, legal information and changelog are here.
:maxdepth: 2
authors
+ contributing
changelog
license
http://git-wip-us.apache.org/repos/asf/incubator-senssoft-distill/blob/fb6c43a4/docs/source/contributing.rst
----------------------------------------------------------------------
diff --git a/docs/source/contributing.rst b/docs/source/contributing.rst
new file mode 100644
index 0000000..f08e0b3
--- /dev/null
+++ b/docs/source/contributing.rst
@@ -0,0 +1,19 @@
+.. ..
+
+ <!--- Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You 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.
+ --->
+
+.. include:: ../../CONTRIBUTING.rst
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-senssoft-distill/blob/fb6c43a4/docs/source/distill.algorithms.rst
----------------------------------------------------------------------
diff --git a/docs/source/distill.algorithms.rst b/docs/source/distill.algorithms.rst
index 4e3015d..61e6c3e 100644
--- a/docs/source/distill.algorithms.rst
+++ b/docs/source/distill.algorithms.rst
@@ -1,3 +1,21 @@
+.. ..
+
+ <!--- Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You 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.
+ --->
+
Graph Analytics
---------------
@@ -9,7 +27,7 @@ Graph Analytics
Statistics Package
------------------
-.. automodule:: distill.algorithms.stats.stats
+.. automodule:: distill.algorithms.stats.hist
:members:
:undoc-members:
:show-inheritance:
http://git-wip-us.apache.org/repos/asf/incubator-senssoft-distill/blob/fb6c43a4/docs/source/distill.api.rst
----------------------------------------------------------------------
diff --git a/docs/source/distill.api.rst b/docs/source/distill.api.rst
index cbbd5ad..1a365f9 100644
--- a/docs/source/distill.api.rst
+++ b/docs/source/distill.api.rst
@@ -1,3 +1,21 @@
+.. ..
+
+ <!--- Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You 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.
+ --->
+
RESTful Endpoints
-----------------
http://git-wip-us.apache.org/repos/asf/incubator-senssoft-distill/blob/fb6c43a4/docs/source/distill.models.rst
----------------------------------------------------------------------
diff --git a/docs/source/distill.models.rst b/docs/source/distill.models.rst
index 260cedb..9d683a9 100644
--- a/docs/source/distill.models.rst
+++ b/docs/source/distill.models.rst
@@ -1,3 +1,21 @@
+.. ..
+
+ <!--- Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You 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.
+ --->
+
Brew Interface
-----------------
.. automodule:: distill.models.brew
http://git-wip-us.apache.org/repos/asf/incubator-senssoft-distill/blob/fb6c43a4/docs/source/distill.rst
----------------------------------------------------------------------
diff --git a/docs/source/distill.rst b/docs/source/distill.rst
index 5e90874..d940611 100644
--- a/docs/source/distill.rst
+++ b/docs/source/distill.rst
@@ -1,27 +1,45 @@
+.. ..
+
+ <!--- Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You 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.
+ --->
+
API Documentation
=================
-Distill HTTP Client
--------------------
+Apache Distill HTTP Client
+--------------------------
.. toctree::
distill.api
-Distill Analytics
------------------
+Apache Distill Analytics
+------------------------
.. toctree::
distill.algorithms
-Distill Models
---------------
+Apache Distill Models
+---------------------
.. toctree::
distill.models
-Distill Utilities
------------------
+Apache Distill Utilities
+------------------------
.. toctree::
distill.utils
http://git-wip-us.apache.org/repos/asf/incubator-senssoft-distill/blob/fb6c43a4/docs/source/distill.utils.rst
----------------------------------------------------------------------
diff --git a/docs/source/distill.utils.rst b/docs/source/distill.utils.rst
index c71d54b..0c1a9e6 100644
--- a/docs/source/distill.utils.rst
+++ b/docs/source/distill.utils.rst
@@ -1,3 +1,21 @@
+.. ..
+
+ <!--- Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You 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.
+ --->
+
Query Builder
-------------
http://git-wip-us.apache.org/repos/asf/incubator-senssoft-distill/blob/fb6c43a4/docs/source/index.rst
----------------------------------------------------------------------
diff --git a/docs/source/index.rst b/docs/source/index.rst
index beafcf1..d1c91fd 100644
--- a/docs/source/index.rst
+++ b/docs/source/index.rst
@@ -1,3 +1,21 @@
+.. ..
+
+ <!--- Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You 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.
+ --->
+
:orphan:
Apache Distill