Spgci

Latest version: v0.0.38

Safety actively analyzes 626643 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.0.37

Added support for LNG Netbacks

for example:
python
import spgci as ci

lng = ci.LNGGlobalAnalytics()

lng.get_netbacks(import_geography="Brazil", date_gte="2024-01-01")

0.0.35

Added Support for Pandas 2.0. By default the library will install pandas 2.x if possible. If not possible it will use Pandas 1.x.

What this typically means is if you have Pandas 2.x installed already this library will not uninstall it and install 1.5.

0.0.34

Added support for Weather

python
import spgci as ci

w = ci.Weather()

w.get_forecast(city="Boston")
DataFrame of forecasts for Boston

w.get_forecast(market="United States", weather_date_gte="2024-01-01", weather_date_lte="2024-01-31")
DateFrame of forecasts in the United States in January 2024.

w.get_actual(market="Hong Kong", paginate=True)
DataFrame of actual weather in Hong Kong, paginate=True to get full history.



Also added support for start_date and end_date filtering in get_arbitrage:
python
import spgci as ci

af = ci.ArbFlow()

af.get_arbitrage(
base_margin_id=261,
margin_id=1380,
frequency_id=1,
start_date="2024-01-01",
end_date="2024-01-20",
)

0.0.33

Small change to add modified_date_{gt | gte | lt | lte} as arguments to `ArbFlow().get_margin_data()` function.

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.