Skip to main content

CosmoTalker is your gateway to the universe! Whether you're fascinated by stars, planets, or scientific phenomena, this tool brings the cosmos closer to you.

Project description

PyPI Downloads PyPI version License Last Commit Issues Stars Made with Python
Typing SVG

โœจ Welcome to CosmoTalker v2 โ€“ Now Smarter, Broader, and Even More User-Friendly!

๐Ÿš€ CosmoTalker v2 is officially here! Explore the Solar System and beyond with this offline-Python library, now enhanced with a beta image preview tool, advanced search, user-friendly functions, and real-time space data.

โœ… Now ready for Debian-based Linux systems via Cosmo4U ๐Ÿ“Œ .apk for Android and .exe for Windows are rolling out soon!


๐ŸŽ What is CosmoTalker?

CosmoTalker is a Python library developed by Bhuvanesh M to bring space exploration, astronomy data, and scientific facts directly to your system โ€” no internet required for core features.

Perfect for space lovers, students, and offline learners. All core info is bundled with the module, while online features like space news and real-time updates extend the experience.


๐Ÿš€ What's New in v2?

  • ๐Ÿฆ  Improved Solar System Module
  • ๐Ÿ”Ž Enhanced deep search algorithm
  • ๐Ÿ“ธ Beta image function to preview and save cosmic visuals
  • ๐Ÿ“– New wiki summary tool with fetch speed tracking
  • ๐Ÿ”ญ Cosmic event tracker for SpaceX & satellite data
  • ๐ŸŒ More intuitive commands for easier interaction

๐Ÿ”ง Features

  • ๐ŸŒ Get planet data: cosmotalker.get("mars")
  • ๐Ÿ”ฌ Learn science facts: cosmotalker.get("gravity")
  • ๐ŸŒ Perform searches using eco-friendly search: cosmotalker.search("your query")
  • ๐Ÿ“ก Fetch space updates from CelesTrak, NASA APOD, SpaceX, and more
  • ๐Ÿ“ท Download astronomy images: cosmotalker.img() (beta)
  • ๐Ÿ’ผ Wikipedia-powered summaries: cosmotalker.wiki("black hole")
  • โœ… Works fully offline for core data

๐ŸŒฑ Eco-friendly search using Ecosia (supports tree planting)


๐Ÿ›† Installation

pip install cosmotalker

โœ… Compatible with Python 3.6+

๐Ÿฟ Linux Users:

Install Cosmo4U for Debian-based distros (Ubuntu, Kali, Parrot):

Download Cosmo4U from the internet via this URL: โžก๏ธ https://bhuvaneshm.in/cosmo4u

Enjoy Cosmo4U on your Debian system and explore the universe offline!

๐Ÿ› ๏ธ Coming Soon:

  • ๐Ÿ“ฑ CosmoTalker.apk for Android
  • ๐Ÿ’ป CosmoTalker.exe for Windows

๐Ÿงช Usage Example

import cosmotalker

print(cosmotalker.get("earth"))           # Offline solar system data
print(cosmotalker.feedback())             # Send feedback
print(cosmotalker.apod())                 # Astronomy Picture of the Day
print(cosmotalker.celestrak())            # Satellite tracking
print(cosmotalker.search("yt"))           # Open YouTube in browser
print(cosmotalker.search("words"))        # Eco-friendly web search and download Cosmo4U at bhuvaneshm.in/cosmo4u
print(cosmotalker.get("gravity"))         # Deep science query
print(cosmotalker.spacex())               # SpaceX launch data
print(cosmotalker.wiki("black hole"))     # Wikipedia summary
print(cosmotalker.img())                  # Image viewer (Beta)

๐Ÿ’ก Use cosmotalker.search() shortcuts: yt = YouTube, wa = WhatsApp, gpt = ChatGPT, insta, fb, etc.


๐Ÿš Benchmark Results

Offline Response Times:
0.00078s
0.00072s
0.00075s
0.00073s
...

๐ŸŒ Project Links


๐Ÿ‘จโ€๐Ÿ’ป Developed By

Bhuvanesh M ๐Ÿš€ CSE Student | ๐ŸŽ Astronomy Enthusiast | ๐Ÿง Linux Dev | ๐Ÿ Python Coder

๐Ÿ”— Connect:


โœจ Update: get() Rebranded as info()

The get() function is being rebranded to info() in upcoming versions.

๐Ÿ’ก The new info() function will offer:

  • Cleaner and more relevant results
  • Enhanced precision
  • Better support for scientific and factual queries

๐ŸŒŸ Introducing the Brand New get() Function!

๐Ÿš€ CosmoTalker v2 now features the revamped get() function, designed to deliver accurate answers for your keyword queries in milliseconds! Whether you're exploring planets, scientific concepts, or cosmic phenomena, get() provides precise, reliable results with lightning-fast performance.

โœจ Why get() Stands Out

  • Pinpoint Accuracy: Returns the most relevant information for your keyword.
  • Blazing Speed: Responses in ~0.0007 seconds, thanks to optimized offline data processing.
  • Versatile Queries: Supports queries like planets (get("mars")), science facts (get("gravity")), and more.
  • Offline Ready: Core data is bundled, so no internet is needed for most queries.

๐Ÿงช Example Usage

import cosmotalker

print(cosmotalker.get("earth"))    # Instant data about Earth

#Stay tuned for future enhancements!

๐Ÿง Install CosmoTalker on Debian/Ubuntu

sudo apt update && sudo apt install python3-pip -y && pip3 install cosmotalker

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

cosmotalker-2.37.tar.gz (130.4 kB view details)

Uploaded Source

Built Distribution

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

cosmotalker-2.37-py3-none-any.whl (130.8 kB view details)

Uploaded Python 3

File details

Details for the file cosmotalker-2.37.tar.gz.

File metadata

  • Download URL: cosmotalker-2.37.tar.gz
  • Upload date:
  • Size: 130.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for cosmotalker-2.37.tar.gz
Algorithm Hash digest
SHA256 9916faacf8f4b94d46c8c39d0bfeda63cbc0adf18949ccd9d7585199ca354d34
MD5 a683812c876ff9c3433906f3737f6ad9
BLAKE2b-256 6f77a892f18e5f775969515ec8d16b3e299ff9a3b7a1d0f9c4dd664020599dca

See more details on using hashes here.

File details

Details for the file cosmotalker-2.37-py3-none-any.whl.

File metadata

  • Download URL: cosmotalker-2.37-py3-none-any.whl
  • Upload date:
  • Size: 130.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for cosmotalker-2.37-py3-none-any.whl
Algorithm Hash digest
SHA256 e59ac86b43d6ed81346ee782d99a0f86020a95c8ac7e70a27e641cfeb49075c2
MD5 82e0fb5065d0f3f18c25a47e00980786
BLAKE2b-256 8f4549a9c7a8bcfd235f1ae8c7353a9a0035e07ce735d5c57a53f0ad6c1b7fa7

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