Skip to main content

Frequently used processes are made into functions

Project description

pyfunc_happyset

Overview

Pythonの自分的便利関数詰め合わせセット

Requirement

  • MacOS
  • Python 3.11.5

Features

データ取得系

  • csvファイルから読み込んでリストにする : Get_csv2List
  • テキストファイルから任意の区切り文字で読み込んでリストにする : Get_text2List
  • 指定したリストの重複を削除する : Get_uniqueList
  • 辞書型で値からキーを取得する : Get_keyFromValue

データ書き込み

  • 1次元配列を指定したファイルの末尾に追加する : Write_a_1dlist
  • 2次元配列を指定したファイルの末尾に追加する : Write_a_2dlist
  • 1次元配列を指定したファイルに上書きする : Write_w_1dlist
  • 2次元配列を指定したファイルに上書きする : Write_w_2dlist

ファイル操作

  • 指定したディレクトリの下にあるディレクトリの名前をリストで返す : Get_dirList
  • 指定したディレクトリの下にあるファイルの名前をリストで返す : Get_fileList
  • 指定したディレクトリの下にあるファイルの絶対パスを返す : Get_filepathList
  • 指定したファイルを指定した場所に移動する : Move_file
  • ディレクトリの中身を空にする : Clear_dir
  • ファイルの中身を空にする : Clear_file
  • 指定したディレクトリ以下の構造を複製する : Copy_dir

そのほか

  • 2次元配列を1次元配列にする : Conv_2dListTo1dList
  • 正規表現にマッチする箇所を置き換える : Replace_match
  • 指定秒停止する : Wait

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

happyset-1.1.4.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

happyset-1.1.4-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file happyset-1.1.4.tar.gz.

File metadata

  • Download URL: happyset-1.1.4.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.5

File hashes

Hashes for happyset-1.1.4.tar.gz
Algorithm Hash digest
SHA256 05b32ccb09df792d8cd340db81770dd961e92f140cdbbee3b0ee78d8f6bc5c08
MD5 8bafce01cff5c109f90f8fe564209974
BLAKE2b-256 4a0e335196d820bcebd026f09c221d23c4ae91fc019f021d73c7a256198cfe05

See more details on using hashes here.

File details

Details for the file happyset-1.1.4-py3-none-any.whl.

File metadata

  • Download URL: happyset-1.1.4-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.5

File hashes

Hashes for happyset-1.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 fc9b405b8153f57b3270b90322d5093bc0d88c6e13bc134a831e54efbd27de9a
MD5 8d4aa221c4c433944c6f78d6113fd923
BLAKE2b-256 1c87c9c261bd4930fa69a22a747fca32e3a2d458edc994479d3b32f8225087db

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