Skip to content
This repository was archived by the owner on Oct 22, 2025. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
* add ws & eventsource as dev dependencies of rivetkit so it can build ([1cdf9c4](https://github.com/rivet-gg/rivetkit/commit/1cdf9c4351367a152224697029b047e5ef66518a))
* changelog for 0.6.3 ([cf6d723](https://github.com/rivet-gg/rivetkit/commit/cf6d723a081029e8241a643186d41a09701192bd))
* fix grammar on index ([#689](https://github.com/rivet-gg/rivetkit/issues/689)) ([dac5660](https://github.com/rivet-gg/rivetkit/commit/dac566058490c28ad34511dcee77c962602c6a3e))
* fix typo of "Actor Core" -> "ActorCore" ([#707](https://github.com/rivet-gg/rivetkit/issues/707)) ([d1e8be5](https://github.com/rivet-gg/rivetkit/commit/d1e8be523fc75e1c55ad529bd85bc832a545b12a))
* fix typo of "Actor Core" -> "RivetKit" ([#707](https://github.com/rivet-gg/rivetkit/issues/707)) ([d1e8be5](https://github.com/rivet-gg/rivetkit/commit/d1e8be523fc75e1c55ad529bd85bc832a545b12a))
* increase RPC timeout from 5s to 60s ([#705](https://github.com/rivet-gg/rivetkit/issues/705)) ([ec6a478](https://github.com/rivet-gg/rivetkit/commit/ec6a478e9ffff91028e8f2f718c79e65d3479354))
* **main:** release 0.6.2 ([#693](https://github.com/rivet-gg/rivetkit/issues/693)) ([73c3399](https://github.com/rivet-gg/rivetkit/commit/73c3399a96a720ff5663ee359e686aa6e573737b))
* **main:** release 0.6.3 ([#697](https://github.com/rivet-gg/rivetkit/issues/697)) ([40fbcc1](https://github.com/rivet-gg/rivetkit/commit/40fbcc11d115761f27a843f6cac816449fc61ceb))
Expand All @@ -196,7 +196,7 @@
* update changelog for 0.7.0 ([#715](https://github.com/rivet-gg/rivetkit/issues/715)) ([dba8085](https://github.com/rivet-gg/rivetkit/commit/dba808513f2fb42ebd84f0d1dd21b3798223fda1))
* update changelog for 0.7.1 ([#731](https://github.com/rivet-gg/rivetkit/issues/731)) ([f2e0cb3](https://github.com/rivet-gg/rivetkit/commit/f2e0cb3b18131086765478812498e605d3be2ff8))
* update lockfile ([7b61057](https://github.com/rivet-gg/rivetkit/commit/7b6105796a2bbec69d75dbd0cae717b2e8fd7827))
* update platforms to support `ActorCoreApp` ([#712](https://github.com/rivet-gg/rivetkit/issues/712)) ([576a101](https://github.com/rivet-gg/rivetkit/commit/576a101dcfcbe5c44ff771db1db64b275a68cf81))
* update platforms to support `RivetKitApp` ([#712](https://github.com/rivet-gg/rivetkit/issues/712)) ([576a101](https://github.com/rivet-gg/rivetkit/commit/576a101dcfcbe5c44ff771db1db64b275a68cf81))

## [0.7.0](https://github.com/rivet-gg/rivetkit/compare/v0.6.3...v0.7.0) (2025-03-16)

Expand Down Expand Up @@ -226,15 +226,15 @@
### Chores

* add ws & eventsource as dev dependencies of rivetkit so it can build ([1cdf9c4](https://github.com/rivet-gg/rivetkit/commit/1cdf9c4351367a152224697029b047e5ef66518a))
* fix typo of "Actor Core" -> "ActorCore" ([#707](https://github.com/rivet-gg/rivetkit/issues/707)) ([d1e8be5](https://github.com/rivet-gg/rivetkit/commit/d1e8be523fc75e1c55ad529bd85bc832a545b12a))
* fix typo of "Actor Core" -> "RivetKit" ([#707](https://github.com/rivet-gg/rivetkit/issues/707)) ([d1e8be5](https://github.com/rivet-gg/rivetkit/commit/d1e8be523fc75e1c55ad529bd85bc832a545b12a))
* increase RPC timeout from 5s to 60s ([#705](https://github.com/rivet-gg/rivetkit/issues/705)) ([ec6a478](https://github.com/rivet-gg/rivetkit/commit/ec6a478e9ffff91028e8f2f718c79e65d3479354))
* release 0.7.0 ([0a9b745](https://github.com/rivet-gg/rivetkit/commit/0a9b745f966379ed324be2a354d91999cb65e1f1))
* release version 0.7.0 ([0fbc3da](https://github.com/rivet-gg/rivetkit/commit/0fbc3da0430581cc47543d2904c8241fa38d4f0e))
* rename onInitialize -> onCreate ([#714](https://github.com/rivet-gg/rivetkit/issues/714)) ([3b9b106](https://github.com/rivet-gg/rivetkit/commit/3b9b1069d55352545291e4ea593b05cd0b8f89f5))
* rename rpcs -> actions ([#711](https://github.com/rivet-gg/rivetkit/issues/711)) ([8957e56](https://github.com/rivet-gg/rivetkit/commit/8957e560572e7594db03d9ea631bf32995a61bd0))
* show full subpath to value that cannot be serialized when setting invalid state ([#706](https://github.com/rivet-gg/rivetkit/issues/706)) ([a666bc3](https://github.com/rivet-gg/rivetkit/commit/a666bc37644966d7482f54370ab92c5b259136b9))
* update changelog for 0.7.0 ([#715](https://github.com/rivet-gg/rivetkit/issues/715)) ([dba8085](https://github.com/rivet-gg/rivetkit/commit/dba808513f2fb42ebd84f0d1dd21b3798223fda1))
* update platforms to support `ActorCoreApp` ([#712](https://github.com/rivet-gg/rivetkit/issues/712)) ([576a101](https://github.com/rivet-gg/rivetkit/commit/576a101dcfcbe5c44ff771db1db64b275a68cf81))
* update platforms to support `RivetKitApp` ([#712](https://github.com/rivet-gg/rivetkit/issues/712)) ([576a101](https://github.com/rivet-gg/rivetkit/commit/576a101dcfcbe5c44ff771db1db64b275a68cf81))

## [0.6.3](https://github.com/rivet-gg/rivetkit/compare/v0.6.2...v0.6.3) (2025-03-13)

Expand Down
2 changes: 1 addition & 1 deletion clients/python/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ edition = "2021"
publish = false

[lib]
name = "actor_core_client"
name = "rivetkit_client"
crate-type = ["cdylib"]

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion clients/python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ pip install python-rivetkit-client
### Step 2: Connect to Actor

```python
from python_actor_core_client import AsyncClient as ActorClient
from python_rivetkit_client import AsyncClient as ActorClient
import asyncio

async def main():
Expand Down
20 changes: 10 additions & 10 deletions clients/python/src/events/async/client.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use std::sync::Arc;

use actor_core_client::{self as actor_core_rs, CreateOptions, GetOptions, GetWithIdOptions};
use rivetkit_client::{self as rivetkit_rs, CreateOptions, GetOptions, GetWithIdOptions};
use pyo3::prelude::*;

use crate::util::{try_opts_from_kwds, PyKwdArgs};
Expand All @@ -9,7 +9,7 @@ use super::handle::ActorHandle;

#[pyclass(name = "AsyncClient")]
pub struct Client {
client: Arc<actor_core_rs::Client>,
client: Arc<rivetkit_rs::Client>,
}

#[pymethods]
Expand All @@ -27,7 +27,7 @@ impl Client {
) -> PyResult<Self> {
let transport_kind = try_transport_kind_from_str(&transport_kind)?;
let encoding_kind = try_encoding_kind_from_str(&encoding_kind)?;
let client = actor_core_rs::Client::new(
let client = rivetkit_rs::Client::new(
endpoint.to_string(),
transport_kind,
encoding_kind
Expand Down Expand Up @@ -104,10 +104,10 @@ impl Client {

fn try_transport_kind_from_str(
transport_kind: &str
) -> PyResult<actor_core_rs::TransportKind> {
) -> PyResult<rivetkit_rs::TransportKind> {
match transport_kind {
"websocket" => Ok(actor_core_rs::TransportKind::WebSocket),
"sse" => Ok(actor_core_rs::TransportKind::Sse),
"websocket" => Ok(rivetkit_rs::TransportKind::WebSocket),
"sse" => Ok(rivetkit_rs::TransportKind::Sse),
_ => Err(py_value_err!(
"Invalid transport kind: {}",
transport_kind
Expand All @@ -117,13 +117,13 @@ fn try_transport_kind_from_str(

fn try_encoding_kind_from_str(
encoding_kind: &str
) -> PyResult<actor_core_rs::EncodingKind> {
) -> PyResult<rivetkit_rs::EncodingKind> {
match encoding_kind {
"json" => Ok(actor_core_rs::EncodingKind::Json),
"cbor" => Ok(actor_core_rs::EncodingKind::Cbor),
"json" => Ok(rivetkit_rs::EncodingKind::Json),
"cbor" => Ok(rivetkit_rs::EncodingKind::Cbor),
_ => Err(py_value_err!(
"Invalid encoding kind: {}",
encoding_kind
)),
}
}
}
6 changes: 3 additions & 3 deletions clients/python/src/events/async/handle.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@

use actor_core_client::{self as actor_core_rs};
use rivetkit_client::{self as rivetkit_rs};
use pyo3::{prelude::*, types::PyTuple};

use crate::util;

#[pyclass]
pub struct ActorHandle {
pub handle: actor_core_rs::connection::ActorHandle,
pub handle: rivetkit_rs::connection::ActorHandle,
}

#[pymethods]
Expand Down Expand Up @@ -92,4 +92,4 @@ impl ActorHandle {
Ok(())
})
}
}
}
20 changes: 10 additions & 10 deletions clients/python/src/events/sync/client.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
use actor_core_client::{self as actor_core_rs, CreateOptions, GetOptions, GetWithIdOptions};
use rivetkit_client::{self as rivetkit_rs, CreateOptions, GetOptions, GetWithIdOptions};
use pyo3::prelude::*;

use super::handle::ActorHandle;
use crate::util::{try_opts_from_kwds, PyKwdArgs, SYNC_RUNTIME};

#[pyclass(name = "Client")]
pub struct Client {
client: actor_core_rs::Client,
client: rivetkit_rs::Client,
}

#[pymethods]
Expand All @@ -24,7 +24,7 @@ impl Client {
) -> PyResult<Self> {
let transport_kind = try_transport_kind_from_str(&transport_kind)?;
let encoding_kind = try_encoding_kind_from_str(&encoding_kind)?;
let client = actor_core_rs::Client::new(
let client = rivetkit_rs::Client::new(
endpoint.to_string(),
transport_kind,
encoding_kind
Expand Down Expand Up @@ -83,10 +83,10 @@ impl Client {

fn try_transport_kind_from_str(
transport_kind: &str
) -> PyResult<actor_core_rs::TransportKind> {
) -> PyResult<rivetkit_rs::TransportKind> {
match transport_kind {
"websocket" => Ok(actor_core_rs::TransportKind::WebSocket),
"sse" => Ok(actor_core_rs::TransportKind::Sse),
"websocket" => Ok(rivetkit_rs::TransportKind::WebSocket),
"sse" => Ok(rivetkit_rs::TransportKind::Sse),
_ => Err(py_value_err!(
"Invalid transport kind: {}",
transport_kind
Expand All @@ -96,13 +96,13 @@ fn try_transport_kind_from_str(

fn try_encoding_kind_from_str(
encoding_kind: &str
) -> PyResult<actor_core_rs::EncodingKind> {
) -> PyResult<rivetkit_rs::EncodingKind> {
match encoding_kind {
"json" => Ok(actor_core_rs::EncodingKind::Json),
"cbor" => Ok(actor_core_rs::EncodingKind::Cbor),
"json" => Ok(rivetkit_rs::EncodingKind::Json),
"cbor" => Ok(rivetkit_rs::EncodingKind::Cbor),
_ => Err(py_value_err!(
"Invalid encoding kind: {}",
encoding_kind
)),
}
}
}
6 changes: 3 additions & 3 deletions clients/python/src/events/sync/handle.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
use actor_core_client::{self as actor_core_rs};
use rivetkit_client::{self as rivetkit_rs};
use pyo3::{prelude::*, types::PyTuple};

use crate::util::{self, SYNC_RUNTIME};

#[pyclass]
pub struct ActorHandle {
pub handle: actor_core_rs::connection::ActorHandle,
pub handle: rivetkit_rs::connection::ActorHandle,
}

#[pymethods]
Expand Down Expand Up @@ -66,4 +66,4 @@ impl ActorHandle {
self.handle.disconnect()
)
}
}
}
2 changes: 1 addition & 1 deletion clients/python/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ mod simple;
mod events;

#[pymodule]
fn actor_core_client(m: &Bound<'_, PyModule>) -> PyResult<()> {
fn rivetkit_client(m: &Bound<'_, PyModule>) -> PyResult<()> {
simple::init_module(m)?;
events::init_module(m)?;

Expand Down
20 changes: 10 additions & 10 deletions clients/python/src/simple/async/client.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use std::sync::Arc;

use actor_core_client::{self as actor_core_rs, CreateOptions, GetOptions, GetWithIdOptions};
use rivetkit_client::{self as rivetkit_rs, CreateOptions, GetOptions, GetWithIdOptions};
use pyo3::prelude::*;

use crate::util::{try_opts_from_kwds, PyKwdArgs};
Expand All @@ -9,7 +9,7 @@ use super::handle::ActorHandle;

#[pyclass(name = "AsyncSimpleClient")]
pub struct Client {
client: Arc<actor_core_rs::Client>,
client: Arc<rivetkit_rs::Client>,
}

#[pymethods]
Expand All @@ -27,7 +27,7 @@ impl Client {
) -> PyResult<Self> {
let transport_kind = try_transport_kind_from_str(&transport_kind)?;
let encoding_kind = try_encoding_kind_from_str(&encoding_kind)?;
let client = actor_core_rs::Client::new(
let client = rivetkit_rs::Client::new(
endpoint.to_string(),
transport_kind,
encoding_kind
Expand Down Expand Up @@ -98,10 +98,10 @@ impl Client {

fn try_transport_kind_from_str(
transport_kind: &str
) -> PyResult<actor_core_rs::TransportKind> {
) -> PyResult<rivetkit_rs::TransportKind> {
match transport_kind {
"websocket" => Ok(actor_core_rs::TransportKind::WebSocket),
"sse" => Ok(actor_core_rs::TransportKind::Sse),
"websocket" => Ok(rivetkit_rs::TransportKind::WebSocket),
"sse" => Ok(rivetkit_rs::TransportKind::Sse),
_ => Err(py_value_err!(
"Invalid transport kind: {}",
transport_kind
Expand All @@ -111,13 +111,13 @@ fn try_transport_kind_from_str(

fn try_encoding_kind_from_str(
encoding_kind: &str
) -> PyResult<actor_core_rs::EncodingKind> {
) -> PyResult<rivetkit_rs::EncodingKind> {
match encoding_kind {
"json" => Ok(actor_core_rs::EncodingKind::Json),
"cbor" => Ok(actor_core_rs::EncodingKind::Cbor),
"json" => Ok(rivetkit_rs::EncodingKind::Json),
"cbor" => Ok(rivetkit_rs::EncodingKind::Cbor),
_ => Err(py_value_err!(
"Invalid encoding kind: {}",
encoding_kind
)),
}
}
}
8 changes: 4 additions & 4 deletions clients/python/src/simple/async/handle.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use actor_core_client::{self as actor_core_rs};
use rivetkit_client::{self as rivetkit_rs};
use futures_util::FutureExt;
use pyo3::{prelude::*, types::{PyList, PyString, PyTuple}};
use tokio::sync::mpsc;
Expand All @@ -14,13 +14,13 @@ struct ActorEvent {

#[pyclass]
pub struct ActorHandle {
handle: actor_core_rs::connection::ActorHandle,
handle: rivetkit_rs::connection::ActorHandle,
event_rx: Option<mpsc::Receiver<ActorEvent>>,
event_tx: mpsc::Sender<ActorEvent>,
}

impl ActorHandle {
pub fn new(handle: actor_core_rs::connection::ActorHandle) -> Self {
pub fn new(handle: rivetkit_rs::connection::ActorHandle) -> Self {
let (event_tx, event_rx) = mpsc::channel(EVENT_BUFFER_SIZE);

Self {
Expand Down Expand Up @@ -184,4 +184,4 @@ impl ActorHandle {
Ok(())
})
}
}
}
20 changes: 10 additions & 10 deletions clients/python/src/simple/sync/client.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
use actor_core_client::{self as actor_core_rs, CreateOptions, GetOptions, GetWithIdOptions};
use rivetkit_client::{self as rivetkit_rs, CreateOptions, GetOptions, GetWithIdOptions};
use pyo3::prelude::*;

use super::handle::ActorHandle;
use crate::util::{try_opts_from_kwds, PyKwdArgs, SYNC_RUNTIME};

#[pyclass(name = "SimpleClient")]
pub struct Client {
client: actor_core_rs::Client,
client: rivetkit_rs::Client,
}

#[pymethods]
Expand All @@ -24,7 +24,7 @@ impl Client {
) -> PyResult<Self> {
let transport_kind = try_transport_kind_from_str(&transport_kind)?;
let encoding_kind = try_encoding_kind_from_str(&encoding_kind)?;
let client = actor_core_rs::Client::new(
let client = rivetkit_rs::Client::new(
endpoint.to_string(),
transport_kind,
encoding_kind
Expand Down Expand Up @@ -84,10 +84,10 @@ impl Client {

fn try_transport_kind_from_str(
transport_kind: &str
) -> PyResult<actor_core_rs::TransportKind> {
) -> PyResult<rivetkit_rs::TransportKind> {
match transport_kind {
"websocket" => Ok(actor_core_rs::TransportKind::WebSocket),
"sse" => Ok(actor_core_rs::TransportKind::Sse),
"websocket" => Ok(rivetkit_rs::TransportKind::WebSocket),
"sse" => Ok(rivetkit_rs::TransportKind::Sse),
_ => Err(py_value_err!(
"Invalid transport kind: {}",
transport_kind
Expand All @@ -97,13 +97,13 @@ fn try_transport_kind_from_str(

fn try_encoding_kind_from_str(
encoding_kind: &str
) -> PyResult<actor_core_rs::EncodingKind> {
) -> PyResult<rivetkit_rs::EncodingKind> {
match encoding_kind {
"json" => Ok(actor_core_rs::EncodingKind::Json),
"cbor" => Ok(actor_core_rs::EncodingKind::Cbor),
"json" => Ok(rivetkit_rs::EncodingKind::Json),
"cbor" => Ok(rivetkit_rs::EncodingKind::Cbor),
_ => Err(py_value_err!(
"Invalid encoding kind: {}",
encoding_kind
)),
}
}
}
8 changes: 4 additions & 4 deletions clients/python/src/simple/sync/handle.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use actor_core_client::{self as actor_core_rs};
use rivetkit_client::{self as rivetkit_rs};
use futures_util::FutureExt;
use pyo3::{prelude::*, types::{PyList, PyString, PyTuple}};
use tokio::sync::mpsc;
Expand All @@ -14,13 +14,13 @@ struct ActorEvent {

#[pyclass]
pub struct ActorHandle {
handle: actor_core_rs::connection::ActorHandle,
handle: rivetkit_rs::connection::ActorHandle,
event_rx: Option<mpsc::Receiver<ActorEvent>>,
event_tx: mpsc::Sender<ActorEvent>,
}

impl ActorHandle {
pub fn new(handle: actor_core_rs::connection::ActorHandle) -> Self {
pub fn new(handle: rivetkit_rs::connection::ActorHandle) -> Self {
let (event_tx, event_rx) = mpsc::channel(EVENT_BUFFER_SIZE);

Self {
Expand Down Expand Up @@ -166,4 +166,4 @@ impl ActorHandle {
self.handle.disconnect()
)
}
}
}
Loading
Loading