An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

![PyPI Downloads](https://img.shields.io/badge/downloads-50k-blue)
![PyPI](https://img.shields.io/pypi/v/cosmotalker.svg)
[![Socket Badge](https://socket.dev/api/badge/pypi/package/cosmotalker/1.5.1?artifact_id=tar-gz)](https://socket.dev/pypi/package/cosmotalker/overview)
[![License](https://img.shields.io/badge/license-MIT-blue.svg )](https://github.com/bhuvanesh-m-dev/cosmotalker/blob/main/document/LICENSE )
[![Last Commit](https://img.shields.io/github/last-commit/bhuvanesh-m-dev/cosmotalker)](https://github.com/bhuvanesh-m-dev/cosmotalker)
[![Issues](https://img.shields.io/github/issues/bhuvanesh-m-dev/cosmotalker)](https://github.com/bhuvanesh-m-dev/cosmotalker/issues)
[![Stars](https://img.shields.io/github/stars/bhuvanesh-m-dev/cosmotalker)](https://github.com/bhuvanesh-m-dev/cosmotalker/stargazers)
[![Made with Python](https://img.shields.io/badge/Made%20with-Python-blue?logo=python)](https://www.python.org/)
[![Typing SVG](https://readme-typing-svg.herokuapp.com?font=Fira+Code&duration=6000&pause=1000&color=DCBDF7&multiline=true&width=460&height=150&lines=Offline+heart%2C+cosmic+art%E2%80%94;Planets+whisper%2C+searches+spark.;Images+bloom%2C+green+quests+ignite%2C;No+net%2C+just+stars+in+terminal+light.;For+coders%2C+dreamers%2C+minds+that+soar%E2%80%94;The+universe%2C+now+at+your+core.)](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



CosmoTalker Demo Video


โ–ถ๏ธ 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

![PyPI - Downloads](https://static.pepy.tech/badge/cosmotalker)
**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.