Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/erictleung/python-module

:snake: Test Python module to get familiar with creation and maintenance of a Python module
https://github.com/erictleung/python-module

module python python-3 test

Last synced: 17 days ago
JSON representation

:snake: Test Python module to get familiar with creation and maintenance of a Python module

Awesome Lists containing this project

README

        

# python-module

Test Python module to get me familiar with creation and maintenance of a Python module

## Prerequisites

- [Python 3](https://www.python.org/)

## Installation

### Interactively

From the terminal

```sh
$ git clone https://github.com/erictleung/python-module.git
$ cd python-module
$ python3
```

### As Package

```sh
$ git clone https://github.com/erictleung/python-module.git
$ cd python-module
$ pip install .
```

### Straight from GitHub

```sh
$ pip install git+git://github.com/erictleung/python-module.git
```

Use optional `--upgrade` flag to keep package up-to-date.

## To Use

Once in Python

```python
>>> from Animals import Mammals
>>> myMammal = Mammals()
>>> Mammals.printMembers()
Printing members of the Mammals class
Tiger
Zebra
Giraffe
```

## License

[![CC0](http://mirrors.creativecommons.org/presskit/buttons/88x31/svg/cc-zero.svg)](https://creativecommons.org/publicdomain/zero/1.0/)