Skip to main content

acronym-expander

A lightweight Python utility to expand acronyms into their full forms.

acronym-expander helps developers, data scientists, and technical writers quickly convert commonly used acronyms into human-readable full forms, improving code clarity, documentation, and text processing workflows.

Features:

1.Expand common acronyms with a single function call. 2.Lightweight and dependency-free. 3.Easy to integrate into scripts, notebooks, or larger projects. 4.Useful for documentation, text preprocessing, and educational purposes.

Install

pip install acronym-expander

## Usage
```python
from acronym_expander import DEFAULT_MAP

sentence = "NASA and AI are collaborating with WHO in NYC."

expanded_sentence = " ".join(
    [DEFAULT_MAP.get(word.upper().strip(".,!?;:"), word) for word in sentence.split()]
)

print("Original:", sentence)
print("Expanded:", expanded_sentence)

## Expected Output:
Original: NASA and AI are collaborating with WHO in NYC.
Expanded: National Aeronautics and Space Administration and Artificial Intelligence are collaborating with World Health Organization in New York City.

Metadata

Release files for acronym-expander 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for acronym-expander 0.1.1
File Size Uploaded Provenance Actions
acronym_expander-0.1.1.tar.gz 3.9 kB Without provenance Details for acronym_expander-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for acronym-expander 0.1.1
File Interpreter ABI Platform Actions
acronym_expander-0.1.1-py3-none-any.whl Python 3 none any Details for acronym_expander-0.1.1-py3-none-any.whl

Total release size: 8.1 kB

Release files / acronym_expander-0.1.1.tar.gz

Download URL acronym_expander-0.1.1.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
3cc800ec7f5169bba91d3c55b260a7eda04600151468c2fcd4a86070ce72d966
BLAKE2b-256 checksum
How to use checksums
6d06ad74f122800d2b3cdf1a8cea58032bcc4ac3895c61289312b93a348b5ca7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.1

Release files / acronym_expander-0.1.1-py3-none-any.whl

Download URL acronym_expander-0.1.1-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bd654f4a20a24eea64150933d21a7ba7b54413a2e9b8d1e99efd29a627fe9672
BLAKE2b-256 checksum
How to use checksums
bb3a40d68ba169fcae18b6c898b56d4c029505557b9166c03114d8bef62e2c2d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.1

Security for acronym-expander 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page