@premiumrosesignal · Post #5157 · 26.02.2025 г., 16:44
#AI16Z +$1m net inflows from exchanges and +64k from smart money in the last 24H Whales are accumulating Buy #AI16Z now
Hashtags
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #397 · 12 ное.
Использование Pydantic сегодня стало нормой, и это правильно. Но иногда на ревью вижу, что используют его не всегда корректно. Например, метод BaseModel.model_dump() по умолчанию не преобразует стандартные типы, такие как datetime, UUID или Decimal, в простой сериализуемый для JSON вид. Тогда пишут кастмоный сериализатор для этих типов чтобы функция json.dump() не падала с ошибкой. import uuid from datetime import datetime from decimal import Decimal from uuid import UUID from pydantic import BaseModel class MyModel(BaseModel): id: UUID date: datetime value: Decimal obj = MyModel( id=uuid.uuid4(), date=datetime.now(), value='1.23' ) print(obj.model_dump()) # не подходит для json.dump # { # 'id': UUID('4f8c1bc4-25fd-40cd-9dbe-2c73639b0dc1'), # 'date': datetime.datetime(2025, 12, 12, 12, 12, 12, 111111), # 'value': Decimal('1.23') # } # добавляем свой кастомный сериализатор json.dumps(obj.model_dump(), cls=MySerializer) # { # 'id': '4f8c1bc4-25fd-40cd-9dbe-2c73639b0dc1', # 'date': '2025-12-12T12:12:12.111111', # 'value': '1.23' # } В данном случае класс MySerializer обрабатывает datetime, UUID и Decimal. Например так: class MySerializer(json.JSONEncoder): def default(self, o): if isinstance(o, Decimal): return str(o) elif isinstance(o, datetime): return o.isoformat() elif isinstance(o, UUID): return str(o) return super().default(o) Специально для тех, кто всё еще так делает - в этом нет необходимости! Pydantic может это сделать сам, просто нужно добавить параметр mode="json". json.dumps(obj.model_dump(mode="json")) # { # 'id': '4f8c1bc4-25fd-40cd-9dbe-2c73639b0dc1', # 'date': '2012-12-12T12:12:12.111111', # 'value': '1.23' # } #pydantic#libs
Пребарај: #ai16z
@premiumrosesignal · Post #5157 · 26.02.2025 г., 16:44
#AI16Z +$1m net inflows from exchanges and +64k from smart money in the last 24H Whales are accumulating Buy #AI16Z now
Hashtags
@premiumrosesignal · Post #5156 · 26.02.2025 г., 16:28
#AI16Z Buy Setup
Hashtags
@sublimetraders · Post #2513 · 04.01.2025 г., 12:54
🚀 Top Trending Coins for today 🚀 1. #KEKIUS 2. #COOKIE 3. #VIRTUAL 4. #PHNIX 5. #PENGU 6. #GRIFFAIN 7. #QUBIC 8. #AI16Z 9. #AIXBT 10. #SNAI 11. #SOL 12. #FTM 13. #BTC 14. #XRP 15. #PEPE Stay tuned for more updates!
@venturevillagewall · Post #4101 · 08.02.2025 г., 19:00
Weekly AI News Highlights 🔹 Presearch launches chatbot PreGPT 2.0: Read more 🔹 Sberbank plans collaboration with Chinese researchers on AI projects: Read more 🔹 List of countries restricting Chinese AI DeepSeek prepared: Read more 🔹 Tether's Data department developing various AI applications for Bitcoin wallets: Read more 🔹 Figure creator terminates partnership with OpenAI after AI breakthrough: Read more 🔹 Binance analyzes meme coins and AI tokens market trends: Read more 🔹 Google unveils flagship AI model Gemini 2.0 Pro Experimental: Read more 🔹 AI tokens AI16Z and VVV see significant drop post-Binance listing: Read more 🔹 OpenAI introduces Deep Research mode in ChatGPT: Read more 🔹 List of cheap and free alternatives to OpenAI's Deep Research revealed: Read more #AI#Presearch#Sberbank#DeepSeek#Tether#Figure#Binance#Google#Gemini#AI16Z#VVV#ChatGPT#OpenAI#Crypto#VC#memecoins#tokens#research
@venturevillagewall · Post #3813 · 07.01.2025 г., 16:00
Major USDC Burn & USDT Transfer News 🔥 50,000,000 #USDC burned at USDC Treasury. Full details here. 🚨 Nearly 500M #USDT transferred from #HTX to Tether Treasury, confirming strong liquidity movements. 🤑 MicroStrategy bought 258,320 BTC for over $22B in 2024, averaging $85,450 per BTC. Potential profit of $14B if BTC reaches $100,000. More info here. 🚀 Czech National Bank considers Bitcoin for reserve asset diversification. Details: link. 🔥 Total market cap for AI tokens approaches $17B, witnessing a 4% increase. Top tokens include #FET, #VIRTUAL, #AI16Z. 🔧 Solana developers aim to resolve scalability issues, targeting optimal performance as user base grows. Learn more here. 💡 Ripple partners with Chainlink to launch #RLUSD in DeFi, currently ranked 724 on CoinGecko with a market cap of $72.2M. 📉 Coinbase premium drops to a 12-month low, signaling potential short-term pressures for Bitcoin with analysts noting need for renewed institutional interest. More details here. #USDC#USDT#MicroStrategy#Bitcoin#Crypto#Ripple#Chainlink#AI#DeFi#Solana#CzechRepublic#Liquidity#MarketCap#Investing#Institutional#Trends#CryptoQuant#RLUSD#VIRTUAL#FET#AI16Z
@venturevillagewall · Post #3921 · 19.01.2025 г., 13:00
Trump Meme Token Sparks Controversy Discussions intensify over the safety and ethicality of the TRUMP meme token, which has surged to $70. Concerns arise from its tokenomics, where 80% is held by Trump-affiliated firms. The first unlock phase is just three months away. Crypto investor Scott Melker criticizes the project as a money grab. For more insights, check the full article here. #TRUMP#Crypto#AI#Blockchain#Solana#DEX#MemeToken#Tokenomics#Investing#CryptoInvestor#Raydium#Moonshot#DeFi#GenerativeAI#Bittensor#AI16Z#Freysa#AIXBT#Eliza