Skip to content

Commit b213969

Browse files
committed
Made it pip installable
1 parent 2e6eaa1 commit b213969

15 files changed

+31
-184
lines changed

.drone.yml

-5
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,8 @@ platform:
1010
steps:
1111
- name: test
1212
image: python:3.7.5-alpine
13-
environment:
14-
API_KEY:
15-
from_secret: TEST_API_KEY
16-
MY_NEW_ENV: "hello world"
1713
commands:
1814
- pip install -U tox
19-
- env
2015
- tox
2116

2217
trigger:

LICENSE

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Copyright (c) 2018 The Python Packaging Authority
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy
4+
of this software and associated documentation files (the "Software"), to deal
5+
in the Software without restriction, including without limitation the rights
6+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7+
copies of the Software, and to permit persons to whom the Software is
8+
furnished to do so, subject to the following conditions:
9+
10+
The above copyright notice and this permission notice shall be included in all
11+
copies or substantial portions of the Software.
12+
13+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19+
SOFTWARE.

README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
[![Build Status](https://drone.polygon.io/api/badges/Polygon-io/polygon-client-python/status.svg)](https://drone.polygon.io/Polygon-io/polygon-client-python)
22

3-
# A Python client library for Polgyon's WebSocket and RESTful APIs
3+
# A Python client library for Polygon's WebSocket and RESTful APIs
44

55
## Getting Started
66

77
For a basic product overview, check out our [setup and use documentation](https://polygon.io/sockets)
88

9+
### Install
10+
11+
`pip install polygon-api-client`
912

1013
## Simple WebSocket Demo
1114
```python
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

setup.py

+8-7
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,15 @@
33
from setuptools import setup, find_packages
44

55
setup(
6-
name="polygon",
6+
name="polygon-api-client",
77
version="0.0.1",
88
description="Polygon API client",
99
author_email="[email protected]",
10-
url="",
11-
keywords=["Polygon API"],
12-
packages=find_packages("src"),
13-
package_dir={"": "src"},
14-
py_modules=["polygon"],
15-
include_package_data=True
10+
url="https://github.com/Polygon-io/polygon-client-python",
11+
packages=find_packages(),
12+
classifiers=[
13+
"License :: OSI Approved :: MIT License",
14+
"Programming Language :: Python :: 3",
15+
"Operating System :: OS Independent",
16+
],
1617
)

tests/__init__.py

Whitespace-only changes.

tests/integration/__init__.py

Whitespace-only changes.

tests/integration/test_rest_api.py

-171
This file was deleted.

0 commit comments

Comments
 (0)