# lib\_vikas\_test
This package runs a set of commands to log you into work through a terminal.
This is because I have to go through several ssh gateways, move dirs, activate tmux, type my password, and sometimes I
need multiple terminals going. So this is a way to make it much faster.
* [lib\_vikas\_test](#lib\_vikas\_test)
* [Description](#package-description)
* [Usage](#usage)
* [Possible Future Improvements](#possible-future-improvements)
* [Installation](#installation)
* [Testing](#testing)
* [Development/Contributing](#developmentcontributing)
* [History](#history)
* [Credits](#credits)
* [Licence](#licence)
* [Todo and Possible Future Improvements](#todopossible-future-improvements)
* [FAQ](#faq)
## Package Description
* [lib\_vikas\_test](#lib\_vikas\_test)
This package is a really simple one I wrote, it just runs a set of commands to log you into work through a terminal. If
you have not configured it yet, it will write to a config file for you the set of commands you typically run to log into
work. Then it will type this config file, and log you into work.
### Usage
* [lib\_vikas\_test](#lib\_vikas\_test)
#### In a Script - purely for development
You really shouldn't ever need this, but whatevs.
Also note that you don't ever need to run the configure function.
Login will run that function for you.
```python
from lib_vikas_test import Work_Login
# default conf path is "~/.work_login.conf and does not need changing
work_login_instance = Work_Login(conf_path="/my_conf_path")
work_login_instance.configure() # configures script, not neseccary
work_login_instance.login() # logs you in
```
#### From the Command Line
NOTE: Even better, configure a custom keyboard shortcut! I use control alt l.
run in a terminal: ```login```
If you need to reconfigure (run in a terminal) ```configure```
### Installation
* [lib\_vikas\_test](#lib\_vikas\_test)
Install the package with:
```pip3 install lib_vikas_test```
To install from source and develop:
```
git clone https://github.com/jfuruness/lib_vikas_test.git
cd lib_vikas_test
pip3 install wheel --upgrade
pip3 install -r requirements.txt --upgrade
python3 setup.py sdist bdist_wheel
python3 setup.py develop
```
### System Requirements
* [lib\_vikas\_test](#lib\_vikas\_test)
Must have linux. You can prob change easily to support other OSes, but not currently supported
## Testing
* [lib\_vikas\_test](#lib\_vikas\_test)
Run tests on installation by doing:
```pip3 install lib_off_campus_housing_parser --force --install-option test```
This will install the package, force the command line arguments to be installed, and run the tests
NOTE: You might need sudo to install command line arguments when doing this
You can test the package if in development by moving/cd into the directory where setup.py is located and running:
```python3 setup.py test```
To test a specific submodule, cd into that submodule and run:
```pytest```
Note: I currently have not written any tests, since I have tried the program and checked it's output by hand so I know
that it works. I know that this is not sufficient, but no one is going to use this thing but me so whatevs.
## Development/Contributing
* [lib\_vikas\_test](#lib\_vikas\_test)
1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request
6. Email me at jfuruness@gmail.com because I do not check those messages often
## History
* [lib\_vikas\_test](#lib\_vikas\_test)
* 0.1.1 - Forgot to recreate egg stuff, pushing to pypi again
* 0.1.0 - Initial commit
## Credits
* [lib\_vikas\_test](#lib\_vikas\_test)
https://stackoverflow.com/a/38493278/8903959
## License
* [lib\_vikas\_test](#lib\_vikas\_test)
BSD License
## TODO/Possible Future Improvements
* [lib\_vikas\_test](#lib\_vikas\_test)
* Actual testing
* Cross-platform compatibility
## FAQ
* [lib\_vikas\_test](#lib\_vikas\_test)
Q: Did you just write this to procrastinate logging into work?
A: Yes
Raw data
{
"_id": null,
"home_page": "https://github.com/AeroVikas/TestUtilsVikas2.git",
"name": "TestUtilsVikas2",
"maintainer": "Vikas Goel",
"docs_url": null,
"requires_python": ">=3.11.9",
"maintainer_email": "vikas.aero@gmail.com",
"keywords": "Furuness, Login, login, terminal",
"author": "Vikas Goel",
"author_email": "vikas.aero@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/ac/e0/c7e4404a8a49fea2e8f7c71a027c862c660c368439ed416d0d078380bfb1/testutilsvikas2-0.0.3.tar.gz",
"platform": null,
"description": "# lib\\_vikas\\_test\r\n\r\nThis package runs a set of commands to log you into work through a terminal.\r\n\r\nThis is because I have to go through several ssh gateways, move dirs, activate tmux, type my password, and sometimes I\r\nneed multiple terminals going. So this is a way to make it much faster.\r\n\r\n* [lib\\_vikas\\_test](#lib\\_vikas\\_test)\r\n* [Description](#package-description)\r\n* [Usage](#usage)\r\n* [Possible Future Improvements](#possible-future-improvements)\r\n* [Installation](#installation)\r\n* [Testing](#testing)\r\n* [Development/Contributing](#developmentcontributing)\r\n* [History](#history)\r\n* [Credits](#credits)\r\n* [Licence](#licence)\r\n* [Todo and Possible Future Improvements](#todopossible-future-improvements)\r\n* [FAQ](#faq)\r\n\r\n## Package Description\r\n\r\n* [lib\\_vikas\\_test](#lib\\_vikas\\_test)\r\n\r\nThis package is a really simple one I wrote, it just runs a set of commands to log you into work through a terminal. If\r\nyou have not configured it yet, it will write to a config file for you the set of commands you typically run to log into\r\nwork. Then it will type this config file, and log you into work.\r\n\r\n### Usage\r\n\r\n* [lib\\_vikas\\_test](#lib\\_vikas\\_test)\r\n\r\n#### In a Script - purely for development\r\n\r\nYou really shouldn't ever need this, but whatevs.\r\n\r\nAlso note that you don't ever need to run the configure function.\r\nLogin will run that function for you.\r\n\r\n```python\r\nfrom lib_vikas_test import Work_Login\r\n\r\n# default conf path is \"~/.work_login.conf and does not need changing\r\nwork_login_instance = Work_Login(conf_path=\"/my_conf_path\")\r\nwork_login_instance.configure() # configures script, not neseccary\r\nwork_login_instance.login() # logs you in \r\n```\r\n\r\n#### From the Command Line\r\n\r\nNOTE: Even better, configure a custom keyboard shortcut! I use control alt l.\r\n\r\nrun in a terminal: ```login```\r\n\r\nIf you need to reconfigure (run in a terminal) ```configure```\r\n\r\n### Installation\r\n\r\n* [lib\\_vikas\\_test](#lib\\_vikas\\_test)\r\n\r\nInstall the package with:\r\n```pip3 install lib_vikas_test```\r\n\r\nTo install from source and develop:\r\n\r\n```\r\ngit clone https://github.com/jfuruness/lib_vikas_test.git\r\ncd lib_vikas_test\r\npip3 install wheel --upgrade\r\npip3 install -r requirements.txt --upgrade\r\npython3 setup.py sdist bdist_wheel\r\npython3 setup.py develop\r\n```\r\n\r\n### System Requirements\r\n\r\n* [lib\\_vikas\\_test](#lib\\_vikas\\_test)\r\n\r\nMust have linux. You can prob change easily to support other OSes, but not currently supported\r\n\r\n## Testing\r\n\r\n* [lib\\_vikas\\_test](#lib\\_vikas\\_test)\r\n\r\nRun tests on installation by doing:\r\n```pip3 install lib_off_campus_housing_parser --force --install-option test```\r\nThis will install the package, force the command line arguments to be installed, and run the tests\r\nNOTE: You might need sudo to install command line arguments when doing this\r\n\r\nYou can test the package if in development by moving/cd into the directory where setup.py is located and running:\r\n```python3 setup.py test```\r\n\r\nTo test a specific submodule, cd into that submodule and run:\r\n```pytest```\r\n\r\nNote: I currently have not written any tests, since I have tried the program and checked it's output by hand so I know\r\nthat it works. I know that this is not sufficient, but no one is going to use this thing but me so whatevs.\r\n\r\n## Development/Contributing\r\n\r\n* [lib\\_vikas\\_test](#lib\\_vikas\\_test)\r\n\r\n1. Fork it!\r\n2. Create your feature branch: `git checkout -b my-new-feature`\r\n3. Commit your changes: `git commit -am 'Add some feature'`\r\n4. Push to the branch: `git push origin my-new-feature`\r\n5. Submit a pull request\r\n6. Email me at jfuruness@gmail.com because I do not check those messages often\r\n\r\n## History\r\n\r\n* [lib\\_vikas\\_test](#lib\\_vikas\\_test)\r\n * 0.1.1 - Forgot to recreate egg stuff, pushing to pypi again\r\n * 0.1.0 - Initial commit\r\n\r\n## Credits\r\n\r\n* [lib\\_vikas\\_test](#lib\\_vikas\\_test)\r\n\r\nhttps://stackoverflow.com/a/38493278/8903959\r\n\r\n## License\r\n\r\n* [lib\\_vikas\\_test](#lib\\_vikas\\_test)\r\n\r\nBSD License\r\n\r\n## TODO/Possible Future Improvements\r\n\r\n* [lib\\_vikas\\_test](#lib\\_vikas\\_test)\r\n * Actual testing\r\n * Cross-platform compatibility\r\n\r\n## FAQ\r\n\r\n* [lib\\_vikas\\_test](#lib\\_vikas\\_test)\r\n\r\nQ: Did you just write this to procrastinate logging into work?\r\n\r\nA: Yes\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Common Utilities",
"version": "0.0.3",
"project_urls": {
"Bug Tracker": "https://github.com/pypa/sampleproject/issues",
"Download": "https://github.com/AeroVikas/TestUtilsVikas2.git",
"Homepage": "https://github.com/AeroVikas/TestUtilsVikas2.git"
},
"split_keywords": [
"furuness",
" login",
" login",
" terminal"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "d26f235f2e6ce0d99e91a20ac3c7fd81cfd05f32d803cd36b4cd599d920ceaf4",
"md5": "e67cc759ceef774748e60320826d9efc",
"sha256": "891227578e0bd3e7583a801230dd4260c828d7100f9c91f7c1543ad181194849"
},
"downloads": -1,
"filename": "TestUtilsVikas2-0.0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e67cc759ceef774748e60320826d9efc",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.11.9",
"size": 4960,
"upload_time": "2024-12-16T07:14:04",
"upload_time_iso_8601": "2024-12-16T07:14:04.651222Z",
"url": "https://files.pythonhosted.org/packages/d2/6f/235f2e6ce0d99e91a20ac3c7fd81cfd05f32d803cd36b4cd599d920ceaf4/TestUtilsVikas2-0.0.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "ace0c7e4404a8a49fea2e8f7c71a027c862c660c368439ed416d0d078380bfb1",
"md5": "0612b3ddb1e2521f577064520db60eb4",
"sha256": "8b06803eccf5d4a716bd93736e3995497554ed090daa4e20c0cffbf18bd869ee"
},
"downloads": -1,
"filename": "testutilsvikas2-0.0.3.tar.gz",
"has_sig": false,
"md5_digest": "0612b3ddb1e2521f577064520db60eb4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.11.9",
"size": 4419,
"upload_time": "2024-12-16T07:14:06",
"upload_time_iso_8601": "2024-12-16T07:14:06.427279Z",
"url": "https://files.pythonhosted.org/packages/ac/e0/c7e4404a8a49fea2e8f7c71a027c862c660c368439ed416d0d078380bfb1/testutilsvikas2-0.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-16 07:14:06",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "AeroVikas",
"github_project": "TestUtilsVikas2",
"github_not_found": true,
"lcname": "testutilsvikas2"
}