https://github.com/orisano/railscookiepy
Rails4 Cookie Manipulator for Python3
https://github.com/orisano/railscookiepy
Last synced: about 1 year ago
JSON representation
Rails4 Cookie Manipulator for Python3
- Host: GitHub
- URL: https://github.com/orisano/railscookiepy
- Owner: orisano
- License: mit
- Created: 2017-06-30T12:52:33.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2020-06-01T10:13:36.000Z (about 6 years ago)
- Last Synced: 2025-03-25T05:34:31.154Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RailsCookie
## Installation
```bash
python3 -m pip install railscookie
```
## Example
```python
from railscookie import RailsCookie
cookiejar = RailCookie("<>")
cookie = cookiejar.loads(b"<>")
cookie["id"] += 1
print(cookiejar.dumps(cookie).decode())
```
## Author
Nao Yonashiro (@orisano)
## License
MIT