oktalib


Nameoktalib JSON
Version 2.0.0 PyPI version JSON
download
home_pagehttps://github.com/schubergphilis/oktalib.git
SummaryA library to interface with okta through it's restful api
upload_time2023-01-30 12:55:47
maintainer
docs_urlNone
authorCostas Tyfoxylos
requires_python
licenseMIT
keywords oktalib okta api python rest
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            =======
oktalib
=======

A python library for interfacing with OKTA's api


* Documentation: https://oktalib.readthedocs.org/en/latest



Development Workflow
====================

The workflow supports the following steps

 * lint
 * test
 * build
 * document
 * upload
 * graph

These actions are supported out of the box by the corresponding scripts under _CI/scripts directory with sane defaults based on best practices.
Sourcing setup_aliases.ps1 for windows powershell or setup_aliases.sh in bash on Mac or Linux will provide with handy aliases for the shell of all those commands prepended with an underscore.

The bootstrap script creates a .venv directory inside the project directory hosting the virtual environment. It uses pipenv for that.
It is called by all other scripts before they do anything. So one could simple start by calling _lint and that would set up everything before it tried to actually lint the project

Once the code is ready to be delivered the _tag script should be called accepting one of three arguments, patch, minor, major following the semantic versioning scheme.
So for the initial delivery one would call

    $ _tag --minor

which would bump the version of the project to 0.1.0 tag it in git and do a push and also ask for the change and automagically update HISTORY.rst with the version and the change provided.


So the full workflow after git is initialized is:

 * repeat as necessary (of course it could be test - code - lint :) )
   * code
   * lint
   * test
 * commit and push
 * develop more through the code-lint-test cycle
 * tag (with the appropriate argument)
 * build
 * upload (if you want to host your package in pypi)
 * document (of course this could be run at any point)


Important Information
=====================

This template is based on pipenv. In order to be compatible with requirements.txt so the actual created package can be used by any part of the existing python ecosystem some hacks were needed.
So when building a package out of this **do not** simple call

    $ python setup.py sdist bdist_egg

**as this will produce an unusable artifact with files missing.**
Instead use the provided build and upload scripts that create all the necessary files in the artifact.



Project Features
================

* Manages groups, users and applications


Todo
====

* This code is MVP. It requires a lot of optimizations and extensions.
* Things to do are, try to make the retrieving faster and implement smart caching for entities.




History
-------

0.1.0 (25-05-2018)
------------------

* First release


1.0.0 (19-10-2018)
------------------

* Updated template to python3.7 Dropped support for python2.7


1.1.0 (23-10-2018)
------------------

* Added setting of user password capability


1.1.1 (25-10-2018)
------------------

* Updated template and dependencies


1.1.2 (17-12-2018)
------------------

* Updated requests version.


1.1.3 (11-01-2019)
------------------

* Updated requests module and fixed requirements generation.


1.1.4 (20-09-2019)
------------------

* Update get_applicatio_by_id


1.1.5 (20-09-2019)
------------------

* Added limit


1.1.6 (23-09-2019)
------------------

* Fix applications method


1.1.7 (18-10-2019)
------------------

* bumped dependencies


1.1.8 (18-10-2019)
------------------

* Updated template and bumped dependencies


1.1.9 (19-12-2019)
------------------

* Added feature for aws application


1.1.10 (13-01-2020)
-------------------

* Added api exhaustion backoff.


1.1.11 (13-01-2020)
-------------------

* Corrected Pipfile.lock issue.


1.1.12 (09-06-2020)
-------------------

* Bumped requests


1.1.13 (17-06-2020)
-------------------

* fixed applications entity


1.2.0 (09-10-2020)
------------------

* bumped requests


1.3.0 (02-12-2020)
------------------

* Bumped requests


1.4.0 (15-03-2021)
------------------

* Added property setters for user attributes.


1.4.1 (26-04-2021)
------------------

* Bumped dependencies.


1.4.2 (08-06-2021)
------------------

* Bumped dependencies.


1.4.3 (08-06-2021)
------------------

* Updated reference of pypi to simple from legacy.


1.4.4 (08-06-2021)
------------------

* Updated pypi reference.


1.4.5 (08-06-2021)
------------------

