CodeFurther v 0.1.0.dev9 Released

The good news is that the latest version of CodeFurther has been pushed to PyPI. Please be aware that it is not yet ready to be used in anger in the classroom, as I need to get much more feedback. That said, I am looking for a small number of educators that know Python, who would be willing to use in a controlled fashion, and provide feedback.

The bad, well, the less good news is that the documentation and test cases haven’t been updated to reflect the many changes.

New Data Sources

In this release I’ve added another two data sources:

Weather forecasts

Football Data

New Ways to Share Information

This version of CodeFurther now makes it easy to share information socially. Note there are some setup requirements in order to get these to work. See here.

Twitter

Email

SMS Text Message

Messages via Slack.com

Configuration Settings

The weather forecast data sources and all of the new ways to share data require configuration values to be set. There are two ways to achieve this.

cf_settings.py file

Create a cf_settings.py file and add the following (case sensitive) variables to it.

CodeFurther will look for this file in the following locations:

  1. The current working directory
  2. The user configuration directory – e.g. on Windows this might beĀ C:\Users\USERNAME\AppData\Local\codefurther\codefurther.

Environment Variables

Set an environment variable that corresponds to the Python variable in cf_settings.py above. This will override any settings found in the cf_settings.py file.

Encryption of Settings

So that raw settings are never visible to anyone, the settings (except numeric settings) are encrypted using a simple rot_13 rotational cypher. You can set encrypted passwords using a helper function from the CodeFurther package like this.

 

 

 

Posted in Releases and tagged .

Leave a Reply

Your email address will not be published. Required fields are marked *