Skip to main content

Ice for Python

Getting started | Examples | Documentation | Building from source

The Ice framework provides everything you need to build networked applications, including RPC, pub/sub, server deployment, and more.

Ice for Python is the Python implementation of the Ice framework.

Sample Code

// Slice definitions (Hello.ice)

module Demo
{
    interface Hello
    {
        void sayHello();
    }
}
// Client application (client.py)
import sys
import Ice

Ice.loadSlice('Hello.ice')
import Demo

# Ice.initialize returns an initialized Ice communicator, the communicator is destroyed
# once it goes out of scope.
with Ice.initialize(sys.argv) as communicator:
    hello = Demo.HelloPrx.checkedCast(
        communicator.stringToProxy("hello:default -h localhost -p 10000"))
    hello.sayHello()
// Server application (server.py)

import signal
import sys
import Ice

Ice.loadSlice('Hello.ice')
import Demo

class Printer(Demo.Hello):
    def sayHello(self, current):
        print("Hello World!")

# Ice.initialize returns an initialized Ice communicator, the communicator is destroyed
# once it goes out of scope.
with Ice.initialize(sys.argv) as communicator:

    # Install a signal handler to shutdown the communicator on Ctrl-C
    signal.signal(signal.SIGINT, lambda signum, frame: communicator.shutdown())
    if hasattr(signal, 'SIGBREAK'):
        signal.signal(signal.SIGBREAK, lambda signum, frame: communicator.shutdown())
    adapter = communicator.createObjectAdapterWithEndpoints("Hello", "default -h localhost -p 10000")
    adapter.add(Printer(), Ice.stringToIdentity("hello"))
    adapter.activate()
    communicator.waitForShutdown()

Metadata

Release files for zeroc-ice 3.7.12

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zeroc-ice 3.7.12
File Size Uploaded Provenance Actions
zeroc_ice-3.7.12.tar.gz 1.3 MB Without provenance Details for zeroc_ice-3.7.12.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for zeroc-ice 3.7.12
File Actions
zeroc_ice-3.7.12-cp315-cp315-win_amd64.whl CPython 3.15 CPython 3.15 Windows x86-64 Details for zeroc_ice-3.7.12-cp315-cp315-win_amd64.whl
zeroc_ice-3.7.12-cp315-cp315-macosx_10_15_universal2.whl CPython 3.15 CPython 3.15 macOS 10.15+ universal2 (ARM64, x86-64) Details for zeroc_ice-3.7.12-cp315-cp315-macosx_10_15_universal2.whl
zeroc_ice-3.7.12-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details for zeroc_ice-3.7.12-cp314-cp314-win_amd64.whl
zeroc_ice-3.7.12-cp314-cp314-macosx_10_15_universal2.whl CPython 3.14 CPython 3.14 macOS 10.15+ universal2 (ARM64, x86-64) Details for zeroc_ice-3.7.12-cp314-cp314-macosx_10_15_universal2.whl
zeroc_ice-3.7.12-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for zeroc_ice-3.7.12-cp313-cp313-win_amd64.whl
zeroc_ice-3.7.12-cp313-cp313-macosx_10_13_universal2.whl CPython 3.13 CPython 3.13 macOS 10.13+ universal2 (ARM64, x86-64) Details for zeroc_ice-3.7.12-cp313-cp313-macosx_10_13_universal2.whl

Total release size: 73.4 MB

Release files / zeroc_ice-3.7.12.tar.gz

Download URL zeroc_ice-3.7.12.tar.gz
Size 1.3 MB
Tags Source
SHA-256 checksum
How to use checksums
13529a6259d09e7ece224f7aade56583af0c24a7103a47bb76392675cc516b63
BLAKE2b-256 checksum
How to use checksums
eb292afffe5152378b92e4ea6499404fe243f82ffb3e4a88abfde1b5709e55d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / zeroc_ice-3.7.12-cp315-cp315-win_amd64.whl

Download URL zeroc_ice-3.7.12-cp315-cp315-win_amd64.whl
Size 19.0 MB
Tags CPython 3.15 Windows x86-64
SHA-256 checksum
How to use checksums
0c61fcb54579a81512e76b2949bf4f6b04ad9d46b811600afaf37b30c4a5abf2
BLAKE2b-256 checksum
How to use checksums
96e8bb7b40f5e8fc069f63457d8933b720f5d29968a0cb9e2fcc25a38a4c1e79
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / zeroc_ice-3.7.12-cp315-cp315-macosx_10_15_universal2.whl

Download URL zeroc_ice-3.7.12-cp315-cp315-macosx_10_15_universal2.whl
Size 5.1 MB
Tags CPython 3.15 macOS 10.15+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
31a9fd7c13fa38c1907a5b860748489be8ed64d0676d3e1762842d301e716c6a
BLAKE2b-256 checksum
How to use checksums
e8f80465719842e244bf35045144b810f4c2f492d052852084e8944c182af8a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / zeroc_ice-3.7.12-cp314-cp314-win_amd64.whl

Download URL zeroc_ice-3.7.12-cp314-cp314-win_amd64.whl
Size 19.0 MB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
9d04de131c5b1885abf957b32d09cba0f3bfade7a9a515ad6b1af2ccf92ddfa4
BLAKE2b-256 checksum
How to use checksums
971ef5d8c5c3516b3b2ef13d2efb7b1dd8add8dcd08cdfaf2b61b70d618303a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / zeroc_ice-3.7.12-cp314-cp314-macosx_10_15_universal2.whl

Download URL zeroc_ice-3.7.12-cp314-cp314-macosx_10_15_universal2.whl
Size 5.1 MB
Tags CPython 3.14 macOS 10.15+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
9606b41e4b70d45454ec21db2a26deba9a7fca8248d49ae2ec686cc624281cbe
BLAKE2b-256 checksum
How to use checksums
78a708799ea2d8de0dc65c38c3a732dda07a20abbb4c65b5eadb7fddca48f75e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / zeroc_ice-3.7.12-cp313-cp313-win_amd64.whl

Download URL zeroc_ice-3.7.12-cp313-cp313-win_amd64.whl
Size 18.7 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
8f98ad051a50433257cb2163d65d32579bbf271759f759a03984a5c02671e12a
BLAKE2b-256 checksum
How to use checksums
844964d14c82733ab7af90b198980b5461a40c53cddc20206a651bf50028a095
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / zeroc_ice-3.7.12-cp313-cp313-macosx_10_13_universal2.whl

Download URL zeroc_ice-3.7.12-cp313-cp313-macosx_10_13_universal2.whl
Size 5.1 MB
Tags CPython 3.13 macOS 10.13+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
e8c85f4469ded97f13125214b232dcbec68f47b0aef7e7c918302bf48943d100
BLAKE2b-256 checksum
How to use checksums
2b6e03a80b32291f0f77baccd314157a41580404e9f12e230fff3df588d4f9c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Security for zeroc-ice 3.7.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

3.7.12 This release

7 release files No provenance

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