ftp with a simple (dict-like or list-like) interface
Project description
ftpdol
ftp with a simple (dict-like or list-like) interface
To install: pip install ftpdol
A basic ftp persister. Keys must be names of files.
>>> from ftpdol.ftp_persister import FtpPersister
>>> s = FtpPersister()
>>> k = 'foo'
>>> v = 'bar'
>>> for _key in s:
... del s[_key]
>>> len(s)
0
>>> s[k] = v
>>> s[k]
'bar'
>>> s.get(k)
'bar'
>>> len(s)
1
>>> list(s.values())
['bar']
>>> k in s
True
>>> del s[k]
>>> k in s
False
>>> len(s)
0
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ftpdol-0.0.6.tar.gz
(10.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ftpdol-0.0.6.tar.gz.
File metadata
- Download URL: ftpdol-0.0.6.tar.gz
- Upload date:
- Size: 10.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d7717c1820ab07b3f584ae13b81f3e91a732c5e64b4c0ee1f576faab94d898b
|
|
| MD5 |
34b83cef1ebd99c8b989bd67beee3d82
|
|
| BLAKE2b-256 |
6049328556352e6fb4923614370bf72e3e2fa5fef45157a81e3deaca8edd65d6
|
File details
Details for the file ftpdol-0.0.6-py3-none-any.whl.
File metadata
- Download URL: ftpdol-0.0.6-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
76b32d605ed100a19272b5d0b4ec691a19d37800fd9b4550cb8c46969539d0c6
|
|
| MD5 |
3958e465b3ac000d65905992863e8b86
|
|
| BLAKE2b-256 |
63d9e6c88e991cbacd2c3914da39b33daa9b4fca21f5e7e4f11b92c160ad6e34
|