A simple Python Utils Pkg
Project description
NPyUtils
NPyUtils는 간단한 Util 기능을 제공하는 Python 패키지입니다.
NPyUtils
putin(string, count, sel, front)
# string에 어떤 문자를 넣을 지,
# count에 몇개의 문자를 넣을 지,
# sel에 어떤 문자에 넣을 지,
# front 'True'시 앞, 'False'시 뒤에 넣음
LstUtils
#(index 0부터)
gop(value) # 리스트의 있는 수를 모두 곱함
nanu(value) # 리스트의 있는 수를 모두 나눔
minus(value) # 리스트의 있는 수를 모두 뺌
plus(value) # 리스트의 있는 수를 모두 더함
NCaptcha
간단한 캡챠
captcha_b1(way)
# way에 ["number", "string", "all"] 중 하나 선택
# number: 숫자만
# string: 영어 대소문자만
# all: 전체
# return 값은 문자열로 ex: "123456", "exQjde", "ie67Ex"
# 길이는 6
⚠️ 주의사항:
위 NCaptcha [b1]에 해당
-
이 코드는 단일 사용자 기준으로 작동합니다.
-
여러 사용자가 동시에 사용하거나, 웹 서버 등에서 공유 변수(cap)를 사용할 경우 예상치 못한 동작이 발생할 수 있습니다.
-
사용자마다 개별
var값을 생성/저장하여 처리해야 하며, 웹 기반에서 사용할 경우 세션 또는 사용자 고유한 식별자를 사용해 관리해야 합니다.
설치
pip install NPyUtils
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
npyutils-0.0.2.tar.gz
(3.6 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 npyutils-0.0.2.tar.gz.
File metadata
- Download URL: npyutils-0.0.2.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c9873e259c4a52ff1ea18f4ac55521f20b3ef965158dca03660958f99137f14
|
|
| MD5 |
1241073d3010a83af4925b3a182f314a
|
|
| BLAKE2b-256 |
e53312b445ebd7bfb2ba30d2772bde5d6ff59f0f4effc5dea9b2c51825cf6a01
|
File details
Details for the file npyutils-0.0.2-py3-none-any.whl.
File metadata
- Download URL: npyutils-0.0.2-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da6dcc5fe2267f3305719f1cd942abfdb801c5a20e62f59ff03efab2571b737c
|
|
| MD5 |
a3acdb28df61a40c7784ee12c9cc911d
|
|
| BLAKE2b-256 |
e37b9472b491157098e42ef99fdf823f8a670e8b6c42f5ed3efe6e20d58b4546
|