Video Of Day

Breaking News

Launching Opened Upward Origin Code Libraries

 Bond Price Figure Generated past times Python Libraries Launching Open Source Code Libraries
Figure generated past times Python library code
I cause got created a basic fixed income pricing parcel inwards the Python programming linguistic communication -- the "simplepricers" package, available at Github: https://github.com/brianr747/SimplePricers . The code is opened upwards source, merely the parcel is instantly extremely pocket-size -- together with therefore far, I cause got spent a lot of fourth dimension developing my piece of employment flow. This parcel volition move used to practice fixed income analysis inwards my books -- together with readers volition move able to utilisation the origin code to replicate the results. For those of y'all amongst an involvement inwards economics, I desire to parcel my Stock-Flow Consistent model code inwards roughly other opened upwards origin library.

Requirements

  • Python 3.x [Absolutely required!] I developing on machines amongst versions 3.3, 3.4, together with 3.5 of Python. If y'all wanted to essay it on Python 2.X, y'all mightiness move able to buy the farm much of the code to work. (The impress syntax has changed.)
  • Git. [Extremely useful]. The Git origin command organisation is the most natural means of working amongst this package. Once installed, y'all tin piece of employment amongst a re-create of the code parcel ("clone the repository" inwards Git-speak). (The Subversion origin command organisation tin link to Github equally well.) If y'all practice non desire to install Git, y'all tin download the origin files inwards a nil file from the GitHub site.
  • Python Library Matplotlib [Useful for examples]. The matplotlib parcel was used to generate the figure above. Matplotlib has a lot of useful materials for this type of work, merely it has a lot of dependencies. (My get-go attempts to install failed on diverse computers.) You tin run my event code without matplotlib, merely y'all volition non encounter the figure. If y'all utilisation roughly other plotting package, y'all tin substitute matplotlib easily.
  • PyCharm. [Useful.] This is an integrated evolution surroundings for Python; real useful. There is a gratuitous community edition, together with a paid professional person version.
  • Knowledge of Python, or at to the lowest degree a "learn to plan Python" book.
I cause got created a novel weblog - http://romanchuk-programming.blogspot.ca/ where I volition stick things similar installation instructions. That site is expected to a greater extent than to move a laid of fixed resources pages than a blog. It mightiness migrate to a sub-domain of bondeconomics.com.

And for those who desire a to a greater extent than lighthearted approach to Python, I cause got started working on a "4X" strategy game ("eXplore, eXpand, eXploit, together with eXterminate") - https://github.com/brianr747/Simple4Xpygame

At present, it is non also much of a game - y'all tin lookout the AI players essay to accept over the galaxy. That plan uses version 2.7 of Python, together with the code is frankly a mess.

Future Developments

I innovation to piece of cake add together functionality to the "simplepricers" parcel equally I practice examples to illustrate points inwards articles. Influenza A virus subtype H5N1 lot of it volition move primers, merely also topical comments.

Although the terminal editing procedure for "Abolish Money!" may accept a chip longer, I am starting to intend close my adjacent projects. One probable possibility volition involve me cleaning upwards my existing Stock-Flow Consistent model code, together with using it to illustrate concepts.

Concluding Remarks

If y'all are already familiar amongst Python together with git, accessing the code volition move straightforward. Otherwise, y'all volition involve piece of employment on their installation, together with how to utilisation them. There is a lot of first-class documentation available for them on the internet; I volition seat roughly pointers on the other site.


(c) Brian Romanchuk 2016

No comments