The default filename_filter (^\\.) is described in the README as ignoring files that begin with '.' but includes them when uploading from the current directory.
import os
from djarchive_client import client
c=client()
c.filename_filter='^\\.'
c.write_manifest('./sub-dir/',overwrite=True)
> adding other_filename
os.chdir('./sub-dir')
c.write_manifest('.',overwrite=True)
> adding DS_Store
> adding other_filename
c.filename_filter='^\\.|DS'
c.write_manifest('.',overwrite=True)
> adding other_filename
Operating system: OSX, python version 3.9.3 via ipython 7.30.1, djarchive_client version 0.0.1