https://github.com/bhuvanesh-m-dev/cosmotalker
๐ Award-winning Python library for astronomy (50k+ downloads). An offline-first toolkit for exploring planets, stars, and galaxies. Perfect for developers, students, and space enthusiasts.
https://github.com/bhuvanesh-m-dev/cosmotalker
library module open-source pypi python student-developer student-project
Last synced: 7 months ago
JSON representation
๐ Award-winning Python library for astronomy (50k+ downloads). An offline-first toolkit for exploring planets, stars, and galaxies. Perfect for developers, students, and space enthusiasts.
- Host: GitHub
- URL: https://github.com/bhuvanesh-m-dev/cosmotalker
- Owner: bhuvanesh-m-dev
- License: other
- Created: 2025-02-01T06:05:32.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-11-12T13:21:30.000Z (8 months ago)
- Last Synced: 2025-11-12T15:20:23.829Z (8 months ago)
- Topics: library, module, open-source, pypi, python, student-developer, student-project
- Language: Python
- Homepage: https://bhuvaneshm.in/cosmotalker
- Size: 17.1 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README


[](https://socket.dev/pypi/package/cosmotalker/overview)
[](https://github.com/bhuvanesh-m-dev/cosmotalker/blob/main/document/LICENSE )
[](https://github.com/bhuvanesh-m-dev/cosmotalker)
[](https://github.com/bhuvanesh-m-dev/cosmotalker/issues)
[](https://github.com/bhuvanesh-m-dev/cosmotalker/stargazers)
[](https://www.python.org/)
[](https://git.io/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!
---
## ๐ฅ See CosmoTalker in Motion
โถ๏ธ Watch CosmoTalker Demo on YouTube
---
**CosmoTalker** is a Python library developed by **[Bhuvanesh M](https://linkedin.com/in/bhuvaneshm-developer)** 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
```bash
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](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
```python
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
* ๐ **Explore More**: [bhuvaneshm.in/cosmotalker](https://bhuvaneshm.in/cosmotalker)
* โญ **Star the Repo**: [github.com/bhuvanesh-m-dev/cosmotalker](https://github.com/bhuvanesh-m-dev/cosmotalker)
---
## ๐จโ๐ป Developed By
**Bhuvanesh M**
๐ CSE Student | ๐ Astronomy Enthusiast | ๐ง Linux Dev | ๐ Python Coder
### ๐ Connect:
* **Portfolio**: [bhuvaneshm.in](https://bhuvaneshm.in/)
* **GitHub**: [@bhuvanesh-m-dev](https://github.com/bhuvanesh-m-dev)
* **LinkedIn**: [bhuvaneshm-developer](https://linkedin.com/in/bhuvaneshm-developer)
* **HackerRank**: [bhuvaneshm\_dev](https://hackerrank.com/profile/bhuvaneshm_dev)
* **YouTube**: [@bhuvaneshm\_dev](https://youtube.com/@bhuvaneshm_dev)
* **LeetCode**: [bhuvaneshm\_dev](https://leetcode.com/u/bhuvaneshm_dev)
* **Dev.to**: [@bhuvaneshm\_dev](https://dev.to/bhuvaneshm_dev)
* **Twitter (X)**: [@bhuvaneshm06](https://x.com/bhuvaneshm06)
* **Instagram**: [@bhuvanesh.m06](https://instagram.com/bhuvanesh.m06)
---
## โจ 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
```python
import cosmotalker
print(cosmotalker.get("earth")) # Instant data about Earth
#Stay tuned for future enhancements!
```
## ๐ง Install CosmoTalker on Debian/Ubuntu
```bash
sudo apt update && sudo apt install python3-pip -y && pip3 install cosmotalker
```
### ๐ PyPI Downloads Stats

**Note:** The above badge shows **lifetime downloads** via [pepy.tech](https://pepy.tech/project/cosmotalker).
However, pepy updates downloads based on a rolling 3-month window, which may show slower growth over time.
---
### ๐ Accurate Stats (Manual + Screenshot Proof)
I manually track and verify download numbers through multiple sources.
Below is the manually updated table reflecting actual downloads over time:
| Date | Total Downloads | Source |
|------------|------------------|---------------------------|
| 2024-03-15 | 1.2K | Initial Launch Week |
| 2024-06-28 | 21.2K | Pepy |
| 2024-07-29 | ~25K (approx) | Verified with initial source |
---
๐ **Proof Screenshots Directory**
You can view proof and mirror screenshots from the following URL:
โก๏ธ [https://github.com/bhuvanesh-m-dev/cosmotalker/tree/main/document/screenshots](https://github.com/bhuvanesh-m-dev/cosmotalker/tree/main/document/screenshots)
_This directory will be updated periodically with accurate screenshots showing growth, mirror proof (like aliyun, tencent, etc.), and manual logs._
---
๐ **Mirror Source Example:**
Aliyun PyPI Mirror for CosmoTalker:
โก๏ธ [https://mirrors.aliyun.com/pypi/simple/cosmotalker/](https://mirrors.aliyun.com/pypi/simple/cosmotalker/)
---
### ๐ Additional Sources Used
- [pepy.tech/project/cosmotalker](https://pepy.tech/project/cosmotalker)
- [pypistats.org/packages/cosmotalker](https://pypistats.org/packages/cosmotalker)
- [https://mirrors.aliyun.com/pypi/simple/cosmotalker](https://github.com/bhuvanesh-m-dev/cosmotalker/blob/main/document/downloads/README.md)
- PyPI mirrors (aliyun, tencent, pypi.python.org analytics)
---
โ
This ensures transparent and trustworthy tracking of **CosmoTalker**'s growth.
---
## ๐ฌ Offline Chat with `oolit()`
**CosmoTalker** now includes `oolit()`, a fully offline chat interface.
- **Chat without internet**: Interact with CosmoTalker's knowledge base.
- **Easy to use**: Just import and run `cosmotalker.oolit()`.
### Example
```python
import cosmotalker
cosmotalker.oolit()
```
---
## License
- **CosmoTalker Python Library:** [MIT License](https://opensource.org/licenses/MIT) ยฉ 2025-present Bhuvanesh M
- **Solar System Visualization (Orbitarium):** Licensed under [CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/)
You may reuse or adapt the Solar System visualization for learning and personal use with credit to the author,
but **commercial use is not permitted** without written permission.