Skip to content

Commit 0521529

Browse files
committed
rename package name to substreams and update README
1 parent 6aa0e0c commit 0521529

7 files changed

Lines changed: 40 additions & 6 deletions

File tree

LICENSE.txt

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

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ WIP Python Interface for querying via substreams
55
1. Install the package:
66

77
```curl
8-
pip3 install git+ssh://git@github.com/messari/substreams-python
8+
pip3 install substreams
99
```
1010
2. Generate a StreamingFast API Token
1111
- Can do so via this [link](https://substreams.streamingfast.io/reference-and-specs/authentication)
@@ -24,7 +24,7 @@ pip3 install git+ssh://git@github.com/messari/substreams-python
2424
### Instantiation
2525
First import the `Substream` object and pass in the path to your `.spkg` file
2626
```python
27-
from substreams_python import Substream
27+
from substreams import Substream
2828
2929
sb = Substream("substreams-uniswap-v2-v0.1.0.spkg")
3030
```

demo.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"metadata": {},
77
"outputs": [],
88
"source": [
9-
"from substreams_python import Substream"
9+
"from substreams import Substream"
1010
]
1111
},
1212
{

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ requires = ["hatchling"]
33
build-backend = "hatchling.build"
44

55
[project]
6-
name = "substreams-python"
6+
name = "substreams"
77
version = "0.0.1"
88
authors = [
99
{ name="Ryan Sudhakaran", email="ryan.sudhakaran@messari.io" },

setup.py

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,20 @@
11
from setuptools import setup
22

3+
with open("README.md", "r", encoding="utf-8") as fh:
4+
long_description = fh.read()
5+
36
setup(
4-
name="substreams-python",
7+
name="substreams",
58
version="0.0.1",
6-
packages=[".substreams_python"],
9+
packages=[".substreams"],
10+
author="Ryan Sudhakaran",
11+
author_email="ryan.sudhakaran@messari.io",
12+
description="Light Python wrapper for consuming Substreams",
13+
url="https://github.com/messari/substreams-python",
14+
classifiers=[
15+
"Programming Language :: Python :: 3",
16+
"License :: OSI Approved :: MIT License",
17+
"Operating System :: OS Independent",
18+
],
19+
python_requires=">=3.10",
720
)

0 commit comments

Comments
 (0)