sjoa


Namesjoa JSON
Version 1.3.0 PyPI version JSON
download
home_pagehttps://github.com/barnumbirr/sjoa
SummaryCommand-line tool to read metadata from torrent files or magnet URLs.
upload_time2024-05-09 17:31:11
maintainerNone
docs_urlNone
authorMartin Simon
requires_pythonNone
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # sjoa

`sjoa` is a powerful command-line tool designed to read metadata from torrent
files or magnet URIs. It provides a simple and efficient way to extract
information about torrents without the need to download the actual content.

> The Sjoa is a river in Innlandet county, Norway and is one of the best
> whitewater rafting rivers in Europe renowned for its fast-moving, turbulent
> waters with Class II-V rapids depending on the water level.
>
> <p style="font-size: 12px" align="right">
>     Source: <a href="https://en.wikipedia.org/wiki/Sjoa">Wikipedia</a>
> and <a href="https://www.oars.com/blog/best-whitewater-rafting-in-europe/">OARS</a>
> </p>

The word `sjoa` was chosen as a play on words: the term "torrent" is often used
to describe a fast-flowing stream or river, typically characterized by strong
currents and rapid water movement.

## Installation

`sjoa` is implemented in Python and can be installed using pip, the Python
package manager. To install `sjoa`, simply run:

```bash
$ pip install sjoa
```

## Usage

Once installed, you can use `sjoa` from the command line.

```
$ sjoa -t examples/debian-12.2.0-amd64-DVD-1.iso.torrent
 Name            debian-12.2.0-amd64-DVD-1.iso
 Hash            267d63ffd31770e467f8d985a86633f05502c10d
 Size            3.72 GiB
 Pieces          15237 of length 256 KiB (last piece 64.00 KiB)
 Creation        2023-10-07 12:03:00 by mktorrent 1.1
 Comment         "Debian CD from cdimage.debian.org"
 Tracker URL(s)  • http://bttracker.debian.org:6969/announce
 Webseed URL(s)  • https://cdimage.debian.org/cdimage/release/12.2.0/amd64/iso-dvd/debian-12.2.0-amd64-DVD-1.iso
                 • https://cdimage.debian.org/cdimage/archive/12.2.0/amd64/iso-dvd/debian-12.2.0-amd64-DVD-1.iso
 Files           ┌───────────────────────────────────────────────────────────────────────┬─────────────────────┐
                 │ • debian-12.2.0-amd64-DVD-1.iso                                       │ 3.72 GiB            │
                 └───────────────────────────────────────────────────────────────────────┴─────────────────────┘
```

```
$ sjoa -m "magnet:?xt=urn:btih:2c6b6858d61da9543d4231a71db4b1c9264b0685&dn=ubuntu-22.04-desktop-amd64.iso&tr=https%3A%2F%2Ftorrent.ubuntu.com%2Fannounce&tr=https%3A%2F%2Fipv6.torrent.ubuntu.com%2Fannounce"
 Name            ubuntu-22.04-desktop-amd64.iso
 Hash            2c6b6858d61da9543d4231a71db4b1c9264b0685
 Tracker URL(s)  • https://torrent.ubuntu.com/announce
                 • https://ipv6.torrent.ubuntu.com/announce
```

## License

```
Copyright 2023-2024 Martin Simon

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.
```

## Buy me a coffee?

If you feel like buying me a coffee (or a beer?), donations are welcome:

