pynzbgetapi
Advanced tools
+16
| Apache Software License 2.0 | ||
| Copyright (c) 2019, Chris Clark | ||
| Licensed under the Apache License, Version 2.0 (the "License"); | ||
| you may not use this file except in compliance with the License. | ||
| You may obtain a copy of the License at | ||
| http://www.apache.org/licenses/LICENSE-2.0 | ||
| Unless required by applicable law or agreed to in writing, software | ||
| distributed under the License is distributed on an "AS IS" BASIS, | ||
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| See the License for the specific language governing permissions and | ||
| limitations under the License. | ||
+10
-4
@@ -1,4 +0,4 @@ | ||
| Metadata-Version: 1.1 | ||
| Metadata-Version: 2.2 | ||
| Name: pynzbgetapi | ||
| Version: 0.3.0 | ||
| Version: 0.4.0 | ||
| Summary: Basic Python NZBGet API client. | ||
@@ -9,5 +9,3 @@ Home-page: https://github.com/holiestofhandgrenades/pynzbgetapi | ||
| License: Apache Software License 2.0 | ||
| Description: UNKNOWN | ||
| Keywords: pynzbgetapi | ||
| Platform: UNKNOWN | ||
| Classifier: Development Status :: 3 - Alpha | ||
@@ -21,1 +19,9 @@ Classifier: Intended Audience :: Developers | ||
| Classifier: Programming Language :: Python :: 3.7 | ||
| License-File: LICENSE | ||
| Dynamic: author | ||
| Dynamic: author-email | ||
| Dynamic: classifier | ||
| Dynamic: home-page | ||
| Dynamic: keywords | ||
| Dynamic: license | ||
| Dynamic: summary |
@@ -1,4 +0,4 @@ | ||
| Metadata-Version: 1.1 | ||
| Metadata-Version: 2.2 | ||
| Name: pynzbgetapi | ||
| Version: 0.3.0 | ||
| Version: 0.4.0 | ||
| Summary: Basic Python NZBGet API client. | ||
@@ -9,5 +9,3 @@ Home-page: https://github.com/holiestofhandgrenades/pynzbgetapi | ||
| License: Apache Software License 2.0 | ||
| Description: UNKNOWN | ||
| Keywords: pynzbgetapi | ||
| Platform: UNKNOWN | ||
| Classifier: Development Status :: 3 - Alpha | ||
@@ -21,1 +19,9 @@ Classifier: Intended Audience :: Developers | ||
| Classifier: Programming Language :: Python :: 3.7 | ||
| License-File: LICENSE | ||
| Dynamic: author | ||
| Dynamic: author-email | ||
| Dynamic: classifier | ||
| Dynamic: home-page | ||
| Dynamic: keywords | ||
| Dynamic: license | ||
| Dynamic: summary |
@@ -0,1 +1,2 @@ | ||
| LICENSE | ||
| README.md | ||
@@ -2,0 +3,0 @@ setup.cfg |
@@ -35,8 +35,8 @@ """Basic Python wrapper for the NZBGet API""" | ||
| ssl = "s" if secure else "" | ||
| http_mode = "s" if secure else "" | ||
| if username is not None and password is not None: | ||
| url = f"http{ssl}://{host}:{port}/{quote(username)}:{quote(password)}{urlbase}/xmlrpc" | ||
| url = f"http{http_mode}://{quote(username)}:{quote(password)}@{host}:{port}{urlbase}/xmlrpc" | ||
| else: | ||
| url = f"http{ssl}://{host}:{port}{urlbase}/xmlrpc" | ||
| url = f"http{http_mode}://{host}:{port}{urlbase}/xmlrpc" | ||
@@ -43,0 +43,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.3.0', | ||
| version='0.4.0', | ||
| zip_safe=True, | ||
| ) |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
9784
9.31%11
10%