Name | fa-essentials JSON |
Version |
1.0.153
JSON |
| download |
home_page | None |
Summary | Essentials for our projects. |
upload_time | 2024-07-07 09:58:59 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.9 |
license | None |
keywords |
finance
trading
models
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# fa-essentials
A library with essentials needed in every backend python app. e.g. logging, local db connection, filtering, formatting etc.
## TODO
- [ ] make this library private.
## Sponsors
Freya Alpha,
The Kára System,
Spark & Hale Robotic Industries
## General
Run and compiled for Python 3.9.13.
Expected to run for Python 3+
## Development
### Testing
run tests with `pytest -s -vv` to see all the details.
### Installation as Consuming Developer
Simply run: `pip install fa-essentials`
Import in modules without the dash (e.g.): `from faessentials.globallogger import GlobalLogger`
### Setup as Contributor
Create the virtul environment:
```
py -m venv .venv
```
Start the Environment:
```
./.venv/Scripts/activate
```
(or allow VS Code to start it). Use `deactivate`to stop it.
All the required libraries must be listed in requirements.txt and installed by
```
python -m pip install -r .\requirements.txt
```
For Dev use
```
python -m pip install -r .\requirements-dev.txt
```
To cleanup the environment run:
```
pip3 freeze > to-uninstall.txt
```
and then
```
pip3 uninstall -y -r to-uninstall.txt
```
or
```
pip3 install pip-autoremove
```
### Build Library
Prerequisite: make sure that you give your Operating System user the right to modify files in the python directory. The directory where pyhton is installed.
Use
```python setup.py bdist_wheel```
to create the dist, build and .eggs folder.
## Reference from a different project
In order to use your own version of the project - to maybe contribute to the library - simply clone the code from github into new directory. Then add the path of that new directory to the requirements.txt file of your project. Then change in fa-essentials whatever you recommend to improve. Don't forget the Open-Closed Principle: extend only (unless it requires a breaking change)
## Releasing a new version
The Release process is executed by github actions.
Raw data
{
"_id": null,
"home_page": null,
"name": "fa-essentials",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": "finance, trading, models",
"author": null,
"author_email": "Brayan <brayan@sparkandhale.com>",
"download_url": "https://files.pythonhosted.org/packages/77/74/0a25839c14503c2bb4ca2241ed35f02502a574555d39d082f30440bc30d2/fa_essentials-1.0.153.tar.gz",
"platform": null,
"description": "# fa-essentials\nA library with essentials needed in every backend python app. e.g. logging, local db connection, filtering, formatting etc.\n\n## TODO\n- [ ] make this library private.\n\n## Sponsors\nFreya Alpha,\nThe K\u00e1ra System,\nSpark & Hale Robotic Industries\n\n## General\nRun and compiled for Python 3.9.13.\nExpected to run for Python 3+\n\n## Development\n\n### Testing\nrun tests with `pytest -s -vv` to see all the details.\n\n### Installation as Consuming Developer\n\nSimply run: `pip install fa-essentials`\n\nImport in modules without the dash (e.g.): `from faessentials.globallogger import GlobalLogger`\n\n### Setup as Contributor\nCreate the virtul environment: \n```\npy -m venv .venv\n```\nStart the Environment: \n```\n./.venv/Scripts/activate\n```\n (or allow VS Code to start it). Use `deactivate`to stop it.\n\nAll the required libraries must be listed in requirements.txt and installed by \n```\npython -m pip install -r .\\requirements.txt\n```\nFor Dev use \n```\npython -m pip install -r .\\requirements-dev.txt\n```\n\nTo cleanup the environment run:\n```\npip3 freeze > to-uninstall.txt\n```\n and then\n```\npip3 uninstall -y -r to-uninstall.txt\n```\n\nor \n```\npip3 install pip-autoremove\n```\n\n### Build Library\nPrerequisite: make sure that you give your Operating System user the right to modify files in the python directory. The directory where pyhton is installed.\nUse \n```python setup.py bdist_wheel```\n to create the dist, build and .eggs folder.\n\n## Reference from a different project\nIn order to use your own version of the project - to maybe contribute to the library - simply clone the code from github into new directory. Then add the path of that new directory to the requirements.txt file of your project. Then change in fa-essentials whatever you recommend to improve. Don't forget the Open-Closed Principle: extend only (unless it requires a breaking change)\n\n\n## Releasing a new version\nThe Release process is executed by github actions.\n",
"bugtrack_url": null,
"license": null,
"summary": "Essentials for our projects.",
"version": "1.0.153",
"project_urls": {
"Homepage": "https://github.com/Freya-Alpha/fa-essentials"
},
"split_keywords": [
"finance",
" trading",
" models"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "ca9e1c4c913f4895848b3badd32f16455ad6df275cef45b4b9ff63d871893801",
"md5": "11749255542688b6c18b730c01eede2d",
"sha256": "b420ed4c9f9c6086668c280b48fd08c005a2003ca1c50752462156fe71d1498c"
},
"downloads": -1,
"filename": "fa_essentials-1.0.153-py3-none-any.whl",
"has_sig": false,
"md5_digest": "11749255542688b6c18b730c01eede2d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 13589,
"upload_time": "2024-07-07T09:58:58",
"upload_time_iso_8601": "2024-07-07T09:58:58.188808Z",
"url": "https://files.pythonhosted.org/packages/ca/9e/1c4c913f4895848b3badd32f16455ad6df275cef45b4b9ff63d871893801/fa_essentials-1.0.153-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "77740a25839c14503c2bb4ca2241ed35f02502a574555d39d082f30440bc30d2",
"md5": "9faec07c903c3ea7ed96fb878f91dce4",
"sha256": "75fdc2c3a4c59ba9de50a8ef818009a7d19194734a73955cb56bfd2c57d263f7"
},
"downloads": -1,
"filename": "fa_essentials-1.0.153.tar.gz",
"has_sig": false,
"md5_digest": "9faec07c903c3ea7ed96fb878f91dce4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 17074,
"upload_time": "2024-07-07T09:58:59",
"upload_time_iso_8601": "2024-07-07T09:58:59.622825Z",
"url": "https://files.pythonhosted.org/packages/77/74/0a25839c14503c2bb4ca2241ed35f02502a574555d39d082f30440bc30d2/fa_essentials-1.0.153.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-07 09:58:59",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Freya-Alpha",
"github_project": "fa-essentials",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "fa-essentials"
}