smaprac - Social Media Analysis Practice Files
A practical collection of social media analysis practice files that includes both Python scripts (.py) and Jupyter notebooks (.ipynb) for network analysis, sentiment analysis, and discourse analysis.
Installation
Install the package using pip:
# Install from the local directory
pip install -e .
Usage
As a Python Package
Import modules in your .py files or notebooks:
from smaprac import get_notebooks_path, list_notebooks
# Get path to packaged notebooks
notebooks_dir = get_notebooks_path()
# List all available notebooks
available = list_notebooks()
print(available)
Command Line Interface
Download all practice files to a directory:
# List available files
smaprac download --list
# Download files to a folder (creates smaprac_files subdirectory)
smaprac download --dest /path/to/directory
Structure
02_data_collection/- Data collection experiments03_clean_store_preprocess/- Data preprocessing04_sentiment_eda_n_visual/- Sentiment analysis and visualization05_network/- Network analysis07_discourse_network_communalytic/- Discourse and community analysisexp8/- Additional experiments
Requirements
- Python >= 3.7
- click >= 8.0.0
License
MIT License - See LICENSE file for details
Metadata
Release files for smaprac 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| smaprac-0.1.3.tar.gz | 814.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| smaprac-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.6 MB
Release files / smaprac-0.1.3.tar.gz
| Download URL | smaprac-0.1.3.tar.gz |
|---|---|
| Size | 814.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b151a62f593a4a3330e61217f5775a11bff885649fbdc399770dce929ea2b253
|
|
BLAKE2b-256 checksum How to use checksums |
b006a14e9bc26c13c3dff50da1c24d4226807d5dc80b99b3cd0ae61950942c9b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Release files / smaprac-0.1.3-py3-none-any.whl
| Download URL | smaprac-0.1.3-py3-none-any.whl |
|---|---|
| Size | 822.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3e6cf38ea7c2f1443de83557e0d6abd63fc978be6d5f658393eacd79f7770217
|
|
BLAKE2b-256 checksum How to use checksums |
fc07b9c7433fd0d6b99cf048890fdf3b0793896209cc494fa5013c69cf70855a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|