Packaging and Uploading a package to PyPI

There are a couple of pre-requisites you must meet before you are ready to package your software. You need to create a handful of files to package up this project and prepare it for distribution. Create the new files listed below and place them in the project’s Python root directory. Official instructions can be found here… Continue reading Packaging and Uploading a package to PyPI

Covid-19: ‘Diary Alert’, Improved Track and Trace

Update 28 April: Germany to move from central database to 'diary alert' approach of distributed data on handsets for improved privacy protection. Many countries are considering making use of a contact tracking app to allow track and trace of Covid-19. There is an app that was initially developed in Singapore, based on detecting contacts through… Continue reading Covid-19: ‘Diary Alert’, Improved Track and Trace

With,Use,Apply,Also,Run,Let

The two that do not fit in the same group are the Python With and Kotlin Use. These functions are for using (or doing something with) a resource that should be released when the operation is complete. Kotlin Let, Apply, Run, Also, With (not to be confused with Python With), are all quite similar. Once… Continue reading With,Use,Apply,Also,Run,Let

Structure: Import, Dependencies & Repositories

Both Kotlin and Python use the keyword "import". At a superficial level, import performs a similar role in both languages, but the steps for each languages achieve what is required are very different. Examining how import works, explores the structure of Python and Kotlin program, and how they are constructed. Import relies on dependencies, and… Continue reading Structure: Import, Dependencies & Repositories