Data processing and analysis tools for fuel market research
Project description
StreamFuels
StreamFuels is a collection of updated fuel sales datasets for forecasting, classification, and pattern analysis, 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.
fuel_type_classification() Comprises 14,032 time series, each with a fixed length of 12 observations (i.e., one year of sales) and eight possible class labels.
Installation
pip install streamfuels
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()
Monthly sales of petroleum derivatives in the states of Brazil.
result, flag = loader.monthly_sales_state()
Monthly oil and gas operations in the states of Brazil.
result, flag = loader.monthly_operations_state()
Yearly sales of petroleum derivatives in the cities of Brazil.
result, flag = loader.yearly_sales_city()
Fuel Type Classification dataset
df = loader.fuel_type_classification()
📚 Interactive Example Notebooks
You can explore practical use cases of the library directly via Binder:
-
🔍 Fuel Type Classification
Demonstrates how to use classification algorithms to identify the fuel type.
-
📈 Time Series Forecasting
Shows how to perform time series forecasting using statistical and machine learning models.
-
📊 Dataset Loading and Visualization
Explains how to load datasets and visualize key information graphically.
-
🧠 Motif Discovery and Visualization
Demonstrates how to identify and visualize repeating patterns (motifs) in time series data.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file streamfuels-0.1.4.tar.gz.
File metadata
- Download URL: streamfuels-0.1.4.tar.gz
- Upload date:
- Size: 29.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b0a2da2453afcd697b3e901d91690eca95a47ae979a86c172928803d93c38017
|
|
| MD5 |
a042b3f99009639938a32bae05414f3a
|
|
| BLAKE2b-256 |
89b617533347ccebc2f2fc931eae3bae9a14f55c522cac6a6f2c0f4ed3483ca6
|
File details
Details for the file streamfuels-0.1.4-py3-none-any.whl.
File metadata
- Download URL: streamfuels-0.1.4-py3-none-any.whl
- Upload date:
- Size: 29.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bade832ead96bd89bb02f59677958668fe99a592bac9e7f567c36634ca2bd697
|
|
| MD5 |
d2a76ea25dc85cb918c37c59e04f1702
|
|
| BLAKE2b-256 |
702402c3f82677e2febade22c6b0c77c77b4dfe9e84b1a5c71decb29621a8518
|