Skip to content

Commit 1ff2f60

Browse files
authored
Merge pull request #2 from bybatkhuu/dev
🐛 Add utility functions for date and time handling, HTTP requests…
2 parents 6213c76 + f565ef3 commit 1ff2f60

39 files changed

Lines changed: 37 additions & 37 deletions

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/bybatkhuu/module.python-utils/2.build-publish.yml?logo=GitHub)](https://github.com/bybatkhuu/module.python-utils/actions/workflows/2.build-publish.yml)
55
[![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/bybatkhuu/module.python-utils?logo=GitHub&color=blue)](https://github.com/bybatkhuu/module.python-utils/releases)
66

7-
'potato_utils' is collection of simple useful utils package for python.
7+
'potato_util' is collection of simple useful utils package for python.
88

99
## ✨ Features
1010

@@ -74,7 +74,7 @@ git clone git@github.com:bybatkhuu/module.python-utils.git && \
7474
**OPTION A.** [**RECOMMENDED**] Install from **PyPi**:
7575

7676
```sh
77-
pip install -U potato_utils
77+
pip install -U potato-util
7878
```
7979

8080
**OPTION B.** Install latest version directly from **GitHub** repository:
@@ -106,10 +106,10 @@ pip install -e .[dev]
106106

107107
```sh
108108
# Install from .whl file:
109-
pip install ./potato_utils-[VERSION]-py3-none-any.whl
109+
pip install ./potato_util-[VERSION]-py3-none-any.whl
110110

111111
# Or install from .tar.gz file:
112-
pip install ./potato_utils-[VERSION].tar.gz
112+
pip install ./potato_util-[VERSION].tar.gz
113113
```
114114

115115
**OPTION F.** Copy the **module** into the project directory (for **testing**):
@@ -119,9 +119,9 @@ pip install ./potato_utils-[VERSION].tar.gz
119119
pip install -r ./requirements.txt
120120

121121
# Copy the module source code into the project:
122-
cp -r ./src/potato_utils [PROJECT_DIR]
122+
cp -r ./src/potato_util [PROJECT_DIR]
123123
# For example:
124-
cp -r ./src/potato_utils /some/path/project/
124+
cp -r ./src/potato_util /some/path/project/
125125
```
126126

127127
## 🚸 Usage/Examples

__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# flake8: noqa
22

33
try:
4-
from .src.potato_utils import *
4+
from .src.potato_util import *
55
except ImportError:
6-
from src.potato_utils import *
6+
from src.potato_util import *

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ hide:
77

88
# Introduction
99

10-
'potato_utils' is collection of simple useful utils package for python.
10+
'potato_util' is collection of simple useful utils package for python.
1111

1212
## ✨ Features
1313

docs/api-docs/dt.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ title: Datetime Utilities
44

55
# Datetime Utilities
66

7-
::: src.potato_utils.dt
7+
::: src.potato_util.dt

docs/api-docs/http.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ title: HTTP Utilities
44

55
# HTTP Utilities
66

7-
::: src.potato_utils.http
7+
::: src.potato_util.http

docs/api-docs/io.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ title: IO Utilities
44

55
# IO Utilities
66

7-
::: src.potato_utils.io
7+
::: src.potato_util.io

docs/api-docs/sanitizer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ title: Sanitizer Utilities
44

55
# Sanitizer Utilities
66

7-
::: src.potato_utils.sanitizer
7+
::: src.potato_util.sanitizer

docs/api-docs/secure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ title: Secure Utilities
44

55
# Secure Utilities
66

7-
::: src.potato_utils.secure
7+
::: src.potato_util.secure

docs/api-docs/validator.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ title: Validator Utilities
44

55
# Validator Utilities
66

7-
::: src.potato_utils.validator
7+
::: src.potato_util.validator

docs/dev/file-structure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ project/
2828
| | ├── module_1/
2929
| | ├── module_2/
3030
| | └── .../
31-
| └── potato_utils/ # Main CODEBASE of this project as a python module
31+
| └── potato_util/ # Main CODEBASE of this project as a python module
3232
| ├── __init__.py # Initialize the module to be used as a package
3333
| ├── __version__.py # Version of the module (should be updated and used with each release)
3434
| └── ... # Other main python files of this module

0 commit comments

Comments
 (0)