Sponsored by DataDog -- pythonbytes.fm/datadog
Brian #1: Making a PyPI-friendly README
- twine now checks for rendering problems with README
- Install the latest version of twine; version 1.12.0 or higher is required:
pip install --upgrade twine
- Build the sdist and wheel for your project as described under Packaging your project.
twine check on the sdist and wheel:
twine check dist/*
- This command will report any problems rendering your README. If your markup renders fine, the command will output
Checking distribution FILENAME: Passed.
Michael #2: Java goes paid
- Oracle's new Java SE subs: Code and support for $25/processor/month
- Prepare for audit after inevitable change, says Oracle licensing consultant
- There’s also a little bit of stick to go with the carrot, because come January 2019 Java SE 8 on the desktop won’t be updated any more … unless you buy a sub.
- The short version is that every commercial enterprise needs to look at their Java SE (Standard Edition) usage to see if they need to do something with licensing.
Brian #3: Absolute vs Relative Imports in Python
- Review of how imports are used, along with subpackages and
from package.sub import func
- Relative: what does this mean:
from .some_module import some_class
from ..some_package import some_function
from . import some_class
Michael #4: pyxel - A retro game engine for Python
- Thanks to its simple specifications inspired by retro gaming consoles, such as only 16 colors can be displayed and only 4 sounds can be played back at the same time, you can feel free to enjoy making pixel art style games.
- Run on Windows, Mac, and Linux
- Code writing with Python3
- After installing Pyxel, the examples of Pyxel will be copied to the current directory with the following command:
Brian #5: Click 7.0 Released
- Drop support for Python 2.6 and 3.3.
- Add native ZSH autocompletion support.
- Usage errors now hint at the
- Really long list of changes since the last release at the beginning of 2017
Michael #6: How we spent 30k USD in Firebase in less than 72 hours
- the largest crowdfunding campaign in Colombia, collecting 3 times more than the previous record so far in only two days!
- Run on the Vaki platform -- subject of this article
- We had reached more than 2 million sessions, more than 20 million pages visited and received more than 15 thousand supports. This averages to a thousand users active on the site in average and collecting more than 20 supports per minute.
- Site was running slow, tried things like upgraded the frontend frameworks
- Logged into Firebase: had spent $30,356.56 USD in just 72 hours! Going at $600/hr
- All came down to a very bad implementation of
- Comments are interesting
- It could happen to any of us, it happened to me this month.