ACE Cookie Manager
Access and change browser cookies from Streamlit scripts:
import os
import streamlit as st
from ace_cm import ECM
# This should be on top of your script
cookies = ECM(
prefix="ace/ace-cm/",
password=os.environ.get("COOKIES_PASSWORD", "My secret password"),
)
if not cookies.ready():
st.stop()
st.write("Current cookies:", cookies)
value = st.text_input("New value for a cookie")
if st.button("Change the cookie"):
cookies['a-cookie'] = value # This will get saved on next rerun
if st.button("No really, change it now"):
cookies.save() # Force saving the cookies now, without a rerun
Required Variables
CLIENT_ID=*** CLIENT_SECRET=*** AZURE_TENANT_ID=*** AUTHORITY=*** REDIRECT_URI=***
Metadata
Release files for ace-cm 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| ace_cm-0.0.8.tar.gz | 679.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ace_cm-0.0.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.4 MB
Release files / ace_cm-0.0.8.tar.gz
| Download URL | ace_cm-0.0.8.tar.gz |
|---|---|
| Size | 679.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8260d61b660963642a16dd7ea4a14be36c6fd63a9d38851e216e4d134efd920f
|
|
BLAKE2b-256 checksum How to use checksums |
88bd0d85b91925b14c50bb62078dc8cc7d3df358415cb765d58d357e8c443cf1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.0
|
Release files / ace_cm-0.0.8-py3-none-any.whl
| Download URL | ace_cm-0.0.8-py3-none-any.whl |
|---|---|
| Size | 691.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e3442b5b4372a7d6dcd2f62b44c12f734cd02e70a2726862a496adc3facf3a9a
|
|
BLAKE2b-256 checksum How to use checksums |
e8627cc283f2a5ceeeec01ed1d86399295b8a978a11ba9c452e385fca2e12bf1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.0
|
Security for ace-cm 0.0.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.