Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
inbalboa committed Aug 22, 2020
0 parents commit 6abc646
Show file tree
Hide file tree
Showing 9 changed files with 1,120 additions and 0 deletions.
110 changes: 110 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
# macOS crap
.DS_Store

# images
images/

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
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/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
.hypothesis/
.pytest_cache/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3

# 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/
18 changes: 18 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
dist: xenial
language: python
python:
- '3.7'
install:
- python -m pip install dlint
deploy:
provider: pypi
user: inbalboa
password:
secure: "Izp3+Itrn+UkDpfw0hU++JVoY9hep3QhJE0OqkuH1SqrCvPOLcxHipIMKlhNaK25zjLRA1XfmUC1zf6hg40Fz4UdAZSfPLvG0w7a9K4TCIOnrNJgIoYrZyMFUWL0ahVDpd0EpHmh33ZIzv9xvRof6vfeElpOwIZjfBHuMbtgLzgsSUOMcTVHvl8SYyTjjw/Gkdg7PzV5DpUk3HJKn24AnTRUH6qa767aLrg3JRFWMaImBW4Pl69o0r6CyVMM/Z/gBK620QrQkYv4CRs3gzmiWstnuzRWFysI+xFXhR0dBZWimwJQj9JTAWkkrLsyHp7zI4frpw4nT0QgVG9kL47t58HYvw1UWVWQUKnf6hfB7YpYf6wlIbkDMq/cDeghGDGD9tznpY3xfzw6DejAvEDRJIFXFYl3Kmcng6ACT8f0wH4Faj9uCki2KNha4zeyQbjaSB2d1fTxHgKDNYQiYUBxPsn+VuriEFB15fPNeuFQFT/x32BqpiG+O1utktGz/fgXUUI5SCge4DtWc0GqeBSI6rqgCkoSCQIenJHaKIBv9nXFTaXijJzP3XI469EywFFZilHyBPrz3LRKRs7n9xgne0DhHaBZoZ4the1XgOmjJ/qhvwHKeqA1Zxn5SAtJzZXtQZA10jqGmWSMKWWTnO5mZtxvTlaS6rrxGs/qH79WQpM="
distributions: sdist bdist_wheel
skip_existing: true
on:
branch: master
tags: true
script:
- python -m flake8 --select=DUO pymstodo
15 changes: 15 additions & 0 deletions GET_KEY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Getting your own API key
------------------------
You need to get your own Microsoft API key to use `pymstodo`.
1. Sign in to the [Azure portal](https://portal.azure.com/) using a Microsoft account.
2. In the left-hand navigation pane, select the `Azure Active Directory`, then `App registrations > New registration`.
3. When the app registration page appears, click `Register` after entering your application's registration information:
- Name: any
- Supported account types: `Accounts in any organizational directory and personal Microsoft accounts`
- Platform configuration: `Client Application`
4. You will be redirected to the app's authentication page. Under `Platform configurations` click `Add a platform`.
5. Select `Web` and enter `https://localhost/login/authorized` for the `Redirect URI` and click `Configure`.
6. Next, in the left-hand navigation pane, select `Certificates & secrets`.
7. Click `New client secret` and create a secret key. You may use any description. Click `Add`. Make sure to copy the secret key somewhere before leaving the page as you will not be able to view it again.
8. In the left-hand navigation pane, select `Overview`. Copy the `application (client) id` somewhere.

Loading

0 comments on commit 6abc646

Please sign in to comment.