https://github.com/datacamp/sqlwhat-ext
extensions (high-level SCTs) for sqlwhat
https://github.com/datacamp/sqlwhat-ext
fs le
Last synced: about 1 year ago
JSON representation
extensions (high-level SCTs) for sqlwhat
- Host: GitHub
- URL: https://github.com/datacamp/sqlwhat-ext
- Owner: datacamp
- License: agpl-3.0
- Created: 2017-06-02T00:07:12.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2022-07-15T18:40:54.000Z (almost 4 years ago)
- Last Synced: 2025-03-26T19:12:20.535Z (about 1 year ago)
- Topics: fs, le
- Language: Python
- Homepage: http://sqlwhat-ext.readthedocs.io/
- Size: 34.2 KB
- Stars: 1
- Watchers: 30
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
> :warning: **This repo has outdated tokens in its travisci config**
> To make new releases for this project it needs to be moved to circleci
sqlwhat-ext
===========
[](https://travis-ci.org/datacamp/sqlwhat-ext)
[](https://codecov.io/gh/datacamp/sqlwhat-ext)
[](https://badge.fury.io/py/sqlwhat-ext)
[](https://app.fossa.io/projects/git%2Bgithub.com%2Fdatacamp%2Fsqlwhat-ext?ref=badge_shield)
Extensions (high-level SCTs) for sqlwhat.
[Documentation here](http://sqlwhat-ext.readthedocs.io/).
Including in a DataCamp course
------------------------------
In the course's `requirements.sh`, add
```
# replace 0.0.1 with the appropriate release version
pip3 install --no-deps sqlwhat-ext==0.0.1
```
To use the extensions in an exercise's SCT, import the function you want into the SCT block of the exercise:
```
from sqlwhat_ext import check_result2
Ex() >> check_result2()
```
Deploying to PyPI
----------------------------
Follow these steps
1. Open a PR, merge into master when appropriate.
2. Once merged, increment `__version__ = 0.0.1` to reflect changes ([see semver for guidance](http://semver.org/)).
3. Create a github release labeled `vVERSION`. E.g. `v0.0.1`. (see [here](https://help.github.com/articles/creating-releases/)).
Running tests
-------------
```
pip install -r requirements.txt
# may need to uncomment line below
#pip install -e .
pytest tests
# can also do: python -m pytest tests
```
## License
[](https://app.fossa.io/projects/git%2Bgithub.com%2Fdatacamp%2Fsqlwhat-ext?ref=badge_large)