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.2.tar.gz (4.0 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.2-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: john_filler-0.1.2.tar.gz
  • Upload date:
  • Size: 4.0 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.2.tar.gz
Algorithm Hash digest
SHA256 1428bd4418f5717263feb3460bd63e00264525a28cb13757afcf89a15f60d911
MD5 5f4a8eee1476f454dff8dfd5759dd9dd
BLAKE2b-256 53400eefcec0a8a8dda1abc82db00a2b8b0a0d746a64f36fe1663dca651c8512

See more details on using hashes here.

File details

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

File metadata

  • Download URL: john_filler-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.5 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 af395a2e7b6acd8476f4a2b41c08cb250064d83bb66d411574aa016cef1de2e7
MD5 79230e305f15f4eb94c2a6ebf113aff4
BLAKE2b-256 3fdf4f2929896b9e69e0dfa806e2c7e0a0ff811fa343aa71eb5a26be5f07900c

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