Catalog PyPI
PACKAGE EXPLORERView in registry

afromag-ama-citation-tool

PyPI

An open-source AMA 11th edition citation generator by Afromag.

Versions collected1
Direct dependencies0From release 1.0.2
Last observed20 Oct, 21:12 UTC

README

Version 1.0.2 documentation

# Afromag AMA Citation Generator (Python Edition)

An open-source Python library designed to automate reference formatting according to the **American Medical Association (AMA 11th Edition)** manual of style. Built for medical researchers, data scientists, academic writers, and developers building healthcare or scholarly publishing tools.

---

## Official Web Tool & Interactive Resources

For non-technical users or quick manual citation formatting, use our live interactive web version:

* **Interactive Generator:** [Afromag AMA Citation Tool](https://afromag.com.ng/ama-citation-generator/)

* **Official Academic Hub:** [Afromag Main Portal](https://afromag.com.ng)

---

## Key Features

* **AMA 11th Edition Compliant:** Follows strict formatting rules for authors, journal title abbreviations, year, volume, issue, page numbers, and DOIs.

* **Flexible Author Handling:** Formats surname and initial combinations effortlessly for single or multi-author medical papers.

* **DOI Integration:** Automatically appends active Digital Object Identifier (DOI) URLs when provided.

* **Lightweight & Zero Dependencies:** Pure Python implementation with zero third-party packages required for maximum reliability in pipeline integrations.

---

## Installation

Install the latest release directly from PyPI via pip:


pip install afromag-ama-citation-tool



from afromag\_ama\_citation import generate\_ama\_citation



citation = generate\_ama\_citation(

    authors="Smith AB, Johnson CD, Patel R",

    title="Advances in automated reference extraction for medical literature",

    journal="J Med Res Sci",

    year=2026,

    volume=14,

    issue=2,

    pages="110-118"

)



print(citation)

\# Output: Smith AB, Johnson CD, Patel R. Advances in automated reference extraction for medical literature. J Med Res Sci. 2026;14(2):110-118.



citation = generate\_ama\_citation(

    authors="Akinwande KO, Taylor ME",

    title="Global trends in health informatics and digital reference management",

    journal="Lancet Digit Health",

    year=2026,

    volume=8,

    issue=5,

    pages="e204-e211",

    doi="\[https://doi.org/10.1016/S2589-7500(26)00012-3](https://doi.org/10.1016/S2589-7500(26)00012-3)"

)



print(citation)



AMA 11th Edition Quick Reference Guide

Author Names: List inverted names (LastName Initials) without periods after initials. Separate multiple authors with commas.



Article Title: Capitalize only the first letter of the title and proper nouns (sentence case). Do not place quotes around the title.



Journal Names: Abbreviate according to NLM Title Abbreviations (e.g., Journal of the American Medical Association becomes JAMA).



Publication Details: Format as Year;Volume(Issue):Pages. without spaces around the semicolon or colon.



About Afromag



Afromag is a global platform dedicated to advancing open access tools, medical technology resources, and scholarly publishing solutions for international researchers and academic institutions.



For additional citation styles, API documentation, or to contribute to our open-source tools, visit the Afromag AMA Citation Generator.



License

Distributed under the MIT License. Developed and maintained by **Afromag**.

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
1.0.21 Oct 20260

Package advisories

0
No matching advisories collected

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

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 21:12 UTC

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

Record identity

package:e3e5dd14c8a9756df3c503ffdfe028a164a025c574434069180b56c8be261c04