Skip to main content

🧬 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

Metadata

Release files for content-genome-mapper 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for content-genome-mapper 0.1.0
File Size Uploaded
content_genome_mapper-0.1.0.tar.gz 7.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for content-genome-mapper 0.1.0
File Interpreter ABI Platform
content_genome_mapper-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 16.7 kB

Release files / content_genome_mapper-0.1.0.tar.gz

Download URL content_genome_mapper-0.1.0.tar.gz
Size 7.9 kB
Tags Source
SHA-256 checksum
How to use checksums
9a132a096571fa25a8bc7268dfb35bf29d22efd0a3fade4118b3ca89a464a512
BLAKE2b-256 checksum
How to use checksums
1df2bda93191db397d9faaeceb05d4de4862ace208e4db6c75ffac64f2888f35
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Release files / content_genome_mapper-0.1.0-py3-none-any.whl

Download URL content_genome_mapper-0.1.0-py3-none-any.whl
Size 8.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6443222def58340156f94dc10f9b49235a29af14c876c231726d4bef23b54c5d
BLAKE2b-256 checksum
How to use checksums
18f04c981c6815ce674daaa12268b34cdf9d0bf43fb5e79046e4d5e037d5d477
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page