Vira
Without Token - Way 1
from miochat.vira import ViraChat
phone = "09xxxxxxxxx"
vira = ViraChat()
vira.sendOtpCode(phone)
log = vira.login(phone, input("enter code: "))
print("your token:", log.token)
prompt = vira.sendPrompt("سلام")
print("ai:", prompt.message.content)
With Token - Way 2
from miochat.vira import ViraChat
token = ""
vira = ViraChat(token)
prompt = vira.sendPrompt("سلام")
print("ai:", prompt.message.content)
Gold
from miochat.gold import getGold
price_of_gold = getGold()
print(price_of_gold) # Str | None
Cryptos
from miochat.crypto import MioCrypto
miocrypto = MioCrypto()
# get crypto`s names
cryptos_names = miocrypto.getCryptos()
print(cryptos_names)
# get top 10 cryptos
top_10 = miocrypto.getTopCryptos()
print(top_10)
# get top 20 cryptos
top_20 = miocrypto.getTopCryptos(20)
print(top_20)
# get crypto by symbol
crypto_by_symbol = miocrypto.getCryptoBySymbol("btc") # or BTC
print(crypto_by_symbol)
News
from miochat.news import MioNews
mionews = MioNews()
news = mionews.getNews()
# title
print(news.title)
# description
print(news.description)
# link
print(news.link)
Font
from miochat.font import MioFont
miofont = MioFont()
# English Language
fonts = miofont.getFont("Hello World")
print(fonts)
# Farsi (Persian) Language
fonts = miofont.getFont("سلام دنیا", "fa")
print(fonts)
Metadata
Release files for miochat 2.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| miochat-2.1.3.tar.gz | 6.8 kB | Without provenance | Details for miochat-2.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| miochat-2.1.3-py3-none-any.whl | Python 3 | none | any | Details for miochat-2.1.3-py3-none-any.whl |
Total release size: 15.3 kB
Release files / miochat-2.1.3.tar.gz
| Download URL | miochat-2.1.3.tar.gz |
|---|---|
| Size | 6.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
47228251278cc164946d94322d62bf11fbbce90c5912d2c1e62798d94f11d970
|
|
BLAKE2b-256 checksum How to use checksums |
abe14e9cbdc4252819c7c2594186c093506aee269883a6b81d6dac913c141713
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Release files / miochat-2.1.3-py3-none-any.whl
| Download URL | miochat-2.1.3-py3-none-any.whl |
|---|---|
| Size | 8.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
54cd82f14715c5c96f081e72afcc0a7aed67333da095665de5dcf04513cc3dea
|
|
BLAKE2b-256 checksum How to use checksums |
56086ee73cc75d2b1a4409ccd50dac196be2301492fdc2b42abffc0d9565a448
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Security for miochat 2.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.