Tonviewer 1.0__tar.gz → 2.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: Tonviewer
3
- Version: 1.0
3
+ Version: 2.0
4
4
  Summary: TON Crypto Info Scraper is a Python library that allows you to fetch real-time data from the TON blockchain and CoinGecko without needing any APIs
5
5
  Author: deep
6
6
  Author-email: asyncpy@proton.me
@@ -23,7 +23,7 @@ License-File: LICENSE
23
23
  <p align="center">
24
24
 
25
25
  <a href="https://pypi.org/project/Tonviewer/">
26
- <img src="https://img.shields.io/pypi/v/censys?color=red&logo=pypi&logoColor=red">
26
+ <img src="https://img.shields.io/pypi/v/Tonviewer?color=red&logo=pypi&logoColor=red">
27
27
  </a>
28
28
 
29
29
  <a href="https://t.me/Pycodz">
@@ -40,7 +40,7 @@ License-File: LICENSE
40
40
  ## Prints TON and USDT balance of wallet
41
41
  from Tonviewer import Wallet , Coin
42
42
  wallet = Wallet("") #wallet_address_here
43
- wallet.Balance()
43
+ wallet.balance()
44
44
 
45
45
  # Prints live price
46
46
  coin = Coin("") #ex: "toncoin" , "bitcoin" , ...
@@ -9,7 +9,7 @@
9
9
  <p align="center">
10
10
 
11
11
  <a href="https://pypi.org/project/Tonviewer/">
12
- <img src="https://img.shields.io/pypi/v/censys?color=red&logo=pypi&logoColor=red">
12
+ <img src="https://img.shields.io/pypi/v/Tonviewer?color=red&logo=pypi&logoColor=red">
13
13
  </a>
14
14
 
15
15
  <a href="https://t.me/Pycodz">
@@ -26,7 +26,7 @@
26
26
  ## Prints TON and USDT balance of wallet
27
27
  from Tonviewer import Wallet , Coin
28
28
  wallet = Wallet("") #wallet_address_here
29
- wallet.Balance()
29
+ wallet.balance()
30
30
 
31
31
  # Prints live price
32
32
  coin = Coin("") #ex: "toncoin" , "bitcoin" , ...
@@ -5,7 +5,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
5
5
 
6
6
  setuptools.setup(
7
7
  name="Tonviewer",
8
- version="1.0",
8
+ version="2.0",
9
9
  author="deep",
10
10
  author_email="asyncpy@proton.me",
11
11
  license="MIT",
@@ -1,5 +1,5 @@
1
1
  from bs4 import BeautifulSoup
2
- from main import Wallet
2
+ from .main import Wallet
3
3
 
4
4
  class Coin(Wallet):
5
5
  def __init__(self , coin: str):
@@ -8,7 +8,7 @@ class Wallet:
8
8
  self.response = self.scraper.get(f"https://tonviewer.com/{self.wallet}")
9
9
  self.soup = BeautifulSoup(self.response.text, 'html.parser')
10
10
 
11
- def Balance(self):
11
+ def balance(self):
12
12
  try:
13
13
  if self.response.status_code == 200:
14
14
  ton = self.soup.find("div", class_="bdtytpm b1249k0b")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: Tonviewer
3
- Version: 1.0
3
+ Version: 2.0
4
4
  Summary: TON Crypto Info Scraper is a Python library that allows you to fetch real-time data from the TON blockchain and CoinGecko without needing any APIs
5
5
  Author: deep
6
6
  Author-email: asyncpy@proton.me
@@ -23,7 +23,7 @@ License-File: LICENSE
23
23
  <p align="center">
24
24
 
25
25
  <a href="https://pypi.org/project/Tonviewer/">
26
- <img src="https://img.shields.io/pypi/v/censys?color=red&logo=pypi&logoColor=red">
26
+ <img src="https://img.shields.io/pypi/v/Tonviewer?color=red&logo=pypi&logoColor=red">
27
27
  </a>
28
28
 
29
29
  <a href="https://t.me/Pycodz">
@@ -40,7 +40,7 @@ License-File: LICENSE
40
40
  ## Prints TON and USDT balance of wallet
41
41
  from Tonviewer import Wallet , Coin
42
42
  wallet = Wallet("") #wallet_address_here
43
- wallet.Balance()
43
+ wallet.balance()
44
44
 
45
45
  # Prints live price
46
46
  coin = Coin("") #ex: "toncoin" , "bitcoin" , ...
File without changes
File without changes