faker.providers.fileΒΆ

fake.file_extension(category=None)
# 'mov'

fake.file_name(category=None, extension=None)
# 'give.odt'

fake.file_path(depth=1, category=None, extension=None)
# '/more/for.js'

fake.mime_type(category=None)
# 'model/mesh'

fake.unix_device(prefix=None)
# '/dev/sdn'

fake.unix_partition(prefix=None)
# '/dev/sdx6'