Skip to main content

A collection of Social Media Analysis practice notebooks

Project description

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

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

smaprac-0.1.2.tar.gz (814.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

smaprac-0.1.2-py3-none-any.whl (822.1 kB view details)

Uploaded Python 3

File details

Details for the file smaprac-0.1.2.tar.gz.

File metadata

  • Download URL: smaprac-0.1.2.tar.gz
  • Upload date:
  • Size: 814.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for smaprac-0.1.2.tar.gz
Algorithm Hash digest
SHA256 4614f30934b7496452521143bd97e48081c4a44241805106a7211754fdc6483f
MD5 c6fc5062dc423c59b09845fe05210981
BLAKE2b-256 fd77cf8c1b1918d34fbd4c64ef5607967305ef6585123337fed1b5229d284fcd

See more details on using hashes here.

File details

Details for the file smaprac-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: smaprac-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 822.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for smaprac-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f272c6f3e79c620cc49079d7d45efb53514847f75d4c95ad2a0b7abffac11158
MD5 127eff4ddaeeda0d06bbffcb608f0d6e
BLAKE2b-256 6e20e52971e614488e7d997822032d7d4cc5d9ac685dee1cf0842df0d2e2b180

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page