Skip to main content

ANU Inversion Course Package

Build PyPI version

This package contains resources to be used in the inversion course practicals.

Table of contents

Getting started

1. Pre-requisites

Before installing the ANU-inversion-course package, make sure you have the following ready:

  • A computer with a recent OS.
  • OS-specific dependencies including a system package manager:
    • For Linux users:
      1. Familiarise yourself with the linux system package manager apt / dnf / pacman / yast etc.
    • For MacOS users:
      1. Download and install Xcode from "App Store" (you'll need to create an Apple account if not already done)
      2. Install the Xcode command line tools by typing this in "Terminal": xcode-select --install; sudo xcodebuild -license; sudo softwareinstall -i -a
      3. Install a recent package manager e.g. one of Anaconda (https://www.anaconda.com/), MacPorts (https://www.macports.org/), HomeBrew (https://brew.sh/)
    • For Windows users:
      1. Install the Cygwin package manager (https://www.cygwin.com/)
  • Install git, gcc, g++, gfortran and python (3.6+) using the package manager. Use the package manager search facility to find options.
  • Install any other software development tools you want using the package manager.
  • If necessary add your package manager installation directory to the system PATH environment variable so installed programs can/will be found.

These tools can usually be downloaded in source form and compiled however this should only be necessary if you have an unusual setup. Don't be tempted by web sites that claim easy one step package installs, install a package manager. Package managers are far superior in almost every way.

2. Set up a python virtual environment [optional]

It's recommended to use a python virtual environment (e.g. venv, virtualenv, mamba or conda) so that ANU-Inversion-Course doesn't conflict with your other Python projects.

Open a terminal (or a Cygwin shell for Windows users) and refer to the cheat sheet below for how to create, activate, exit and remove a virtual environment. $ is the system prompt.

venv

Ensure you have and are using python >= 3.6. It may not be called python but something like python3, python3.10 etc.

Use the first two lines below to create and activate the new virtual environment. The other lines are for your future reference.

$ python -m venv <path-to-new-env>/inversion_course           # to create
$ source <path-to-new-env>/inversion_course/bin/activate      # to activate
$ deactivate                                                  # to exit
$ rm -rf <path-to-new-env>/inversion_course                   # to remove
virtualenv

Use the first two lines below to create and activate the new virtual environment. The other lines are for your future reference.

$ virtualenv <path-to-new-env>/inversion_course -p=3.10       # to create
$ source <path-to-new-env>/inversion_course/bin/activate      # to activate
$ deactivate                                                  # to exit
$ rm -rf <path-to-new-env>/inversion_course                   # to remove
mamba

Use the first two lines below to create and activate the new virtual environment. The other lines are for your future reference.

$ mamba create -n inversion_course python=3.10                # to create
$ mamba activate inversion_course                             # to activate
$ mamba deactivate                                            # to exit
$ mamba env remove -n inversion_course                        # to remove
conda

Use the first two lines below to create and activate the new virtual environment. The other lines are for your future reference.

$ conda create -n inversion_course python=3.10                # to create
$ conda activate inversion_course                             # to activate
$ conda deactivate                                            # to exit
$ conda env remove -n inversion_course                        # to remove

3. Installation

Type the following in your terminal (or Cygwin shell for Windows users):

$ pip install jupyterlab matplotlib anu-inversion-course

4. Check

And when you run jupyter-lab to do the practicals, make sure you are in the same environment as where your anu-inversion-course was installed. You can try to test this by checking if the following commands give you similar result:

$ which pip
<some-path>/bin/pip
$ which jupyter-lab
<same-path>/bin/jupyter-lab
$ pip list | grep ANU-inversion-course
ANU-inversion-course               0.1.0

Troubleshooting

If you find problems importing anu_inversion_course.rf, try to search for the error message you get. Here contains a nice explanation for one possible cause. And here is how to locate libgfortran:

gfortran --print-file-name libgfortran.5.dylib # macOS

Developer Notes

Check out NOTES.md if you'd like to contribute to this package.

  1. Getting started
  2. Cheatsheet
    1. conda environment
    2. git operations
    3. package development
    4. package metadata
    5. package building test & release
  3. Adding C/C++ extensions
  4. Adding Fortran extensions
  5. More references
  6. Appendix - semantic versioning
  7. Additional Notes about gfortran

Metadata

Release files for ANU-inversion-course 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ANU-inversion-course 0.1.1
File Size Uploaded Provenance
ANU_inversion_course-0.1.1.tar.gz 1.5 MB Without provenance Details

Built distributions (wheels)

Table of built distributions (wheels) for ANU-inversion-course 0.1.1
File
ANU_inversion_course-0.1.1-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
ANU_inversion_course-0.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details
ANU_inversion_course-0.1.1-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details
ANU_inversion_course-0.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.17+ x86-64 Details
ANU_inversion_course-0.1.1-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details
ANU_inversion_course-0.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.17+ x86-64 Details
ANU_inversion_course-0.1.1-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details
ANU_inversion_course-0.1.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64 Details
ANU_inversion_course-0.1.1-cp36-cp36m-win_amd64.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-64 Details
ANU_inversion_course-0.1.1-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.17+ x86-64 Details

Total release size: 9.4 MB

Release files / ANU_inversion_course-0.1.1.tar.gz

Download URL ANU_inversion_course-0.1.1.tar.gz
Size 1.5 MB
Tags Source
SHA-256 checksum
How to use checksums
716650456eb49923b5dd5af455d0809d956beadd3c7b5493a75bb9bcb8795829
BLAKE2b-256 checksum
How to use checksums
a804909d3edc449b9388db671b71061604b4edb8cd01c8d5ad2b3a47ac4e79ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.8.18

Release files / ANU_inversion_course-0.1.1-cp310-cp310-win_amd64.whl

Download URL ANU_inversion_course-0.1.1-cp310-cp310-win_amd64.whl
Size 180.4 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
fbd594521da4ae02df65867ab1ca9e702dad6ff5fc65a1e288641d1e70a32731
BLAKE2b-256 checksum
How to use checksums
c0c0ab0436ba7b48da7359491799abafbe286a184e66808a6992d5a17011a94f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.8.18

Release files / ANU_inversion_course-0.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL ANU_inversion_course-0.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.4 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
353713959cfda4d5174797d96998e443df44528f936051706bcaa7e08b416850
BLAKE2b-256 checksum
How to use checksums
570c5b9e9a6252fbf08696e71e0ef3dd4f4d6e996b24ffd2a86e34e221a5c179
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.8.18

Release files / ANU_inversion_course-0.1.1-cp39-cp39-win_amd64.whl

Download URL ANU_inversion_course-0.1.1-cp39-cp39-win_amd64.whl
Size 180.5 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
7f36adff6e25fa6672d4fcd27ca033946e68c6d7ea0eef81e47a4644cb2ece6a
BLAKE2b-256 checksum
How to use checksums
55debb0a36b192332cd69f3f1874ba8b5a0c4fba56f7812b207fb66f53e2009c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.8.18

Release files / ANU_inversion_course-0.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL ANU_inversion_course-0.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.4 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
2825f519696c29aa32fbe5a574cc85027077b0c733ed23b73899580d5791e928
BLAKE2b-256 checksum
How to use checksums
6bcba265d611c51b327b396049c1de824269698fb8405666d6d50457ec2d5b6e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.8.18

Release files / ANU_inversion_course-0.1.1-cp38-cp38-win_amd64.whl

Download URL ANU_inversion_course-0.1.1-cp38-cp38-win_amd64.whl
Size 180.2 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
91a23089ec03d1a397703ce1b0439d801c56940f7ce247f434b220c58f49b8bb
BLAKE2b-256 checksum
How to use checksums
5ae134924af6933a483ecbaaaf6380bb1cafed38fcef8689b2ef53d158ccbf62
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.8.18

Release files / ANU_inversion_course-0.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL ANU_inversion_course-0.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.4 MB
Tags CPython 3.8 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
bddad33fafec313848e287c6abb26a6a0433249a59dd7144bbee90a093fd6703
BLAKE2b-256 checksum
How to use checksums
6715fd5ccc112ce3df2780fbca2c4616ddaa652929ad666e22bb06815faa7cc0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.8.18

Release files / ANU_inversion_course-0.1.1-cp37-cp37m-win_amd64.whl

Download URL ANU_inversion_course-0.1.1-cp37-cp37m-win_amd64.whl
Size 179.8 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
4456596c9cca2678edba2b3882698f82dc6bfebafcef80dcaca6aa689b7ff91d
BLAKE2b-256 checksum
How to use checksums
a265f035d8c2513db56411feff4da81eac9ed8bc8518c984f8527a3d454c86b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.8.18

Release files / ANU_inversion_course-0.1.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL ANU_inversion_course-0.1.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.4 MB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
e3689373c49a3ce2e202d7d0ae39f2c9b4208810d38ec711af2b2edbb6e5bc01
BLAKE2b-256 checksum
How to use checksums
c5642853fedacb8d53b4e2186aa69843f039eab3c3600cc411032ac885ade9c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.8.18

Release files / ANU_inversion_course-0.1.1-cp36-cp36m-win_amd64.whl

Download URL ANU_inversion_course-0.1.1-cp36-cp36m-win_amd64.whl
Size 180.5 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
9a56cffd839484638969cd1225b727b79645d511ca5f8a0a07f85f50b1eae93e
BLAKE2b-256 checksum
How to use checksums
de73c6f0689933349d32d814afb3fbb704b8c925f073699406f064c27ae9302d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.8.18

Release files / ANU_inversion_course-0.1.1-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL ANU_inversion_course-0.1.1-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.4 MB
Tags CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
5e37f65fd5030716df021da75fa1851091a7810c18bbc2baed17dfc1ffeef914
BLAKE2b-256 checksum
How to use checksums
57748694b47f25bd7b5fa815deffd65889673f040dfdcb37bec25aaa28b3c942
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.8.18

Security for ANU-inversion-course 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page