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.5.tar.gz
(11.1 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.5.tar.gz.
File metadata
- Download URL: ftpdol-0.0.5.tar.gz
- Upload date:
- Size: 11.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.15 {"installer":{"name":"uv","version":"0.11.15","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 |
9c666e68ad4b77eb46c6ef8eeefc74c4d5b2eb1cdaa61ceed752aa33fcd79942
|
|
| MD5 |
1d618c3bc25de99263c4a166edc9f58d
|
|
| BLAKE2b-256 |
90a85f84f988e21f2fbf6a866a92dac999161a57d3777b46e9cf6fdd495c7e32
|
File details
Details for the file ftpdol-0.0.5-py3-none-any.whl.
File metadata
- Download URL: ftpdol-0.0.5-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.15 {"installer":{"name":"uv","version":"0.11.15","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 |
fab0edd65b83f6cb62c6d317fbbc91631a3ab5a012e4236ac40d331e986200d5
|
|
| MD5 |
a47c18534d38d5da85044a9ae1267f9d
|
|
| BLAKE2b-256 |
fb3153d85d9083ceeaedea9286808413c8d374a775495056f4df179619d8f453
|