Skip to main content

Create ready-to-use Wikipedia citations from a series of inputs

Project description

wikicite

PyPI

Installation

pip install wikicite

Usage

Command line tool to create ready-to-use Wikipedia citations from a series of inputs.

$ wikicite news bbc -t 'An Important Article' -a Fred Bloggs -d 01062020 -url http://www.bbc.co.uk/an-important-article

<ref name=Bloggs200601>
{{cite news |last=Bloggs |first=Fred |title=An Important Article |work=[[BBC]] |url=http://www.bbc.co.uk/an-important-article |date=1 June 2020 |access-date=28 January 2023}}
</ref>

Where any options are not specified, the user will be prompted to add them, but all except date are optional. A note on formatting for certain options:

  • Titles -t or --title should be provided in quotation marks
  • Authors -a or --author should be provided as <firstname> <lastname>. Where multi-part names are needed, quotation marks should be used to identify the parts, e.g. Lynn 'Faulds Wood' or 'John Paul' Jones
  • Dates -d or --date should be provided in ddmmyyyy format

For a full list of options, see

$ cite --help

For more details on Wikipedia citations please see Wikipedia

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wikicite-0.3.0.tar.gz (3.8 kB view hashes)

Uploaded Source

Built Distribution

wikicite-0.3.0-py3-none-any.whl (5.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page