Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/erictleung/python-module
- Owner: erictleung
- License: cc0-1.0
- Created: 2016-06-30T22:45:05.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-11-27T06:33:09.000Z (about 8 years ago)
- Last Synced: 2024-06-11T23:04:47.074Z (7 months ago)
- Topics: module, python, python-3, test
- Language: Python
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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/)