Skip to main content

🧬 A CLI tool to crawl, analyze, and extract content structure semantically.

Project description

🧬 Content Genome Mapper CLI

A command-line tool to crawl, analyze, visualize, and export semantic content data from web pages — ideal for SEO, content analysis, and research.


Features

  • 🌐 Crawl web pages and store raw content
  • 🔍 Extract salient entities and score their importance
  • 🧩 Identify topic clusters from content
  • 📊 Optional sentiment analysis (polarity & subjectivity)
  • 📍 Extract named entities
  • 🔄 Compare content and structure of two URLs
  • 🧬 Batch process multiple URLs from a file
  • 📦 Export analysis reports in Markdown and JSON formats

Installation

pip install content_genome_mapper

Replace with your package install instructions if different.


Usage

Use the CLI tool genome with the following commands:

Crawl a URL

genome crawl https://example.com

Analyze a URL (optional sentiment & export)

genome analyze https://example.com --sentiment --export md

Extract named entities

genome entities https://example.com

Extract topics

genome topics https://example.com

Compare two URLs

genome compare https://site1.com https://site2.com

Batch analyze URLs from a text file

genome batch urls.txt

Export Formats

  • Markdown (md) — saves a nicely formatted report
  • JSON (json) — structured report data
  • CSV — planned for future release

Reports are saved in the data/ folder with filenames based on the domain.


Example Markdown Report

# 📌 Example Page Title

**URL**: https://example.com

**Sentiment:** Polarity 0.12, Subjectivity 0.34

## 🔍 Top Salient Entities:
- Entity1 (0.92)
- Entity2 (0.75)

## 🧩 Topics:
- Topic cluster 1
- Topic cluster 2

Dependencies

  • Typer — for CLI
  • Rich — for console output
  • TextBlob — for sentiment analysis
  • Internal modules: content_genome_mapper.core.*

Contributing

Feel free to submit issues or pull requests to improve the tool!


License

MIT License © Amal ALexander


Contact

For questions or support, contact: amalalex95@gmail.com

Github Repo

Homepage: https://github.com/amal-alexander Repository: https://github.com/amal-alexander?tab=repositories

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

content_genome_mapper-0.1.0.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

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

content_genome_mapper-0.1.0-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file content_genome_mapper-0.1.0.tar.gz.

File metadata

  • Download URL: content_genome_mapper-0.1.0.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for content_genome_mapper-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9a132a096571fa25a8bc7268dfb35bf29d22efd0a3fade4118b3ca89a464a512
MD5 6c36b7e166cbfc8b31f47ea16b731cb3
BLAKE2b-256 1df2bda93191db397d9faaeceb05d4de4862ace208e4db6c75ffac64f2888f35

See more details on using hashes here.

File details

Details for the file content_genome_mapper-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for content_genome_mapper-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6443222def58340156f94dc10f9b49235a29af14c876c231726d4bef23b54c5d
MD5 70f49341b2d35d2387f2021f73ae9563
BLAKE2b-256 18f04c981c6815ce674daaa12268b34cdf9d0bf43fb5e79046e4d5e037d5d477

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