Skip to main content

Data processing and analysis tools for fuel market research

Project description

StreamFuels

StreamFuels is a collection of tools for processing and analyzing fuel market data, focusing on petroleum derivatives, natural gas, and biofuels market across different regions of Brazil.

monthly_sales_state(): Monthly fuel sales data by state from the ANP database

yearly_sales_state(): Yearly fuel sales data by state from ANP database

yearly_sales_city(): Yearly fuel sales data by city from ANP database

monthly_operations_state(): Monthly oil production, NGL production, natural gas production, reinjection, flaring and losses, self-consumption, and available natural gas. It provides a comprehensive view of petroleum and gas operations.

To run locally, in your target python environment and in this project folder type:

pip install -e .

After that you can import using the target python environment:

from streamfuels.datasets import DatasetLoader
loader = DatasetLoader()
result, flag = loader.yearly_sales_state()

df, metadata = loader.read_tsf(path_tsf=result)

Yearly sales of petroleum derivatives in the states of Brazil.

result, flag = loader.yearly_sales_state()

image

Monthly sales of petroleum derivatives in the states of Brazil.

result, flag = loader.monthly_sales_state()

image

Monthly oil and gas operations in the states of Brazil.

result, flag = loader.monthly_operations_state()

image

Yearly sales of petroleum derivatives in the cities of Brazil.

result, flag = loader.yearly_sales_city()

image

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

streamfuels-0.1.0.tar.gz (25.3 kB view details)

Uploaded Source

Built Distribution

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

streamfuels-0.1.0-py3-none-any.whl (26.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: streamfuels-0.1.0.tar.gz
  • Upload date:
  • Size: 25.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for streamfuels-0.1.0.tar.gz
Algorithm Hash digest
SHA256 80e46b0db9a94ce0dfeab4ed0c976f8b9e2fe2d8cdd91d470e01307380e29a18
MD5 6aae6aae62c82ae4cf80622a85cb28d3
BLAKE2b-256 2bb4d5eb342169d68a34d9972b8ff22f9ed4760dc2c1ebbe2155aa539387322c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: streamfuels-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 26.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for streamfuels-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9a8fdf45dd7030539cdf8be6465bee83361e9082176404099fefc5bebeb485c8
MD5 8be120788f4c89300c01452817b3509f
BLAKE2b-256 e9153cc889da84095196b96dae1ea4086602611dd06a8bcc1a11eada86b4f32e

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