Skip to main content

John team's filler

Project description

john_filler

john_fillerは42の課題、fillerのPython実装です。

開発者向け情報

poetryインストール手順

  1. 公式のインストール手順に従いインストール。

    pythonだと2系なので、python3に変更しています。

    curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | python3 - 
    
  2. ~/.zshrcを編集。poetryのPATHを追加するコマンドを追記します。

    export PATH="/Users/{login}/Library/Python/3.9/bin:$PATH"
    

    ~/.zshrcの変更を今のshellに反映します。

    source ~/.zshrc
    
  3. venvの保存場所の設定を変更

    venvはデフォルトで /Users/{login}/Library/Caches/pypoetry/virtualenvs にインストールされます。

    プロジェクトの中に置きたいので、設定を行います。

    poetry config virtualenvs.in-project true
    

    設定を行うと、poetry addなどで、{プロジェクトのディレクトリ}/.venv に仮想環境が作られます。

    poetry shell で仮想環境の中に入ることができます。

PyPIへのパッケージアップロード手順

参考

  1. PyPI or TestPyPI にユーザ登録します。

  2. API Tokenを発行、poetryに登録します。

  3. パッケージをビルドします。

    poetry build
    
  4. パッケージをアップロードします。

    # TestPyPI
    poetry publish -r testpypi
    # PyPI
    poetry publish
    

    アップロードの際、バージョンが既にあるバージョンとは異なる必要があります(パッケージを削除してもNGなようです)。

    このため、TestPyPIにアップロードして確認後、PyPIにアップロードが安全かと思います。

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

john_filler-0.1.1.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

john_filler-0.1.1-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file john_filler-0.1.1.tar.gz.

File metadata

  • Download URL: john_filler-0.1.1.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.8.2 Darwin/18.7.0

File hashes

Hashes for john_filler-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d6725e7cba4c39ef9372f732ca7db533ab95dd943e4354a0457f0c5ecbe3bb03
MD5 72183e4c3f19d3df6455b7f2be7374eb
BLAKE2b-256 98ff8643025107437ee09ffd3a32b9fd0f7908fd2c52f03e14cfc869c85950f6

See more details on using hashes here.

File details

Details for the file john_filler-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: john_filler-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.8.2 Darwin/18.7.0

File hashes

Hashes for john_filler-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 20ef419acab86725da9c945cae2242a225535516b8e70216dea9f02b20f5eff2
MD5 100a7d0adc629ec5c88a5ff9e5cb6af6
BLAKE2b-256 cbedce4e84fd0109bac9b5aa97f93013fa253f86b370efd23e14366ff16647a5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page