Skip to content

Develope - #1

Closed
amirhosein2004 wants to merge 17 commits into
mainfrom
develope
Closed

amirhosein2004 wants to merge 17 commits into
mainfrom
develope

Conversation

@amirhosein2004

Copy link
Copy Markdown
Owner

No description provided.

- Add project structure with src, docs, and tests directories
- Include LICENSE and .env.example files
- Implemented `SecureTokenManager` as the main class for token lifecycle management
- Added token/key generation methods and initial helper utilities
- Introduced `validators.py` with input validation functions (user_id, expires_hours, permissions)
- Created `exceptions.py` with custom errors (`TokenError`, `PermissionDeniedError`)
- Updated package `__init__.py` files for cleaner imports
- Improved README with initial usage notes
- Added additional methods to `SecureTokenManager` for richer token lifecycle handling
- Added `examples/advanced_usage.py` demonstrating advanced token features
- Updated package init for cleaner exports
- Added `config.py` for initial settings & environment loading
- Wrote unit tests in `tests/test_token_manager.py`
- Updated `token_manager.py` and `validators.py`
- Added `pytest.ini` for test configuration
- Cleaned up obsolete files (`main.py`, `src.py`) and updated `requirements.txt`
- Updated `.env.example` environment variables
…ndling

- simplify token logic and update core modules
- remove deprecated files (old src/config.py, __init__.py, advanced_usage.py)
- add tooling and configs: pre-commit.yaml, mypy.ini, pyproject.toml
- add utility scripts (benchmark, deploy)
- update Dockerfile, env example, requirements, and pytest configs
- improve documentation and license and pytest.ini
- add CHANGELOG and CONTRIBUTING files
- add docs: advanced-examples, api-reference, development-setup, testing-guide, tutorial-guide
- update README.md and docs/README.md
- minor updates in token_manager, validators, and tests
- adjust scripts (add __init__.py, remove deploy.sh, update benchmark)
- update requirements.txt
docs(ci-cd): add documentation for CI/CD setup
chore(docs): restructure mkdocs files and requirements
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant