All Projects → SebastianSzturo → Countries

SebastianSzturo / Countries

Licence: mit
Collection of Country Information for Elixir.

Programming Languages

elixir
2628 projects

Projects that are alternatives of or similar to Countries

Exrm deb
Create a deb for your elixir release with ease
Stars: ✭ 75 (-29.91%)
Mutual labels:  hex
Language list
A list of languages based upon ISO-639-1 and ISO-639-3 with functions to retrieve only common languages.
Stars: ✭ 82 (-23.36%)
Mutual labels:  countries
Bloomex
🌺 A pure Elixir implementation of Scalable Bloom Filters
Stars: ✭ 93 (-13.08%)
Mutual labels:  hex
Country List
Provides a View Controller with Country List along with Calling Code and Country Code.
Stars: ✭ 76 (-28.97%)
Mutual labels:  countries
Quizzity
A fast-paced geography quiz
Stars: ✭ 80 (-25.23%)
Mutual labels:  countries
Countries
Countries - ISO 3166 (ISO3166-1, ISO3166, Digit, Alpha-2 and Alpha-3) countries codes and names (on eng and rus), ISO 4217 currency designators, ITU-T E.164 IDD calling phone codes, countries capitals, UN M.49 regions codes, ccTLD countries domains, IOC/NOC and FIFA letters codes, VERY FAST, NO maps[], NO slices[], NO init() funcs, NO external links/files/data, NO interface{}, NO specific dependencies, Databases/JSON/GOB/XML/CSV compatible, Emoji countries flags and currencies support, full support ISO-3166-1, ISO-4217, ITU-T E.164, Unicode CLDR and ccTLD standarts.
Stars: ✭ 85 (-20.56%)
Mutual labels:  countries
Country Coder
📍➡️ 🇩🇰 Convert longitude-latitude pairs to ISO 3166-1 codes quickly and locally
Stars: ✭ 72 (-32.71%)
Mutual labels:  countries
Country Ip Blocks
CIDR country-level IP data, straight from the Regional Internet Registries, updated hourly.
Stars: ✭ 100 (-6.54%)
Mutual labels:  countries
3166
This is the best source for iso3166 codes you can found. I am sure.
Stars: ✭ 81 (-24.3%)
Mutual labels:  countries
Phone
Elixir phone number parser for numbers in international standard.
Stars: ✭ 93 (-13.08%)
Mutual labels:  countries
Coherence
Coherence is a full featured, configurable authentication system for Phoenix
Stars: ✭ 1,207 (+1028.04%)
Mutual labels:  hex
Xcodecolorsense
🎈 An Xcode plugin that makes working with color easier
Stars: ✭ 79 (-26.17%)
Mutual labels:  hex
Multiverse
Elixir package that allows to add compatibility layers via API gateways.
Stars: ✭ 87 (-18.69%)
Mutual labels:  hex
Colorhighlight
🎨 Lightweight Color Highlight colorizer for Sublime Text
Stars: ✭ 76 (-28.97%)
Mutual labels:  hex
Values.js
🍇 Get the tints and shades of a color
Stars: ✭ 97 (-9.35%)
Mutual labels:  hex
Ex admin
ExAdmin is an auto administration package for Elixir and the Phoenix Framework
Stars: ✭ 1,180 (+1002.8%)
Mutual labels:  hex
Phoenix gon
🔥 Phoenix variables in your JavaScript without headache.
Stars: ✭ 84 (-21.5%)
Mutual labels:  hex
Iso 3166 Countries With Regional Codes
ISO 3166-1 country lists merged with their UN Geoscheme regional codes in ready-to-use JSON, XML, CSV data sets
Stars: ✭ 1,372 (+1182.24%)
Mutual labels:  countries
Countries
Rinvex Country is a simple and lightweight package for retrieving country details with flexibility. A whole bunch of data including name, demonym, capital, iso codes, dialling codes, geo data, currencies, flags, emoji, and other attributes for all 250 countries worldwide at your fingertips.
Stars: ✭ 1,365 (+1175.7%)
Mutual labels:  countries
Destructure
Javascript-style destructuring for Elixir
Stars: ✭ 91 (-14.95%)
Mutual labels:  hex

Countries 🌍

Build Status Hex.pm Hex Docs Hex.pm

Countries is a collection of all sorts of useful information for every country in the ISO 3166 standard. It is based on the data from the ruby gem Countries.

Installation

defp deps do
  [{:countries, "~> 1.6"}]
end

After you are done, run mix deps.get in your shell to fetch and compile countries.

Usage

Find country by attribute.

country = Countries.filter_by(:alpha2, "DE")
# [%Countries.Country{alpha2: 'DE', alpha3: 'DEU', continent: 'Europe',
#	 country_code: '49', currency: 'EUR', ...]

countries = Countries.filter_by(:region, "Europe")
Enum.count(countries)
# 51

Get all Countries.

countries = Countries.all
Enum.count(countries)
# 250

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].