Polkassembly Logo

Head 1
Head 3
Head 4
Head 2
Create Pencil IconCreate
TRACKS
ORIGINS
Report an issueNeed help with something?
Foot 1
Foot 2
Foot 3
Foot 4
OpenGov
View All Small Spender
Requested:6.44K DOT
Executed

Maintenance & Support Python Libraries (April to September 2023)

inSmall Spender
2 years ago
BeneficiaryBeneficiary:

(6.44K DOT)

For the last three years, Polkascan Foundation has been maintaining the Polkadot related Python libraries, such as py-substrate-interface, py-scale-codec and several Python bindings for cryptographic RUST crates used by Substrate. These client libraries are essential for Python developers to interact with any Polkadot, Kusama or other Substrate based chain.

As of writing 265 Github repositories and 21 Python packages are depending on our libraries.

With this treasury proposal, we are asking retroactive funding for our activities in the period April until September 2023. This averages out to approximately 4135 euro per month spent on development and tech support activities.

Overview of activities

  • Implemented new Polkascan Explorer and Subsquid extensions to the py-substrate-interface extension framework. These utilize indexes from Polkascan Explorer and Subsquid API endpoints, so data can be queried and filtered that is not directly possible or very inefficient on the Substrate RPC.
  • New runtime interface: more intuitive approach to interface with the runtime functionality, this is planned to be available in the next major release.
  • Added support for ink! v4
  • Added SCALE type definitions for upcoming MetadataV15 in Substrate. (Full support is still WIP)
  • Added multiple params as key support for query_map()
  • Add support for runtime calls at other blocks than the most recent #346
  • Upgrade contract interface to support WeightV2 #337
  • Updated metadata docs for Polkadot & Kusama parachain and stand-alone runtimes
  • Technical support on Github and in #polkascan:matrix.org and substrate.stackexchange.com channels

For more details about deliverables see https://github.com/polkascan/py-substrate-interface/releases and https://github.com/polkascan/py-scale-codec/releases

Activity report

Details about time spent and cost breakdown can be found in the Q2 & Q3 activity report.

Previous activity reports

  • October 2020
  • November 2020
  • December 2020
  • January 2021
  • February 2021
  • March 2021
  • April 2021
  • May 2021
  • June 2021
  • July 2021
  • August 2021
  • September 2021
  • Quarter 4 2021
  • Quarter 1 2022
  • Quarter 2 2022
  • Quarter 3 2022
  • Quarter 4 2022
  • Quarter 1 2023

Comments (1)

2 years ago

To add context:

I don't personally use the libraries but I can see its value having used counterparts built for Typescript and Rust. With reference to Arjan's response to Ivy, the usage statistics are in keeping with expectations given that Python has a wide user base.

PleaseLogin to comment

Proposal Passed

3

of 3

Summary

0%

Aye

AyeNay

0%

Nay

Aye (114)0.0 DOT

Support0.0 DOT

Nay (35)0.0 DOT

Voting Data

Approval%

Support%

Threshold0.00%

Threshold0.00%

Help Center

Report an Issue
Feedback
Terms and Conditions
Github

Our Services

Docs
Terms of Website
Privacy Policy

A House of Commons Initiative.

Polka Labs Private Limited 2025

All rights reserved.

Terms and ConditionsTerms of Website
Privacy Policy