以下のstapy#98にて発表したスライドです https://startpython.connpass.com/event/296755/ PythonのPackage Managerを深く知るためのリンク集 https://gist.github.com/vaaaaanquish/1ad9639d77e3a5f0e9fb0e1f8134bc06#file-python-package-manager-md
この記事は BeProud Advent Calender 2018 の20日目の記事です。そのためいつもよりボリュームたっぷり、文体も丁寧にお送りします。 adventar.org 本記事ではPoetryを使ってパッケージ開発→PyPIへ登録するまでの流れを紹介します。 github.com プロジェクト作成からPyPI登録までわずか30秒 Poetry について 基本的な使い方 Poetry と Pipenv Pipenvは確かに便利だけど Pipenv から Poetry に乗り換える Poetry と Pyenv PEP517 と PEP518 Poetryの各種設定 venvの作成先をプロジェクト内にしたい TestPyPIへアップロードできるようにする TestPyPIのユーザー名とパスワードを設定する ここまでの設定 プロジェクトを用意する 新規作成 標準的なレイアウト sr
mamba is a reimplementation of the conda package manager in C++. parallel downloading of repository data and package files using multi-threading libsolv for much faster dependency solving, a state of the art library used in the RPM package manager of Red Hat, Fedora and OpenSUSE core parts of mamba are implemented in C++ for maximum efficiency At the same time, mamba utilizes the same command line
はじめに Pythonのパッケージ管理や配布について。 どうやって他人からも未来の自分からも再利用しやすいパッケージが書けるのか分からなかったので調べた。結論、2018年8月時点ではsetup.pyを書くのが良さそうと判断。以下に調べたことをまとめる。Python3を対象とする。 参考 公式がパッケージや配布について解説したドキュメント https://packaging.python.org/ 日本語の詳しいサイト(最終更新が2016年なのでちょっと古い) http://www.yunabe.jp/docs/python_package_management.html setuptoolsの公式ドキュメント https://setuptools.readthedocs.io/en/latest/setuptools.html この記事で作るファイルの配置 setup.py初めて作る人が参
There’s a lot of misunderstanding between setup.py and requirements.txt and their roles. A lot of people have felt they are duplicated information and have even created tools to handle this “duplication”. Python Libraries A Python library in this context is something that has been developed and released for others to use. You can find a number of them on PyPI that others have made available. A lib
これまで依存パッケージ管理で遅れをとっていた Python ですが、Pipenv というモダンなツールが定着の兆しをみせており、Python エンジニアの一人として非常に喜ばしく感じています。 一方で、Go を使うことも多い自分にとっては、依存パッケージ管理に加えて Vendoring もやりたいというのが正直なところなんですよね。リッチな機能を提供する Pipenv ですが Vendoring についてのサポートはなく、開発コミュニティ上でもあまり積極的に受け入れられていないようです。 私のような考え方はマイノリティなのかもしれませんが、後述するように Python でも Vendoring が出来ればいくつかのメリットがあります。という訳で実現するためにはどうすればよいかというところを調べたので、これを共有したいとおもいます! そもそも Vendoring ってなに? 一般的な依存管理
Project Summaries# Summaries and links for the most relevant projects in the space of Python installation and packaging. PyPA Projects# bandersnatch# Docs | Issues | GitHub | PyPI bandersnatch is a PyPI mirroring client designed to efficiently create a complete mirror of the contents of PyPI. Organizations thus save bandwidth and latency on package downloads (especially in the context of automated
The Architecture of Open Source Applications (Volume 1) Python Packaging Tarek Ziadé 14.1. Introduction There are two schools of thought when it comes to installing applications. The first, common to Windows and Mac OS X, is that applications should be self-contained, and their installation should not depend on anything else. This philosophy simplifies the management of applications: each applicat
Building and Distributing Packages with setuptools setuptools is a collection of enhancements to the Python distutils (for Python 2.3.5 and up on most platforms; 64-bit platforms require a minimum of Python 2.4) that allow you to more easily build and distribute Python packages, especially ones that have dependencies on other packages. Packages built and distributed using setuptools look to the us
Packaging a python library 25 May 2014 (updated 30 September 2019) Note This is about packaging libraries, not applications. ⸻ All the advice here is implemented in a project template (with full support for C extensions): cookiecutter-pylibrary (introduction). I think the packaging best practices should be revisited, there are lots of good tools now-days that are either unused or underused. It's g
Recently I landed a series of contributions to the Python package pip-tools: Support URLs as packages #807 Fix –generate-hashes with bare VCS URLs #812 Fix pip-compile output for unsafe requirements #813 Warn when –generate-hashes output is uninstallable #814 pip-tools is a “set of command line tools to help you keep your pip-based [Python] packages fresh, even when you’ve pinned them.” My changes
โบนัสคาสิโนออนไลน์ที่แตกต่างกัน คุณชอบเล่นเกมคาสิโนแต่ไม่ชอบจ่ายเงินเต็มจำนวนหรือไม่? แล้วสิ่งที่คุณต้องการคือ โบนัสคาสิโนออนไลน์ บาคาร่าออนไลน์ เมื่อคุณสมัครที่คาสิโน คุณจะได้รับคะแนนโบนัสที่คุณสามารถใช้เพื่อรับรางวัล ตั๋วหรือเล่นเกมฟรี นี่คือแนวคิดโบนัสคาสิโนออนไลน์ที่ยอดเยี่ยมที่จะช่วยให้คุณเริ่มต้นได้ วันนี้. รับสูงถึง $10000 ด้วยรหัสโบนัสคาสิโนฟรี: รับสูงถึง $10000 โดยใช้โบนัสคาสิโนฟรี รหัสที
この記事は Python Advent Calendar 2019 の 19 日目の記事です。 🐍 あらすじ Python のパッケージ管理。特にここ数年で新しいツールが多く出たこともあり、一体何を使うべきなのか、少し調べただけでは分からないと思います。本記事では、新しめの管理ツールを独断と偏見で比較します。著者は Poetry 信者なのでバイアスが掛かっているので悪しからず。 本記事で書いていること Pipenv、Poetry、Pyflow の違いと使い方 本記事で書いていないこと Pyenv、Venv、Virtualenv などの既存ツールの説明 著者の環境は以下の通り。 Ubuntu 18.04 Python 3.8.0 Pipenv 2018.11.26 Poetry 1.0.0 Pyflow 0.2.1 特に Poetry と Pyflow は開発途中なので、本記事の内容と違う
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く