semvec/pypi-packages huggingface dataset:
seismic-web3 0.1.1
Seismic Python SDK — web3.py extensions for the Seismic privacy-enabled EVM
Requires Python: >=3.10
Keywords: blockchain, ethereum, evm, privacy, seismic, web3

# seismic-web3

Python SDK for [Seismic](https://seismic.systems), built on [web3.py](https://github.com/ethereum/web3.py). Requires **Python 3.10+**.

```bash
pip install seismic-web3
```

## Client types

The SDK provides two client types:

- **Wallet client** — you provide a private key. Gives you full capabilities: shielded reads/writes, signed calls, deposits.
- **Public client** — no private key needed. Read-only access via transparent `eth_call`.

## Quick start

```python
from seismic_web3 import SEISMIC_TESTNET, PrivateKey

pk = PrivateKey(bytes.fromhex("YOUR_PRIVATE_KEY_HEX"))

# Wallet client — full capabilities (requires private key)
w3 = SEISMIC_TESTNET.wallet_client(pk)

contract = w3.seismic.contract(address="0x...", abi=ABI)

# Shielded write — calldata is encrypted (TxSeismic type 0x4a)
tx_hash = contract.write.setNumber(42)
receipt = w3.eth.wait_for_transaction_receipt(tx_hash)

# Shielded read — signed, encrypted eth_call
result = contract.read.getNumber()
```

```python
# Public client — read-only (no private key needed)
public = SEISMIC_TESTNET.public_client()

contract = public.seismic.contract(address="0x...", abi=ABI)
result = contract.tread.getNumber()
```

`ShieldedContract` (from the wallet client) exposes five namespaces:

| Namespace | What it does | On-chain visibility |
|-----------|-------------|-------------------|
| `.write` | Encrypted transaction (`TxSeismic` type `0x4a`) | Calldata hidden |
| `.read` | Encrypted signed `eth_call` | Calldata + result hidden |
| `.twrite` | Standard `eth_sendTransaction` | Calldata visible |
| `.tread` | Standard `eth_call` | Calldata visible |
| `.dwrite` | Debug write — returns plaintext + encrypted views | Calldata hidden |

Both sync and async clients are supported. See the full documentation for details.

## Documentation

Full docs are hosted on GitBook: **[docs.seismic.systems/clients/python](https://docs.seismic.systems/clients/python)**

## Contributing

See [DEVELOPMENT.md](DEVELOPMENT.md) for local setup, running tests, and publishing.

---

> This SDK was entirely vibecoded.
pygments-tsx 1.0.4
A plugin for adding TSX support to Pygments based off the work of the JSX plugin.
Requires Python: >=3.10

[![codecov](https://codecov.io/gh/StartupOS/pygments_tsx/graph/badge.svg?token=ZXQYCYKLSZ)](https://codecov.io/gh/StartupOS/pygments_tsx)

## What is this?
This package includes lexers for JSX and TSX files for Pygment, as well as RSX, a language called "Toolscript" developed by retool that was syntactically close enough to add in.
Pull requests are requested, and the code is released under the [Creative Commons Non-Commercial License (CC BY-NC-ND 4.0)](https://creativecommons.org/licenses/by-nc-nd/4.0/). 

## To use
Either:
`pip install pygments-tsx`

or add us to your requirements wherever they may be these days. (Looking at you, SetupTools, Poetry, PyPi... get it together.)

## Acknowledgments
This includes [Flavio Curella](https://github.com/fcurella)'s awesome package [JSX Lexer](https://github.com/fcurella/jsx-lexer), and includes the ideas and some code from [Igor Hatarist](https://github.com/hatarist)'s stab at this same problem [pygments-tsx](https://github.com/hatarist/pygments-tsx). Flaws were introduced by StartupOS, good stuff came from them.

There's also a hack in here for forcing pygments to accept classes programatically. That was based on discussions in this [thread](https://github.com/pygments/pygments/issues/1096), and specifically suggestions from [Vincent Bernat](https://github.com/vincentbernat) and [Jean Abou-Samra](https://github.com/jeanas)