qspylib


Nameqspylib JSON
Version 1.0.0 PyPI version JSON
download
home_pageNone
SummaryA set of API wrappers for different amateur radio websites, including LotW, QRZ, eQSL, and ClubLog
upload_time2024-11-24 21:18:38
maintainerNone
docs_urlNone
authorNone
requires_python>=3.9
licenseNone
keywords api clublog lotw qrz amateur radio eqsl ham radio
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # QSPyLib
![Python Package Build Action Status](https://github.com/JayToTheAy/QSPy/actions/workflows/python-package.yml/badge.svg)
![Documentation Status](https://readthedocs.org/projects/qspylib/badge/?version=latest)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/qspylib)
![PyPI - Version](https://img.shields.io/pypi/v/qspylib)
![PyPI - Wheel](https://img.shields.io/pypi/wheel/qspylib)
![PyPI - License](https://img.shields.io/pypi/l/qspylib)

QSPyLib is a bundle of API wrappers for various amateur radio-related sites, including QRZ, LOTW, eQSL, and ClubLog.

QSPyLib is in active development; that said, major version numbers should maintain API stability. If you need absolute stability of the API, fix your version against the major.

Issues and pull requests are welcome, and should be made on the [GitHub repository](https://github.com/jaytotheay/qspy).

## How do I install it?

The latest stable* version of QSPyLib is available on PyPI, and can be installed by just running

```bash
py -m pip install qspylib
```

This release should match what is on the GitHub repository under a corresponding tagged release.

To build the most recent source code (which isn’t necessarily stable – see the build test status), you can download the source code from GitHub, navigate to the directory, and run:

```py
py -m build
```

This will generate a .whl and tar.gz, which you can then install locally.

## What works right now?

As of v1.0.0:

* The LotW module is, in theory, finished -- you can download QSOs in bulk or by criteria, check DXCC credit, get a list of users and their date of last upload, and upload a log.
* The eQSL module has most of the functionality of eQSL's API, but is a bit unpolished -- at present, you can fetch inboxes and outboxes, get AG lists, get member lists, get last upload data for users, verify an eQSL, and retrieve the eQSL card graphic for a QSL.
* The QRZ module is done; for logs, we support fetching logbooks, checking logbook statuses, and inserting and deleting records. For the XML API, we support looking up a callsign's data and looking up a DXCC's data.
* The ClubLog module only supports grabbing logbooks from ClubLog at the moment.

Everything has been tested to work when done "correctly" and simply; no doubt some edge case will pop up, or some failure state won't throw a good error. Please open an issue for *any* problems you come across, no matter how minor, even if it's just an exception that isn't descriptive.

## How do I use it?

Documentation of all functions and classes, including examples, is available at the ReadTheDocs listing for this project:

<http://qspylib.readthedocs.io/>

A quick example of pulling a Logbook from LOTW:

```py
from qspylib import lotw
LOTWAccount = lotw.LOTWClient("callsign", "password")
logbook = LOTWClient.fetch_logbook()
```
This will give you a `Logbook` object, which contains a list of QSO objects and a parsed, usable adif_io log.
The adif_io log property contains all the ADIF info that LOTW outputs (and likewise for other logging sites).
The built-in log property of a `Logbook` object contains only some limited information, like callsign, band, mode, date, time, and QSL status from the originating site (which is a little handy as a single-reference for if a QSO is a QSL, since different sites use different, extra ADIF fields to express being QSL'd on their platform.)

Other functions of APIs are generally available, like checking if an eQSL is verified:

```py
from qspylib import eqsl
confirmed, raw_result = eqsl.eQSLClient.verify_eqsl('N5UP', 'TEST', '160m', 'SSB', '01/01/2000')
```
This will return a tuple; here, `confirmed` will be False, since this QSO is not verified on eQSL, and `raw_result` will contain any extra information eQSL provides, for instance, if it's Authenticity Guaranteed. Note that verify_eqsl is a static method of the eQSLClient class, and can be called either from an eQSLClient object, or directly from the class.

Modules, functions, and classes are documented in-code via docstrings, and you can learn more by reading those docstrings; you can also read the [Read the Docs](http://qspylib.readthedocs.io/) listings for a visually pleasing guide on what the docstrings say.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "qspylib",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "API, ClubLog, LOTW, QRZ, amateur radio, eQSL, ham radio",
    "author": null,
    "author_email": "Jacob Humble <contact@jacobhumble.com>",
    "download_url": "https://files.pythonhosted.org/packages/77/2f/bad2a2e33571b29d51fc33f8c24bbdb70f629db09851ecaf7e62235d4813/qspylib-1.0.0.tar.gz",
    "platform": null,
    "description": "# QSPyLib\n![Python Package Build Action Status](https://github.com/JayToTheAy/QSPy/actions/workflows/python-package.yml/badge.svg)\n![Documentation Status](https://readthedocs.org/projects/qspylib/badge/?version=latest)\n![PyPI - Python Version](https://img.shields.io/pypi/pyversions/qspylib)\n![PyPI - Version](https://img.shields.io/pypi/v/qspylib)\n![PyPI - Wheel](https://img.shields.io/pypi/wheel/qspylib)\n![PyPI - License](https://img.shields.io/pypi/l/qspylib)\n\nQSPyLib is a bundle of API wrappers for various amateur radio-related sites, including QRZ, LOTW, eQSL, and ClubLog.\n\nQSPyLib is in active development; that said, major version numbers should maintain API stability. If you need absolute stability of the API, fix your version against the major.\n\nIssues and pull requests are welcome, and should be made on the [GitHub repository](https://github.com/jaytotheay/qspy).\n\n## How do I install it?\n\nThe latest stable* version of QSPyLib is available on PyPI, and can be installed by just running\n\n```bash\npy -m pip install qspylib\n```\n\nThis release should match what is on the GitHub repository under a corresponding tagged release.\n\nTo build the most recent source code (which isn\u2019t necessarily stable \u2013 see the build test status), you can download the source code from GitHub, navigate to the directory, and run:\n\n```py\npy -m build\n```\n\nThis will generate a .whl and tar.gz, which you can then install locally.\n\n## What works right now?\n\nAs of v1.0.0:\n\n* The LotW module is, in theory, finished -- you can download QSOs in bulk or by criteria, check DXCC credit, get a list of users and their date of last upload, and upload a log.\n* The eQSL module has most of the functionality of eQSL's API, but is a bit unpolished -- at present, you can fetch inboxes and outboxes, get AG lists, get member lists, get last upload data for users, verify an eQSL, and retrieve the eQSL card graphic for a QSL.\n* The QRZ module is done; for logs, we support fetching logbooks, checking logbook statuses, and inserting and deleting records. For the XML API, we support looking up a callsign's data and looking up a DXCC's data.\n* The ClubLog module only supports grabbing logbooks from ClubLog at the moment.\n\nEverything has been tested to work when done \"correctly\" and simply; no doubt some edge case will pop up, or some failure state won't throw a good error. Please open an issue for *any* problems you come across, no matter how minor, even if it's just an exception that isn't descriptive.\n\n## How do I use it?\n\nDocumentation of all functions and classes, including examples, is available at the ReadTheDocs listing for this project:\n\n<http://qspylib.readthedocs.io/>\n\nA quick example of pulling a Logbook from LOTW:\n\n```py\nfrom qspylib import lotw\nLOTWAccount = lotw.LOTWClient(\"callsign\", \"password\")\nlogbook = LOTWClient.fetch_logbook()\n```\nThis will give you a `Logbook` object, which contains a list of QSO objects and a parsed, usable adif_io log.\nThe adif_io log property contains all the ADIF info that LOTW outputs (and likewise for other logging sites).\nThe built-in log property of a `Logbook` object contains only some limited information, like callsign, band, mode, date, time, and QSL status from the originating site (which is a little handy as a single-reference for if a QSO is a QSL, since different sites use different, extra ADIF fields to express being QSL'd on their platform.)\n\nOther functions of APIs are generally available, like checking if an eQSL is verified:\n\n```py\nfrom qspylib import eqsl\nconfirmed, raw_result = eqsl.eQSLClient.verify_eqsl('N5UP', 'TEST', '160m', 'SSB', '01/01/2000')\n```\nThis will return a tuple; here, `confirmed` will be False, since this QSO is not verified on eQSL, and `raw_result` will contain any extra information eQSL provides, for instance, if it's Authenticity Guaranteed. Note that verify_eqsl is a static method of the eQSLClient class, and can be called either from an eQSLClient object, or directly from the class.\n\nModules, functions, and classes are documented in-code via docstrings, and you can learn more by reading those docstrings; you can also read the [Read the Docs](http://qspylib.readthedocs.io/) listings for a visually pleasing guide on what the docstrings say.\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A set of API wrappers for different amateur radio websites, including LotW, QRZ, eQSL, and ClubLog",
    "version": "1.0.0",
    "project_urls": {
        "Documentation": "https://qspylib.readthedocs.io/en/",
        "Homepage": "https://github.com/JayToTheAy/QSPy",
        "Issues": "https://github.com/JayToTheAy/QSPy/issues"
    },
    "split_keywords": [
        "api",
        " clublog",
        " lotw",
        " qrz",
        " amateur radio",
        " eqsl",
        " ham radio"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "897b8623e95255559851bb813f4031684b8f930017f83231c69a409150ff7207",
                "md5": "4a7be75f6d38aeeafe97055c216f2af6",
                "sha256": "48ca1a028608f345cac667649caeaf216f221f890237d04095aab8f10069ddc3"
            },
            "downloads": -1,
            "filename": "qspylib-1.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "4a7be75f6d38aeeafe97055c216f2af6",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 26592,
            "upload_time": "2024-11-24T21:18:36",
            "upload_time_iso_8601": "2024-11-24T21:18:36.725104Z",
            "url": "https://files.pythonhosted.org/packages/89/7b/8623e95255559851bb813f4031684b8f930017f83231c69a409150ff7207/qspylib-1.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "772fbad2a2e33571b29d51fc33f8c24bbdb70f629db09851ecaf7e62235d4813",
                "md5": "8bfc099e0032812182bc0ec200987f0e",
                "sha256": "f251fb58301bd107fe1b4d8644c1fc40f281cc7aaf5224bfd7d4f38edbbe5055"
            },
            "downloads": -1,
            "filename": "qspylib-1.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "8bfc099e0032812182bc0ec200987f0e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 35636,
            "upload_time": "2024-11-24T21:18:38",
            "upload_time_iso_8601": "2024-11-24T21:18:38.363868Z",
            "url": "https://files.pythonhosted.org/packages/77/2f/bad2a2e33571b29d51fc33f8c24bbdb70f629db09851ecaf7e62235d4813/qspylib-1.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-24 21:18:38",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "JayToTheAy",
    "github_project": "QSPy",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "qspylib"
}
        
Elapsed time: 0.42489s