Constants

jetstream.constants.API_VERSION = 34

Version of the API spoken by this Python package.

jetstream.constants.BUILD_VERSION = (2, 6, 2)

Version of JetStream this Python package came from.

jetstream.constants.DEFAULT_API_PORT = 8886

By default, the API will connect to a server using the following TCP control port.

jetstream.constants.DEFAULT_SERVER_ADDRESS = 'localhost'

By default, the API will attempt to connect to a server running on ‘localhost’.

jetstream.constants.DEFAULT_TIMEOUT_SECONDS = 10

By default, connection attempts will timeout and fail if unresponsive for 10 seconds.

jetstream.constants.FILETYPE_DIRECTORY = 2

Identify a manifest mapping item as a directory.

Type:Manifest flags
jetstream.constants.FILETYPE_REGULAR_FILE = 4

Identify a manifest mapping item as a regular file.

Type:Manifest flags
jetstream.constants.MIN_CIPHER_ENCRYPTED_128 = 2

Data is encrypted and authenticated with strong 128-bit security.

Type:Min Cipher
jetstream.constants.MIN_CIPHER_ENCRYPTED_256 = 3

Data is encrypted and authenticated with strong 256-bit security. Encryption is stronger than the 128-bit version, but requires around 20% more processing power.

Type:Min Cipher
jetstream.constants.MIN_CIPHER_NONE = 0

No encryption or validation. Data can viewed and changed by a third party. Should not be used for production purposes.

Type:Min Cipher
jetstream.constants.MIN_CIPHER_UNENCRYPTED = 1

Data is not encrypted, but is still authenticated. Data can be viewed but not altered or forged by a third-party.

Type:Min Cipher
jetstream.constants.OVERWRITE_ALWAYS = 4

Use partfiles, and overwrite existing files.

Type:Overwrite Mode
jetstream.constants.OVERWRITE_IN_PLACE_SAME_SIZE = 2

Overwrite files only if the existing file is same or zero (0) size.

Type:Overwrite Mode
jetstream.constants.OVERWRITE_NEVER = 3

Use partfiles, and never overwrite existing files. Instead of overwriting, the partfile will be left in place.

Type:Overwrite Mode
jetstream.constants.OVERWRITE_VERSIONED = 5

Use partfiles, and overwrite existing files. The original file will be backed up with a .jetbak extension.

Type:Overwrite Mode
jetstream.constants.PERMISSIONS

alias of jetstream.global_constants.Permissions

Follow the symlink and copy the file contents.

Type:Symbolic Links

Ignore (do not copy) symbolic links.

Type:Symbolic Links
jetstream.constants.TRANSFER_FLAG_NONE = 0

Disable both read and write flags. This is most useful for performance and network debugging.

Type:Transfer flags
jetstream.constants.TRANSFER_FLAG_READ = 1

Enable read flag. Transfers with this flag will skip writing to disk at destination, and will only read at sender side. This is most useful for performance and network debugging.

Type:Transfer flags
jetstream.constants.TRANSFER_FLAG_READ_WRITE = 3

Enable both read and write flags. This is the default value.

Type:Transfer flags
jetstream.constants.TRANSFER_FLAG_WRITE = 2

Enable write flag. Transfers with this flag will will skip reading from disk, and will only write at the destination. This is most useful for performance and network debugging.

Type:Transfer flags
jetstream.constants.TRANSFER_FLAG_WRITE_MTIME = 4

Set the modification time on the destination to match the source.

Type:Transfer flags
jetstream.constants.TRANSFER_FLAG_WRITE_ONLY_NEWER = 8

Don’t write the file if the destination file exists and is newer than the source.

Type:Transfer flags