Railtown AI Python SDK for tracking errors and exceptions in your Python applications
Project description
Railtown AI Python SDK
Setup
pip install railtownai
- For alpha, add
--extra-index-url https://testpypi.python.org/pypi
to the top of your requirements.txt - add
railtownai==0.0.4
- For alpha, add
import railtownai
railtownai.init('YOUR_RAILTOWN_API_KEY')
- Log errors with the following example
import railtownai
railtownai.init('YOUR_RAILTOWN_API_KEY')
try:
some_code_that_throws_an_error()
except Exception as e:
railtownai.log(e)
Development Setup
- Install Python 3.10
- Create Python virtual environment:
python -m venv .venv
- Use
.venv\Scripts\activate.ps1
to start python virtual environment- If you on Mac OS X...
python3 -m venv .venv
source .venv/bin/activate
- If you on Mac OS X...
- Install flit
pip install flit
- Install dependencies
flit install
Contributing
- Use conventional commit style messages
- Rebase off
main
before submitting a PR
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
railtownai-0.0.4.tar.gz
(4.7 kB
view hashes)
Built Distribution
Close
Hashes for railtownai-0.0.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4efa199d73b2576336f5780cf3779ecd6f9533b54c12dd3ab751d37386f97f0 |
|
MD5 | 0b3138796f57b064b1d5bea90933213f |
|
BLAKE2b-256 | c11010b57ec07569bb706a13202a5b02e63f82126300d674abdbb5943534b823 |