Bravo! You have received a Medical Diploma in Ships from
the Orbital Convergence University International Air and Water Embassy of the Tangerine Planet.
You are now officially certified to include "ships" in your practice.
ships
description
This is a kit of python3 modules.
install
[ZSH] pip install ships
check equality
[xonsh] ships check-equality --dir-1 {dir 1} --dir-2 {dir 2}
find and replace a string
Make sure the git repository doesn't have any changes before
running this, in the event that there is a problem.
Itinerary: add "exclude_paths".
Caution: Make sure there aren't any image or video files in the path.
import ships.paths.directory.find_and_replace_string_v2 as find_and_replace_string_v2
import pathlib
from os.path import dirname, join, normpath
this_folder = pathlib.Path (__file__).parent.resolve ()
find_and_replace_string_v2.start (
the_path = str (this_folder) + "/DB",
find = 'region 1',
replace_with = 'region one',
replace_contents = "yes",
replace_paths = "yes"
)
simultaneous_v2
from ships.flow.simultaneous_v2 import simultaneously_v2
import time
def move (item):
print ("starting", item)
time.sleep (item)
result = f"Processed item: {item}"
print (result)
return result
proceeds = simultaneously_v2 (
items = [3.5, 1, 2, 1.1, 4, 1.11, 1.12, 1.13],
capacity = 4,
move = move
)
Metadata
Release files for ships 1.9.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ships-1.9.0.tar.gz | 377.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ships-1.9.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 649.9 kB
Release files / ships-1.9.0.tar.gz
| Download URL | ships-1.9.0.tar.gz |
|---|---|
| Size | 377.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b58067f6b089ef59c2bbedd274083d6941ca8007c347cec00a8b3f5d9aeaae32
|
|
BLAKE2b-256 checksum How to use checksums |
4705d4a982d5a45c4988bdb0ef8767a06b5f3e76cbd9cd23cb6073d919e9fd3b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.10.12 Linux/6.8.0-40-generic
|
Release files / ships-1.9.0-py3-none-any.whl
| Download URL | ships-1.9.0-py3-none-any.whl |
|---|---|
| Size | 272.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
04b3766335c426491ac75e3e894241b26e18ea2256b6ae4f288d1a077e7f5c3d
|
|
BLAKE2b-256 checksum How to use checksums |
8fd685ad01fd800975bf6fd42d647b1ec703f89dcddfb4c90c9166d61a4babe5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.10.12 Linux/6.8.0-40-generic
|