home.social

#pyproject — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #pyproject, aggregated by home.social.

  1. Hah, got uv to build psycopg2. For some reason it didn't check for all needed libraries and headers, but instead just failed.

    So now my environment and uv.lock contains the newest versions of my dependencies. I assume I have to manually copy the new minimum versions from uv.lock to pyproject.toml, as nothing I've found seems to update the versions in that file.

    This is all quite complex, but I assume there's some deeper reason that I'm just too dumb to grok.

    #uv #pyproject

  2. Hah, got uv to build psycopg2. For some reason it didn't check for all needed libraries and headers, but instead just failed.

    So now my environment and uv.lock contains the newest versions of my dependencies. I assume I have to manually copy the new minimum versions from uv.lock to pyproject.toml, as nothing I've found seems to update the versions in that file.

    This is all quite complex, but I assume there's some deeper reason that I'm just too dumb to grok.

    #uv #pyproject

  3. Hah, got uv to build psycopg2. For some reason it didn't check for all needed libraries and headers, but instead just failed.

    So now my environment and uv.lock contains the newest versions of my dependencies. I assume I have to manually copy the new minimum versions from uv.lock to pyproject.toml, as nothing I've found seems to update the versions in that file.

    This is all quite complex, but I assume there's some deeper reason that I'm just too dumb to grok.

    #uv #pyproject

  4. Hah, got uv to build psycopg2. For some reason it didn't check for all needed libraries and headers, but instead just failed.

    So now my environment and uv.lock contains the newest versions of my dependencies. I assume I have to manually copy the new minimum versions from uv.lock to pyproject.toml, as nothing I've found seems to update the versions in that file.

    This is all quite complex, but I assume there's some deeper reason that I'm just too dumb to grok.

    #uv #pyproject

  5. Hah, got uv to build psycopg2. For some reason it didn't check for all needed libraries and headers, but instead just failed.

    So now my environment and uv.lock contains the newest versions of my dependencies. I assume I have to manually copy the new minimum versions from uv.lock to pyproject.toml, as nothing I've found seems to update the versions in that file.

    This is all quite complex, but I assume there's some deeper reason that I'm just too dumb to grok.

    #uv #pyproject

  6. @diazona @2ck

    I've spent the last couple of hours trying to set up an abandonware project that is purely setup.py-based. I don't miss these at all.

    #pyproject

  7. @diazona @2ck

    I've spent the last couple of hours trying to set up an abandonware project that is purely setup.py-based. I don't miss these at all.

    #pyproject

  8. @diazona @2ck

    I've spent the last couple of hours trying to set up an abandonware project that is purely setup.py-based. I don't miss these at all.

    #pyproject

  9. @diazona @2ck

    I've spent the last couple of hours trying to set up an abandonware project that is purely setup.py-based. I don't miss these at all.

    #pyproject

  10. @diazona @2ck

    I've spent the last couple of hours trying to set up an abandonware project that is purely setup.py-based. I don't miss these at all.

    #pyproject

  11. Правильный путь создания python-библиотеки: от создания до публикации

    Привет, Хабр! Стоит ли говорить, что Python ОЧЕНЬ и ОЧЕНЬ популярный язык программирования, местами даже догоняя JavaScript. Python в мире программирования — это эсперанто, легкий язык созданный для всех, но его владельцам не мешало бы помыться. В мире программирования создание собственных библиотек — это не просто возможность пополнения своего портфолио или способ структурировать код, а настоящий акт творческого самовыражения (и иногда велосипедостроения). Каждый разработчик иногда использовал в нескольких своих проектах однообразный код, который приходилось каждый раз перемещать. Да и хотя бы как упаковать свои идеи и знания в удобный и доступный формат, которым можно будет поделиться с сообществом. Если вы ловили себя на мысли: «А почему мне бы не создать свою полноценную библиотеку?», то я рекомендую прочитать вам мою статью. Эту статью вы можете использовать как шпаргалку для создания своих python-библиотек. Я полностью расскажу все этапы создания библиотеки: документация, тестирование, архитектура, публикация и управление зависимостями Некоторые из вас могут подумать что мы изобретаем велосипед. А я в ответ скажу — сможете ли вы прямо сейчас, без подсказок, только по памяти, нарисовать велосипед без ошибок?

    habr.com/ru/companies/timeweb/

    #python #poetry #pyproject #документация #doxygen #тестирование #unittest #pytest #библиотека #timeweb_статьи

  12. Tonight's example, that finally got me to toot about it... packaging.

    The #poetry documentation for #pyproject.toml describes the #include and #exclude config lists. exclude is #automagically pre-populated with the entries from your VCS ignore file, but, and I quote:

    "Explicitly declaring entries in include will negate VCS' ignore settings."

    Wanna bet on it? I have an entry in my .gitignore file for `docs`. I explicitly list it in `include`.

    3/x

    #TOML #PyProjectTOML

  13. I launched a new open-source project yesterday! 🎉

    For the past few months @stuartl and I have been working on a little tool to automatically convert #Python #setuptools scripts (setup.py or setup.cfg) to #pyproject.toml files, and our first release just landed on PyPI: pypi.org/project/setuptools-py

    It's still a little rough around the edges, but it handles the basics. If you have a Python project using setuptools, we'd love it if you give it a try and share any feedback! (Even if you don't actually use the output, that's cool)

  14. Flask and the other Pallets projects are all using `pyproject.toml` instead of `setup.py` and `setup.cfg`. Only MarkupSafe still has a `setup.py`, in order to configure the C speedups. #Python #PythonFlask #pyproject

  15. TIL is an extremely fast 🐍 written in 🦀

    ruff can be up to 150x faster than and supports file

    I will definitely try it 👍

    github.com/charliermarsh/ruff

  16. Tonight's example, that finally got me to toot about it... packaging.

    The #poetry documentation for #pyproject.toml describes the #include and #exclude config lists. exclude is #automagically pre-populated with the entries from your VCS ignore file, but, and I quote:

    "Explicitly declaring entries in include will negate VCS' ignore settings."

    Wanna bet on it? I have an entry in my .gitignore file for `docs`. I explicitly list it in `include`.

    3/x

    #TOML #PyProjectTOML

  17. Tonight's example, that finally got me to toot about it... packaging.

    The #poetry documentation for #pyproject.toml describes the #include and #exclude config lists. exclude is #automagically pre-populated with the entries from your VCS ignore file, but, and I quote:

    "Explicitly declaring entries in include will negate VCS' ignore settings."

    Wanna bet on it? I have an entry in my .gitignore file for `docs`. I explicitly list it in `include`.

    3/x

    #TOML #PyProjectTOML

  18. Tonight's example, that finally got me to toot about it... packaging.

    The #poetry documentation for #pyproject.toml describes the #include and #exclude config lists. exclude is #automagically pre-populated with the entries from your VCS ignore file, but, and I quote:

    "Explicitly declaring entries in include will negate VCS' ignore settings."

    Wanna bet on it? I have an entry in my .gitignore file for `docs`. I explicitly list it in `include`.

    3/x

    #TOML #PyProjectTOML

  19. Tonight's example, that finally got me to toot about it... packaging.

    The #poetry documentation for #pyproject.toml describes the #include and #exclude config lists. exclude is #automagically pre-populated with the entries from your VCS ignore file, but, and I quote:

    "Explicitly declaring entries in include will negate VCS' ignore settings."

    Wanna bet on it? I have an entry in my .gitignore file for `docs`. I explicitly list it in `include`.

    3/x

    #TOML #PyProjectTOML

  20. Правильный путь создания python-библиотеки: от создания до публикации

    Привет, Хабр! Стоит ли говорить, что Python ОЧЕНЬ и ОЧЕНЬ популярный язык программирования, местами даже догоняя JavaScript. Python в мире программирования — это эсперанто, легкий язык созданный для всех, но его владельцам не мешало бы помыться. В мире программирования создание собственных библиотек — это не просто возможность пополнения своего портфолио или способ структурировать код, а настоящий акт творческого самовыражения (и иногда велосипедостроения). Каждый разработчик иногда использовал в нескольких своих проектах однообразный код, который приходилось каждый раз перемещать. Да и хотя бы как упаковать свои идеи и знания в удобный и доступный формат, которым можно будет поделиться с сообществом. Если вы ловили себя на мысли: «А почему мне бы не создать свою полноценную библиотеку?», то я рекомендую прочитать вам мою статью. Эту статью вы можете использовать как шпаргалку для создания своих python-библиотек. Я полностью расскажу все этапы создания библиотеки: документация, тестирование, архитектура, публикация и управление зависимостями Некоторые из вас могут подумать что мы изобретаем велосипед. А я в ответ скажу — сможете ли вы прямо сейчас, без подсказок, только по памяти, нарисовать велосипед без ошибок?

    habr.com/ru/companies/timeweb/

    #python #poetry #pyproject #документация #doxygen #тестирование #unittest #pytest #библиотека #timeweb_статьи

  21. Правильный путь создания python-библиотеки: от создания до публикации

    Привет, Хабр! Стоит ли говорить, что Python ОЧЕНЬ и ОЧЕНЬ популярный язык программирования, местами даже догоняя JavaScript. Python в мире программирования — это эсперанто, легкий язык созданный для всех, но его владельцам не мешало бы помыться. В мире программирования создание собственных библиотек — это не просто возможность пополнения своего портфолио или способ структурировать код, а настоящий акт творческого самовыражения (и иногда велосипедостроения). Каждый разработчик иногда использовал в нескольких своих проектах однообразный код, который приходилось каждый раз перемещать. Да и хотя бы как упаковать свои идеи и знания в удобный и доступный формат, которым можно будет поделиться с сообществом. Если вы ловили себя на мысли: «А почему мне бы не создать свою полноценную библиотеку?», то я рекомендую прочитать вам мою статью. Эту статью вы можете использовать как шпаргалку для создания своих python-библиотек. Я полностью расскажу все этапы создания библиотеки: документация, тестирование, архитектура, публикация и управление зависимостями Некоторые из вас могут подумать что мы изобретаем велосипед. А я в ответ скажу — сможете ли вы прямо сейчас, без подсказок, только по памяти, нарисовать велосипед без ошибок?

    habr.com/ru/companies/timeweb/

    #python #poetry #pyproject #документация #doxygen #тестирование #unittest #pytest #библиотека #timeweb_статьи

  22. Правильный путь создания python-библиотеки: от создания до публикации

    Привет, Хабр! Стоит ли говорить, что Python ОЧЕНЬ и ОЧЕНЬ популярный язык программирования, местами даже догоняя JavaScript. Python в мире программирования — это эсперанто, легкий язык созданный для всех, но его владельцам не мешало бы помыться. В мире программирования создание собственных библиотек — это не просто возможность пополнения своего портфолио или способ структурировать код, а настоящий акт творческого самовыражения (и иногда велосипедостроения). Каждый разработчик иногда использовал в нескольких своих проектах однообразный код, который приходилось каждый раз перемещать. Да и хотя бы как упаковать свои идеи и знания в удобный и доступный формат, которым можно будет поделиться с сообществом. Если вы ловили себя на мысли: «А почему мне бы не создать свою полноценную библиотеку?», то я рекомендую прочитать вам мою статью. Эту статью вы можете использовать как шпаргалку для создания своих python-библиотек. Я полностью расскажу все этапы создания библиотеки: документация, тестирование, архитектура, публикация и управление зависимостями Некоторые из вас могут подумать что мы изобретаем велосипед. А я в ответ скажу — сможете ли вы прямо сейчас, без подсказок, только по памяти, нарисовать велосипед без ошибок?

    habr.com/ru/companies/timeweb/

    #python #poetry #pyproject #документация #doxygen #тестирование #unittest #pytest #библиотека #timeweb_статьи

  23. I launched a new open-source project yesterday! 🎉

    For the past few months @stuartl and I have been working on a little tool to automatically convert #Python #setuptools scripts (setup.py or setup.cfg) to #pyproject.toml files, and our first release just landed on PyPI: pypi.org/project/setuptools-py

    It's still a little rough around the edges, but it handles the basics. If you have a Python project using setuptools, we'd love it if you give it a try and share any feedback! (Even if you don't actually use the output, that's cool)

  24. I launched a new open-source project yesterday! 🎉

    For the past few months @stuartl and I have been working on a little tool to automatically convert #Python #setuptools scripts (setup.py or setup.cfg) to #pyproject.toml files, and our first release just landed on PyPI: pypi.org/project/setuptools-py

    It's still a little rough around the edges, but it handles the basics. If you have a Python project using setuptools, we'd love it if you give it a try and share any feedback! (Even if you don't actually use the output, that's cool)

  25. I launched a new open-source project yesterday! 🎉

    For the past few months @stuartl and I have been working on a little tool to automatically convert #Python #setuptools scripts (setup.py or setup.cfg) to #pyproject.toml files, and our first release just landed on PyPI: pypi.org/project/setuptools-py

    It's still a little rough around the edges, but it handles the basics. If you have a Python project using setuptools, we'd love it if you give it a try and share any feedback! (Even if you don't actually use the output, that's cool)

  26. I launched a new open-source project yesterday! 🎉

    For the past few months @stuartl and I have been working on a little tool to automatically convert scripts (setup.py or setup.cfg) to .toml files, and our first release just landed on PyPI: pypi.org/project/setuptools-py

    It's still a little rough around the edges, but it handles the basics. If you have a Python project using setuptools, we'd love it if you give it a try and share any feedback! (Even if you don't actually use the output, that's cool)

  27. Flask and the other Pallets projects are all using `pyproject.toml` instead of `setup.py` and `setup.cfg`. Only MarkupSafe still has a `setup.py`, in order to configure the C speedups. #Python #PythonFlask #pyproject

  28. Flask and the other Pallets projects are all using `pyproject.toml` instead of `setup.py` and `setup.cfg`. Only MarkupSafe still has a `setup.py`, in order to configure the C speedups. #Python #PythonFlask #pyproject

  29. Flask and the other Pallets projects are all using `pyproject.toml` instead of `setup.py` and `setup.cfg`. Only MarkupSafe still has a `setup.py`, in order to configure the C speedups.

  30. Flask and the other Pallets projects are all using `pyproject.toml` instead of `setup.py` and `setup.cfg`. Only MarkupSafe still has a `setup.py`, in order to configure the C speedups. #Python #PythonFlask #pyproject

  31. TIL #ruff is an extremely fast #Python 🐍 #linter written in #Rust 🦀

    ruff can be up to 150x faster than #flake8 and supports #pyproject #toml file

    I will definitely try it 👍

    github.com/charliermarsh/ruff

  32. TIL #ruff is an extremely fast #Python 🐍 #linter written in #Rust 🦀

    ruff can be up to 150x faster than #flake8 and supports #pyproject #toml file

    I will definitely try it 👍

    github.com/charliermarsh/ruff

  33. TIL #ruff is an extremely fast #Python 🐍 #linter written in #Rust 🦀

    ruff can be up to 150x faster than #flake8 and supports #pyproject #toml file

    I will definitely try it 👍

    github.com/charliermarsh/ruff

  34. TIL #ruff is an extremely fast #Python 🐍 #linter written in #Rust 🦀

    ruff can be up to 150x faster than #flake8 and supports #pyproject #toml file

    I will definitely try it 👍

    github.com/charliermarsh/ruff