Skip to content

Commit 5ea7160

Browse files
committed
updated the CHANGELOG file and updated the package version
1 parent 279a63e commit 5ea7160

File tree

4 files changed

+55
-12
lines changed

4 files changed

+55
-12
lines changed

CHANGELOG.md

+46
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,53 @@ All notable changes to the `log_hub` project will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [0.1.4] - 2025-02-25
78

9+
### Added
10+
- `forward_center_of_gravity_plus` service to calculate the center of gravity based on the given addresses. The addresses can refer to customers, suppliers or something else, and their respective weights, volumes and revenues.
11+
- `reverse_center_of_gravity_plus` service to calculate the center of gravity based on the given coordinates. The coordinates can refer to customers, suppliers or something else, and their respective weights, volumes and revenues.
12+
- `demand_forecasting` service to help you accurately predict future demand for your products based on historical demand data, future impact factors and parameters that customize the forecasting model for each product.
13+
- `forward_fixed_center_of_gravity` service to calculate the center of gravity based on the given addresses that refer to customers, suppliers or something else, their respective weights, and the table of the center addresses that are fixed.
14+
- `reverse_fixed_center_of_gravity` service to calculate the center of gravity based on the given coordinates that refer to customers, suppliers or something else, their respective weights, and the table of the center coordinates that are fixed.
15+
- `forward_freight_shipment_emissions_air` service to calculate a CO2 footprint based on your shipments or route legs defined as separate shipments transported by air with the IATA codes provided.
16+
- `forward_freight_shipment_emissions_rail` service to calculate a CO2 footprint based on your shipments or route legs defined as separate shipments transported by train with the UN/LOCODEs provided.
17+
- `reverse_freight_shipment_emissions_rail` service to calculate a CO2 footprint based on your shipments or route legs defined as separate shipments transported by train with the coordinates provided.
18+
- `forward_freight_shipment_emissions_road` service to calculate a CO2 footprint based on your shipments or route legs defined as separate shipments transported by road with the addresses provided.
19+
- `reverse_freight_shipment_emissions_road` service to calculate a CO2 footprint based on your shipments or route legs defined as separate shipments transported by road with the coordinates provided.
20+
- `forward_freight_shipment_emissions_sea` service to calculate a CO2 footprint based on your shipments or route legs defined as separate shipments transported by ship with the UN/LOCODEs provided.
21+
- `forward_location_planning` servise to optimize distribution modeling flows from the warehouses to the customers based on their addresses. For customers are also taken in consideration weight, volume and number of shipments, and for warehouses minimum and maximum capacity along with the penalty and fixed costs. Transport costs can also be adjusted.
22+
- `reverse_location_planning` servise to optimize distribution modeling flows from the warehouses to the customers based on their coordinates. For customers are also taken in consideration weight, volume and number of shipments, and for warehouses minimum and maximum capacity along with the penalty and fixed costs. Transport costs can also be adjusted.
23+
- `forward_nearest_warehouses` servise to find a given number of nearest warehouses from a customer location (based on addresses).
24+
- `reverse_nearest_warehouses` servise to find a given number of nearest warehouses from a customer location (based on coordinates)
25+
- `forward_network_design_plus` service to help you find the optimal number and location of warehouses that are assigned to the customers and factories, based on their addresses, transport, handling and fixed warehouse costs.
26+
- `reverse_network_design_plus` service to help you find the optimal number and location of warehouses that are assigned to the customers and factories, based on their coordinates, transport, handling and fixed warehouse costs.
27+
- `forward_supply_chain_map_areas` sevice to help you create a map visualization of the given areas.
28+
- `forward_supply_chain_map_locations` sevice to help you create a map visualization of the locations (based on addresses).
29+
- `reverse_supply_chain_map_locations` sevice to help you create a map visualization of the locations (based on coordinates).
30+
- `reverse_supply_chain_map_polyline` sevice to help you create a map visualization of the polylines based on their coordinates.
31+
- `forward_supply_chain_map_relations` sevice to help you create a map visualization of the relations (based on addresses).
32+
- `reverse_supply_chain_map_relations` sevice to help you create a map visualization of the relations (based on coordinates).
33+
- `forward_supply_chain_map_sea_routes` sevice to help you create a map visualization of the sea routes (based on UN/LOCODEs).
34+
- `reverse_supply_chain_map_sea_routes` sevice to help you create a map visualization of the sea routes (based on coordinates).
35+
36+
### Changed
37+
- Created module with the functions for validation of the input data.
38+
- Added a possibility to save the data on the platform by adjusting the 'saveScenarioParameters'.
39+
- Created a module for generating necessary data for sending requests, as well as sending requests itself.
40+
- Updated documentation to include examples and usage guidelines for the newly added services, providing clear instructions for users to leverage these new features effectively.
41+
42+
### Fixed
43+
- Minor bug fixes and performance improvements in API communication handling, especially regarding removing batches in sending requests to the geocoding and distance calculation API.
44+
- Redused duplicated code.
45+
46+
### Deprecated
47+
- N/A (no deprecations in this release).
48+
49+
### Removed
50+
- N/A (no removals in this release).
51+
52+
### Security
53+
- Strengthened security measures in API communication, especially in the sending get requests to the network design plus and location planning API servises, as well as in the saving output data on the platform.
854

