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.4.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: john_filler-0.1.4.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.4.tar.gz
Algorithm Hash digest
SHA256 e10e2fa1500524c18ec686a3c24497b2ba4c178907e520aa9244dc59fa44fc00
MD5 0f912799491db0d75a1d0ca443114fcc
BLAKE2b-256 e855130b3ad7564ba7ada4205d949be83d29b40ad792a5c73c049b62db6c4784

See more details on using hashes here.

File details

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

File metadata

  • Download URL: john_filler-0.1.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6904b31304188c6412cfabc7319b173c785b3404dc38dfdd044416f784d4c5d9
MD5 020ec42309fc9d971b9f35b0d6180560
BLAKE2b-256 682999d84f5927af9dd2a8e381f25e8d6b032b06c94ef172d1c17a12a339cef6

See more details on using hashes here.

Supported by

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