Skip to main content

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)

Source distribution for ships 1.9.0
File Size Uploaded
ships-1.9.0.tar.gz 377.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ships 1.9.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

1.9.0 This release

2 release files

1.8.0

2 release files

1.7.0

2 release files

1.6.0

2 release files

1.5.2

2 release files

1.5.1

2 release files

1.5.0

1 release file

1.4.0

2 release files

1.3.8

2 release files

1.2.8

2 release files

1.2.7

2 release files

1.2.6

2 release files

1.2.5

2 release files

1.2.4

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.9

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

1 release file

1.0.1

1 release file

1.0.0

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page