Skip to content

Commit a1c8569

Browse files
authored
Merge pull request #28 from guilyx/bump-102
Bump 1.0.2
2 parents 60df3cd + a4017f0 commit a1c8569

File tree

4 files changed

+24
-8
lines changed

4 files changed

+24
-8
lines changed

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,14 +96,20 @@ import os
9696
import asyncio
9797
from dotenv import load_dotenv
9898

99-
10099
load_dotenv()
101100

102101
key = os.getenv("NEXO_PUBLIC_KEY")
103102
secret = os.getenv("NEXO_SECRET_KEY")
104103

105-
client = nexo.AsyncClient.create(key, secret)
106-
print(await client.get_account_balances())
104+
async def main():
105+
client = await nexo.AsyncClient.create(key, secret)
106+
print(await client.get_account_balances())
107+
108+
await client.close_connection()
109+
110+
if __name__ == "__main__":
111+
loop = asyncio.get_event_loop()
112+
loop.run_until_complete(main())
107113
```
108114

109115
### Docker (source)

docs/changelog.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,18 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [1.0.2] - 04/12/2022
8+
### Changed
9+
- Readme Examples
10+
11+
## [1.0.2] - 04/12/2022
12+
### Added
13+
- Asynchronous Client
14+
- New Endpoints
15+
16+
### Removed
17+
- Code Coverage for upper Clients classes
18+
719
## [1.0.1] - 05-10-2022
820
### Added
921
- Example for placing order
@@ -32,4 +44,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3244
- All Endpoints wrapped
3345
- Readme with examples, setup steps
3446
- Custom Exceptions based on Nexo's API
35-
- Basic Tests
47+
- Basic Tests

nexo/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
.. moduleauthor:: Erwin Lejeune
33
"""
44

5-
__version__ = "1.0.1"
5+
__version__ = '1.0.3'
66

77
from nexo.async_client import AsyncClient
88
from nexo.client import Client

setup.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,8 @@
66

77
with open("requirements.txt") as f:
88
required = f.read().splitlines()
9-
10-
119
with codecs.open(
12-
os.path.join(os.path.abspath(os.path.dirname(__file__)), "nexo", "__init__.py"),
10+
os.path.join(os.path.dirname(os.path.abspath(__file__)), "nexo", "__init__.py"),
1311
"r",
1412
"latin1",
1513
) as fp:

0 commit comments

Comments
 (0)