Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Diablo 3 gem crafting helper

Project Description

For harnessing those Flawless Square Emeralds

d3gem is a very simple utility tool for helping with Diablo 3 gem crafting. What it does is calculating whether you have enough lesser gems to make few greater ones, and how many you are missing (or will have left).


Use pip to get the d3gem command in your shell:

$ pip install d3gem

Or just download the package and run directly (e.g. with python ./


Specify which gem(s) you are trying to make and you will see how many Flawless Square ones you will need for that:

$ d3gem 1fst
You DON'T have enough lesser gems to make 1 Flawless Star gem(s).
The equivalent of 81 Flawless Square gem(s) is missing for that.

You can also say gems what you already have in stock, so that you’ll see how many you are still missing to perform your craft:

$ d3gem 1fst -s 20fsq,1rsq,1st
You DON'T have enough lesser gems to make 1 Flawless Star gem(s).
The equivalent of 25 Flawless Square gem(s) is missing for that.

or, alternatively, how many you’ll have left:

$ d3gem 1st -s 20fsq,1rsq
You DO have enough lesser gems to make 1 Star gem(s).
Afterwards you will still have the equivalent of 2 Flawless Square gem(s).

Type d3gem --help to get the list of gem class abbrevations.


  • Make target gems optional and show what’s the highest gem you can craft with given stock and how many more you need for even higher class
  • Maybe store stock in config file?…

Suggestions and pull requests welcome :)

Release History

This version
History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Hash SHA256 Hash Help Version File Type Upload Date
(1.9 kB) Copy SHA256 Hash SHA256
Source Jan 13, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting