https://github.com/martide/ports
https://github.com/martide/ports
elixir unlocode
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/martide/ports
- Owner: martide
- License: apache-2.0
- Created: 2021-12-27T02:10:06.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-04-01T08:06:44.000Z (about 1 year ago)
- Last Synced: 2025-04-11T18:24:12.995Z (about 1 year ago)
- Topics: elixir, unlocode
- Language: Elixir
- Homepage:
- Size: 5.89 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Ports
**TODO: Add description**
## Installation
[Available in Hex](https://hex.pm/packages/ports), the package can be installed
by adding `ports` to your list of dependencies in `mix.exs`:
```elixir
def deps do
[
{:ports, "~> 0.1"}
]
end
```
## Updating
1. Download the UNLOCODE csv from [UNECE](https://unece.org/trade/cefact/UNLOCODE-Download)
2. Save the downloaded files to folder `priv/data`
3. Update module attribute `@code_list_sources` in `Ports.Loader` with the downloaded file names