Skip to content
Permalink
Browse files

πŸ”¨ Refactor use Elixir

  • Loading branch information
WincerChan committed Jan 6, 2020
1 parent d9c830f commit 7ef2cde7a87cd125ec00515dc979b42da71ce572
Showing with 303 additions and 1,559 deletions.
  1. +4 βˆ’0 .formatter.exs
  2. +16 βˆ’99 .gitignore
  3. +0 βˆ’661 LICENSE
  4. +0 βˆ’22 Pipfile
  5. +0 βˆ’432 Pipfile.lock
  6. +21 βˆ’0 README.md
  7. +0 βˆ’11 _config_sample.toml
  8. +0 βˆ’65 book.py
  9. +0 βˆ’23 config.py
  10. +8 βˆ’0 config/config.exs
  11. +0 βˆ’39 gen.py
  12. +16 βˆ’0 lib/book.ex
  13. +39 βˆ’0 lib/douban_show.ex
  14. +62 βˆ’0 lib/movie.ex
  15. +41 βˆ’0 lib/schema.ex
  16. +34 βˆ’0 mix.exs
  17. +22 βˆ’0 mix.lock
  18. +0 βˆ’13 models.py
  19. +0 βˆ’29 mongo.py
  20. +0 βˆ’66 movie.py
  21. +0 βˆ’54 parses.py
  22. +0 βˆ’32 pg.py
  23. +8 βˆ’0 test/douban_show_test.exs
  24. +13 βˆ’0 test/movie_test.exs
  25. +18 βˆ’0 test/schema_test.exs
  26. +1 βˆ’0 test/test_helper.exs
  27. +0 βˆ’13 utils.py
@@ -0,0 +1,4 @@
# Used by "mix format"
[
inputs: ["{mix,.formatter}.exs", "{config,lib,test}/**/*.{ex,exs}"]
]
@@ -1,107 +1,24 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
# The directory Mix will write compiled artifacts to.
/_build/

# C extensions
*.so
# If you run "mix test --cover", coverage assets end up here.
/cover/

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST
# The directory Mix downloads your dependencies sources to.
/deps/

# 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
# Where third-party dependencies like ExDoc output generated docs.
/doc/

# Installer logs
pip-log.txt
pip-delete-this-directory.txt
# Ignore .fetch files in case you like to edit your project deps locally.
/.fetch

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
.hypothesis/
.pytest_cache/
# If the VM crashes, it generates a dump, let's ignore it too.
erl_crash.dump

# Translations
*.mo
*.pot
# Also ignore archive artifacts (built via "mix archive.build").
*.ez

# Django stuff:
*.log
local_settings.py
db.sqlite3
# Ignore package tarball (built via "mix hex.build").
douban_show-*.tar

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# pyenv
.python-version

# celery beat schedule file
celerybeat-schedule

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
test*
.vscode
_config.toml

0 comments on commit 7ef2cde

Please sign in to comment.
You can’t perform that action at this time.