# StateSXT
![Tests](https://github.com/cjsonnnnn/statesxt/actions/workflows/test.yml/badge.svg)
<br/>
## How to Install?
There are two approaches to install the package:
- Manually cloning the project in Github repository: [statesxt](https://github.com/jsonnnnn/statesxt)
- Using `pip`, that the package is hosted in [here](https://pypi.org/project/statesxt/#description) <b>(recommended)</b>.
``` console
pip install statesxt
```
> **Note:** It is always better to install the package in a virtual environment.
## How to Use?
- Generate the template
``` console
statesxt generate
```
- Remove the template
``` console
statesxt remove
```
- Update the template
``` console
statesxt update
```
- Generate a new page template (inside /testcases)
``` console
statesxt create-page
```
## How to Update?
Currently, the package can not be updated through usual command `pip install --upgrade statesxt`. Probably because is hosted in TestPypi.
So, for the time being, user have to reinstall the package.
## How to Uninstall?
There are two approaches to uninstall the package:
- Uninstalling only the package
``` console
pip uninstall statesxt
```
- Uninstalling the package and its dependencies <b>(vulnerable)</b>.
To do this, the user must install a package called `pip-autoremove` (if not already installed).
``` console
pip install pip-autoremove
```
Once the package is installed, user can now uninstall the package with the following command.
``` console
pip-autoremove statesxt -y
```
Note: If there is an error saying that `ModuleNotFoundError: No module named 'pip_autoremove'`, you could try to move the `pip_autoremove.py` file from `./Scripts` into `./Lib` instead. For further information: [here](https://stackoverflow.com/questions/74523001/modulenotfounderror-when-trying-to-use-pip-autoremove).
## How to Test?
There is a tox.ini file inside .\statesxt\, where you can just execute it by invoking `tox -c .\statesxt\` in terminal. But anyway, that is to test manually in your local, meanwhile there is .github\ that enables to testing with Github Actions, where it works by triggering the execution of `tox.ini` once you make a commit. So basically, it has implemented CI/CD.
## License
This project is licensed under the [MIT License](https://github.com/cjsonnnnn/statesxt?tab=MIT-1-ov-file).
Raw data
{
"_id": null,
"home_page": "https://test.pypi.org/project/statesxt/",
"name": "statesxt",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": "Selenium, Pytest, Python, project template, template, Testing, Framework",
"author": "Jason Caleb",
"author_email": "cjsonnnnn@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/9a/82/f247ab31e8159b45ecd24022f582c0a573ec293a5a7b6a630d62d36057d2/statesxt-0.5.9.tar.gz",
"platform": null,
"description": "# StateSXT\r\n\r\n![Tests](https://github.com/cjsonnnnn/statesxt/actions/workflows/test.yml/badge.svg)\r\n<br/>\r\n\r\n## How to Install?\r\nThere are two approaches to install the package:\r\n- Manually cloning the project in Github repository: [statesxt](https://github.com/jsonnnnn/statesxt)\r\n- Using `pip`, that the package is hosted in [here](https://pypi.org/project/statesxt/#description) <b>(recommended)</b>. \r\n ``` console\r\n pip install statesxt\r\n ```\r\n\r\n> **Note:** It is always better to install the package in a virtual environment.\r\n\r\n## How to Use?\r\n- Generate the template\r\n ``` console\r\n statesxt generate\r\n ```\r\n- Remove the template\r\n ``` console\r\n statesxt remove\r\n ```\r\n- Update the template\r\n ``` console\r\n statesxt update\r\n ```\r\n- Generate a new page template (inside /testcases)\r\n ``` console\r\n statesxt create-page\r\n ```\r\n\r\n\r\n## How to Update?\r\nCurrently, the package can not be updated through usual command `pip install --upgrade statesxt`. Probably because is hosted in TestPypi.\r\nSo, for the time being, user have to reinstall the package.\r\n\r\n\r\n## How to Uninstall?\r\nThere are two approaches to uninstall the package:\r\n- Uninstalling only the package\r\n ``` console\r\n pip uninstall statesxt\r\n ```\r\n- Uninstalling the package and its dependencies <b>(vulnerable)</b>.\r\n To do this, the user must install a package called `pip-autoremove` (if not already installed).\r\n ``` console\r\n pip install pip-autoremove\r\n ```\r\n Once the package is installed, user can now uninstall the package with the following command.\r\n ``` console\r\n pip-autoremove statesxt -y\r\n ```\r\n Note: If there is an error saying that `ModuleNotFoundError: No module named 'pip_autoremove'`, you could try to move the `pip_autoremove.py` file from `./Scripts` into `./Lib` instead. For further information: [here](https://stackoverflow.com/questions/74523001/modulenotfounderror-when-trying-to-use-pip-autoremove).\r\n\r\n\r\n## How to Test?\r\nThere is a tox.ini file inside .\\statesxt\\, where you can just execute it by invoking `tox -c .\\statesxt\\` in terminal. But anyway, that is to test manually in your local, meanwhile there is .github\\ that enables to testing with Github Actions, where it works by triggering the execution of `tox.ini` once you make a commit. So basically, it has implemented CI/CD. \r\n\r\n\r\n## License\r\nThis project is licensed under the [MIT License](https://github.com/cjsonnnnn/statesxt?tab=MIT-1-ov-file).\r\n",
"bugtrack_url": null,
"license": "MIT License",
"summary": "A project template for testing your website application.",
"version": "0.5.9",
"project_urls": {
"Documentation": "https://statesxt.readthedocs.io/en/latest/",
"Homepage": "https://test.pypi.org/project/statesxt/",
"Source": "https://github.com/jsonnnnn/statesxt"
},
"split_keywords": [
"selenium",
" pytest",
" python",
" project template",
" template",
" testing",
" framework"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "7475c5e14cf9e10e1aacfa61392f11891e496a1bc48761d5d86513e5b54f6188",
"md5": "95b078494f131fec0d730b3c398c8e80",
"sha256": "a95c3471f76d1eafd959510d39ff8e8700cb481721914e61e24659cf6f56ea01"
},
"downloads": -1,
"filename": "statesxt-0.5.9-py3-none-any.whl",
"has_sig": false,
"md5_digest": "95b078494f131fec0d730b3c398c8e80",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 599195,
"upload_time": "2024-04-06T04:24:20",
"upload_time_iso_8601": "2024-04-06T04:24:20.317340Z",
"url": "https://files.pythonhosted.org/packages/74/75/c5e14cf9e10e1aacfa61392f11891e496a1bc48761d5d86513e5b54f6188/statesxt-0.5.9-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "9a82f247ab31e8159b45ecd24022f582c0a573ec293a5a7b6a630d62d36057d2",
"md5": "5c97246b88917049550c27fa5b872d28",
"sha256": "2732b3225a390c3d71caf69516c01f9f1fc5da3da36244fa736ea9fcb561d4af"
},
"downloads": -1,
"filename": "statesxt-0.5.9.tar.gz",
"has_sig": false,
"md5_digest": "5c97246b88917049550c27fa5b872d28",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 588162,
"upload_time": "2024-04-06T04:24:24",
"upload_time_iso_8601": "2024-04-06T04:24:24.790989Z",
"url": "https://files.pythonhosted.org/packages/9a/82/f247ab31e8159b45ecd24022f582c0a573ec293a5a7b6a630d62d36057d2/statesxt-0.5.9.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-06 04:24:24",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "jsonnnnn",
"github_project": "statesxt",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "statesxt"
}