pynzbgetapi
Advanced tools
+1
-1
| Metadata-Version: 1.1 | ||
| Name: pynzbgetapi | ||
| Version: 0.2.0 | ||
| Version: 0.3.0 | ||
| Summary: Basic Python NZBGet API client. | ||
@@ -5,0 +5,0 @@ Home-page: https://github.com/holiestofhandgrenades/pynzbgetapi |
| Metadata-Version: 1.1 | ||
| Name: pynzbgetapi | ||
| Version: 0.2.0 | ||
| Version: 0.3.0 | ||
| Summary: Basic Python NZBGet API client. | ||
@@ -5,0 +5,0 @@ Home-page: https://github.com/holiestofhandgrenades/pynzbgetapi |
@@ -16,2 +16,3 @@ """Basic Python wrapper for the NZBGet API""" | ||
| """Top level module exception.""" | ||
| pass | ||
@@ -26,2 +27,3 @@ | ||
| host, | ||
| urlbase="", | ||
| username=None, | ||
@@ -38,7 +40,5 @@ password=None, | ||
| if username is not None and password is not None: | ||
| url = ( | ||
| f"http{ssl}://{quote(username)}:{quote(password)}@{host}:{port}/xmlrpc" | ||
| ) | ||
| url = f"http{ssl}://{host}:{port}/{quote(username)}:{quote(password)}{urlbase}/xmlrpc" | ||
| else: | ||
| url = f"http{ssl}://{host}:{port}/xmlrpc" | ||
| url = f"http{ssl}://{host}:{port}{urlbase}/xmlrpc" | ||
@@ -45,0 +45,0 @@ if secure and not verify_certificate: |
+1
-1
@@ -29,4 +29,4 @@ #!/usr/bin/env python | ||
| url='https://github.com/holiestofhandgrenades/pynzbgetapi', | ||
| version='0.2.0', | ||
| version='0.3.0', | ||
| zip_safe=True, | ||
| ) |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
8951
0.08%174
-0.57%