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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file wikicite-0.3.0.tar.gz.

File metadata

  • Download URL: wikicite-0.3.0.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.11.1 Windows/10

File hashes

Hashes for wikicite-0.3.0.tar.gz
Algorithm Hash digest
SHA256 baeab08f20428ffb322013092f4a2b1f55bf11ba59fee589dd9edeb81f30aed9
MD5 05cb9fc8a87d308631bcd742b1c31fc7
BLAKE2b-256 3d0bf7fe8d95cc8be718cb1a13507fd6ba949811dc33934549ed27ef5962f5f4

See more details on using hashes here.

File details

Details for the file wikicite-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: wikicite-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.11.1 Windows/10

File hashes

Hashes for wikicite-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 81e8264ad428540d699bec946a90c9aee05312e89654e0555f885f52b4ea0b8e
MD5 7b30bd8a8aed9620affa9fdc7b6e9250
BLAKE2b-256 d092cade3f504765f8b3451d4e59e31d1aba689eb854744a56d61bdb83a2e597

See more details on using hashes here.

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