TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #421 · 23 мар.

Мы используем Makefile думая, что нет альтернатив, что это стандарт и всё такое. Но make это не запускалка команд, а система сборки. Мы фактически используем его не по назначению. И на самом деле альтернатива есть! Некоторое время назад я открыл для себя прекрасный инструмент - just. Он решает все проблемы make. just - это не система сборки как make, это именно исполнитель команд! Больше никаких Phony Targets и табуляций, привет нормальный синтаксис и передача аргументов!!! 😎 ⭐️Что умеет just: ✅ Автодокументирование команд Не нужно делать отдельную команду с докой, просто добавь комментарий # команда сборки build: ... $ just --list Available recipes: build # команда сборки Команда с именем default запускается по умолчанию если не указано другое, так что я обычно делаю так: default: just --list Теперь просто выполняем just и получаем доку из текущего файла. ✅ Удобная работа с переменными окружения # загрузить из .env set dotenv-load # глобальная переменная export PYTHONPATH := "./src" # переменная для команды test $TESTUNG="true": pytest ✅ Передача аргументов build target: @echo 'Build {{target}}...' команда запуска $ just build dev # Build dev... ✅ Выбор интерпретатора прямо в команде Пример с инлайн-скриптом на python: system: #!/usr/bin/env python3 import platform print(platform.system()) Эта же функция позволит выполнить скрипт как одну команду вместо перезапуска шела для каждой строки foo: #!/usr/bin/env sh for file in ls .; do echo $file done ✅ Выполнение команды в определенной директории. Можно указать как релятивный путь так и абсолютный [working-directory: 'backend'] build: docker compose build Также можно задать рабочую директорию глобально Там еще много интересного: - поддержка функций - автокомплиты и интеграции - экспрешены - алиасы команд - группировка команд - альтернативы команды под разные ОС - импорт других just-файлов - цветной вывод - ... и другие штуковины! Так что вперёд - ➡️ читать доку! Репозиторий: ➡️https://github.com/casey/just Статья: ➡️https://www.chicks.net/reference/file_formats/just/ ЗЫ. Кажется, на Makefile я уже не вернусь) #tools

Hashtags

Резултати

Пронајдени 11 слични објави

Пребарај: #techfunding

当前筛选 #techfunding清除筛选
Global CIO. IT Leaders Community

@globalcio · Post #293 · 30.08.2024 г., 18:27

💡 OpenAI Valuation Soars Above $100 Billion OpenAI is reportedly in talks to raise new investments, pushing its valuation to over $100 billion. Thrive Capital is set to contribute $1 billion to this funding round, aimed at enhancing computing power and covering operational costs. OpenAI staff may get the chance to sell shares later this year. Despite the impressive valuation, the company faces potential losses of $5 billion in 2024, emphasizing the need for this capital infusion. #AIInvestment#OpenAI#TechFunding

Venture Village Wall 🦄

@venturevillagewall · Post #3567 · 20.12.2024 г., 09:33

Bureau Secures $30M Funding Bureau, a trust network focused on identity verification, compliance, and fraud prevention for modern businesses, has raised $30 million. The funding round closed on December 18, 2024. 🏦 #Funding#IdentityVerification#Compliance#FraudPrevention#TechFunding#BusinessSolutions#Investment#Startups

Venture Village Wall 🦄

@venturevillagewall · Post #3542 · 20.12.2024 г., 09:31

Motion.io Secures $3.17M Funding Motion.io raises $3.17M on December 18, 2024, to enhance their white-label client portals. The funding will support automating client onboarding and improving file, signature, and feedback collection processes. #MotionIo#Funding#ClientPortals#Automation#Onboarding#TechFunding#Feedback#Signatures#WhiteLabel#Startup#Investment

Venture Village Wall 🦄

@venturevillagewall · Post #3624 · 21.12.2024 г., 10:22

Alvie Raises $2.19M for HUGO Alvie has secured $2.19 million to advance HUGO, the first digital assistant aimed at optimizing the spraying of phytosanitary products and bio-controls, as announced on December 19, 2024. #Alvie#HUGO#Funding#AgTech#DigitalAssistant#Phytosanitary#BioControls#Innovation#TechFunding#SustainableAgriculture

