Skip to main content

2 posts tagged with "python"

Python 3 Code

View All Tags

Invoke AI

· One min read
Riku Block
Software Developer

Over the last couple of months I contributed to the open-source Invoke AI project. Invoke is a canvas-based generative AI tool that feels closer to Photoshop or GIMP than a single prompt box, which makes fast iteration and visual control a lot easier. It combines a layered canvas with node-based workflows, so you can mix prompts, masks, control images, and iterative edits without leaving the app.

My contributions focused on general improvements across the stack:

  • UI and workflow polish to make the canvas experience smoother.
  • TypeScript improvements on the frontend.
  • Python-side tweaks for stability and performance.

If you want to check it out, the code is on GitHub: Invoke AI and the Invoke AI Launcher.

Project: EVM Blockchain Indexer

· 8 min read
Riku Block
Software Developer

Meet XQuery, the generic and high-performance EVM-chain indexer I developed a few months back. Engineered to be multi-threaded and resource-efficient, this indexer specializes in the intricate task of indexing EVM smart contract events.

Inspired by The Graph project, XQuery empowers users with the flexibility to implement adaptable indexing strategies. These strategies enable the querying of data not directly available on the blockchain. Indexers like XQuery play a vital role in the web3 ecosystem, enabling developers to seamlessly build decentralized applications (dApps) that cater to the specific needs of users.

Key Features of XQuery:

  • Written in Python: XQuery leverages the Python programming language, known for its readability and versatility, making it accessible to a broad user base.

  • Scalable: XQuery adopts a multi-process architecture, enabling parallel indexing and processing of data. This scalability ensures optimal performance, especially when dealing with large datasets.

  • Flexible: XQuery offers support for any EVM (Ethereum Virtual Machine) based blockchain, providing users with the flexibility to apply its capabilities across various blockchain networks.

  • Customizable: XQuery prides itself on being dynamic and versatile, allowing users to configure and customize its functionalities according to their specific requirements.