Library to get all package names registered with PyPI at once!
Project description
pypi_all_names
PyPI에 등록된 모든 패키지 이름을 가져와 파이썬 리스트로 반환하고, 필요시 JSON 또는 TXT 파일로 저장할 수 있는 라이브러리 입니다.
설치
pip로 설치(권장)
pip install pypi_all_names
git clone하여 설치
pip install git+https://github.com/gaon12/pypi_all_names
사용 예시
1) 파이썬 코드에서 함수 호출
from pypi_all_names.fetcher import fetch_all_package_names, save_as_json, save_as_txt
# 모든 패키지 이름을 리스트로 가져옴
names = fetch_all_package_names()
# JSON 파일로 저장
save_as_json(names, 'all_packages.json')
# TXT 파일로 저장
save_as_txt(names, 'all_packages.txt')
2) 커맨드라인에서 사용
-
표준 출력(한 줄씩 패키지 이름 출력):
pypi-all-names
-
JSON으로 저장:
pypi-all-names -f json -o all_packages.json
-
TXT로 저장:
pypi-all-names -f txt -o all_packages.txt
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pypi_all_names-1.0.0.tar.gz
(4.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pypi_all_names-1.0.0.tar.gz.
File metadata
- Download URL: pypi_all_names-1.0.0.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a6a88530df20961f150b6fb27be8aa94d6e2bd27c0afa33fbda24cb4fd09b47f
|
|
| MD5 |
929e34af566e6e873c9665ded275783b
|
|
| BLAKE2b-256 |
fccd72057c65a1c90e69e22427522569f8eca85c5ab0d46ff44f2e2be0491c01
|
File details
Details for the file pypi_all_names-1.0.0-py3-none-any.whl.
File metadata
- Download URL: pypi_all_names-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7f7c765da731811f405b43eed1254b653abc764dd5b19331ace96e8193d0781d
|
|
| MD5 |
57cb7b9943373051039a95b504307090
|
|
| BLAKE2b-256 |
1c459bf4cf520736d4beece3e7a049e47b08ce88e62b42e21dab96cc15284fbf
|