* Reverted pypi reference to legacy.


1.5.0 (24-03-2022)
------------------

* Added User and Group assignment roles.


1.6.0 (28-03-2022)
------------------

* Made entities comparable.


1.6.1 (22-04-2022)
------------------

* Fixed bugs with api rate limiting courtesy of Yorick Hoorneman <yhoorneman@schubergphilis.com>


2.0.0 (30-01-2023)
------------------

* Fixed a nasty bug with activate and deactivate of applications being exposed as properties with bad side effects on introspection. Made most entities return as generators.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/schubergphilis/oktalib.git",
    "name": "oktalib",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "oktalib okta api python rest",
    "author": "Costas Tyfoxylos",
    "author_email": "ctyfoxylos@schubergphilis.com",
    "download_url": "https://files.pythonhosted.org/packages/7d/70/29aeb465db1274c961e853dd98320e37a832e4c6f17bf2e5d7ff36c5d3ab/oktalib-2.0.0.tar.gz",
    "platform": null,
    "description": "=======\noktalib\n=======\n\nA python library for interfacing with OKTA's api\n\n\n* Documentation: https://oktalib.readthedocs.org/en/latest\n\n\n\nDevelopment Workflow\n====================\n\nThe workflow supports the following steps\n\n * lint\n * test\n * build\n * document\n * upload\n * graph\n\nThese actions are supported out of the box by the corresponding scripts under _CI/scripts directory with sane defaults based on best practices.\nSourcing setup_aliases.ps1 for windows powershell or setup_aliases.sh in bash on Mac or Linux will provide with handy aliases for the shell of all those commands prepended with an underscore.\n\nThe bootstrap script creates a .venv directory inside the project directory hosting the virtual environment. It uses pipenv for that.\nIt is called by all other scripts before they do anything. So one could simple start by calling _lint and that would set up everything before it tried to actually lint the project\n\nOnce the code is ready to be delivered the _tag script should be called accepting one of three arguments, patch, minor, major following the semantic versioning scheme.\nSo for the initial delivery one would call\n\n    $ _tag --minor\n\nwhich would bump the version of the project to 0.1.0 tag it in git and do a push and also ask for the change and automagically update HISTORY.rst with the version and the change provided.\n\n\nSo the full workflow after git is initialized is:\n\n * repeat as necessary (of course it could be test - code - lint :) )\n   * code\n   * lint\n   * test\n * commit and push\n * develop more through the code-lint-test cycle\n * tag (with the appropriate argument)\n * build\n * upload (if you want to host your package in pypi)\n * document (of course this could be run at any point)\n\n\nImportant Information\n=====================\n\nThis template is based on pipenv. In order to be compatible with requirements.txt so the actual created package can be used by any part of the existing python ecosystem some hacks were needed.\nSo when building a package out of this **do not** simple call\n\n    $ python setup.py sdist bdist_egg\n\n**as this will produce an unusable artifact with files missing.**\nInstead use the provided build and upload scripts that create all the necessary files in the artifact.\n\n\n\nProject Features\n================\n\n* Manages groups, users and applications\n\n\nTodo\n====\n\n* This code is MVP. It requires a lot of optimizations and extensions.\n* Things to do are, try to make the retrieving faster and implement smart caching for entities.\n\n\n\n\nHistory\n-------\n\n0.1.0 (25-05-2018)\n------------------\n\n* First release\n\n\n1.0.0 (19-10-2018)\n------------------\n\n* Updated template to python3.7 Dropped support for python2.7\n\n\n1.1.0 (23-10-2018)\n------------------\n\n* Added setting of user password capability\n\n\n1.1.1 (25-10-2018)\n------------------\n\n* Updated template and dependencies\n\n\n1.1.2 (17-12-2018)\n------------------\n\n* Updated requests version.\n\n\n1.1.3 (11-01-2019)\n------------------\n\n* Updated requests module and fixed requirements generation.\n\n\n1.1.4 (20-09-2019)\n------------------\n\n* Update get_applicatio_by_id\n\n\n1.1.5 (20-09-2019)\n------------------\n\n* Added limit\n\n\n1.1.6 (23-09-2019)\n------------------\n\n* Fix applications method\n\n\n1.1.7 (18-10-2019)\n------------------\n\n* bumped dependencies\n\n\n1.1.8 (18-10-2019)\n------------------\n\n* Updated template and bumped dependencies\n\n\n1.1.9 (19-12-2019)\n------------------\n\n* Added feature for aws application\n\n\n1.1.10 (13-01-2020)\n-------------------\n\n* Added api exhaustion backoff.\n\n\n1.1.11 (13-01-2020)\n-------------------\n\n* Corrected Pipfile.lock issue.\n\n\n1.1.12 (09-06-2020)\n-------------------\n\n* Bumped requests\n\n\n1.1.13 (17-06-2020)\n-------------------\n\n* fixed applications entity\n\n\n1.2.0 (09-10-2020)\n------------------\n\n* bumped requests\n\n\n1.3.0 (02-12-2020)\n------------------\n\n* Bumped requests\n\n\n1.4.0 (15-03-2021)\n------------------\n\n* Added property setters for user attributes.\n\n\n1.4.1 (26-04-2021)\n------------------\n\n* Bumped dependencies.\n\n\n1.4.2 (08-06-2021)\n------------------\n\n* Bumped dependencies.\n\n\n1.4.3 (08-06-2021)\n------------------\n\n* Updated reference of pypi to simple from legacy.\n\n\n1.4.4 (08-06-2021)\n------------------\n\n* Updated pypi reference.\n\n\n1.4.5 (08-06-2021)\n------------------\n\n* Reverted pypi reference to legacy.\n\n\n1.5.0 (24-03-2022)\n------------------\n\n* Added User and Group assignment roles.\n\n\n1.6.0 (28-03-2022)\n------------------\n\n* Made entities comparable.\n\n\n1.6.1 (22-04-2022)\n------------------\n\n* Fixed bugs with api rate limiting courtesy of Yorick Hoorneman <yhoorneman@schubergphilis.com>\n\n\n2.0.0 (30-01-2023)\n------------------\n\n* Fixed a nasty bug with activate and deactivate of applications being exposed as properties with bad side effects on introspection. Made most entities return as generators.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A library to interface with okta through it's restful api",
    "version": "2.0.0",
    "split_keywords": [
        "oktalib",
        "okta",
        "api",
        "python",
        "rest"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "259ee1c68220997987237455fc23aa40a563394909b5a9b62f3219985c79c09b",
                "md5": "d11425978d00bcd0f3473d0a996ad352",
                "sha256": "0496b400aaf3a855ce981a03978627451c95446fa0e5446ddd5fe9f2696e166a"
            },
            "downloads": -1,
            "filename": "oktalib-2.0.0-py3.9.egg",
            "has_sig": false,
            "md5_digest": "d11425978d00bcd0f3473d0a996ad352",
            "packagetype": "bdist_egg",
            "python_version": "2.0.0",
            "requires_python": null,
            "size": 155412,
            "upload_time": "2023-01-30T12:55:46",
            "upload_time_iso_8601": "2023-01-30T12:55:46.067200Z",
            "url": "https://files.pythonhosted.org/packages/25/9e/e1c68220997987237455fc23aa40a563394909b5a9b62f3219985c79c09b/oktalib-2.0.0-py3.9.egg",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7d7029aeb465db1274c961e853dd98320e37a832e4c6f17bf2e5d7ff36c5d3ab",
                "md5": "ba38b5a2e4692ba02d77707010fd6cd8",
                "sha256": "f0c5ac1014355eed1a4fe2e85f1a1d66bb43a9c5ce47fba22bd4abd32607611c"
            },
            "downloads": -1,
            "filename": "oktalib-2.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "ba38b5a2e4692ba02d77707010fd6cd8",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 131345,
            "upload_time": "2023-01-30T12:55:47",
            "upload_time_iso_8601": "2023-01-30T12:55:47.453546Z",
            "url": "https://files.pythonhosted.org/packages/7d/70/29aeb465db1274c961e853dd98320e37a832e4c6f17bf2e5d7ff36c5d3ab/oktalib-2.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-01-30 12:55:47",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "schubergphilis",
    "github_project": "oktalib.git",
    "lcname": "oktalib"
}
        
Elapsed time: 0.04000s