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.3.tar.gz (814.5 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.3-py3-none-any.whl (822.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: smaprac-0.1.3.tar.gz
  • Upload date:
  • Size: 814.5 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.3.tar.gz
Algorithm Hash digest
SHA256 b151a62f593a4a3330e61217f5775a11bff885649fbdc399770dce929ea2b253
MD5 d60ddeb796c95d6bb369e89475c8e4ac
BLAKE2b-256 b006a14e9bc26c13c3dff50da1c24d4226807d5dc80b99b3cd0ae61950942c9b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: smaprac-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 822.2 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3e6cf38ea7c2f1443de83557e0d6abd63fc978be6d5f658393eacd79f7770217
MD5 6e2daba0981ca6a4658722a97a82a2db
BLAKE2b-256 fc07b9c7433fd0d6b99cf048890fdf3b0793896209cc494fa5013c69cf70855a

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