A Python Study Toolkit for NLP and more.
Project description
adipylib
A simple Python Study Toolkit for students, featuring NLP tools for text summarization and keyword extraction.
Features
- Extractive Text Summarization: Quickly shorten long articles or study notes into a few key sentences.
- Keyword Extraction: Pulls out the most important keywords from any block of text using TF-IDF.
- Lightweight & simple: Easy to install and use with no complex setup.
Installation
You can install adipylib directly from PyPI:
pip install adipylib
Usage
import adipylib
my_text = """
Python is a high-level, interpreted programming language.
Its design philosophy emphasizes code readability with the
use of significant indentation. Python is dynamically-typed
and garbage-collected. It supports multiple programming
paradigms, including structured, object-oriented,
and functional programming.
"""
# 1. Get Keywords
keywords = adipylib.extract_keywords(my_text)
print(f"Keywords: {keywords}")
# 2. Get a Summary
summary = adipylib.extractive_summary(my_text, num_sentences=2)
print(f"Summary: {summary}")
Bugs Reporting and Contributions
Found a bug or have a feature request? Feel free to check the issues page. Any contributions are welcome!
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
adipylib-0.1.5.tar.gz
(4.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file adipylib-0.1.5.tar.gz.
File metadata
- Download URL: adipylib-0.1.5.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5889fc90bc85b0c967fac453eb65a94cae002dba5ea8e7f1455151572260886f
|
|
| MD5 |
11a0a320f97dae6eb594e52acef23896
|
|
| BLAKE2b-256 |
5ea94619979bdb828b7f68ee6c363627d731e4cd6c133d441a3c6e67cfd2b212
|
File details
Details for the file adipylib-0.1.5-py3-none-any.whl.
File metadata
- Download URL: adipylib-0.1.5-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b4dc8e9cd17cb5e5a4420d6df1446a61d51b8f1f3457a5c47b177de49bec84f7
|
|
| MD5 |
17509568f433549a1276546e3117b937
|
|
| BLAKE2b-256 |
399626573eb4fce2fc72696797f0e4d3fb02fbc44579047983d6a93ead2310c7
|