The page you navigated to does not exist, so we brought you to the closest page to it.
| Class |
Description |
FastPackageOptions |
FastPackageOptions is used to set configuration options when packaging files. |
| Property |
Type |
Description |
FAST_FILEENDING |
str |
|
FAST_PREFIX |
str |
|
PICKLE_FILE_PATH |
str |
|
def compress_tarball(
source: os.PathLike,
output: os.PathLike,
)
Compress code tarball using pigz if available, otherwise gzip
| Parameter |
Type |
Description |
source |
os.PathLike |
|
output |
os.PathLike |
|
def compute_digest(
source: Union[os.PathLike, List[os.PathLike]],
filter: Optional[callable],
) -> str
Walks the entirety of the source dir to compute a deterministic md5 hex digest of the dir contents.
| Parameter |
Type |
Description |
source |
Union[os.PathLike, List[os.PathLike]] |
|
filter |
Optional[callable] |
|
def download_distribution(
additional_distribution: str,
destination: str,
)
Downloads a remote code distribution and overwrites any local files.
| Parameter |
Type |
Description |
additional_distribution |
str |
|
destination |
str |
|
def fast_package(
source: os.PathLike,
output_dir: os.PathLike,
deref_symlinks: bool,
options: Optional[FastPackageOptions],
) -> os.PathLike
Takes a source directory and packages everything not covered by common ignores into a tarball
named after a hexdigest of the included files.
| Parameter |
Type |
Description |
source |
os.PathLike |
|
output_dir |
os.PathLike |
|
deref_symlinks |
bool |
|
options |
Optional[FastPackageOptions] |
The CopyFileDetection option set to None :return os.PathLike: |
def get_additional_distribution_loc(
remote_location: str,
identifier: str,
) -> str
| Parameter |
Type |
Description |
remote_location |
str |
|
identifier |
str |
|
def print_ls_tree(
source: os.PathLike,
ls: typing.List[str],
)
| Parameter |
Type |
Description |
source |
os.PathLike |
|
ls |
typing.List[str] |
|
FastPackageOptions is used to set configuration options when packaging files.
class FastPackageOptions(
ignores: list[Ignore],
keep_default_ignores: bool,
copy_style: Optional[CopyFileDetection],
show_files: bool,
)
| Parameter |
Type |
Description |
ignores |
list[Ignore] |
|
keep_default_ignores |
bool |
|
copy_style |
Optional[CopyFileDetection] |
|
show_files |
bool |
|