Catalog PyPI
PACKAGE EXPLORERView in registry

accredidact-downloader

PyPI

Download AccreDidact in PDF format

accredidactdownloadpdf
Versions collected1
Direct dependencies6From release 0.1.1
Last observed20 Oct, 18:01 UTC

README

Version 0.1.1 documentation

Download AccreDidact in PDF format

A command line tool and library to download AccreDidact in PDF format

Introduction

AccreDidact is a Dutch magazine for continuing medical education for psychiatrists.

This package provides a Python libary and command line tool for convenient downloading of the online contents.

Installation

If you have Python on your system you can do the usual:

$ pip install accredidact-downloader

Quickstart

Command line usage examples

List all issues in the current year. For listing only, no authentication is required.

$ accredidact-downloader -l

List all issues in the years 2002, 2004, 2006, 2007, and 2008:

$ accredidact-downloader -l -y 2002 2004 2006-2008

Download the latest issue to the default download-directory. For downloading, a username and password is required for authentication.

$ accredidact-downloader -u username -p password -d

Download the issues with the IDs 2022-4 and 2022-5 to the ~/Downloads download-directory. An ID is composed of the year and number of the issue.

$ accredidact-downloader -u username -p password -d -i 2022-4 2022-5 -w ~/Downloads

Email the latest issue:

$ accredidact-downloader -e -u username -p password --smtp_host smtp.example.com --smtp_port 587 --smtp_username user@example.com --smtp_password <password> --sender user@example.com --recipient info@example.com

Show command line help::

$ accredidact-downloader -h

Configuration File

The configuration file config.ini can change the default values for command line options. It should be written using a standard INI style. The keys should be grouped into sections. For now, the name of the sections are ignored. The section name appears on a line by itself, in square brackets ([ and ]). Configuration files may include comments, prefixed by # or ;. Comments may appear on their own on an otherwise empty line, possibly indented.

Location

The config.ini configuration file should be put in the default config directory. This location is different on different operating systems. A custom configuration file can be provided with the --config argument.

  • Linux: $HOME/.config/accredidact-downloader/config.ini, which respects the XDG_CONFIG_HOME environment variable.

  • MacOS: $HOME/Library/Application Support/accredidact-downloader/config.ini

  • Windows: %APPDATA%\accredidact-downloader\config.ini

Precedence / Override order

Command line options override the values in a configuration file.

Example config.ini

; This is a comment
# This is another comment
[settings]  ; a section marker is required in INI files
verbose = True
download_dir = /home/folkert/Downloads
username = <username>  ; username for authentication with https://www.accredidact.nl/
password = <password>  ; password
smtp_host = smtp.example.com  ; host name or ip address of the SMTP server
smtp_port = 587  ; port of the SMTP server
smtp_username = user@example.com  ; accountname, username, or email address of your email account for authentication
smtp_password = <password>  ; password of your email account for authentication.
sender = user@example.com
recipient = info@example.com

Download

When an issue is downloaded, it is copied to the default download directory. This location is different on different operating systems. A custom download directory can be provided with the --download_dir argument.

Location

  • macOS: ~/Library/Application Support/accredidact-downloader

  • Windows: %APPDATA%\accredidact-downloader

  • Linux (and other Unices): ~/.local/share/accredidact-downloader

Email

You can send an automated email message with the downloaded PDF as an attachment, for example to send it to your Kindle. To use this feature, the --email argument should be provided to the command line tool, along with the required arguments: --smtp_host, --smtp_port, --smtp_username, --smtp_password, --sender, and --recipient. This option presumes the --download argument.

Please note that if you use 2-step-verification in a Gmail-account, you might need an App Password (see https://support.google.com/accounts/answer/185833)

Changelog

[0.1.1] - 2022-08-01

  • Fix arguments
  • Correct Windows default download directory in README
  • Fix handling of subject and body arguments

[0.1.0] - 2022-03-01

  • First release on PyPI.

Author

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.11 Aug 20226

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

ACCESSIBLE
fvdbeek/accredidact-downloader

Shared repository data · GitLab

License detected in repository
MIT License
License branch / ref
master
Contributor identities
1 · complete API traversal
License file
Contributors · showing 1 of 1 collected
ContributorContributions
Folkert van der Beek6

Default-branch author identities; GitLab commit counts exclude merge commits.

Public sponsor counts have not been collected. These signals belong to the repository owner.

Downloads & popularity

1identities
Gauge · observed snapshots23 Oct 2026
10.50
2026-10-20: 1 · observed 2026-10-20T18:47:05.8431913Z2026-10-21: 1 · observed 2026-10-21T18:47:23.4992364Z2026-10-22: 1 · observed 2026-10-22T18:47:44.1680549Z2026-10-23: 1 · observed 2026-10-23T18:48:08.6615343Z
20 Oct23 Oct

gitlab · 4 observations shown. Missing days are unknown.

View observed values
Date / source periodValueObserved at
2026-10-2312026-10-23T18:48:08.6615343Z
2026-10-2212026-10-22T18:47:44.1680549Z
2026-10-2112026-10-21T18:47:23.4992364Z
2026-10-2012026-10-20T18:47:05.8431913Z

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 18:01 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:acb170fd11fa2881cee0791d1be767318a2383a1da1022befd06e0ac646c30d7