Docs.rs
  • rustpython-vm-0.3.0
    • rustpython-vm 0.3.0
    • Docs.rs crate page
    • MIT
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • coolreader18
    • windelbouwman
    • github:rustpython:packaging
    • Dependencies
      • ahash ^0.7.6 normal
      • ascii ^1.0 normal
      • atty ^0.2.14 normal
      • bitflags ^2.2.1 normal
      • bstr ^0.2.17 normal
      • caseless ^0.2.1 normal
      • cfg-if ^1.0 normal
      • chrono ^0.4.19 normal
      • crossbeam-utils ^0.8.9 normal
      • flame ^0.2.2 normal
      • flamer ^0.4 normal
      • getrandom ^0.2.6 normal
      • half ^1.8.2 normal
      • hex ^0.4.3 normal
      • indexmap ^1.8.1 normal
      • is-macro ^0.2.2 normal
      • itertools ^0.10.3 normal
      • libc ^0.2.133 normal
      • log ^0.4.16 normal
      • malachite-bigint ^0.1.0 normal
      • memchr ^2.4.1 normal
      • memoffset ^0.6.5 normal
      • nix ^0.26 normal
      • num-complex ^0.4.0 normal
      • num-integer ^0.1.44 normal
      • num-traits ^0.2 normal
      • num_enum ^0.5.7 normal
      • once_cell ^1.13 normal
      • optional ^0.5.0 normal
      • parking_lot ^0.12 normal
      • paste ^1.0.7 normal
      • rand ^0.8.5 normal
      • result-like ^0.4.5 normal
      • rustpython-ast ^0.3.0 normal
      • rustpython-codegen ^0.3.0 normal
      • rustpython-common ^0.3.0 normal
      • rustpython-compiler ^0.3.0 normal
      • rustpython-compiler-core ^0.3.0 normal
      • rustpython-derive ^0.3.0 normal
      • rustpython-format ^0.3.0 normal
      • rustpython-jit ^0.3.0 normal
      • rustpython-literal ^0.3.0 normal
      • rustpython-parser ^0.3.0 normal
      • rustpython-parser-core ^0.3.0 normal
      • serde ^1.0 normal
      • sre-engine ^0.4.1 normal
      • static_assertions ^1.1 normal
      • thiserror ^1.0 normal
      • thread_local ^1.1.4 normal
      • timsort ^0.1.2 normal
      • unic-ucd-bidi ^0.9.0 normal
      • unic-ucd-category ^0.9.0 normal
      • unic-ucd-ident ^0.9.0 normal
      • unicode-casing ^0.1.0 normal
      • unicode_names2 ^0.6.0 normal
      • glob ^0.3 build
      • itertools ^0.10.3 build
      • rustc_version ^0.4.0 build
      • num_cpus ^1.13.1 normal
      • rustyline ^11 normal
      • which ^4.2.5 normal
      • wasm-bindgen ^0.2.80 normal
      • exitcode ^1.1.2 normal
      • strum ^0.24.0 normal
      • strum_macros ^0.24.0 normal
      • uname ^0.1.1 normal
      • schannel ^0.1.19 normal
      • widestring ^0.5.1 normal
      • winapi ^0.3.9 normal
      • windows ^0.39.0 normal
      • winreg ^0.10.1 normal
    • Versions
    • 15.75% of the crate is documented
  • Go to latest version
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation
logo

Crate rustpython_vm

logo

Crate rustpython_vm

  • Version 0.3.0
  • All Items
  • Re-exports
  • Modules
  • Macros
  • Attribute Macros
  • Derive Macros

Crates

  • rustpython_vm
?
Change settings

Crate rustpython_vm

source ·
Expand description

This crate contains most python logic.

  • Compilation
  • Bytecode
  • Import mechanics
  • Base objects

Re-exports

  • pub use self::convert::TryFromBorrowedObject;
  • pub use self::convert::TryFromObject;
  • pub use self::object::AsObject;
  • pub use self::object::Py;
  • pub use self::object::PyAtomicRef;
  • pub use self::object::PyExact;
  • pub use self::object::PyObject;
  • pub use self::object::PyObjectRef;
  • pub use self::object::PyPayload;
  • pub use self::object::PyRef;
  • pub use self::object::PyRefExact;
  • pub use self::object::PyResult;
  • pub use self::object::PyWeakRef;
  • pub use self::vm::Context;
  • pub use self::vm::Interpreter;
  • pub use self::vm::Settings;
  • pub use self::vm::VirtualMachine;
  • pub use rustpython_common as common;
  • pub use rustpython_literal as literal;

Modules

  • buffer
  • builtins
    This package contains the python basic/builtin types 7 common PyRef type aliases are exposed - PyBytesRef, PyDictRef, PyIntRef, PyListRef, PyStrRef, PyTypeRef, PyTupleRef Do not add more PyRef type aliases. They will be rare enough to use directly PyRef.
  • byte
    byte operation APIs
  • bytecode
    Implement python as a virtual machine with bytecode. This module implements bytecode structure.
  • cformat
    Implementation of Printf-Style string formatting as per the Python Docs.
  • class
    Utilities to define a new Python class
  • compiler
  • convert
  • eval
  • exceptions
  • format
  • frame
  • frozen
  • function
  • import
  • iter
  • object
  • prelude
  • protocol
  • py_io
  • readline
  • recursion
  • scope
  • sequence
  • signal
  • sliceable
  • source_code
  • stdlib
  • suggestion
  • types
  • utils
  • version
  • vm
    Implement virtual machine to run instructions.
  • warn

Macros

  • atomic_func
  • class_or_notimplemented
  • define_methods
  • extend_class
  • extend_module
  • identifier
  • match_class
    Macro to match on the built-in class of a Python object.
  • named_function
  • py_class
  • py_compile
  • py_freeze
  • py_namespace

Attribute Macros

  • pyclass
  • pyexception
    Helper macro to define Exception types. More-or-less is an alias to pyclass macro.
  • pymodule

Derive Macros

  • FromArgs
  • PyPayload
  • PyStructSequence
  • Traverse
    use on struct with named fields like struct A{x:PyRef<B>, y:PyRef<C>} to impl Traverse for datatype.
  • TryIntoPyStructSequence

Results

No results :(
Try on DuckDuckGo?

Or try looking in one of these:
  • The Rust Reference for technical details about the language.
  • Rust By Example for expository code examples.
  • The Rust Book for introductions to language features and the language itself.
  • Docs.rs for documentation of crates released on crates.io.
No results :(
Try on DuckDuckGo?

Or try looking in one of these:
  • The Rust Reference for technical details about the language.
  • Rust By Example for expository code examples.
  • The Rust Book for introductions to language features and the language itself.
  • Docs.rs for documentation of crates released on crates.io.
No results :(
Try on DuckDuckGo?

Or try looking in one of these:
  • The Rust Reference for technical details about the language.
  • Rust By Example for expository code examples.
  • The Rust Book for introductions to language features and the language itself.
  • Docs.rs for documentation of crates released on crates.io.