Expand description
This module contains conversions between various Rust object and their representation in Python.
Modules§
- anyhow
anyhow - A conversion from anyhow’s
Errortype toPyErr. - bigdecimal
bigdecimal - Conversions to and from bigdecimal’s [
BigDecimal] type. - bytes
bytes - Conversions to and from bytes’s [
Bytes]. - chrono
chrono - Conversions to and from chrono’s
Duration,NaiveDate,NaiveTime,DateTime<Tz>,FixedOffset, andUtc. - chrono_
tz Py_3_9andchrono-tz - Conversions to and from chrono-tz’s
Tz. - either
either - Conversion to/from
either’s
Eithertype to a union of two Python types. - eyre
eyre - A conversion from
eyre’s
Reporttype toPyErr. - hashbrown
hashbrown - Conversions to and from hashbrown’s
HashMapandHashSet. - indexmap
indexmap - Conversions to and from indexmap’s
IndexMap. - jiff
jiff-02 - Conversions to and from jiff’s
Span,SignedDuration,TimeZone,Offset,Date,Time,DateTime,Zoned, andTimestamp. - num_
bigint num-bigint - Conversions to and from num-bigint’s
BigIntandBigUinttypes. - num_
complex num-complex - Conversions to and from num-complex’
Complex<f32>andComplex<f64>. - num_
rational num-rational - Conversions to and from num-rational types.
- ordered_
float ordered-float - Conversions to and from ordered-float types.
[
NotNan]<f32>and [NotNan]<f64>. [OrderedFloat]<f32>and [OrderedFloat]<f64>. - rust_
decimal rust_decimal - Conversions to and from rust_decimal’s [
Decimal] type. - serde
serde - Enables (de)serialization of
Py<T>objects via serde. - smallvec
smallvec - Conversions to and from smallvec.
- std 🔒
- time
time - Conversions to and from time’s
Date,Duration,OffsetDateTime,PrimitiveDateTime,Time,UtcDateTimeandUtcOffset. - uuid
uuid - Conversions to and from uuid’s
UuidandNonNilUuidtypes.