Skip to content

Commit

Permalink
Move the library to using the requests module
Browse files Browse the repository at this point in the history
Requests is just easier to work with for our purposes, let's use it
instead of urllib.

Signed-off-by: Eric B Munson <[email protected]>
  • Loading branch information
khers committed Jan 17, 2024
1 parent 9f6320f commit 885c070
Show file tree
Hide file tree
Showing 7 changed files with 401 additions and 452 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
##4.0.0

Switch to the requests library instead of urllib for interaction. Some quality of life improvements on parsing returned objects.

##3.0.7

Objects that contain lists now protect against those lists actually being None in constructors
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
requests==2.31.0
2 changes: 1 addition & 1 deletion src/libopensonic/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@


#Semantic versioning string for the library
__version__ = '3.0.7'
__version__ = '4.0.0'
Loading

0 comments on commit 885c070

Please sign in to comment.