QuickCite
An API Wrapper for automatic MLA, CHI, & APA citations
How To Use:
Installation with PIP
pip install QuickCite
Basic Usage
# Import Module
from QuickCite import Citation
# Create Citation Object with URL as paramater
c = Citation(URL="https://www.brookings.edu/research/trans-atlantic-scorecard-april-2021/")
# Get Citations
MLA = c.MLA()
APA = c.APA()
CHI = c.CHI()
print("MLA:\n"+MLA)
print("\nAPA:\n"+APA)
print("\nCHI:\n"+CHI)
Output:
MLA:
Wright, Thomas. "Trans-Atlantic Scorecard — April 2021" Brookings, 2021-04-27, https://www.brookings.edu/research/trans-atlantic-scorecard-april-2021/. Accessed 2/5/2021.
APA:
Wright, T. (2021, 04-27) Trans-Atlantic Scorecard — April 2021. Brookings. https://www.brookings.edu/research/trans-atlantic-scorecard-april-2021/
CHI:
Thomas Wright, "Trans-Atlantic Scorecard — April 2021," Brookings, last modified 2021-04-27, https://www.brookings.edu/research/trans-atlantic-scorecard-april-2021/.
Advanced Usage (Cont'd from Basic)
# Adding the optional type paramater to define what citation
# format is outputted when the __str__() method is called.
c_advanced = Citation(URL="https://www.brookings.edu/research/trans-atlantic-scorecard-april-2021/", type="APA")
# The type parameter is a string, and can either be:
# "MLA" (default)
# "APA"
# "CHI"
# Printing Citation Object
print(c_advanced)
Output:
Wright, T. (2021, 04-27) Trans-Atlantic Scorecard — April 2021. Brookings. https://www.brookings.edu/research/trans-atlantic-scorecard-april-2021/
Known issues
- Errors with date formatting
- Errors getting multiple authors
Metadata
Release files for QuickCite 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| QuickCite-0.0.5.tar.gz | 3.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| QuickCite-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.8 kB
Release files / QuickCite-0.0.5.tar.gz
| Download URL | QuickCite-0.0.5.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
73d10669ecdd1a8f14844e97514a2cd19b9d367e867f140d3ede3ac95e047348
|
|
BLAKE2b-256 checksum How to use checksums |
f7c0fe1ce22ed573510eeab5f87c9d84dac15c9136aa5b17b024948a9094539c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
|
Release files / QuickCite-0.0.5-py3-none-any.whl
| Download URL | QuickCite-0.0.5-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bb2ca2ee61355549d3de0631e533bc2302abfcf95c1ade796e9d4ae2a3cf7879
|
|
BLAKE2b-256 checksum How to use checksums |
a3500fe9deeb87e763a4bd5a936aee3fc9fadad52661fa15fa55bd3a3b796681
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
|