pub-downloader


Namepub-downloader JSON
Version 0.2 PyPI version JSON
download
home_pagehttps://github.com/mikiTesf/pd
SummaryDownload 'periodic' Jehovah's Witnesses publications from the command line
upload_time2020-10-18 05:50:41
maintainer
docs_urlNone
authorMikyas Tesfamichael
requires_python>=3.6
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
## PD (Publication Downloader)
```
usage: pd [-h] [-m MONTH] [-y YEAR] [-l LANG] [-f FORMAT] [-c] [-v] {w,wp,g,mwb}

    Short for "Publication Downloader", pd.py is a script written using Python 3.8 that downloads
    the publication specified. You can download any "periodic" JW publication - Awake, Watchtower,
    Watchtower - Public or Meeting Workbook in any format from the command line.

positional arguments:
  {w,wp,g,mwb}          The type of the publication to download

optional arguments:
  -h, --help            show this help message and exit
  -m MONTH, --month MONTH
                        The month of the issue (defaults to the current month)
  -y YEAR, --year YEAR  The year of the issue (defaults to the current year)
  -l LANG, --lang LANG  The short language code of the target language
                        (ex: AM for Amharic, E for English, etc. Defaults to AM)
  -f FORMAT, --format FORMAT
                        The file format of the download. PDF, JWPUB, EPUB, BRL or RTF
                        (defaults to JWPUB)
  -c, --cont            Decides weather the script should continue downloading releases of the
                        specified publication until the end of the year (See the last example below)
  -v, --version         show program's version number and exit

examples:
    Executing the command below will not download any publication as the publication is not supplied.
    % python3.8 pd.py --year 2010 --month 2 --format pdf --lang e

    This will download the Awake of September 2010 in the PDF format and the English language.
    % python3.8 pd.py g --year 2010 --month 9 --format pdf --lang e

    This will download the Public Watchtower of the current year and month in the EPUB
    format and the Arabic language.
    % python3.8 pd.py wp --format epub --lang a

    This will download all Meeting Workbook issues from January 2018 up to December 2018
    in the JWPUB format and the Amharic language (note that `--cont` is passed).
    % python3.8 pd.py mwb --year 2018 --month 1 --format jwpub --lang am --cont
```

It was written using Python 3.8 and the minimum version of Python 3 its compatible with is uncertain.

#### Installation
PD is available on [PyPi](https://pypi.org/project/pub_downloader/). You can install it with: `pip3 install pub_downloader`.



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/mikiTesf/pd",
    "name": "pub-downloader",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "",
    "author": "Mikyas Tesfamichael",
    "author_email": "mickyastesfamichael@gmail.com",
    "download_url": "",
    "platform": "",
    "description": "\n## PD (Publication Downloader)\n```\nusage: pd [-h] [-m MONTH] [-y YEAR] [-l LANG] [-f FORMAT] [-c] [-v] {w,wp,g,mwb}\n\n    Short for \"Publication Downloader\", pd.py is a script written using Python 3.8 that downloads\n    the publication specified. You can download any \"periodic\" JW publication - Awake, Watchtower,\n    Watchtower - Public or Meeting Workbook in any format from the command line.\n\npositional arguments:\n  {w,wp,g,mwb}          The type of the publication to download\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -m MONTH, --month MONTH\n                        The month of the issue (defaults to the current month)\n  -y YEAR, --year YEAR  The year of the issue (defaults to the current year)\n  -l LANG, --lang LANG  The short language code of the target language\n                        (ex: AM for Amharic, E for English, etc. Defaults to AM)\n  -f FORMAT, --format FORMAT\n                        The file format of the download. PDF, JWPUB, EPUB, BRL or RTF\n                        (defaults to JWPUB)\n  -c, --cont            Decides weather the script should continue downloading releases of the\n                        specified publication until the end of the year (See the last example below)\n  -v, --version         show program's version number and exit\n\nexamples:\n    Executing the command below will not download any publication as the publication is not supplied.\n    % python3.8 pd.py --year 2010 --month 2 --format pdf --lang e\n\n    This will download the Awake of September 2010 in the PDF format and the English language.\n    % python3.8 pd.py g --year 2010 --month 9 --format pdf --lang e\n\n    This will download the Public Watchtower of the current year and month in the EPUB\n    format and the Arabic language.\n    % python3.8 pd.py wp --format epub --lang a\n\n    This will download all Meeting Workbook issues from January 2018 up to December 2018\n    in the JWPUB format and the Amharic language (note that `--cont` is passed).\n    % python3.8 pd.py mwb --year 2018 --month 1 --format jwpub --lang am --cont\n```\n\nIt was written using Python 3.8 and the minimum version of Python 3 its compatible with is uncertain.\n\n#### Installation\nPD is available on [PyPi](https://pypi.org/project/pub_downloader/). You can install it with: `pip3 install pub_downloader`.\n\n\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Download 'periodic' Jehovah's Witnesses publications from the command line",
    "version": "0.2",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "2095a89cf4a5a6158d2adae044b69ad8",
                "sha256": "89b160a77206bd68adc7877eb042bcf681a140f90e1a673017a4686e79be358e"
            },
            "downloads": -1,
            "filename": "pub_downloader-0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "2095a89cf4a5a6158d2adae044b69ad8",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 5996,
            "upload_time": "2020-10-18T05:50:41",
            "upload_time_iso_8601": "2020-10-18T05:50:41.834809Z",
            "url": "https://files.pythonhosted.org/packages/3e/3d/0a1bc1f3f848533d32582ac866feee3a335babcd1b50e179f1a201357793/pub_downloader-0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2020-10-18 05:50:41",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": null,
    "github_project": "mikiTesf",
    "error": "Could not fetch GitHub repository",
    "lcname": "pub-downloader"
}
        
Elapsed time: 0.18155s