Automata Redis
both for conventional key-value (including hashset) data.
Packaging
python3 -m build
LXD Container
Create LXD container
cd ~/projects/scripts/bash-scripts/lxc/./lxc-create-basic-ubuntu-container.sh automata-all 10.104.71.60 /projects/code/automata-projects/automata-deploylxc.list
Add these aliases to vi ~/bash/bash-profile-aliases/aliases/bash-projects
# automata all
alias automata-all.lxc.start="lxc.start-container automata-all"
alias automata-all.lxc.stop="lxc.stop-container automata-all"
alias automata-all.lxc.run-in="lxc.run-in.container automata-all"
alias automata-all.project="cd ~/projects/code/automata-projects/automata-deploy"
Remember to run source ~/.bashrc
Container Info
lxc image list images: ubuntu/22.04 amd64
Container Manipulation
lxc stop automata-alllxc delete automata-all
Accessing Container
automata-all.lxc.run-in
Redis (Container)
Redis Install
sudo apt updatesudo apt install redis
Redis Config
sudo vi /etc/redis/redis.conf- Change to
bind 10.104.71.60 127.0.0.1(allow second IP for accessing on host by default) sudo systemctl restart redis-server
Redis Port (outside container)
nc -zv 10.104.71.60 6379
Stop and start the container to ensure redis, has installed correctly.
Backup (Redis)
CONFIG get dir(inredis-cli) Tells where the dump file is locatedSAVE/var/lib/redis(should bedump.rdb)sudo systemctl status redis-serversudo systemctl stop redis-serversudo cp /var/lib/redis/dump.rdb BACKUP-DIR
Restore (Redis)
sudo systemctl stop redis-serversudo cp BACKUP-DIR /var/lib/redis/dump.rdbsudo systemctl start redis-server
Metadata
Release files for persuader-technology-automata-redis 0.3.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 | Actions |
|---|---|---|---|---|
| persuader-technology-automata-redis-0.3.8.tar.gz | 5.9 kB | Without provenance | Details for persuader-technology-automata-redis-0.3.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| persuader_technology_automata_redis-0.3.8-py3-none-any.whl | Python 3 | none | any | Details for persuader_technology_automata_redis-0.3.8-py3-none-any.whl |
Total release size: 12.6 kB
Release files / persuader-technology-automata-redis-0.3.8.tar.gz
| Download URL | persuader-technology-automata-redis-0.3.8.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4993b3e53fecfdc745d38a785464827111d9271d6633013d2605c06a61aaccf6
|
|
BLAKE2b-256 checksum How to use checksums |
30785c0b9786769250831ba4918b82f2b945536aa9c8390f2a777dfe7091817d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|
Release files / persuader_technology_automata_redis-0.3.8-py3-none-any.whl
| Download URL | persuader_technology_automata_redis-0.3.8-py3-none-any.whl |
|---|---|
| Size | 6.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c30b68c9b0541adfdc8384694fbdfb1f491f3e4648f4a5ec2f5c3be0f3bcbc04
|
|
BLAKE2b-256 checksum How to use checksums |
9a055aff61ce4855cf59f16a1dd75b39806873e12e355f39378e1f0a01d7707c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|
Security for persuader-technology-automata-redis 0.3.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.