```
BTC : bc1qq04jnuqqavpccfptmddqjkg7cuspy3new4sxq9
DOGE: DRBkryyau5CMxpBzVmrBAjK6dVdMZSBsuS
ETH : 0x2238A11856428b72E80D70Be8666729497059d95
LTC : MQwXsBrArLRHQzwQZAjJPNrxGS1uNDDKX6
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/barnumbirr/sjoa",
    "name": "sjoa",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": null,
    "author": "Martin Simon",
    "author_email": "me@martinsimon.me",
    "download_url": "https://files.pythonhosted.org/packages/e5/ef/1cddfb602a8dbb5d7b072c80545791fe5008655cc78e71cd74fb0cc2bb8f/sjoa-1.3.0.tar.gz",
    "platform": null,
    "description": "# sjoa\n\n`sjoa` is a powerful command-line tool designed to read metadata from torrent\nfiles or magnet URIs. It provides a simple and efficient way to extract\ninformation about torrents without the need to download the actual content.\n\n> The Sjoa is a river in Innlandet county, Norway and is one of the best\n> whitewater rafting rivers in Europe renowned for its fast-moving, turbulent\n> waters with Class II-V rapids depending on the water level.\n>\n> <p style=\"font-size: 12px\" align=\"right\">\n>     Source: <a href=\"https://en.wikipedia.org/wiki/Sjoa\">Wikipedia</a>\n> and <a href=\"https://www.oars.com/blog/best-whitewater-rafting-in-europe/\">OARS</a>\n> </p>\n\nThe word `sjoa` was chosen as a play on words: the term \"torrent\" is often used\nto describe a fast-flowing stream or river, typically characterized by strong\ncurrents and rapid water movement.\n\n## Installation\n\n`sjoa` is implemented in Python and can be installed using pip, the Python\npackage manager. To install `sjoa`, simply run:\n\n```bash\n$ pip install sjoa\n```\n\n## Usage\n\nOnce installed, you can use `sjoa` from the command line.\n\n```\n$ sjoa -t examples/debian-12.2.0-amd64-DVD-1.iso.torrent\n Name            debian-12.2.0-amd64-DVD-1.iso\n Hash            267d63ffd31770e467f8d985a86633f05502c10d\n Size            3.72 GiB\n Pieces          15237 of length 256 KiB (last piece 64.00 KiB)\n Creation        2023-10-07 12:03:00 by mktorrent 1.1\n Comment         \"Debian CD from cdimage.debian.org\"\n Tracker URL(s)  \u2022 http://bttracker.debian.org:6969/announce\n Webseed URL(s)  \u2022 https://cdimage.debian.org/cdimage/release/12.2.0/amd64/iso-dvd/debian-12.2.0-amd64-DVD-1.iso\n                 \u2022 https://cdimage.debian.org/cdimage/archive/12.2.0/amd64/iso-dvd/debian-12.2.0-amd64-DVD-1.iso\n Files           \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510\n                 \u2502 \u2022 debian-12.2.0-amd64-DVD-1.iso                                       \u2502 3.72 GiB            \u2502\n                 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518\n```\n\n```\n$ sjoa -m \"magnet:?xt=urn:btih:2c6b6858d61da9543d4231a71db4b1c9264b0685&dn=ubuntu-22.04-desktop-amd64.iso&tr=https%3A%2F%2Ftorrent.ubuntu.com%2Fannounce&tr=https%3A%2F%2Fipv6.torrent.ubuntu.com%2Fannounce\"\n Name            ubuntu-22.04-desktop-amd64.iso\n Hash            2c6b6858d61da9543d4231a71db4b1c9264b0685\n Tracker URL(s)  \u2022 https://torrent.ubuntu.com/announce\n                 \u2022 https://ipv6.torrent.ubuntu.com/announce\n```\n\n## License\n\n```\nCopyright 2023-2024 Martin Simon\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n```\n\n## Buy me a coffee?\n\nIf you feel like buying me a coffee (or a beer?), donations are welcome:\n\n```\nBTC : bc1qq04jnuqqavpccfptmddqjkg7cuspy3new4sxq9\nDOGE: DRBkryyau5CMxpBzVmrBAjK6dVdMZSBsuS\nETH : 0x2238A11856428b72E80D70Be8666729497059d95\nLTC : MQwXsBrArLRHQzwQZAjJPNrxGS1uNDDKX6\n```\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Command-line tool to read metadata from torrent files or magnet URLs.",
    "version": "1.3.0",
    "project_urls": {
        "Download": "https://github.com/barnumbirr/sjoa/archive/refs/heads/master.zip",
        "Homepage": "https://github.com/barnumbirr/sjoa"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d151f54b8646adfc34fdfe0fa9b183836f7bae34c98df0a5fcccee33a96235d8",
                "md5": "a362d172f1ad72c5717ae01222c0a673",
                "sha256": "b48a20607ac54bae63bda7a0eb5c7e851e6f5fa098528432d15b5485d8af8fb7"
            },
            "downloads": -1,
            "filename": "sjoa-1.3.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a362d172f1ad72c5717ae01222c0a673",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 10930,
            "upload_time": "2024-05-09T17:31:02",
            "upload_time_iso_8601": "2024-05-09T17:31:02.206877Z",
            "url": "https://files.pythonhosted.org/packages/d1/51/f54b8646adfc34fdfe0fa9b183836f7bae34c98df0a5fcccee33a96235d8/sjoa-1.3.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e5ef1cddfb602a8dbb5d7b072c80545791fe5008655cc78e71cd74fb0cc2bb8f",
                "md5": "1121ea3d56eee87ccf67429d49daca3d",
                "sha256": "89d32284c7a35272218a878549f64f973ab62fa816e5af0133f80582101ca62e"
            },
            "downloads": -1,
            "filename": "sjoa-1.3.0.tar.gz",
            "has_sig": false,
            "md5_digest": "1121ea3d56eee87ccf67429d49daca3d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 10992,
            "upload_time": "2024-05-09T17:31:11",
            "upload_time_iso_8601": "2024-05-09T17:31:11.793996Z",
            "url": "https://files.pythonhosted.org/packages/e5/ef/1cddfb602a8dbb5d7b072c80545791fe5008655cc78e71cd74fb0cc2bb8f/sjoa-1.3.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-09 17:31:11",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "barnumbirr",
    "github_project": "sjoa",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "sjoa"
}
        
Elapsed time: 0.27389s