home.social

Search

1000 results for “cli_ar”

  1. [アップデート] Amazon Q Developer CLI に特定トリガーでコマンドを実行し動的なコンテキストを渡せる「コンテキストフック」が追加されていました
    dev.classmethod.jp/articles/q-

    #dev_classmethod #Amazon_Q_Developer #Amazon_Q #AWS

  2. [アップデート] Amplify Gen2 CLI 実行時に CDK と同じ形式でデプロイ状況を確認できるようになりました
    dev.classmethod.jp/articles/am

    #dev_classmethod #AWS_Amplify #AWS_CDK #AWS

  3. [アップデート] Amplify Gen2 CLI 実行時に CDK と同じ形式でデプロイ状況を確認できるようになりました
    dev.classmethod.jp/articles/am

    #dev_classmethod #AWS_Amplify #AWS_CDK #AWS

  4. @stfn
    Right, but tell people what they are doing with this command.
    If .hushlogin is not existing in the home directory (~/) touch is just creating an empty file named .hushlogin.
    But if it already exists: touch adoptes the access time stamp to the time touch is executed...
    #linuc #cli #commands #touch

  5. @stfn
    Right, but tell people what they are doing with this command.
    If .hushlogin is not existing in the home directory (~/) touch is just creating an empty file named .hushlogin.
    But if it already exists: touch adoptes the access time stamp to the time touch is executed...
    #linuc #cli #commands #touch

  6. @stfn
    Right, but tell people what they are doing with this command.
    If .hushlogin is not existing in the home directory (~/) touch is just creating an empty file named .hushlogin.
    But if it already exists: touch adoptes the access time stamp to the time touch is executed...
    #linuc #cli #commands #touch

  7. @stfn
    Right, but tell people what they are doing with this command.
    If .hushlogin is not existing in the home directory (~/) touch is just creating an empty file named .hushlogin.
    But if it already exists: touch adoptes the access time stamp to the time touch is executed...
    #linuc #cli #commands #touch

  8. Разработка CLI с помощью пакета Cobra: как не наступить на змею при написании

    Привет, Хабр. Меня зовут Иван Добряев, я разработчик программного обеспечения в Центре технологий VK. Сегодня хочу поделиться опытом по одной достаточно прикладной, но весьма увлекательной теме — разработке командной строки (CLI) на Go. Платформа для инференса ML-моделей (inference platform) у нас молодая, ей всего лишь полгода, и мы активно расширяем команду. Так что, если вы хотите писать сервисы на Go с нуля, то приходите к нам, у нас найдутся задачи на любой вкус.

    habr.com/ru/companies/vk/artic

    #go #cli #ml #инференс #inference_platform

  9. 【小ネタ】 AWS CLI を使用して既存 S3 オブジェクトの暗号化方式を SSE-S3 から SSE-KMS に変更してみた
    dev.classmethod.jp/articles/s3

    #dev_classmethod #AWS #Amazon_S3 #AWS_KMS

  10. 【小ネタ】 AWS CLI を使用して既存 S3 オブジェクトの暗号化方式を SSE-S3 から SSE-KMS に変更してみた
    dev.classmethod.jp/articles/s3

    #dev_classmethod #AWS #Amazon_S3 #AWS_KMS

  11. 🐘 Mastodon Account Archives 🐘

    TL;DR Sometimes mastodon account backup archive downloads fail to download via browser, but will do so via fetch with some flags in the terminal. YMMV.

    the following are notes from recent efforts to get around browser errors while downloading an account archive link.

    yes, surely most will not encounter this issue, and that's fine. there's no need to add a "works fine for me", so this does not apply to your situation, and that's fine too. however, if one does encounter browser errors (there were several unique ones and I don't feel like finding them in the logs).

    moving on... some experimentation with discarding the majority of the URL's dynamic parameters, I have it working on the cli as follows:

    » \fetch -4 -A -a -F -R -r --buffer-size=512384 --no-tlsv1 -v ${URL_PRE_QMARK}?X-Amz-Algorithm=AWS4-HMAC-SHA256

    the primary download URL (everything before the query initiator "?" has been substituted as ${URL_PRE_QMARK}, and then I only included Amazon's algo params, the rest of the URL (especially including the "expire" tag) seems to be unnecessary.

    IIRC the reasoning there is about the CDN's method for defaulting to a computationally inexpensive front-line cache management, where the expire aspects are embedded in the URL instead of internal (to the CDN clusters) metrics lookups for cache expiration.

    shorter version: dropping all of the params except the hash algo will initiate a fresh zero-cached hit at the edge, though likely that has been cached on second/non-edge layer due to my incessent requests after giving up on the browser downloads.

    increasing the buffer size and forcing ipv4 are helpful for some manner of firewall rules that are on my router side, which may or may not be of benefit to others.

    - Archive directory aspect of URL: https://${SERVER}/${MASTO_DIR}/backups/dumps/${TRIPLE_LAYER_SUBDIRS}/original/
    - Archive filename: archive-${FILE_DATE}-{SHA384_HASH}.zip

    Command:

    » \fetch -4 -A -a -F -R -r --buffer-size=512384 --no-tlsv1 -v ${URL_PRE_QMARK}?X-Amz-Algorithm=AWS4-HMAC-SHA256

    Verbose output:

    resolving server address: ${SERVER}:443
    SSL options: 86004850
    Peer verification enabled
    Using OpenSSL default CA cert file and path
    Verify hostname
    TLSv1.3 connection established using TLS_AES_256_GCM_SHA384
    Certificate subject: /CN=${SEVER}
    Certificate issuer: /C=US/O=Let's Encrypt/CN=E5
    requesting ${URL_PRE_QMARK}?X-Amz-Algorithm=AWS4-HMAC-SHA256
    remote size / mtime: ${FILE_SIZE} / 1742465117
    archive-${FILE_DATE}-{SHA384_HASH}.zip 96 MB 2518 kBps 40s

    @stefano looks to be working now :)

    #mastodon #freebsd #terminal #cli #cdn #cache #expire

  12. CloudShell 上で S3 CLI のデータ操作を行う場合、CloudShell 上で一次的なファイルのダウンロードが発生するのか教えてください。
    dev.classmethod.jp/articles/cl

    #dev_classmethod #AWS_CloudShell #Amazon_S3

  13. GNU/Linux/nvme-cli/Kingston/firmware

    О чем эта статья Вендор NVMe дисков предоставлял пригодные для обновления прошивки под ОС GNU/Linux, но это изменилось. В статье разбираюсь с новым форматом прошивок и возвращаю возможность обновления.

    habr.com/ru/articles/872210/

    #linux #nvmecli #kingston #firmware #vendorlock #ssd #nvme

  14. - @pluralistic

    pluralistic.net/2024/12/20/cli

    Realistically, few people are going to read a 900-page group work of neofeudalist fanfic shit out by the most esoteric Fedsoc weirdos the world has ever seen.

    But one person who did read Project 2025 was the leftist historian Rick Perlstein, who was the first person to really dig into what a fucking messthat thing is:
    pluralistic.net/2024/07/14/fra
    Perlstein's excellent analysis doesn't claim that Project 2025's authors aren't sincere in their intentions to wreak great harm upon the nation and its people;
    rather, his point is that Project 2025 is filled with contradictory, mutually exclusive proposals written by people who fundamentally disagree with one another,
    and who each have enough power within the Trump coalition that all of their proposals have to be included in a document like this:
    prospect.org/politics/2024-07-
    Project 2025 isn't just a guide to the masturbatory fantasies of the worst people in American politics
    – far more importantly, it is a detailed map of the fracture lines in the GOP coalition, the places where it is liable to split and shatter.
    🔥This is an important point if you want to do more about Trumpism than run around feeling miserable and scared.
    If you want to fight, Project 2025 is a guide to the weak spots where an attack will do the most damage.
    Perlstein's insight continues to be borne out as the Trump regime makes ready to take power.
    In a new story for KFF News, Stephanie Armour and Julie Rovner describe the irreconcilable differences among Trump's picks for the country's top public health authorities:
    kffhealthnews.org/news/article
    The brain-worm-infected-elephant in the room is, of course, RFK Jr, who has been announced as Trump's head of Health and Human Services.
    RFK Jr is a notorious antivaxer, chairman of Children’s Health Defense, a notorious anti-vaccine group.
    Kennedy's view is shared by Trump's chosen CDC boss, Dave Weldon, a physician who has repeated the dangerous lie that vaccinations cause autism.
    Mehmet "Dr Oz" Oz, the TV "physician" Trump wants to put in charge of Medicare/Medicaid, calls vaccines "oversold" and advocates for treating covid with hydroxychloroquine, another thoroughly debunked hoax:
    usatoday.com/story/news/health
    However, other top Trump public health picks emphatically support vaccines.
    #Marty #Makary is Trump's choice for FDA commissioner;
    he's a Johns Hopkins trained surgeon who says vaccines "save lives" (but he peddles the lethal, unscientific hoax that childhood vaccines should be "spread out").
    #Jay #Bhattacharya, the economist/MD whom Trump wants to put in charge of the NIH, supports vaccines
    (he is also one of the country's leading proponents of the eugenicist idea of accepting the mass death of elderly, sick and disabled people rather than imposing quarantines during epidemics).
    Then there's #Janette #Nesheiwat, whom Trump has asked to serve as the nation's surgeon general; she calls vaccines "a gift from God."

    Like "Bidenism," Trumpism is a fragile coalition of people who thoroughly and irreconcilably disagree with one another.
    During the Biden administration, this resulted in self-inflicted injuries like appointing the brilliant trustbuster Lina Khan to run the FTC,
    but also appointing the pro-monopoly corporate lawyer Jacqueline Scott Corley to a lifetime seat as a federal judge,
    from which perch she ruled against Khan's no-brainer suit to block the Microsoft-Activision merger:
    thebignewsletter.com/p/judge-r
    The Trump coalition is even broader than the Biden coalition.
    That's how he won the 2024 election.
    But that also means that Trumpism is more fractious and off-balance, and hence will be easier to disrupt,
    because it is riven by people in senior positions who hate one another and are actively working for each others' political demise.

  15. - @pluralistic

    pluralistic.net/2024/12/20/cli

    Realistically, few people are going to read a 900-page group work of neofeudalist fanfic shit out by the most esoteric Fedsoc weirdos the world has ever seen.

    But one person who did read Project 2025 was the leftist historian Rick Perlstein, who was the first person to really dig into what a fucking messthat thing is:
    pluralistic.net/2024/07/14/fra
    Perlstein's excellent analysis doesn't claim that Project 2025's authors aren't sincere in their intentions to wreak great harm upon the nation and its people;
    rather, his point is that Project 2025 is filled with contradictory, mutually exclusive proposals written by people who fundamentally disagree with one another,
    and who each have enough power within the Trump coalition that all of their proposals have to be included in a document like this:
    prospect.org/politics/2024-07-
    Project 2025 isn't just a guide to the masturbatory fantasies of the worst people in American politics
    – far more importantly, it is a detailed map of the fracture lines in the GOP coalition, the places where it is liable to split and shatter.
    🔥This is an important point if you want to do more about Trumpism than run around feeling miserable and scared.
    If you want to fight, Project 2025 is a guide to the weak spots where an attack will do the most damage.
    Perlstein's insight continues to be borne out as the Trump regime makes ready to take power.
    In a new story for KFF News, Stephanie Armour and Julie Rovner describe the irreconcilable differences among Trump's picks for the country's top public health authorities:
    kffhealthnews.org/news/article
    The brain-worm-infected-elephant in the room is, of course, RFK Jr, who has been announced as Trump's head of Health and Human Services.
    RFK Jr is a notorious antivaxer, chairman of Children’s Health Defense, a notorious anti-vaccine group.
    Kennedy's view is shared by Trump's chosen CDC boss, Dave Weldon, a physician who has repeated the dangerous lie that vaccinations cause autism.
    Mehmet "Dr Oz" Oz, the TV "physician" Trump wants to put in charge of Medicare/Medicaid, calls vaccines "oversold" and advocates for treating covid with hydroxychloroquine, another thoroughly debunked hoax:
    usatoday.com/story/news/health
    However, other top Trump public health picks emphatically support vaccines.
    #Marty #Makary is Trump's choice for FDA commissioner;
    he's a Johns Hopkins trained surgeon who says vaccines "save lives" (but he peddles the lethal, unscientific hoax that childhood vaccines should be "spread out").
    #Jay #Bhattacharya, the economist/MD whom Trump wants to put in charge of the NIH, supports vaccines
    (he is also one of the country's leading proponents of the eugenicist idea of accepting the mass death of elderly, sick and disabled people rather than imposing quarantines during epidemics).
    Then there's #Janette #Nesheiwat, whom Trump has asked to serve as the nation's surgeon general; she calls vaccines "a gift from God."

    Like "Bidenism," Trumpism is a fragile coalition of people who thoroughly and irreconcilably disagree with one another.
    During the Biden administration, this resulted in self-inflicted injuries like appointing the brilliant trustbuster Lina Khan to run the FTC,
    but also appointing the pro-monopoly corporate lawyer Jacqueline Scott Corley to a lifetime seat as a federal judge,
    from which perch she ruled against Khan's no-brainer suit to block the Microsoft-Activision merger:
    thebignewsletter.com/p/judge-r
    The Trump coalition is even broader than the Biden coalition.
    That's how he won the 2024 election.
    But that also means that Trumpism is more fractious and off-balance, and hence will be easier to disrupt,
    because it is riven by people in senior positions who hate one another and are actively working for each others' political demise.

  16. - @pluralistic

    pluralistic.net/2024/12/20/cli

    Realistically, few people are going to read a 900-page group work of neofeudalist fanfic shit out by the most esoteric Fedsoc weirdos the world has ever seen.

    But one person who did read Project 2025 was the leftist historian Rick Perlstein, who was the first person to really dig into what a fucking messthat thing is:
    pluralistic.net/2024/07/14/fra
    Perlstein's excellent analysis doesn't claim that Project 2025's authors aren't sincere in their intentions to wreak great harm upon the nation and its people;
    rather, his point is that Project 2025 is filled with contradictory, mutually exclusive proposals written by people who fundamentally disagree with one another,
    and who each have enough power within the Trump coalition that all of their proposals have to be included in a document like this:
    prospect.org/politics/2024-07-
    Project 2025 isn't just a guide to the masturbatory fantasies of the worst people in American politics
    – far more importantly, it is a detailed map of the fracture lines in the GOP coalition, the places where it is liable to split and shatter.
    🔥This is an important point if you want to do more about Trumpism than run around feeling miserable and scared.
    If you want to fight, Project 2025 is a guide to the weak spots where an attack will do the most damage.
    Perlstein's insight continues to be borne out as the Trump regime makes ready to take power.
    In a new story for KFF News, Stephanie Armour and Julie Rovner describe the irreconcilable differences among Trump's picks for the country's top public health authorities:
    kffhealthnews.org/news/article
    The brain-worm-infected-elephant in the room is, of course, RFK Jr, who has been announced as Trump's head of Health and Human Services.
    RFK Jr is a notorious antivaxer, chairman of Children’s Health Defense, a notorious anti-vaccine group.
    Kennedy's view is shared by Trump's chosen CDC boss, Dave Weldon, a physician who has repeated the dangerous lie that vaccinations cause autism.
    Mehmet "Dr Oz" Oz, the TV "physician" Trump wants to put in charge of Medicare/Medicaid, calls vaccines "oversold" and advocates for treating covid with hydroxychloroquine, another thoroughly debunked hoax:
    usatoday.com/story/news/health
    However, other top Trump public health picks emphatically support vaccines.
    #Marty #Makary is Trump's choice for FDA commissioner;
    he's a Johns Hopkins trained surgeon who says vaccines "save lives" (but he peddles the lethal, unscientific hoax that childhood vaccines should be "spread out").
    #Jay #Bhattacharya, the economist/MD whom Trump wants to put in charge of the NIH, supports vaccines
    (he is also one of the country's leading proponents of the eugenicist idea of accepting the mass death of elderly, sick and disabled people rather than imposing quarantines during epidemics).
    Then there's #Janette #Nesheiwat, whom Trump has asked to serve as the nation's surgeon general; she calls vaccines "a gift from God."

    Like "Bidenism," Trumpism is a fragile coalition of people who thoroughly and irreconcilably disagree with one another.
    During the Biden administration, this resulted in self-inflicted injuries like appointing the brilliant trustbuster Lina Khan to run the FTC,
    but also appointing the pro-monopoly corporate lawyer Jacqueline Scott Corley to a lifetime seat as a federal judge,
    from which perch she ruled against Khan's no-brainer suit to block the Microsoft-Activision merger:
    thebignewsletter.com/p/judge-r
    The Trump coalition is even broader than the Biden coalition.
    That's how he won the 2024 election.
    But that also means that Trumpism is more fractious and off-balance, and hence will be easier to disrupt,
    because it is riven by people in senior positions who hate one another and are actively working for each others' political demise.

  17. - @pluralistic

    pluralistic.net/2024/12/20/cli

    Realistically, few people are going to read a 900-page group work of neofeudalist fanfic shit out by the most esoteric Fedsoc weirdos the world has ever seen.

    But one person who did read Project 2025 was the leftist historian Rick Perlstein, who was the first person to really dig into what a fucking messthat thing is:
    pluralistic.net/2024/07/14/fra
    Perlstein's excellent analysis doesn't claim that Project 2025's authors aren't sincere in their intentions to wreak great harm upon the nation and its people;
    rather, his point is that Project 2025 is filled with contradictory, mutually exclusive proposals written by people who fundamentally disagree with one another,
    and who each have enough power within the Trump coalition that all of their proposals have to be included in a document like this:
    prospect.org/politics/2024-07-
    Project 2025 isn't just a guide to the masturbatory fantasies of the worst people in American politics
    – far more importantly, it is a detailed map of the fracture lines in the GOP coalition, the places where it is liable to split and shatter.
    🔥This is an important point if you want to do more about Trumpism than run around feeling miserable and scared.
    If you want to fight, Project 2025 is a guide to the weak spots where an attack will do the most damage.
    Perlstein's insight continues to be borne out as the Trump regime makes ready to take power.
    In a new story for KFF News, Stephanie Armour and Julie Rovner describe the irreconcilable differences among Trump's picks for the country's top public health authorities:
    kffhealthnews.org/news/article
    The brain-worm-infected-elephant in the room is, of course, RFK Jr, who has been announced as Trump's head of Health and Human Services.
    RFK Jr is a notorious antivaxer, chairman of Children’s Health Defense, a notorious anti-vaccine group.
    Kennedy's view is shared by Trump's chosen CDC boss, Dave Weldon, a physician who has repeated the dangerous lie that vaccinations cause autism.
    Mehmet "Dr Oz" Oz, the TV "physician" Trump wants to put in charge of Medicare/Medicaid, calls vaccines "oversold" and advocates for treating covid with hydroxychloroquine, another thoroughly debunked hoax:
    usatoday.com/story/news/health
    However, other top Trump public health picks emphatically support vaccines.
    #Marty #Makary is Trump's choice for FDA commissioner;
    he's a Johns Hopkins trained surgeon who says vaccines "save lives" (but he peddles the lethal, unscientific hoax that childhood vaccines should be "spread out").
    #Jay #Bhattacharya, the economist/MD whom Trump wants to put in charge of the NIH, supports vaccines
    (he is also one of the country's leading proponents of the eugenicist idea of accepting the mass death of elderly, sick and disabled people rather than imposing quarantines during epidemics).
    Then there's #Janette #Nesheiwat, whom Trump has asked to serve as the nation's surgeon general; she calls vaccines "a gift from God."

    Like "Bidenism," Trumpism is a fragile coalition of people who thoroughly and irreconcilably disagree with one another.
    During the Biden administration, this resulted in self-inflicted injuries like appointing the brilliant trustbuster Lina Khan to run the FTC,
    but also appointing the pro-monopoly corporate lawyer Jacqueline Scott Corley to a lifetime seat as a federal judge,
    from which perch she ruled against Khan's no-brainer suit to block the Microsoft-Activision merger:
    thebignewsletter.com/p/judge-r
    The Trump coalition is even broader than the Biden coalition.
    That's how he won the 2024 election.
    But that also means that Trumpism is more fractious and off-balance, and hence will be easier to disrupt,
    because it is riven by people in senior positions who hate one another and are actively working for each others' political demise.

  18. - @pluralistic

    pluralistic.net/2024/12/20/cli

    Realistically, few people are going to read a 900-page group work of neofeudalist fanfic shit out by the most esoteric Fedsoc weirdos the world has ever seen.

    But one person who did read Project 2025 was the leftist historian Rick Perlstein, who was the first person to really dig into what a fucking messthat thing is:
    pluralistic.net/2024/07/14/fra
    Perlstein's excellent analysis doesn't claim that Project 2025's authors aren't sincere in their intentions to wreak great harm upon the nation and its people;
    rather, his point is that Project 2025 is filled with contradictory, mutually exclusive proposals written by people who fundamentally disagree with one another,
    and who each have enough power within the Trump coalition that all of their proposals have to be included in a document like this:
    prospect.org/politics/2024-07-
    Project 2025 isn't just a guide to the masturbatory fantasies of the worst people in American politics
    – far more importantly, it is a detailed map of the fracture lines in the GOP coalition, the places where it is liable to split and shatter.
    🔥This is an important point if you want to do more about Trumpism than run around feeling miserable and scared.
    If you want to fight, Project 2025 is a guide to the weak spots where an attack will do the most damage.
    Perlstein's insight continues to be borne out as the Trump regime makes ready to take power.
    In a new story for KFF News, Stephanie Armour and Julie Rovner describe the irreconcilable differences among Trump's picks for the country's top public health authorities:
    kffhealthnews.org/news/article
    The brain-worm-infected-elephant in the room is, of course, RFK Jr, who has been announced as Trump's head of Health and Human Services.
    RFK Jr is a notorious antivaxer, chairman of Children’s Health Defense, a notorious anti-vaccine group.
    Kennedy's view is shared by Trump's chosen CDC boss, Dave Weldon, a physician who has repeated the dangerous lie that vaccinations cause autism.
    Mehmet "Dr Oz" Oz, the TV "physician" Trump wants to put in charge of Medicare/Medicaid, calls vaccines "oversold" and advocates for treating covid with hydroxychloroquine, another thoroughly debunked hoax:
    usatoday.com/story/news/health
    However, other top Trump public health picks emphatically support vaccines.
    #Marty #Makary is Trump's choice for FDA commissioner;
    he's a Johns Hopkins trained surgeon who says vaccines "save lives" (but he peddles the lethal, unscientific hoax that childhood vaccines should be "spread out").
    #Jay #Bhattacharya, the economist/MD whom Trump wants to put in charge of the NIH, supports vaccines
    (he is also one of the country's leading proponents of the eugenicist idea of accepting the mass death of elderly, sick and disabled people rather than imposing quarantines during epidemics).
    Then there's #Janette #Nesheiwat, whom Trump has asked to serve as the nation's surgeon general; she calls vaccines "a gift from God."

    Like "Bidenism," Trumpism is a fragile coalition of people who thoroughly and irreconcilably disagree with one another.
    During the Biden administration, this resulted in self-inflicted injuries like appointing the brilliant trustbuster Lina Khan to run the FTC,
    but also appointing the pro-monopoly corporate lawyer Jacqueline Scott Corley to a lifetime seat as a federal judge,
    from which perch she ruled against Khan's no-brainer suit to block the Microsoft-Activision merger:
    thebignewsletter.com/p/judge-r
    The Trump coalition is even broader than the Biden coalition.
    That's how he won the 2024 election.
    But that also means that Trumpism is more fractious and off-balance, and hence will be easier to disrupt,
    because it is riven by people in senior positions who hate one another and are actively working for each others' political demise.

  19. With the release of `nethsm-cli` 0.6.0 it is now possible to issue signatures for signing requests! 🎉 📦 🦀

    crates.io/crates/nethsm-cli/0.

    Signing requests for files can be created using `signstar-request-signature` (see chaos.social/@dvzrv/1136467613).

    #DigitalSignature #RustLang #ArchLinux #Signstar #NetHSM #Nitrokey #OpenPGP #Cryptography

  20. I wonder whether there are still people who often use a terminal who have never heard about . If you live in a terminal and haven't heard about it yet, **please** do yourself a favor and look it up. I've started using it about 2 years ago and I could never live without it again.

    It might be time for me to donate to this project as it is one of my favorite tools.

    github.com/ajeetdsouza/zoxide

  21. Love the CLI? 🤖✨ Learn how to simplify your team workflows with 🚀🔧

    Everyone on a team works in a standard reproducible environment 🌟🔄
    Secrets stay secure 🔒
    No setup chaos 🚫⚙️

    Read about it in our new article: flox.dev/blog/flox-and-aws-tak

  22. Перевод CLI-приложения на Python: локализация click и typer с GNU gettext

    Для регистрации ПО в реестре Минцифры России нужно соблюсти несколько условий, одно из них — наличие русского языка на сайте и в документах. И хотя требований к языку в самом программном обеспечении я не нашёл (может быть, пока), но задача по русификации интерфейса появилась. Мы в «Тантор Лабс» развиваем корпоративную платформу баз данных Tantor XData, один из её компонентов — CLI (интерфейс командной строки) на Python с библиотекой Typer , которая, в свою очередь, написана поверх Click . Этот инструмент мы и попробуем русифицировать, а в идеале — научимся переводить приложение на разные языки, если потребуется. В статье рассмотрим концепции и инструменты, применяемые для локализации, включая использование библиотеки gettext в Python, а также стандарты, предоставляемые GNU gettext . Разберём работу с .pot , .po и .mo файлами, а также обработку плюральных форм, учитывающих языковые особенности множественных чисел.

    habr.com/ru/companies/astralin

    #python #gettext #typer #click #локализация #локализация_интерфейса #cli

  23. Перевод CLI-приложения на Python: локализация click и typer с GNU gettext

    Для регистрации ПО в реестре Минцифры России нужно соблюсти несколько условий, одно из них — наличие русского языка на сайте и в документах. И хотя требований к языку в самом программном обеспечении я не нашёл (может быть, пока), но задача по русификации интерфейса появилась. Мы в «Тантор Лабс» развиваем корпоративную платформу баз данных Tantor XData, один из её компонентов — CLI (интерфейс командной строки) на Python с библиотекой Typer , которая, в свою очередь, написана поверх Click . Этот инструмент мы и попробуем русифицировать, а в идеале — научимся переводить приложение на разные языки, если потребуется. В статье рассмотрим концепции и инструменты, применяемые для локализации, включая использование библиотеки gettext в Python, а также стандарты, предоставляемые GNU gettext . Разберём работу с .pot , .po и .mo файлами, а также обработку плюральных форм, учитывающих языковые особенности множественных чисел.

    habr.com/ru/companies/astralin

    #python #gettext #typer #click #локализация #локализация_интерфейса #cli

  24. Перевод CLI-приложения на Python: локализация click и typer с GNU gettext

    Для регистрации ПО в реестре Минцифры России нужно соблюсти несколько условий, одно из них — наличие русского языка на сайте и в документах. И хотя требований к языку в самом программном обеспечении я не нашёл (может быть, пока), но задача по русификации интерфейса появилась. Мы в «Тантор Лабс» развиваем корпоративную платформу баз данных Tantor XData, один из её компонентов — CLI (интерфейс командной строки) на Python с библиотекой Typer , которая, в свою очередь, написана поверх Click . Этот инструмент мы и попробуем русифицировать, а в идеале — научимся переводить приложение на разные языки, если потребуется. В статье рассмотрим концепции и инструменты, применяемые для локализации, включая использование библиотеки gettext в Python, а также стандарты, предоставляемые GNU gettext . Разберём работу с .pot , .po и .mo файлами, а также обработку плюральных форм, учитывающих языковые особенности множественных чисел.

    habr.com/ru/companies/astralin

    #python #gettext #typer #click #локализация #локализация_интерфейса #cli