955
## [0.1.3] - 2024-04-16
1056

README.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ reverse_distance_calculation_df.head()
182182
```
183183

184184
<p align="left">
185-
<img src="../examples\assets\supply_chain_maps.png" alt="Header Image" width="980"/>
185+
<img src="examples\assets\supply_chain_maps.png" alt="Header Image" width="980"/>
186186
</p>
187187

188188
#### Creating a Supply Chain Map
@@ -384,7 +384,7 @@ assigned_geocodes_df, centers_df = reverse_center_of_gravity(coordinates_df, par
384384
```
385385

386386
<p align="left">
387-
<img src="../examples\assets\fixed_center_of_gravity.png" alt="Header Image" width="980"/>
387+
<img src="examples\assets\fixed_center_of_gravity.png" alt="Header Image" width="980"/>
388388
</p>
389389

390390
#### Forward Fixed Center of Gravity
@@ -426,7 +426,7 @@ display(centers_df.head())
426426
```
427427

428428
<p align="left">
429-
<img src="../examples\assets\center_of_gravity_plus.png" alt="Header Image" width="980"/>
429+
<img src="examples\assets\center_of_gravity_plus.png" alt="Header Image" width="980"/>
430430
</p>
431431

432432
#### Forward Center of Gravity Plus
@@ -466,7 +466,7 @@ display(centers_df.head())
466466
```
467467

468468
<p align="left">
469-
<img src="../examples\assets\nearest_warehouses.png" alt="Header Image" width="980"/>
469+
<img src="examples\assets\nearest_warehouses.png" alt="Header Image" width="980"/>
470470
</p>
471471

472472
#### Forward Nearest Warehouses
@@ -506,7 +506,7 @@ display(unassigned_df.head())
506506
```
507507

508508
<p align="left">
509-
<img src="../examples\assets\network_design_plus.png" alt="Header Image" width="980"/>
509+
<img src="examples\assets\network_design_plus.png" alt="Header Image" width="980"/>
510510
</p>
511511

512512
#### Forward Network Design Plus
@@ -564,7 +564,7 @@ display(solution_kpis.head())
564564
```
565565

566566
<p align="left">
567-
<img src="../examples\assets\location_planning.png" alt="Header Image" width="980"/>
567+
<img src="examples\assets\location_planning.png" alt="Header Image" width="980"/>
568568
</p>
569569

570570
#### Forward Location Planning
@@ -790,7 +790,7 @@ You can create a freight matrix on the Log-hub Platform. Therefore, please creat
790790
To get the matrix id, please click on the "gear" icon. There you can copy & paste the matrix id that is needed in your API request.
791791

792792
<p align="left">
793-
<img src="../examples\assets\CO2_emissions.png" alt="Header Image" width="980"/>
793+
<img src="examples\assets\CO2_emissions.png" alt="Header Image" width="980"/>
794794
</p>
795795

796796
#### Forward CO2 Emissions Road
@@ -887,7 +887,7 @@ freight_emissions_df = forward_freight_shipment_emissions_sea(un_locodes_df, par
887887
freight_emissions_df.head()
888888
```
889889
<p align="left">
890-
<img src="../examples\assets\demand_forecasting.png" alt="Header Image" width="980"/>
890+
<img src="examples\assets\demand_forecasting.png" alt="Header Image" width="980"/>
891891
</p>
892892

893893
#### Demand Forecasting

pyloghub/supply_chain_map_sea_routes.py

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
import os
2-
import requests
32
import pandas as pd
4-
import time
5-
import logging
63
import warnings
74
from typing import Optional
85
import sys

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setup(
77
name='pyloghub',
8-
version='0.1.3',
8+
version='0.1.4',
99
packages=find_packages(),
1010
description='The `pyloghub` package provides convinient access to various Log-hub API services for Supply Chain Visualization, Network Design Optimization, and Transport Optimization as well as access to the Log-hub platform data.',
1111
long_description=open('README.md').read(),

0 commit comments

Comments
 (0)