Metadata-Version: 2.4
Name: smaprac
Version: 0.1.2
Summary: A collection of Social Media Analysis practice notebooks
Author-email: Your Name <your.email@example.com>
License-Expression: MIT
Keywords: social-media,network-analysis,sentiment-analysis,jupyter,notebooks
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Education
Classifier: Intended Audience :: Developers
Classifier: Topic :: Scientific/Engineering
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: click>=8.0.0
Dynamic: license-file

# 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:

```bash
# Install from the local directory
pip install -e .
```

## Usage

### As a Python Package

Import modules in your `.py` files or notebooks:

```python
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:

```bash
# 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 experiments
- `03_clean_store_preprocess/` - Data preprocessing
- `04_sentiment_eda_n_visual/` - Sentiment analysis and visualization
- `05_network/` - Network analysis
- `07_discourse_network_communalytic/` - Discourse and community analysis
- `exp8/` - Additional experiments

## Requirements

- Python >= 3.7
- click >= 8.0.0

## License

MIT License - See LICENSE file for details
