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.1.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.1-py3-none-any.whl (822.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: smaprac-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 f94d8f4b89a9431eb0d14c157a63c1d8baa19235d95d5627f25c55fda1166e30
MD5 c52070bf19f2f9829971d0b41960428e
BLAKE2b-256 936b53d078cb42fc785bf54549074446cfb26a6de9090dd942f9504831e99c5f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: smaprac-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 822.0 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0e1187aa4124b290c817bef853bce9a5fa43180e7689cc8250a5b974bd723503
MD5 dd04dc81d1edcef686ff64ce2c2ecb39
BLAKE2b-256 a64d456063145ef77027e34f89f828d7ffabc274ea2b8733cf299697885da1e3

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