Skip to content

Commit eee8ba4

Browse files
committed
initial upload
0 parents  commit eee8ba4

24 files changed

+3838
-0
lines changed

.gitignore

+109
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
# Byte-compiled / optimized / DLL files
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
6+
# C extensions
7+
*.so
8+
9+
# Distribution / packaging
10+
.Python
11+
build/
12+
develop-eggs/
13+
dist/
14+
downloads/
15+
eggs/
16+
.eggs/
17+
lib/
18+
lib64/
19+
parts/
20+
sdist/
21+
var/
22+
wheels/
23+
*.egg-info/
24+
.installed.cfg
25+
*.egg
26+
MANIFEST
27+
28+
# PyInstaller
29+
# Usually these files are written by a python script from a template
30+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
31+
*.manifest
32+
*.spec
33+
34+
# Installer logs
35+
pip-log.txt
36+
pip-delete-this-directory.txt
37+
38+
# Unit test / coverage reports
39+
htmlcov/
40+
.tox/
41+
.coverage
42+
.coverage.*
43+
.cache
44+
nosetests.xml
45+
coverage.xml
46+
*.cover
47+
.hypothesis/
48+
.pytest_cache/
49+
50+
# Translations
51+
*.mo
52+
*.pot
53+
54+
# Django stuff:
55+
*.log
56+
local_settings.py
57+
db.sqlite3
58+
59+
# Flask stuff:
60+
instance/
61+
.webassets-cache
62+
63+
# Scrapy stuff:
64+
.scrapy
65+
66+
# Sphinx documentation
67+
docs/_build/
68+
69+
# PyBuilder
70+
target/
71+
72+
# Jupyter Notebook
73+
.ipynb_checkpoints
74+
75+
# pyenv
76+
.python-version
77+
78+
# celery beat schedule file
79+
celerybeat-schedule
80+
81+
# SageMath parsed files
82+
*.sage.py
83+
84+
# Environments
85+
.env
86+
.venv
87+
env/
88+
venv/
89+
ENV/
90+
env.bak/
91+
venv.bak/
92+
93+
# Spyder project settings
94+
.spyderproject
95+
.spyproject
96+
97+
# Rope project settings
98+
.ropeproject
99+
100+
# mkdocs documentation
101+
/site
102+
103+
# mypy
104+
.mypy_cache/
105+
106+
107+
# other
108+
.vscode
109+
profile/data*

.travis.yml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
sudo: false
2+
language: python
3+
python:
4+
- "3.6"
5+
install:
6+
- pip install flake8>=3.5.0
7+
- pip install -r requirements.txt
8+
script:
9+
- flake8 --ignore=F401
10+
- python -W ignore -m unittest discover
11+
cache: pip

CHANGES.md

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2+
# 0.1.0 / 2018-10-05
3+
4+
* Initial Release

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2018 Ulf Hamster
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

MANIFEST.in

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
include README.md
2+
recursive-include test *.py

README.md

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
[![Build Status](https://travis-ci.org/kmedian/panelctmc.svg?branch=master)](https://travis-ci.org/kmedian/panelctmc)
2+
[![Binder](https://mybinder.org/badge.svg)](https://mybinder.org/v2/gh/kmedian/panelctmc/master?urlpath=lab)
3+
4+
# panelctmc
5+
Continuous Time Markov Chain for daily panel data and annual transition probabilities
6+
7+
## Table of Contents
8+
* [Installation](#installation)
9+
* [Usage](#usage)
10+
* [Commands](#commands)
11+
* [Support](#support)
12+
* [Contributing](#contributing)
13+
14+
15+
## Installation
16+
The `panelctmc` [git repo](http://github.com/kmedian/panelctmc) is available as [PyPi package](https://pypi.org/project/panelctmc)
17+
18+
```
19+
pip install panelctmc
20+
```
21+
22+
23+
## Usage
24+
Check the [examples](examples) folder for notebooks.
25+
26+
27+
## Commands
28+
* Check syntax: `flake8 --ignore=F401`
29+
* Run Unit Tests: `python -W ignore -m unittest discover`
30+
* Remove `.pyc` files: `find . -type f -name "*.pyc" | xargs rm`
31+
* Remove `__pycache__` folders: `find . -type d -name "__pycache__" | xargs rm -rf`
32+
* Upload to PyPi with twine: `python setup.py sdist && twine upload -r pypi dist/*`
33+
34+
35+
## Debugging
36+
* Notebooks to profile python code are in the [profile](profile) folder
37+
38+
39+
## Support
40+
Please [open an issue](https://github.com/kmedian/panelctmc/issues/new) for support.
41+
42+
43+
## Contributing
44+
Please contribute using [Github Flow](https://guides.github.com/introduction/flow/). Create a branch, add commits, and [open a pull request](https://github.com/kmedian/panelctmc/compare/).

0 commit comments

Comments
 (0)