Skip to content

Commit

Permalink
more renames; remove deps
Browse files Browse the repository at this point in the history
  • Loading branch information
hf-kklein committed Feb 26, 2024
1 parent 629d698 commit bf5592a
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 124 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ pip install bssclient
from yarl import URL
from bssclient import bssclient, BssConfig

tmds_config = BssConfig(
server_url=URL("https://my-tmds.xtk-test.org/"),
bss_config = BssConfig(
server_url=URL("https://my-bss.xtk-test.org/"),
usr="my-usr",
pwd="my-pwd",
)
client = bssclient(tmds_config)
client = bssclient(bss_config)
netzvertrage = await client.get_netzvertraege_for_melo("DE1234567890123456789012345678901")
```

Expand Down
9 changes: 4 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[project]
name = "bssclient"
description = "Fully typed, async client library for Technical Master Data Service (TMDS)"
description = "Fully typed, async client library for Basic Supply Service (BSS)"
license = { text = "MIT" }
requires-python = ">=3.11"
authors = [{ name = "Hochfreuqenz Unternehmensberatung GmbH", email = "[email protected]" }]
keywords = ["technical master data", "tmds"]
keywords = ["basic supply", "bss"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
Expand All @@ -18,13 +18,12 @@ classifiers = [
]
dependencies = [
"pydantic>=2.0.0",
"aiohttp[speedups]>=3.9.3",
"jsonpatch"
"aiohttp[speedups]>=3.9.3"
] # add all the dependencies here
dynamic = ["readme", "version"]

[project.urls]
Changelog = "https://github.com/Hochfrequenz/tmddsclient.py/releases"
Changelog = "https://github.com/Hochfrequenz/bssclient.py/releases"
Homepage = "https://github.com/Hochfrequenz/bssclient.py"

[tool.black]
Expand Down
4 changes: 0 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ frozenlist==1.4.1
# aiosignal
idna==3.6
# via yarl
jsonpatch==1.33
# via bssclient (pyproject.toml)
jsonpointer==2.4
# via jsonpatch
multidict==6.0.5
# via
# aiohttp
Expand Down
28 changes: 0 additions & 28 deletions src/bssclient/models/patches.py

This file was deleted.

6 changes: 3 additions & 3 deletions unittests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ async def bss_client_with_default_auth() -> AsyncGenerator[tuple[BssClient, BssC
(and the code after yield the test execution)
:return:
"""
tmds_config = BssConfig(
bss_config = BssConfig(
server_url=URL("https://bss.inv/"),
usr="my-usr",
pwd="my-pwd",
)
client = BssClient(tmds_config)
yield client, tmds_config
client = BssClient(bss_config)
yield client, bss_config
await client.close_session()
81 changes: 0 additions & 81 deletions unittests/test_patches.py

This file was deleted.

0 comments on commit bf5592a

Please sign in to comment.