Skip to main content

Библиотека для работы с данными и т.д.

Project description

📦 SUWWP V0.2.0 - Speeding up Work with Python (SUW2P)

Create by Xwared Team and Dovintc, Project SUWWP - Speeding up Work with Python (SUW2P)

Инструмент для ускоренной работы с данными в Python

Функции:

1. time_now(format="YHMS", sep="str", help="bool"):

print(time_now(format="HM")) выводит время в формате HH:MM вывод: 09:33

print(time_now(format="jHM")) выдаст ошибку "ValueError("Invalid format character")"

print(time_now(format="HM", sep=" / ")) меняет разделитель на /, вывод: 09 / 33

print(time_now(format="YHMS", sep=":::")) потдерживает любые форматы! вывод: 2025:::09:::33:::53

print(time_now(format="MSв", help=True)) потдержка вспомогательных символов для более точного понятия часов минут и т.д. вывод: 33M:53S

2. file_read(file_path=str, expansion=".txt", encoding="utf-8"):

content = file_read(file_path="./file.txt") вернет весь текст из файла

3. structure_project(folder_path = ".", Mode="files", WMode=True):

structure_project(folder_path=".") вернет только файлы (только их названия)

structure_project(folder_path=".", Mode="file-directory") вернет не только файлы но и папки (также только их название)

structure_project(folder_path=".", Mode="file-directory", WMode=False) вернет Mode вместе с папками и файлами в виде списка

Установка

pip install SUWWP==0.2.0

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

suwwp-0.2.0.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

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

suwwp-0.2.0-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file suwwp-0.2.0.tar.gz.

File metadata

  • Download URL: suwwp-0.2.0.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for suwwp-0.2.0.tar.gz
Algorithm Hash digest
SHA256 01d67527394b6dea4534bb37bb6fe2430738b2dd26c7408bcd7e33fa4b92d4db
MD5 d025603aa7bff429eee1acb1adba587d
BLAKE2b-256 e3b63ea2c35ffaa32e08f10b1574eab8a21ab3187b5aef9f93b1950d7f2b8d2e

See more details on using hashes here.

File details

Details for the file suwwp-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: suwwp-0.2.0-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.11.2

File hashes

Hashes for suwwp-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 646d0e37043280b3f046d09628b492044139cda1822dac309a2e9c52a28f092b
MD5 e73cc6c6f3b5b424185bd73f07a9a7dc
BLAKE2b-256 4b885c9fb712cec849aaeb87efae8bbde304bbb6bd6320c7af46c10676017de3

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