Skip to content

Commit

Permalink
Made it pip installable
Browse files Browse the repository at this point in the history
  • Loading branch information
jbonzo committed Nov 7, 2019
1 parent 2e6eaa1 commit b213969
Show file tree
Hide file tree
Showing 15 changed files with 31 additions and 184 deletions.
5 changes: 0 additions & 5 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,8 @@ platform:
steps:
- name: test
image: python:3.7.5-alpine
environment:
API_KEY:
from_secret: TEST_API_KEY
MY_NEW_ENV: "hello world"
commands:
- pip install -U tox
- env
- tox

trigger:
Expand Down
19 changes: 19 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Copyright (c) 2018 The Python Packaging Authority

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
[![Build Status](https://drone.polygon.io/api/badges/Polygon-io/polygon-client-python/status.svg)](https://drone.polygon.io/Polygon-io/polygon-client-python)

# A Python client library for Polgyon's WebSocket and RESTful APIs
# A Python client library for Polygon's WebSocket and RESTful APIs

## Getting Started

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

### Install

`pip install polygon-api-client`

## Simple WebSocket Demo
```python
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
15 changes: 8 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@
from setuptools import setup, find_packages

setup(
name="polygon",
name="polygon-api-client",
version="0.0.1",
description="Polygon API client",
author_email="[email protected]",
url="",
keywords=["Polygon API"],
packages=find_packages("src"),
package_dir={"": "src"},
py_modules=["polygon"],
include_package_data=True
url="https://github.com/Polygon-io/polygon-client-python",
packages=find_packages(),
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
],
)
Empty file removed tests/__init__.py
Empty file.
Empty file removed tests/integration/__init__.py
Empty file.
171 changes: 0 additions & 171 deletions tests/integration/test_rest_api.py

This file was deleted.

0 comments on commit b213969

Please sign in to comment.