amps-python-client 5.3.5.2__cp38-abi3-macosx_14_0_arm64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
AMPS.abi3.so
ADDED
|
Binary file
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
API License Agreement
|
|
2
|
+
|
|
3
|
+
IMPORTANT - READ THIS CAREFULLY BEFORE INSTALLING, USING OR ELECTRONICALLY
|
|
4
|
+
ACCESSING THIS PROPRIETARY PRODUCT. THIS API LICENSE AGREEMENT ("AGREEMENT") IS
|
|
5
|
+
A LEGAL AGREEMENT BETWEEN 60EAST TECHNOLOGIES, INC. ("60EAST") AND THE BUSINESS
|
|
6
|
+
ENTITY ON WHOSE BEHALF YOU ("YOU") ARE ACTING ("CUSTOMER") AS THE END USER OF
|
|
7
|
+
THE 60EAST CLIENT APPLICATION PROGRAMING INTERFACE SOFTWARE CODE ACCOMPANYING
|
|
8
|
+
THIS AGREEMENT, WHICH INCLUDES OBJECT CODE AND SOURCE CODE AND MAY INCLUDE
|
|
9
|
+
ASSOCIATED MEDIA, PRINTED MATERIALS AND DOCUMENTATION (COLLECTIVELY, THE "CLIENT
|
|
10
|
+
API"). THE CLIENT API ALSO INCLUDES ANY UPDATES OR UPGRADES TO OR NEW VERSIONS
|
|
11
|
+
OF THE ORIGINAL CLIENT API, IF AND WHEN MADE AVAILABLE TO YOU BY 60EAST.
|
|
12
|
+
|
|
13
|
+
YOU AGREE THAT YOU ARE AN EMPLOYEE OR AGENT OF CUSTOMER AND ARE ENTERING INTO
|
|
14
|
+
THIS AGREEMENT TO USE THE CLIENT API FOR CUSTOMER'S OR ITS AFFILIATES' OWN
|
|
15
|
+
BUSINESS PURPOSES. YOU HEREBY AGREE THAT YOU ENTER INTO THIS AGREEMENT ON
|
|
16
|
+
BEHALF OF CUSTOMER AND THAT YOU HAVE THE AUTHORITY TO BIND CUSTOMER TO THE TERMS
|
|
17
|
+
AND CONDITIONS OF THIS AGREEMENT.
|
|
18
|
+
|
|
19
|
+
To the extent that these terms of the API License Agreement conflict with any
|
|
20
|
+
similar terms in the Software License and Service Agreement between 60EAST and
|
|
21
|
+
CUSTOMER, the terms of the Software License and Service Agreement shall take
|
|
22
|
+
precedence over any similar terms set forth herein.
|
|
23
|
+
|
|
24
|
+
60EAST IS WILLING TO LICENSE THE CLIENT API TO CUSTOMER AND CUSTOMER'S
|
|
25
|
+
AFFILIATES ONLY ON THE CONDITION THAT YOU ACCEPT ALL OF THE TERMS IN THIS
|
|
26
|
+
AGREEMENT.
|
|
27
|
+
|
|
28
|
+
BY INSTALLING, DOWNLOADING, CONFIGURING, ACCESSING, OR OTHERWISE USING THE
|
|
29
|
+
CLIENT API, INCLUDING ANY UPDATES, UPGRADES, OR NEWER VERSIONS, YOU ACKNOWLEDGE
|
|
30
|
+
THAT YOU HAVE READ THIS AGREEMENT, UNDERSTAND THIS AGREEMENT, AND THAT CUSTOMER
|
|
31
|
+
AGREES TO BE BOUND BY ALL OF THE TERMS OF THIS AGREEMENT.
|
|
32
|
+
|
|
33
|
+
1. License Grant. Subject to the terms of this Agreement, 60East grants to
|
|
34
|
+
Customer and its Affiliates, during the Term, a limited, revocable, non-exclusive,
|
|
35
|
+
non-transferable, non-sublicensable license to install and use the Client API
|
|
36
|
+
solely to (a) download and integrate "package manager" sites from development
|
|
37
|
+
environments into a Customer application and (b) enable a Customer application
|
|
38
|
+
to interact with 60East's AMPS Software ("AMPS") solely for Customer's and/or
|
|
39
|
+
its Affiliate's own internal business purpose in accordance with the Client API
|
|
40
|
+
documentation and other terms and conditions of this Agreement. Customer may
|
|
41
|
+
make a reasonable number of copies of the Client API solely for the purpose of
|
|
42
|
+
interacting with AMPS for Customer's internal business purposes. As used herein,
|
|
43
|
+
"Affiliate" means, with respect to a party, any other entity that directly or
|
|
44
|
+
indirectly controls, is controlled by or is under common control with such
|
|
45
|
+
entity, where "control" means the possession, direct or indirect, of the power
|
|
46
|
+
to direct or cause the direction of the management and policies of such entity
|
|
47
|
+
(for example, through the ownership of voting securities or other equity
|
|
48
|
+
interest, representation on its board of directors or other governing body, or
|
|
49
|
+
by contract).
|
|
50
|
+
|
|
51
|
+
2. Restrictions on Use. Customer is responsible for all activities that occur
|
|
52
|
+
in connection with the Client API. Customer acknowledges that the Client API
|
|
53
|
+
and the structure, organization, and source code thereof constitute valuable
|
|
54
|
+
trade secrets of 60East. Accordingly, except as expressly permitted in
|
|
55
|
+
Section 1 or as otherwise authorized by 60East in writing, Customer will not,
|
|
56
|
+
and will not permit any third party to (a) modify, adapt, alter, translate, or
|
|
57
|
+
create derivative works from the Client API; (b) sublicense, lease, rent, loan,
|
|
58
|
+
sell, distribute, make available or otherwise transfer the Client API to any
|
|
59
|
+
third party, other than its Affiliates; (c) reverse engineer, decompile,
|
|
60
|
+
disassemble, or otherwise attempt to derive the source code for the Client API;
|
|
61
|
+
or (d) otherwise use or copy the Client API except as expressly allowed under
|
|
62
|
+
Section 1 above. Customer may not disclose to third parties or through
|
|
63
|
+
publication the results of performance/benchmark tests run on the Client API
|
|
64
|
+
without the prior written consent of 60East.
|
|
65
|
+
|
|
66
|
+
3. Delivery and Acceptance. The Client API will be delivered electronically
|
|
67
|
+
pursuant to 60East standard download procedures. The Client API is deemed
|
|
68
|
+
accepted upon delivery.
|
|
69
|
+
|
|
70
|
+
4. Ownership. As between the parties, the Client API and all modifications and
|
|
71
|
+
improvements to the Client API, and all worldwide intellectual property rights
|
|
72
|
+
and proprietary rights relating thereto or embodied therein, are the exclusive
|
|
73
|
+
property of 60East and its suppliers. 60East and its suppliers reserve all
|
|
74
|
+
rights in and to the Client API not expressly granted to Customer in Section 1,
|
|
75
|
+
and no other licenses or rights are granted by implication, estoppel or
|
|
76
|
+
otherwise.
|
|
77
|
+
|
|
78
|
+
5. Implementation and Support. 60East has no obligation under this Agreement to
|
|
79
|
+
provide any support or consultation concerning the Client API; provided,
|
|
80
|
+
however, 60East may, in its sole discretion, provide Customer with certain
|
|
81
|
+
support and consultation free of charge to assist in the permitted activities of
|
|
82
|
+
Customer under this Agreement. The furnishing of such support or consultation
|
|
83
|
+
will not subject 60East to any liability, whether in contract, tort or
|
|
84
|
+
otherwise. Customer is responsible for providing all applicable hardware and
|
|
85
|
+
any third party software or required installation and configuration services
|
|
86
|
+
required for the operation of the Client API. Any third party software license
|
|
87
|
+
agreements will be agreed to by Customer and the applicable third party software
|
|
88
|
+
vendor.
|
|
89
|
+
|
|
90
|
+
6. Term and Termination. This Agreement is effective upon acceptance by
|
|
91
|
+
Customer and shall continue until terminated in accordance with this Agreement.
|
|
92
|
+
Customer may terminate this Agreement at any time by destroying the Client API
|
|
93
|
+
and notifying 60East at: sales@crankuptheamps.com. If Customer breaches any
|
|
94
|
+
provision of this Agreement, this Agreement will automatically terminate. The
|
|
95
|
+
provisions of Sections 2, 4, 6, 7, 8, 9, 10, 11, and 12 shall survive
|
|
96
|
+
termination or expiration of this Agreement for any reason.
|
|
97
|
+
|
|
98
|
+
7. Confidentiality. 60East may disclose certain information regarding the
|
|
99
|
+
business of 60East and its suppliers, including the Client API and technical,
|
|
100
|
+
marketing, financial, employee, planning, and other confidential or proprietary
|
|
101
|
+
information of 60East or its suppliers ("Confidential Information"). Any
|
|
102
|
+
information that Customer knew or should have known, under the circumstances,
|
|
103
|
+
was considered confidential or proprietary by 60East will be considered
|
|
104
|
+
Confidential Information. Customer agrees (a) not to disclose Confidential
|
|
105
|
+
information to any persons outside its organization, except to its consultants
|
|
106
|
+
or agents who agree in writing to protect such Confidential information as
|
|
107
|
+
required herein; and (b) to use the Confidential information only for the
|
|
108
|
+
purpose of using the Client API as permitted by this Agreement.
|
|
109
|
+
|
|
110
|
+
8. Disclaimer. CUSTOMER ACKNOWLEDGES AND AGREES THAT CUSTOMER'S USE OF THE
|
|
111
|
+
CLIENT API IS ENTIRELY AT ITS OWN RISK AND THE CLIENT API PROVIDED BY 60EAST TO
|
|
112
|
+
CUSTOMER IS PROVIDED "AS IS" WITHOUT ANY WARRANTY OF ANY KIND WHATSOEVER.
|
|
113
|
+
60EAST, ON BEHALF OF ITSELF AND ITS SUPPLIERS, HEREBY EXPRESSLY DISCLAIMS ALL
|
|
114
|
+
WARRANTIES WITH REGARD TO THE CLIENT API, WHETHER EXPRESS, IMPLIED, STATUTORY OR
|
|
115
|
+
OTHERWISE, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES OF
|
|
116
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND ANY WARRANTIES
|
|
117
|
+
ARISING FROM COURSE OF DEALING OR COURSE OF PERFORMANCE. TO THE EXTENT THAT, AS
|
|
118
|
+
A MATTER OF APPLICABLE LAW, ANY IMPLIED OR STATUTORY WARRANTY MAY NOT BE
|
|
119
|
+
DISCLAIMED, THE DURATION AND SCOPE OF SUCH WARRANTY SHALL BE THE MINIMUM
|
|
120
|
+
PERMISSIBLE UNDER SUCH APPLICABLE LAW.
|
|
121
|
+
|
|
122
|
+
9. Limitation of Liability. IN NO EVENT WILL EITHER PARTY BE LIABLE FOR ANY
|
|
123
|
+
CONSEQUENTIAL, INDIRECT, EXEMPLARY, PUNITIVE, SPECIAL OR INCIDENTAL DAMAGES,
|
|
124
|
+
INCLUDING ANY LOST DATA AND LOST PROFITS, ARISING FROM OR RELATING TO THE CLIENT
|
|
125
|
+
API OR THIS AGREEMENT, EVEN IF THE OTHER PARTY HAS BEEN ADVISED OF THE
|
|
126
|
+
POSSIBILITY OF SUCH DAMAGES. EITHER PARTY'S TOTAL CUMULATIVE LIABILITY IN
|
|
127
|
+
CONNECTION WITH THIS AGREEMENT AND THE CLIENT API, WHETHER IN CONTRACT OR TORT
|
|
128
|
+
OR OTHERWISE, WILL NOT EXCEED $1000. CUSTOMER ACKNOWLEDGES THAT THIS PROVISION
|
|
129
|
+
REFLECTS THE AGREED UPON ALLOCATION OF RISK FOR THIS AGREEMENT AND THAT 60EAST
|
|
130
|
+
WOULD NOT ENTER INTO THIS AGREEMENT WITHOUT THESE LIMITATIONS ON ITS LIABILITY.
|
|
131
|
+
|
|
132
|
+
10. Compliance with Laws. Customer shall comply with all laws, regulations,
|
|
133
|
+
rules, ordinances and orders applicable to its use of the Client API. Without
|
|
134
|
+
limiting the foregoing, Customer shall comply with the relevant export
|
|
135
|
+
administration and control laws and regulations, as may be amended from time to
|
|
136
|
+
time, including, without limitation, the United States Export Administration
|
|
137
|
+
Act, to ensure that the Client API is not shipped, transferred or exported
|
|
138
|
+
(directly or indirectly) in violation of U.S. law.
|
|
139
|
+
|
|
140
|
+
11. U.S. Government End Users. The Client API is a "commercial item" as that
|
|
141
|
+
term is defined at 48 C.F.R. 2.101, consisting of "commercial computer software"
|
|
142
|
+
and "commercial computer software documentation" as such terms are used in 48
|
|
143
|
+
C.F.R. 12.212. Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through
|
|
144
|
+
227.7202-4, all U.S. Government end users acquire the Client API with only those
|
|
145
|
+
rights set forth therein.
|
|
146
|
+
|
|
147
|
+
12. Miscellaneous. Customer may not assign or delegate, directly or indirectly,
|
|
148
|
+
by operation of law or otherwise, this Agreement or any of its rights or
|
|
149
|
+
obligations under this Agreement (including the license rights granted to
|
|
150
|
+
Customer to the Client API) to any third party. Any attempted assignment or
|
|
151
|
+
transfer in violation of the foregoing will be null and void and of no effect.
|
|
152
|
+
This Agreement will be subject to and governed by the laws of the State of
|
|
153
|
+
New York and the United States of America without regard for its conflicts of
|
|
154
|
+
law principles that would require application of the laws of a different state
|
|
155
|
+
or country. The federal and state courts for New York City, New York shall have
|
|
156
|
+
jurisdiction over any disputes, claims or controversies arising out of or
|
|
157
|
+
relating to this Agreement, and Customer hereby irrevocably waives any objection
|
|
158
|
+
to the jurisdiction of such courts over any such dispute, claim or controversy.
|
|
159
|
+
All modifications, waivers and amendments must be in writing and signed by both
|
|
160
|
+
parties. Any waiver or failure to enforce any provision of this Agreement on one
|
|
161
|
+
occasion will not be deemed a waiver of any other provision or of such provision
|
|
162
|
+
on any other occasion. If any provision of this Agreement is held by a court of
|
|
163
|
+
competent jurisdiction to be unenforceable for any reason, the remaining
|
|
164
|
+
provisions hereof shall be unaffected and continue in full force and effect.
|
|
165
|
+
This Agreement constitutes the entire agreement between the parties regarding
|
|
166
|
+
the subject hereof and supersedes all prior or contemporaneous agreements,
|
|
167
|
+
understandings and communications, whether written or oral.
|
|
168
|
+
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: amps-python-client
|
|
3
|
+
Version: 5.3.5.2
|
|
4
|
+
Summary: AMPS Python Client
|
|
5
|
+
Home-page: https://crankuptheamps.com
|
|
6
|
+
Maintainer: 60East Technologies, Incorporated
|
|
7
|
+
Maintainer-email: support@crankuptheamps.com
|
|
8
|
+
License: Commercial/Proprietary :: see LICENSE
|
|
9
|
+
Platform: Linux
|
|
10
|
+
Platform: Windows
|
|
11
|
+
Classifier: License :: Other/Proprietary License
|
|
12
|
+
Description-Content-Type: text/markdown
|
|
13
|
+
License-File: LICENSE
|
|
14
|
+
|
|
15
|
+
AMPS Python Client
|
|
16
|
+
==================
|
|
17
|
+
|
|
18
|
+
Introduction
|
|
19
|
+
------------
|
|
20
|
+
|
|
21
|
+
The AMPS Python Client is a Python extension module that makes it easy to connect to AMPS. This client builds upon the AMPS C++ Client and Python/C api to bring high performance AMPS connectivity to Python code.
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
Prerequisites
|
|
25
|
+
-------------
|
|
26
|
+
|
|
27
|
+
To use the AMPS Python Client, you must have the following software installed and configured on your system:
|
|
28
|
+
|
|
29
|
+
* Python 2.7 or Python 3.5 and above.
|
|
30
|
+
* Python setuptools. Most python installations build and include this package by default, but you may run into issues building this extension module if setuptools is not functioning properly on your system.
|
|
31
|
+
* C++ compiler. gcc 4.4 or greater on Linux, or a verion of Visual Studio with Mainstream Support from Microsoft (please
|
|
32
|
+
refer to Microsoft product lifecycle policies) on Windows. Note that this must be the same compiler used to build your
|
|
33
|
+
python distribution, else python distutils may be unable to invoke your compiler.
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
Fedora prerequisites:
|
|
37
|
+
1. dnf install redhat-rpm-config
|
|
38
|
+
2. dnf install python-devel # for use with Python2
|
|
39
|
+
3. dnf install python3-devel # for use with Python3
|
|
40
|
+
4. dnf install gcc-c++
|
|
41
|
+
|
|
42
|
+
Building From a Git Clone
|
|
43
|
+
-------------------------
|
|
44
|
+
|
|
45
|
+
If you obtained this client by a git clone of the 60East amps-client-python repository, you also need to fetch the correct version of the
|
|
46
|
+
AMPS C++ client submodule. To do this, issue a git submodule command to initialize and update the src/cpp submodule. One easy
|
|
47
|
+
way to do this is by issuing the command:
|
|
48
|
+
|
|
49
|
+
git submodule update --init
|
|
50
|
+
|
|
51
|
+
which will initialize and update the submodule in one step. Note that working with submodules in git requires extra care. Visit
|
|
52
|
+
[this chapter](http://git-scm.com/book/en/Git-Tools-Submodules) to learn more about git submodules.
|
|
53
|
+
|
|
54
|
+
Build
|
|
55
|
+
-----
|
|
56
|
+
|
|
57
|
+
This client is distributed as source code and must be compiled before it is used. The build process emits a shared library
|
|
58
|
+
(or DLL on Windows) that can be imported into your python application.
|
|
59
|
+
|
|
60
|
+
### To build on Linux:
|
|
61
|
+
|
|
62
|
+
1. Run `python setup.py build` from the AMPS Python Client directory to build the client.
|
|
63
|
+
|
|
64
|
+
This script uses Python distutils to build the client library. Python distutils provides many additional options for installing the built library into your Python distribution, or
|
|
65
|
+
otherwise controlling the output of the build process. Run `python setup.py --help` to view command help.
|
|
66
|
+
|
|
67
|
+
2. Check under the `build` directory for `AMPS.abi3.so` -- this is the Python extension module. Ensure this library's directory is in your PYTHONPATH.
|
|
68
|
+
|
|
69
|
+
3. To test, run `python -c "import AMPS"`. If any errors occur importing the AMPS module, validate that the module built properly, and that the containing directory is in your PYTHONPATH.
|
|
70
|
+
|
|
71
|
+
### To build on Windows:
|
|
72
|
+
|
|
73
|
+
1. Use a Visual Studio Command Prompt to create a command prompt where the necessary Visual Studio environment variables are set for command line builds.
|
|
74
|
+
|
|
75
|
+
2. Add the Python directory (the location of the python.exe interpreter) to your path.
|
|
76
|
+
*Note:* The platform of your python installation must match the target platform for this python module. If you want to
|
|
77
|
+
build a 64-bit module, you must set your PATH to a 64-bit Python installation; for a 32-bit module, you must set it to
|
|
78
|
+
a 32-bit installation. If you'd like to build both, you must do so separately, once with each Python installation.
|
|
79
|
+
3. Run `python setup.py build` fom the AMPS Python Client directory to build the client module. Use the `-p win32` option to build a 32-bit client module.
|
|
80
|
+
4. Check under the `build` directory for `AMPS.pyd` -- this is the Python extension module. Ensure this library's directory is in your PYTHONPATH.
|
|
81
|
+
5. To test, run `python -c "import AMPS"`. If any errors occur importing the AMPS module, validate that the module built properly, and that the containing directory is in your PYTHONPATH.
|
|
82
|
+
|
|
83
|
+
Installing the Python Binary Wheel
|
|
84
|
+
----------------------------------
|
|
85
|
+
|
|
86
|
+
60East also provides Linux-x86-64 and Windows 64-bit binary wheels built with Python 2.7 and for Python 3.x.
|
|
87
|
+
These wheel files are provided on the 60East website.
|
|
88
|
+
|
|
89
|
+
If your system is not Linux-x86-64, or you are not using Python 2.6, you can generate your own egg by running 'python setup.py bdist_wheel'.
|
|
90
|
+
|
|
91
|
+
## Installing:
|
|
92
|
+
|
|
93
|
+
1. Download the wheel file from the 60East client release page.
|
|
94
|
+
|
|
95
|
+
2. run 'python -m pip install *.whl'.
|
|
96
|
+
|
|
97
|
+
Troubleshooting Build Problems
|
|
98
|
+
------------------------------
|
|
99
|
+
|
|
100
|
+
Symptom: Python.h not found
|
|
101
|
+
|
|
102
|
+
Resolution: Update or install python distutils. See the entry on python distutils in the prequisites section for information on installing this package.
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
For More Information
|
|
106
|
+
--------------------
|
|
107
|
+
|
|
108
|
+
The developer's guide and generated reference documentation for this client are available under the doc/ directory.
|
|
109
|
+
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
AMPS.abi3.so,sha256=ATA6YhJeprAb9nuSSJobvFHlamrmO-GYD7V0jU5Lvpk,2511776
|
|
2
|
+
amps_python_client-5.3.5.2.dist-info/LICENSE,sha256=VpMPF22d9NuD_tUPoruWqEQWd9Qh-Ll630qjVTXQkas,10953
|
|
3
|
+
amps_python_client-5.3.5.2.dist-info/METADATA,sha256=ZEycteR1lxPFXR0wcKTNPwUiYwNANf1dmTMmOrLL-BI,5195
|
|
4
|
+
amps_python_client-5.3.5.2.dist-info/WHEEL,sha256=20fbqvSED8CMpBEsQe6kCGxSo9pPJ5UtUeljtz5CVVM,108
|
|
5
|
+
amps_python_client-5.3.5.2.dist-info/top_level.txt,sha256=cnlMUyFZfVogIH2SsXyZBGeEnRPWIU0ERXs9e7zIyEs,5
|
|
6
|
+
amps_python_client-5.3.5.2.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
AMPS
|