Venture Village Wall 🦄

@venturevillagewall · Post #3958 · 23.01.2025 г., 10:00

CreatorBid Raises $2.5M; Google Invests in AI AI-driven platform CreatorBid raised $2.50M in a public sale, achieving a $25M FDV via Binance Wallet. Meanwhile, Google invests $1B in AI startup Anthropic as the company targets a $2B funding round. Notably, Nebius closely trails Yandex in market cap with worth of $9.3B. Significant movements highlight ongoing innovation in the AI and crypto sectors. Full news: CreatorBid | Google Invest | Divvy Homes Sale | Nebius Market Cap #AI#Crypto#VC#Fundraising#Google#Anthropic#CreatorBid#Investment#TechNews#Startups#MarketCap#DivvyHomes#Innovations#Binance#Stablecoins#TechFunding#Nebius

Venture Village Wall 🦄

@venturevillagewall · Post #3393 · 18.12.2024 г., 12:10

Mantis Robotics Secures $5M Funding Mantis Robotics has raised $5M on December 16, 2024, to develop the Mantis Robot, touted as the fastest and safest industrial robot with physical intelligence. #MantisRobotics#Funding#Industrialrobot#Investment#Technology#Innovation#Manufacturing#Robotics#Automation#AI#Safety#Fastest#PhysicalIntelligence#Engineering#RoboticSystems#TechFunding#Startup#RoboTech

Venture Village Wall 🦄

@venturevillagewall · Post #3408 · 18.12.2024 г., 12:10

CLO Virtual Fashion Raises $34.81M CLO Virtual Fashion successfully raised $34.81 million in funding, with a funding round occurring on December 16, 2024. For more information, visit their website: CLO Virtual Fashion. #Funding#CLOVirtualFashion#Investment#Fashion#Tech#3DModeling#VirtualReality#FashionTech#Innovation#Startup#TechFunding#Capital#December2024#Growth#Industry#Development#Design#FashionIndustry#DigitalFashion

Venture Village Wall 🦄

@venturevillagewall · Post #3585 · 20.12.2024 г., 09:34

Zhipu AI Raises $411.82M Zhipu AI has raised $411.82 million as of December 17, 2024. The company co-developed the GLM-130B model, resulting in a dynamic knowledge engine termed the 'knowledge double wheel'. They also launched the cognitive model platform Bigmodel.ai, featuring products like CodeGeeX and CogView, which provide intelligent API services connecting users across various sectors. #ZhipuAI#Funding#AI#Bigmodel#GLM130B#CodeGeeX#CogView#API#Tech#KnowledgeMap#CognitiveModels#Intelligence#DigitalHumans#MachineLearning#DataScience#Innovation#Research#TechFunding#Startups#Development

Venture Village Wall 🦄

@venturevillagewall · Post #3501 · 19.12.2024 г., 13:59

PulseAd Raises $2M Funding PulseAd, an AI-powered global retail media platform, has secured $2 million in funding as of December 19, 2024. The platform is designed to enhance Amazon seller success. #PulseAd#Funding#AI#RetailMedia#Amazon#GlobalMarket#ECommerce#TechStartup#MediaPlatform#SellerSuccess#Investment#DigitalMarketing#TechFunding#SaaS#OnlineRetail#Advertising#InnovativeTech#GrowthFunding#BusinessExpansion

Venture Village Wall 🦄

@venturevillagewall · Post #3543 · 20.12.2024 г., 09:31

MRI Simulator Secures $3.5M Corsmed has successfully raised $3.50M to enhance its MRI simulator, which provides an affordable, realistic training solution for students and technicians. This technology allows hands-on experience for just 1% of the cost of traditional MRI scanners, expanding training opportunities significantly. #Corsmed#MRI#Simulator#Healthcare#Training#EdTech#Innovation#Financing#MedicalTraining#TechFunding#Startup#Students#Technicians#AffordableHealthcare#HandsOnTraining#SkillsDevelopment#Technology#Upskilling#AffordableTech#MedicalEducation