diff --git a/LICENSE.txt b/LICENSE.txt index 9dd8f7cd2..f49a4e16e 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,65 +1,201 @@ -Pinecone Software End User License Agreement (EULA) - -Last Updated: December 31, 2020 - - - -IMPORTANT – THIS PINECONE SOFTWARE END USER LICENSE AGREEMENT (EULA) IS A LEGALLY BINDING AGREEMENT BETWEEN YOU (“YOU”) AND PINECONE SYSTEMS, INC. (“PINECONE” OR “WE”). THIS EULA GOVERNS YOUR DOWNLOADING, INSTALLATION AND USE OF SOFTWARE THAT PINECONE MAKES AVAILABLE TO YOU FOR INSTALLATION AS A THIN-CLIENT TO ENABLE YOU TO ACCESS AND USE PINECONE’S PROPRIETARY PLATFORM THAT IT OFFERS AS A HOSTED SOLUTION (SUCH SOFTWARE, THE “LICENSED SOFTWARE”, AND THE PINECONE PLATFORM, THE “PLATFORM”). - -BY DOWNLOADING, INSTALLING OR USING THE LICENSED SOFTWARE, YOU AGREE TO BE BOUND BY THE TERMS OF THIS EULA AND THE PINECONE PRIVACY POLICY (https://www.pinecone.io/product-privacy/). YOU (A) ACKNOWLEDGE THAT YOU HAVE READ, UNDERSTAND, AND AGREE TO BE BOUND BY THIS EULA; AND (B) REPRESENT THAT YOU HAVE THE AUTHORITY TO ENTER INTO THIS EULA AS AN INDIVIDUAL, OR ON BEHALF OF THE ENTITY LICENSING THE LICENSED SOFTWARE, AND TO BIND SUCH ENTITY TO THE TERMS HEREIN. IF YOU DO NOT AGREE TO ALL TERMS AND CONDITIONS IN THIS EULA, OR IF YOU DO NOT HAVE SUCH AUTHORITY, DISCONTINUE THE DOWNLOAD OF THE LICENSED SOFTWARE. - -1. Scope. This EULA governs your use of the Licensed Software. If the parties have entered or subsequently enter into a written agreement that purports to govern or that includes provisions governing use of the Licensed Software (“Other Agreement”), and the Other Agreement contains any provision that conflicts with any term of this EULA, the conflicting provision in the Other Agreement will govern, but only to extent expressly specified in the Other Agreement. -2. License. Subject to the terms of this EULA, Pinecone grants to you a nontransferable, nonexclusive, royalty-free, fully paid, worldwide license (without the right to sublicense) to install and execute the Licensed Software, in executable object code format only, solely on computers that you own or control and for the sole purpose of obtaining access and use of the Platform as permitted under a separate agreement with Pinecone that permits your access and use of the Platform. -3. Restrictions. The rights granted hereunder are subject to the following restrictions: (a) you shall not license, sell, rent, lease, transfer, assign, distribute, host, outsource, disclose or otherwise commercially exploit the Licensed Software or make the Licensed Software available to any third party (other than the entity on whose behalf you enter into this EULA); (b) you shall not modify, make derivative works of, disassemble, reverse compile or reverse engineer any part of the Licensed Software; (c) you shall not access the Licensed Software in order to build a similar or competitive product or service; (d) except as expressly stated herein, no part of the Licensed Software may be copied, reproduced, distributed, republished, downloaded, displayed, posted or transmitted in any form or by any means, including but not limited to electronic, mechanical, photocopying, recording or other means; and (e) any future release, update, or other addition to the functionality of the Licensed Software provided by Pinecone (if any) shall be subject to the terms of this EULA unless Pinecone expressly states otherwise. You shall preserve all copyright and other proprietary rights notices on the Licensed Software and all copies thereof. -4. Responsibility. You are responsible and liable for all actions and failures to take required actions with respect to the Licensed Software by any party to whom you may provide access to or use of the Licensed Software, whether such access or use is permitted by or in violation of this EULA. -5. Ownership. The Licensed Software and all worldwide copyrights, trade secrets, and other intellectual property rights therein, are the exclusive property of Pinecone and its suppliers. All rights in and to the Licensed Software not expressly granted to you in this EULA are reserved by Pinecone and its suppliers. -6. Third Party Software. Certain items of software included as part of the Licensed Software are licensed from third parties and are subject to terms and conditions provided by such third parties (“Third Party Software”). The Third Party Software is not subject to the terms and conditions of Sections 1 and 2 of this EULA. Instead, each item of Third Party Software is licensed under the terms of the license that accompanies such Third Party Software. Nothing in this EULA limits your rights under, or grants you rights that supersede rights available in, the terms and conditions of any applicable license for the Third Party Software. -7. Disclaimer of Warranties. THE LICENSED SOFTWARE AND ANY THIRD PARTY SOFTWARE IS PROVIDED TO YOU ON AN “AS-IS” BASIS. EXCEPT AS EXPRESSLY STATED HEREIN, PINECONE PROVIDES NO TECHNICAL SUPPORT, WARRANTIES OR REMEDIES FOR THE LICENSED SOFTWARE UNDER THIS EULA. PINECONE AND ITS SUPPLIERS, EMPLOYEES, AGENTS, OFFICERS AND PARTNERS (THE “PINECONE PARTIES”) DISCLAIM ALL EXPRESS, IMPLIED OR STATUTORY WARRANTIES RELATING TO THE LICENSED SOFTWARE, INCLUDING BUT NOT LIMITED TO, MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE, AND NON-INFRINGEMENT. PINECONE DOES NOT WARRANT THAT USE OF THE LICENSED SOFTWARE WILL BE UNINTERRUPTED, OR ERROR-FREE, THAT DEFECTS WILL BE CORRECTED, OR THAT THE LICENSED SOFTWARE IS FREE OF VIRUSES OR OTHER HARMFUL COMPONENTS. IF APPLICABLE LAW REQUIRES ANY WARRANTIES WITH RESPECT TO THE LICENSED SOFTWARE, ALL SUCH WARRANTIES ARE LIMITED IN DURATION TO NINETY (90) DAYS FROM THE DATE OF DOWNLOAD. THE WARRANTY DISCLAIMER SET FORTH ABOVE IS A FUNDAMENTAL ELEMENT OF THE BASIS OF THE AGREEMENT BETWEEN PINECONE AND YOU. PINECONE WOULD NOT BE ABLE TO PROVIDE THE LICENSED SOFTWARE ON AN ECONOMIC BASIS WITHOUT SUCH LIMITATIONS. THE WARRANTY DISCLAIMER INURES TO THE BENEFIT OF THE PINECONE PARTIES. -8. Registration Information. YOU ACKNOWLEDGE AND AGREE THAT WHEN YOU INSTALL AND REGISTER THE LICENSED SOFTWARE, THE LICENSED SOFTWARE TRANSMITS TO PINECONE CERTAIN INFORMATION THAT YOU PROVIDE DURING THE INSTALLATION OR REGISTRATION PROCESS, AS WELL AS COMPUTER OR DEVICE CONFIGURATION INFORMATION. YOU AGREE THAT PINECONE MAY COLLECT AND USE THIS DATA TO FACILITATE THE PROVISION OF SOFTWARE UPDATES, PRODUCT SUPPORT OR OTHER SERVICES TO YOU (IF ANY) RELATED TO THE LICENSED SOFTWARE. PINECONE MAY USE THIS INFORMATION PROVIDED SUCH USE IS IN ACCORDANCE WITH ITS PRIVACY POLICY. -9. Limitation on Liability. TO THE MAXIMUM EXTENT PERMITTED UNDER APPLICABLE LAW, IN NO EVENT SHALL ANY PINECONE PARTY BE LIABLE FOR ANY INDIRECT, EXEMPLARY, SPECIAL, CONSEQUENTIAL OR INCIDENTAL DAMAGES OF ANY KIND, INCLUDING, WITHOUT LIMITATION, LOST PROFITS, REVENUES OR DATA, OR COSTS OF REPLACEMENT GOODS OR SERVICES, ARISING IN ANY WAY OUT OF THIS EULA OR YOUR USE OF OR INABILITY TO USE THE LICENSED SOFTWARE, HOWEVER CAUSED, REGARDLESS OF THE THEORY OF LIABILITY (CONTRACT, TORT, OR OTHERWISE) AND EVEN IF IT HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES AND NOTWITHSTANDING THE FAILURE OF ANY LIMITED REMEDY OF ITS ESSENTIAL PURPOSE. SOME JURISDICTIONS DO NOT ALLOW THE LIMITATION OF LIABILITY FOR PERSONAL INJURY, OR OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS LIMITATION MAY NOT APPLY TO YOU. In no event shall Pinecone’s total liability to you for all damages (other than as may be required by applicable law in cases involving personal injury) exceed the amount of fifty dollars ($50.00). -10. Term and Termination. This EULA and the licenses granted hereunder are effective on the date you download the Licensed Software and shall continue unless this EULA is terminated by either party pursuant to this section. Pinecone may terminate this EULA immediately upon notice to you in the event that you materially breach any of the terms hereof. You may terminate this EULA at any time, with or without cause, by sending to Pinecone written notice indicating your intent to terminate your license (such notice to include your name and the subject “REMOVE”), either via email to info@pinecone.io or via mail or courier service to 400 Concar Drive, San Mateo, California 94402. Upon termination, the license granted hereunder shall terminate and you shall immediately destroy any copies of the Licensed Software in your possession, but the terms of Sections 2-15 will remain in effect. -11. For U.S. Government End Users. The Licensed Software is a “commercial item” as that term is defined at 48 C.F.R. 2.101 (OCT 1995), and more specifically is “commercial computer software” and “commercial computer software documentation” as such terms are used in 48 C.F.R. 12.212 (SEPT 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (JUNE 1995), the Licensed Software is provided to U.S. Government End Users (a) only as a commercial end item and (b) with only those rights as are granted to all other customers pursuant to the terms and conditions herein. -12. Export. The Licensed Software and related technology are subject to U.S. export control laws and may be subject to export or import regulations in other countries. You agree to strictly comply with all such laws and regulations and acknowledge that you have the responsibility to obtain authorization to export, re-export, or import the Licensed Software and related technology, as may be required. You will indemnify and hold the Pinecone Parties harmless from any and all claims, losses, liabilities, damages, fines, penalties, costs and expenses (including attorney’s fees) arising from or relating to any breach by you of your obligations under this section. -13. Governing Law and Venue. This EULA will be governed by the laws of the California without regard to its principles of conflicts of law. Any action or proceeding arising from or relating to this EULA must be brought in a federal or state court located in San Mateo, California, and each party irrevocably submits to the jurisdiction and venue of any such court in any such action or proceeding. -14. Miscellaneous. Neither the rights nor the obligations arising under this EULA are assignable by you, and any such attempted assignment or transfer shall be void and without effect. The United Nations Convention on Contracts for the International Sale of Goods shall not apply to this EULA. Any notice to you may be provided by email. Any modifications of this Agreement must be in writing and agreed to by both parties. -15. Questions or Additional information. If you have questions regarding this EULA, or wish to obtain additional information about the Licensed Software license, please send an e-mail to info@pinecone.io. - - --------------------------------------------------------------------------------- - -Open-Source Code Included in Pinecone-io Python Library - -Last Updated: September 20, 2021 - - -3-clause BSD License (https://raw.githubusercontent.com/networkx/networkx/master/LICENSE.txt) - - * Software: grpc-gateway-protoc-gen-openapiv2 - Version 0.1.0 (https://github.com/grpc-ecosystem/grpc-gateway) - * Software: protobuf - Version 3.13.0 (https://pypi.org/project/protobuf/) - * Software: lz4 - Version 3.1.3 (https://pypi.org/project/lz4/) - * Software: numpy - Version between 1.18.5 and 1.20.0 (https://github.com/numpy/numpy) - -2-clause BSD License (https://raw.githubusercontent.com/getsentry/sentry-python/master/LICENSE) - - * Software: sentry-sdk - Version 1.0.0 or greater (https://github.com/getsentry/sentry-python) - -MIT License (https://raw.githubusercontent.com/urllib3/urllib3/main/LICENSE.txt) - - * Software: urllib3 - Version 1.21.1 or greater (https://github.com/urllib3/urllib3) - * Software: pyyaml - Version 5.4 or greater (https://github.com/yaml/pyyaml/) - * Software: loguru - Version 0.5.0 or greater (https://github.com/Delgan/loguru) - -Apache License 2.0 (https://raw.githubusercontent.com/grpc/grpc/master/LICENSE) - - * Software: grpcio - Version 1.37.1 (https://pypi.org/project/grpcio/) - * Software: googleapis-common-protos - Version 1.53.0 (https://github.com/googleapis/api-common-protos) - * Software: requests - Version 2.19.0 or greater (https://github.com/psf/requests) - * Software: python_dateutil - Version 2.5.3 or greater (https://github.com/dateutil/dateutil) - -Python Software Foundation License (PSF) (https://raw.githubusercontent.com/python/typing/master/typing_extensions/LICENSE) - - * Software: typing-extensions - Version 3.7.4 or greater (https://pypi.org/project/typing-extensions/) - -ISC License (https://opensource.org/licenses/ISC) - - * Software: dnspython - Version 2.0.0 or greater (https://www.dnspython.org/) \ No newline at end of file + 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 [yyyy] [name of copyright owner] + + 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 diff --git a/pinecone/__init__.py b/pinecone/__init__.py index 0b4605c37..1f1c6c4bc 100644 --- a/pinecone/__init__.py +++ b/pinecone/__init__.py @@ -1,6 +1,3 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# from pinecone.core.utils.constants import CLIENT_VERSION as __version__ from .config import * from .exceptions import * diff --git a/pinecone/config.py b/pinecone/config.py index f320e9b86..dfde4b97f 100644 --- a/pinecone/config.py +++ b/pinecone/config.py @@ -1,6 +1,3 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# import logging import sys from typing import NamedTuple, List diff --git a/pinecone/core/__init__.py b/pinecone/core/__init__.py index 72f758768..8b1378917 100644 --- a/pinecone/core/__init__.py +++ b/pinecone/core/__init__.py @@ -1,3 +1 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# + diff --git a/pinecone/core/api_action.py b/pinecone/core/api_action.py index 10a9dd24b..12fc74f37 100644 --- a/pinecone/core/api_action.py +++ b/pinecone/core/api_action.py @@ -1,7 +1,3 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# - from typing import NamedTuple from pinecone.core.api_base import BaseAPI diff --git a/pinecone/core/api_base.py b/pinecone/core/api_base.py index 185b7174c..93a3a7aec 100644 --- a/pinecone/core/api_base.py +++ b/pinecone/core/api_base.py @@ -1,7 +1,3 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# - import requests from requests.exceptions import HTTPError diff --git a/pinecone/core/client/__init__.py b/pinecone/core/client/__init__.py index 5f097c887..584d1219b 100644 --- a/pinecone/core/client/__init__.py +++ b/pinecone/core/client/__init__.py @@ -1,7 +1,3 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# - # flake8: noqa """ diff --git a/pinecone/core/client/api/__init__.py b/pinecone/core/client/api/__init__.py index 94a4e5e44..14e304372 100644 --- a/pinecone/core/client/api/__init__.py +++ b/pinecone/core/client/api/__init__.py @@ -1,7 +1,3 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# - # do not import all apis into this module because that uses a lot of memory and stack frames # if you need the ability to import all apis from one package, import them with # from pinecone.core.client.apis import IndexOperationsApi diff --git a/pinecone/core/client/api/index_operations_api.py b/pinecone/core/client/api/index_operations_api.py index a5b09dcca..5da15f3e1 100644 --- a/pinecone/core/client/api/index_operations_api.py +++ b/pinecone/core/client/api/index_operations_api.py @@ -1,7 +1,3 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# - """ Pinecone index operations API diff --git a/pinecone/core/client/api/vector_operations_api.py b/pinecone/core/client/api/vector_operations_api.py index 5290e1f52..1f6d2d259 100644 --- a/pinecone/core/client/api/vector_operations_api.py +++ b/pinecone/core/client/api/vector_operations_api.py @@ -1,7 +1,3 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# - """ Pinecone vector operations API diff --git a/pinecone/core/client/api_client.py b/pinecone/core/client/api_client.py index 5ef36df6a..8084c5321 100644 --- a/pinecone/core/client/api_client.py +++ b/pinecone/core/client/api_client.py @@ -1,7 +1,3 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# - """ Pinecone API diff --git a/pinecone/core/client/apis/__init__.py b/pinecone/core/client/apis/__init__.py index 401150f86..88516b08b 100644 --- a/pinecone/core/client/apis/__init__.py +++ b/pinecone/core/client/apis/__init__.py @@ -1,8 +1,3 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# - - # flake8: noqa # Import all APIs into this package. diff --git a/pinecone/core/client/configuration.py b/pinecone/core/client/configuration.py index 0d4e289dc..2c6baf433 100644 --- a/pinecone/core/client/configuration.py +++ b/pinecone/core/client/configuration.py @@ -1,7 +1,3 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# - """ Pinecone API diff --git a/pinecone/core/client/exceptions.py b/pinecone/core/client/exceptions.py index 78487f406..5cb822bc4 100644 --- a/pinecone/core/client/exceptions.py +++ b/pinecone/core/client/exceptions.py @@ -1,7 +1,3 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# - """ Pinecone API diff --git a/pinecone/core/client/model/__init__.py b/pinecone/core/client/model/__init__.py index cb0937a91..cfe32b784 100644 --- a/pinecone/core/client/model/__init__.py +++ b/pinecone/core/client/model/__init__.py @@ -1,7 +1,3 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# - # we can not import model classes here because that would create a circular # reference which would not work in python2 # do not import all models into this module because that uses a lot of memory and stack frames diff --git a/pinecone/core/client/model/approximated_config.py b/pinecone/core/client/model/approximated_config.py index ad90a79ff..4c237d89e 100644 --- a/pinecone/core/client/model/approximated_config.py +++ b/pinecone/core/client/model/approximated_config.py @@ -1,7 +1,3 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# - """ Pinecone API diff --git a/pinecone/core/client/model/collection_meta.py b/pinecone/core/client/model/collection_meta.py index a643b47a8..de2f5b6b8 100644 --- a/pinecone/core/client/model/collection_meta.py +++ b/pinecone/core/client/model/collection_meta.py @@ -1,7 +1,3 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# - """ Pinecone API diff --git a/pinecone/core/client/model/create_collection_request.py b/pinecone/core/client/model/create_collection_request.py index 7a055765a..47379c0ea 100644 --- a/pinecone/core/client/model/create_collection_request.py +++ b/pinecone/core/client/model/create_collection_request.py @@ -1,7 +1,3 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# - """ Pinecone API diff --git a/pinecone/core/client/model/create_request.py b/pinecone/core/client/model/create_request.py index 493cccc83..1aa615c0e 100644 --- a/pinecone/core/client/model/create_request.py +++ b/pinecone/core/client/model/create_request.py @@ -1,7 +1,3 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# - """ Pinecone API diff --git a/pinecone/core/client/model/delete_request.py b/pinecone/core/client/model/delete_request.py index 5ad835574..d60289048 100644 --- a/pinecone/core/client/model/delete_request.py +++ b/pinecone/core/client/model/delete_request.py @@ -1,7 +1,3 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# - """ Pinecone API diff --git a/pinecone/core/client/model/describe_index_stats_request.py b/pinecone/core/client/model/describe_index_stats_request.py index 0758a3a86..05c73506a 100644 --- a/pinecone/core/client/model/describe_index_stats_request.py +++ b/pinecone/core/client/model/describe_index_stats_request.py @@ -1,7 +1,3 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# - """ Pinecone API diff --git a/pinecone/core/client/model/describe_index_stats_response.py b/pinecone/core/client/model/describe_index_stats_response.py index 07680d168..6e965ed90 100644 --- a/pinecone/core/client/model/describe_index_stats_response.py +++ b/pinecone/core/client/model/describe_index_stats_response.py @@ -1,7 +1,3 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# - """ Pinecone API diff --git a/pinecone/core/client/model/fetch_response.py b/pinecone/core/client/model/fetch_response.py index ff36f1994..37ed4b17a 100644 --- a/pinecone/core/client/model/fetch_response.py +++ b/pinecone/core/client/model/fetch_response.py @@ -1,7 +1,3 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# - """ Pinecone API diff --git a/pinecone/core/client/model/hnsw_config.py b/pinecone/core/client/model/hnsw_config.py index f7fdb96f0..ecf41422d 100644 --- a/pinecone/core/client/model/hnsw_config.py +++ b/pinecone/core/client/model/hnsw_config.py @@ -1,7 +1,3 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# - """ Pinecone API diff --git a/pinecone/core/client/model/index_meta.py b/pinecone/core/client/model/index_meta.py index af41b93a5..e2e9bd948 100644 --- a/pinecone/core/client/model/index_meta.py +++ b/pinecone/core/client/model/index_meta.py @@ -1,7 +1,3 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# - """ Pinecone API diff --git a/pinecone/core/client/model/index_meta_database.py b/pinecone/core/client/model/index_meta_database.py index 78a2e9623..a969abd82 100644 --- a/pinecone/core/client/model/index_meta_database.py +++ b/pinecone/core/client/model/index_meta_database.py @@ -1,7 +1,3 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# - """ Pinecone API diff --git a/pinecone/core/client/model/index_meta_database_status.py b/pinecone/core/client/model/index_meta_database_status.py index c0f1f3ec5..8430174fe 100644 --- a/pinecone/core/client/model/index_meta_database_status.py +++ b/pinecone/core/client/model/index_meta_database_status.py @@ -1,7 +1,3 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# - """ Pinecone API diff --git a/pinecone/core/client/model/index_meta_status.py b/pinecone/core/client/model/index_meta_status.py index a0d143cc9..c9da0214a 100644 --- a/pinecone/core/client/model/index_meta_status.py +++ b/pinecone/core/client/model/index_meta_status.py @@ -1,7 +1,3 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# - """ Pinecone JSON API diff --git a/pinecone/core/client/model/namespace_summary.py b/pinecone/core/client/model/namespace_summary.py index 2ffcfc624..869672d0a 100644 --- a/pinecone/core/client/model/namespace_summary.py +++ b/pinecone/core/client/model/namespace_summary.py @@ -1,7 +1,3 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# - """ Pinecone API diff --git a/pinecone/core/client/model/patch_request.py b/pinecone/core/client/model/patch_request.py index 350c0c601..ac67785d5 100644 --- a/pinecone/core/client/model/patch_request.py +++ b/pinecone/core/client/model/patch_request.py @@ -1,7 +1,3 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# - """ Pinecone API diff --git a/pinecone/core/client/model/protobuf_any.py b/pinecone/core/client/model/protobuf_any.py index f136e7f17..220d4fc11 100644 --- a/pinecone/core/client/model/protobuf_any.py +++ b/pinecone/core/client/model/protobuf_any.py @@ -1,7 +1,3 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# - """ Pinecone API diff --git a/pinecone/core/client/model/protobuf_null_value.py b/pinecone/core/client/model/protobuf_null_value.py index 868211feb..9cc94e881 100644 --- a/pinecone/core/client/model/protobuf_null_value.py +++ b/pinecone/core/client/model/protobuf_null_value.py @@ -1,7 +1,3 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# - """ Pinecone API diff --git a/pinecone/core/client/model/query_request.py b/pinecone/core/client/model/query_request.py index 12be81423..ec88c383c 100644 --- a/pinecone/core/client/model/query_request.py +++ b/pinecone/core/client/model/query_request.py @@ -1,7 +1,3 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# - """ Pinecone API diff --git a/pinecone/core/client/model/query_response.py b/pinecone/core/client/model/query_response.py index 2eff20fd8..855337627 100644 --- a/pinecone/core/client/model/query_response.py +++ b/pinecone/core/client/model/query_response.py @@ -1,7 +1,3 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# - """ Pinecone API diff --git a/pinecone/core/client/model/query_vector.py b/pinecone/core/client/model/query_vector.py index 8a1dff1db..5d52522ec 100644 --- a/pinecone/core/client/model/query_vector.py +++ b/pinecone/core/client/model/query_vector.py @@ -1,7 +1,3 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# - """ Pinecone API diff --git a/pinecone/core/client/model/rpc_status.py b/pinecone/core/client/model/rpc_status.py index f0fc15010..6d0c7605a 100644 --- a/pinecone/core/client/model/rpc_status.py +++ b/pinecone/core/client/model/rpc_status.py @@ -1,7 +1,3 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# - """ Pinecone API diff --git a/pinecone/core/client/model/scored_vector.py b/pinecone/core/client/model/scored_vector.py index 25189c704..98e7f9589 100644 --- a/pinecone/core/client/model/scored_vector.py +++ b/pinecone/core/client/model/scored_vector.py @@ -1,7 +1,3 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# - """ Pinecone API diff --git a/pinecone/core/client/model/single_query_results.py b/pinecone/core/client/model/single_query_results.py index 168eeb395..9ff572893 100644 --- a/pinecone/core/client/model/single_query_results.py +++ b/pinecone/core/client/model/single_query_results.py @@ -1,7 +1,3 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# - """ Pinecone API diff --git a/pinecone/core/client/model/sparse_values.py b/pinecone/core/client/model/sparse_values.py index e9963bf1d..08bc71338 100644 --- a/pinecone/core/client/model/sparse_values.py +++ b/pinecone/core/client/model/sparse_values.py @@ -1,7 +1,3 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# - """ Pinecone API diff --git a/pinecone/core/client/model/update_request.py b/pinecone/core/client/model/update_request.py index 92667b68f..404ec38d4 100644 --- a/pinecone/core/client/model/update_request.py +++ b/pinecone/core/client/model/update_request.py @@ -1,7 +1,3 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# - """ Pinecone API diff --git a/pinecone/core/client/model/upsert_request.py b/pinecone/core/client/model/upsert_request.py index 6fea90d88..319900217 100644 --- a/pinecone/core/client/model/upsert_request.py +++ b/pinecone/core/client/model/upsert_request.py @@ -1,7 +1,3 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# - """ Pinecone API diff --git a/pinecone/core/client/model/upsert_response.py b/pinecone/core/client/model/upsert_response.py index a111bcf2e..b766ec431 100644 --- a/pinecone/core/client/model/upsert_response.py +++ b/pinecone/core/client/model/upsert_response.py @@ -1,7 +1,3 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# - """ Pinecone API diff --git a/pinecone/core/client/model/vector.py b/pinecone/core/client/model/vector.py index 4d9148dea..58a4dbea7 100644 --- a/pinecone/core/client/model/vector.py +++ b/pinecone/core/client/model/vector.py @@ -1,7 +1,3 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# - """ Pinecone API diff --git a/pinecone/core/client/model_utils.py b/pinecone/core/client/model_utils.py index 517a9f0d2..73dc385d5 100644 --- a/pinecone/core/client/model_utils.py +++ b/pinecone/core/client/model_utils.py @@ -1,7 +1,3 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# - """ Pinecone API diff --git a/pinecone/core/client/models/__init__.py b/pinecone/core/client/models/__init__.py index eab3f6184..23c7ef034 100644 --- a/pinecone/core/client/models/__init__.py +++ b/pinecone/core/client/models/__init__.py @@ -1,7 +1,3 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# - # flake8: noqa # import all models into this package diff --git a/pinecone/core/client/rest.py b/pinecone/core/client/rest.py index d8601ba51..b986712be 100644 --- a/pinecone/core/client/rest.py +++ b/pinecone/core/client/rest.py @@ -1,7 +1,3 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# - """ Pinecone API diff --git a/pinecone/core/exceptions.py b/pinecone/core/exceptions.py index f97c71522..cd4577726 100644 --- a/pinecone/core/exceptions.py +++ b/pinecone/core/exceptions.py @@ -1,8 +1,3 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# - - class PineconeException(Exception): """The base exception class for all Pinecone client exceptions.""" diff --git a/pinecone/core/grpc/__init__.py b/pinecone/core/grpc/__init__.py index 72f758768..8b1378917 100644 --- a/pinecone/core/grpc/__init__.py +++ b/pinecone/core/grpc/__init__.py @@ -1,3 +1 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# + diff --git a/pinecone/core/grpc/index_grpc.py b/pinecone/core/grpc/index_grpc.py index 909bfe68e..f62e9ec8a 100644 --- a/pinecone/core/grpc/index_grpc.py +++ b/pinecone/core/grpc/index_grpc.py @@ -1,6 +1,3 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# import logging import numbers from abc import ABC, abstractmethod diff --git a/pinecone/core/grpc/protos/__init__.py b/pinecone/core/grpc/protos/__init__.py index 72f758768..8b1378917 100644 --- a/pinecone/core/grpc/protos/__init__.py +++ b/pinecone/core/grpc/protos/__init__.py @@ -1,3 +1 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# + diff --git a/pinecone/core/grpc/protos/vector_column_service_pb2.py b/pinecone/core/grpc/protos/vector_column_service_pb2.py index 1dc8f91dd..1b4ebadc1 100644 --- a/pinecone/core/grpc/protos/vector_column_service_pb2.py +++ b/pinecone/core/grpc/protos/vector_column_service_pb2.py @@ -1,7 +1,3 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# - # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: vector_column_service.proto diff --git a/pinecone/core/grpc/protos/vector_column_service_pb2_grpc.py b/pinecone/core/grpc/protos/vector_column_service_pb2_grpc.py index f4a95518a..677e12b4b 100644 --- a/pinecone/core/grpc/protos/vector_column_service_pb2_grpc.py +++ b/pinecone/core/grpc/protos/vector_column_service_pb2_grpc.py @@ -1,7 +1,3 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# - # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc diff --git a/pinecone/core/grpc/protos/vector_service_pb2.py b/pinecone/core/grpc/protos/vector_service_pb2.py index 456ab251b..276c606d9 100644 --- a/pinecone/core/grpc/protos/vector_service_pb2.py +++ b/pinecone/core/grpc/protos/vector_service_pb2.py @@ -1,7 +1,3 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# - # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: vector_service.proto diff --git a/pinecone/core/grpc/protos/vector_service_pb2_grpc.py b/pinecone/core/grpc/protos/vector_service_pb2_grpc.py index aa64ea7d9..2d7a899db 100644 --- a/pinecone/core/grpc/protos/vector_service_pb2_grpc.py +++ b/pinecone/core/grpc/protos/vector_service_pb2_grpc.py @@ -1,7 +1,3 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# - # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc diff --git a/pinecone/core/grpc/retry.py b/pinecone/core/grpc/retry.py index 3d3f63a2b..b27182884 100644 --- a/pinecone/core/grpc/retry.py +++ b/pinecone/core/grpc/retry.py @@ -1,7 +1,3 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# - import abc import logging import random diff --git a/pinecone/core/utils/__init__.py b/pinecone/core/utils/__init__.py index e3cda4eff..d4cca1643 100644 --- a/pinecone/core/utils/__init__.py +++ b/pinecone/core/utils/__init__.py @@ -1,6 +1,3 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# import inspect import logging import re diff --git a/pinecone/core/utils/constants.py b/pinecone/core/utils/constants.py index 4dac75247..ca9d96310 100644 --- a/pinecone/core/utils/constants.py +++ b/pinecone/core/utils/constants.py @@ -1,7 +1,3 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# - import os import enum diff --git a/pinecone/core/utils/error_handling.py b/pinecone/core/utils/error_handling.py index 34d7df426..6d3f54054 100644 --- a/pinecone/core/utils/error_handling.py +++ b/pinecone/core/utils/error_handling.py @@ -1,6 +1,3 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# import inspect from functools import wraps diff --git a/pinecone/exceptions.py b/pinecone/exceptions.py index 3f5e1cdf4..ce23887f0 100644 --- a/pinecone/exceptions.py +++ b/pinecone/exceptions.py @@ -1,7 +1,3 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# - from .core.exceptions import PineconeException, PineconeProtocolError from .core.client.exceptions import ( OpenApiException, diff --git a/pinecone/index.py b/pinecone/index.py index b4363f2aa..f3e68ba2f 100644 --- a/pinecone/index.py +++ b/pinecone/index.py @@ -1,6 +1,3 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# from tqdm.autonotebook import tqdm from importlib.util import find_spec import numbers diff --git a/pinecone/info.py b/pinecone/info.py index 75ee70501..36f5ae2ed 100644 --- a/pinecone/info.py +++ b/pinecone/info.py @@ -1,7 +1,3 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# - from pinecone.core.api_action import ActionAPI, VersionResponse, WhoAmIResponse from pinecone.config import Config diff --git a/pinecone/license_header.txt b/pinecone/license_header.txt deleted file mode 100644 index 9b024f346..000000000 --- a/pinecone/license_header.txt +++ /dev/null @@ -1,3 +0,0 @@ - -Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. - diff --git a/pinecone/manage.py b/pinecone/manage.py index 84041682f..83319ded7 100644 --- a/pinecone/manage.py +++ b/pinecone/manage.py @@ -1,7 +1,3 @@ -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# - import time from typing import NamedTuple, Optional diff --git a/setup.py b/setup.py index ad24df8b2..9384b1bd4 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,5 @@ #!/usr/bin/env python -# -# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. -# + import os @@ -21,7 +19,7 @@ def read(fname): name="pinecone-client", version=read("pinecone/__version__").strip(), description="Pinecone client and SDK", - license="Proprietary License", + license='Apache 2.0', long_description=read("README.md"), long_description_content_type="text/markdown", url="https://www.pinecone.io/", @@ -29,7 +27,6 @@ def read(fname): "Homepage": "https://www.pinecone.io", "Documentation": "https://pinecone.io/docs", "Contact": "https://www.pinecone.io/contact/", - "End-User License Agreement": "https://www.pinecone.io/thin-client-user-agreement/" }, author="Pinecone Systems, Inc.", author_email="support@pinecone.io", @@ -45,14 +42,12 @@ def read(fname): 'console_scripts': ['pinecone=pinecone.cli:main'], }, classifiers=[ - "Development Status :: 4 - Beta", - "Environment :: Console", - "Environment :: Other Environment", + "License :: OSI Approved :: Apache Software License", + "Development Status :: 5 - Production/Stable" "Intended Audience :: Developers", "Intended Audience :: Information Technology", "Intended Audience :: Science/Research", "Intended Audience :: System Administrators", - "License :: Other/Proprietary License", "Operating System :: OS Independent", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9",