Coder Social home page Coder Social logo

semver_emoji's Introduction

semver_emoji

Like semver, but with emojis!

What does it do?

Instead of using numbers in semver, let's use emojis! Emojizing a semver is deterministic! You always get the same result from the same "classic" semver.

Each product has its own semver, though!

Version 4.8.15 from product A will have different emojis than 4.8.15 from product B.

Some examples!!

See the following:

  • Product 1.0.0 : ๐Ÿ‘‰๐Ÿผ.๐Ÿง”๐Ÿฝ.๐Ÿˆบ
  • Product 1.0.1 : ๐Ÿ‘‰๐Ÿผ.๐Ÿง”๐Ÿฝ.๐Ÿฆ’
  • Product 1.0.2 : ๐Ÿ‘‰๐Ÿผ.๐Ÿง”๐Ÿฝ.๐Ÿค
  • Product 1.1.0 : ๐Ÿ‘‰๐Ÿผ.๐Ÿ‘๐Ÿฟ.๐Ÿ–
  • Product 1.2.0 : ๐Ÿ‘‰๐Ÿผ.๐Ÿงœ๐Ÿผโ€โ™‚๏ธ.๐ŸŒ“
  • Product 1.2.1 : ๐Ÿ‘‰๐Ÿผ.๐Ÿงœ๐Ÿผโ€โ™‚๏ธ.๐Ÿšดโ€โ™‚๏ธ
  • Product 2.0.0 : ๐Ÿ•’.๐Ÿ‘จ๐Ÿปโ€๐ŸŽจ.๐Ÿ‘ฎ๐Ÿพโ€โ™€๏ธ

Please note

  • It is easy to see if 2 semvers are related
  • It becomes hard to order versions (Should ๐Ÿ‘‰๐Ÿผ come before or after ๐Ÿ•’? Especially as it depends on the product)
  • Depending on where you print the emojis, you may need to do some transformation.
  • Some systems don't support some emojis (like the flags, or the skin colour, or the gender)

Improvements

  • PyPI package
  • Provide a custom set of emojis to pick from (to constrain from the full set)
  • Include/exclude families/versions/features of emojis
  • Return other formats besides str (like tuple or the same as semver package)
  • Return other types of output (like ":fountain_pen:" for ๐Ÿ–‹๏ธ)
  • Unit-tests

semver_emoji's People

Contributors

mulugruntz avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.