empty-files
Serves empty files of many types
Decision gist · record as of 2026-08-14
Yes, if you need lightweight empty file generation for testing. The low install friction and permissive license make it suitable for test suites. However, be aware the package is abandoned—no updates or fixes are forthcoming. Use it only for stable, self-contained use cases where you do not expect future support.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with a single dependency (requests).
- However, the package is marked abandoned with no releases since 2023-07-30, so maintenance and bug fixes are unlikely.
License · maintenance · safety
permissive license (permissive) — Licensed under Apache Software License (permissive), allowing commercial and private use with minimal restrictions.
last release 2023-07-30 (1111 days) · last repo commit 2023-07-30 · 1 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 143,551 downloads/mo, #11,171 on PyPI
Alternatives
Verify before relying
pip install empty-files
from empty_files.empty_files import create_empty_file
create_empty_file("temp/empty.jpg")- Which file types are supported beyond JPG—the fact sheet does not enumerate the full list of creatable file types.
- Whether the requests dependency is actually used at runtime or is a leftover from development.
- Current compatibility with Python versions beyond those listed, given the package is abandoned.
What it is and what it does
empty-files generates minimal, valid empty files of various types—such as a 1x1 pixel JPG—to support the Null Object pattern in Python. Instead of returning None or null values that require defensive checks, code can return an empty file object and call methods on it directly without conditionals. The package depends on requests and supports Python 3.7.1 and later.
The package was last updated on 2023-07-30 and is now abandoned, meaning no active maintenance or bug fixes are expected. It remains available for use in projects that need lightweight test fixtures or placeholder files, but users should be aware that issues will not be addressed by the maintainers.
Use it for
- Generate placeholder image files (e.g., 1x1 JPG) for testing without external dependencies.
- Create empty test fixtures of various file types for unit tests and approval testing.
- Implement the Null Object pattern to return valid empty files instead of None, eliminating null checks.
- Populate temporary directories with minimal valid files for integration tests.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need lightweight empty file generation for testing.
The low install friction and permissive license make it suitable for test suites. However, be aware the package is abandoned—no updates or fixes are forthcoming. Use it only for stable, self-contained use cases where you do not expect future support.
Install
empty-files on PyPI
Before you install
Low install friction with a single dependency (requests). However, the package is marked abandoned with no releases since 2023-07-30, so maintenance and bug fixes are unlikely.
License in practice
Licensed under Apache Software License (permissive), allowing commercial and private use with minimal restrictions.
Quickstart
pip install empty-files
from empty_files.empty_files import create_empty_file
create_empty_file("temp/empty.jpg")
Verify before relying
- Which file types are supported beyond JPG—the fact sheet does not enumerate the full list of creatable file types.
- Whether the requests dependency is actually used at runtime or is a leftover from development.
- Current compatibility with Python versions beyond those listed, given the package is abandoned.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.7.1 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagerequests |
| Maintenance | Abandoned 1,111 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 143,551 / month, #11,171 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: POSIXProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: LibrariesTopic :: Utilities |
Evidence: empty_files-0.0.9-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “empty file generator”
- empty-filesCreates minimal valid empty files of various types—for example, a 1x1…
- plyPLY is a lexer and parser generator for Python that implements lex…
- slySLY is a pure-Python implementation of lex and yacc for building…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also nulltype · img2pdf · staticmap · exrex · undictify · fill-voids · filecheck · pyoxipng · fpdf · niltype