Skip to main content

Python client for VoLCA — Life Cycle Assessment engine

Project description

pyvolca

Python client for VoLCA, a Life Cycle Assessment engine.

Install

pip install pyvolca

Quick start

from volca import Client

c = Client(db="agribalyse-3.2", password="1234")

# Search activities
plants = c.search_activities(name="at plant")

# Supply chain
chain = c.get_supply_chain(plants[0].process_id, name="at farm")

# LCIA with substitutions (Sherman-Morrison rank-1 updates)
subs = [{"from": old_pid, "to": new_pid, "consumer": consumer_pid}]
result = c.get_lcia(pid, method_id, substitutions=subs)

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyvolca-0.1.0.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyvolca-0.1.0-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

Details for the file pyvolca-0.1.0.tar.gz.

File metadata

  • Download URL: pyvolca-0.1.0.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.2

File hashes

Hashes for pyvolca-0.1.0.tar.gz
Algorithm Hash digest
SHA256 007a699487efaf2200850dca3ebbcf3043d454941d2093f1a08734e9f8c013c3
MD5 26e34729a0655ecb48ee812e0c40232d
BLAKE2b-256 5a0e10c49fc994ec7ba6885b91982383817cd0bb4b6024bf15b79a65b3244021

See more details on using hashes here.

File details

Details for the file pyvolca-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pyvolca-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.2

File hashes

Hashes for pyvolca-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fe4d64e031ff71c9f7c88115b62881f820c4fd01713b884bb8e478b81382d9f6
MD5 e2886d7699183242449fafbfde278bea
BLAKE2b-256 2ff333252695cf84855ccb6904e2a56f3b437d9e46ed1016165ae0408beabcfd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page