Skip to main content

a python script house containing handy functions for daily use

Project description

script-house

This repo is a handy Python module for my daily use — script-house. Most of my Python projects are expected to depend on this fundamental module.

script-house mainly includes two packages:

  • utils: Tools for development.
  • ops: Tools(scripts) for daily use.

Dependencies

Dependencies for this module are file-based. If users want to use functions from a specific file, they only need to install the corresponding dependencies (an exception will be thrown if not installed). Here is a list of dependencies for all files, which users can install in advance to avoid exceptions:

File Command to Install Dependencies
.utils.JsonUtils pip install pydantic==2.5.3 bson==0.5.10 pymongo==4.6.1
.ops.MarkdownOperation pip install requests markdown beautifulsoup4

Usage

Installation:

pip install script-house

Keep updated to the latest version:

pip install --upgrade script-house

For Developers

(Reminder for myself on how to use)

How to Build

python.exe .\setup.py bdist_wheel sdist

How to Upload to PyPI

  1. Get api_token

  2. Create a .pypirc file and place it in the $HOME directory (for Windows, place it in C:\Users\Username) .pypirc format:

    [pypi]
      username = __token__
      password = <api_token>
    
  3. pip install wine

  4. Upload: twine upload dist/script_house-x.y.z-py3-none-any.whl

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

script_house-1.1.1-py3-none-any.whl (27.3 kB view details)

Uploaded Python 3

File details

Details for the file script_house-1.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for script_house-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6641ae8c3cadb2a5d5e3fe270ffe07689e24a7276580c005748c510df2583eed
MD5 7f0a7cf5b7cf293bc1c49676902ce86a
BLAKE2b-256 3408e8bb548355ad94da49bf3fc31c3b5bf08679ef108835b69d1c815652e6e0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page