Skip to content

Commit

Permalink
Push zelos code.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Z. Snow committed Mar 2, 2020
1 parent 6befe7f commit b9bcc3c
Show file tree
Hide file tree
Showing 350 changed files with 23,291 additions and 2 deletions.
13 changes: 13 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@

[run]
branch = True
source =
zelos

[paths]
source =
src
.tox/*/site-packages

[report]
show_missing = True
2 changes: 2 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[flake8]
ignore = E203, W503
139 changes: 139 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# Distribution / packaging
/.Python
/build/
/develop-eggs/
/dist/
/downloads/
/eggs/
/.eggs/
/lib/
/lib64/
/parts/
/sdist/
/var/
/wheels/
/pip-wheel-metadata/
/share/python-wheels/
/*.egg-info/
/.installed.cfg
/*.egg
/MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
/*.manifest
/*.spec

# Installer logs
/pip-log.txt
/pip-delete-this-directory.txt

# Unit test / coverage reports
/htmlcov/
/.tox/
/.nox/
/.coverage
/.coverage.*
/.cache
/nosetests.xml
/coverage.xml
/*.cover
/*.py,cover
/.hypothesis/
/.pytest_cache/

# Translations
/*.mo
/*.pot

# Scrapy stuff:
/.scrapy

# Sphinx documentation
/docs/_build/
/docs/api/
/docs/log.txt

# PyBuilder
/target/

# Jupyter Notebook
/.ipynb_checkpoints

# IPython
/profile_default/
/ipython_config.py

# pyenv
/.python-version

# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
#Pipfile.lock

# PEP 582; used by e.g. github.com/David-OConnor/pyflow
__pypackages__/

# Celery stuff
/celerybeat-schedule
/celerybeat.pid

# SageMath parsed files
/*.sage.py

# Environments
/.env
/.venv
/env
/venv

# Spyder project settings
/.spyderproject
/.spyproject

# Rope project settings
/.ropeproject

# mkdocs documentation
/site

# mypy
/.mypy_cache/
/.dmypy.json
/dmypy.json

# Pyre type checker
/.pyre/

# Zelos
/.vscode/*
/settings.json
**/sandbox/*

# Mypy type checking
/*.mypy_cache/*

# pyenv local settings
/.python-version

# pyinstaller
/build/*
/dist/*

# ida files
*.i64
*.idb
*.id0
*.id1
*.id2
*.nam
*.til
35 changes: 35 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
repos:
- repo: https://github.com/psf/black
rev: 19.3b0
hooks:
- id: black
language_version: python3.6
# override until resolved: https://github.com/ambv/black/issues/402
files: \.pyi?$
types: []

- repo: https://gitlab.com/pycqa/flake8
rev: 3.7.8
hooks:
- id: flake8
language_version: python3.6

- repo: https://github.com/asottile/seed-isort-config
rev: v1.9.3
hooks:
- id: seed-isort-config
args: [--exclude=examples/.*\.py]

- repo: https://github.com/pre-commit/mirrors-isort
rev: v4.3.21
hooks:
- id: isort
additional_dependencies: [toml]
language_version: python3.6

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: debug-statements
10 changes: 10 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
version: 2
python:
version: 3.7

install:
- method: pip
path: .
extra_requirements:
- docs
13 changes: 13 additions & 0 deletions AUTHORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# The Core Zelos Team

* [Kevin Valakuzhy](//www.linkedin.com/in/kevin-valakuzhy-319a5447/) - Research Engineer, Developer
* [Ryan C. Court](//www.linkedin.com/in/rccourt) - Research Engineer, Developer
* [Kevin Z. Snow](//www.linkedin.com/in/kevinsnow/) - Co-Founder, Developer

### Special Thanks To

* Fabian Monrose - Co-Founder
* Ann Cox - DHS Program Manager
* Angelos Keromytis - DARPA Program Manager (Former)
* Dustin Fraze - DARPA Program Manager
* Suyup Kim - Intern
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]


## [0.0.1] - 2019-12-25

### Added

- Initial open source commit.

### Changed

- Added repository boilerplate.

### Removed

- N/A

[unreleased]: https://github.com/zeropointdynamics/zelos/compare/v1.1.0...HEAD
[0.0.1]: https://github.com/zeropointdynamics/zelos/releases/tag/v0.0.1
12 changes: 12 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM ubuntu:bionic
MAINTAINER "Kevin Z. Snow <[email protected]>"

RUN apt-get update && \
apt-get -y upgrade && \
apt-get install -y python3 python3-pip python3-venv git cmake

RUN useradd -s /bin/bash -m zelos
RUN su - zelos -c "python3 -m venv /home/zelos/.venv/zelos"
RUN su - zelos -c "source /home/zelos/.venv/zelos/bin/activate && git clone https://github.com/zeropointdynamics/zelos && cd zelos && pip install -e '.[dev]'"
RUN su - zelos -c "echo 'source /home/zelos/.venv/zelos/bin/activate' >> /home/zelos/.bashrc"
CMD su - zelos
Loading

0 comments on commit b9bcc3c

Please sign in to comment.