Skip to content

Teaching materials for using git and GitHub effectively for software development. This repo is a mirror of the below GitLab repo. Please open issues and PRs there if possible.

License

Notifications You must be signed in to change notification settings

jatkinson1000/git-for-science

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyndulum

Python package to provide an implementation of simple pendulum equations

Installation

To install this code clone the repository using:

git clone https://github.com/jatkinson1000/git-for-science.git git4sci

Navigate inside and then install using pip:

cd git4sci
pip install .

It is recommended to use a virtual environment.

This will install pyndulum and its dependencies

Getting Started

To start, enter the python repl using:

python

From there you can import the pyndulum package and use the equations.
For example:

from pyndulum import equations as peq
peq.get_period(2)
2.837006706885775
peq.check_small_angle(0.0002)
True

Authors and Acknowledgment

pyndulum is written by Jack Atkinson.
Please provide acknowledgment if your project uses pyndulum

Contributing

Contributions are welcome.

To contribute to pyndulum please raise an issue or feature request on the board and open a pull/merge request.

About

Teaching materials for using git and GitHub effectively for software development. This repo is a mirror of the below GitLab repo. Please open issues and PRs there if possible.

Topics

Resources

License

Stars

Watchers

Forks