Skip to main content

Documentation: https://file-item.readthedocs.io/en/latest/

Installation

pip install file_item

Examples:

from file_item import File

basedir = File.basedir(__file__)

file_1 = basedir.joinpath('test1.csv')
file_2 = File('/home/user/test2.csv')
file_3 = File.from_strings('/home/user/', 'test3.csv')

print(repr(file_1))
# PosixPath('test1.csv')

print(file_2)
# /home/user/test2.csv

print(file_1 == file_2)
# False

print(file_3.name)
# test3.csv

file_1.create_folder()

print(File.get_file_name('test*.csv'))
# test-.csv

Metadata

Release files for file-item 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for file-item 1.0.0
File Size Uploaded Provenance
file-item-1.0.0.tar.gz 3.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for file-item 1.0.0
File Interpreter ABI Platform
file_item-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.4 kB

Release files / file-item-1.0.0.tar.gz

Download URL file-item-1.0.0.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f070749b414ee916a9b84a37f6e0efc0b686cdf12c7d56248e2682756adaf27a
BLAKE2b-256 checksum
How to use checksums
46ff1615353103cdb54d4a19a84fb5c9e130d9ec5578fc0b1a244d025c700af9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.9

Release files / file_item-1.0.0-py3-none-any.whl

Download URL file_item-1.0.0-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4b37dd5738775f63f053ae206434d742f498f198b1e3bbfb6d2cd2923e568200
BLAKE2b-256 checksum
How to use checksums
0183f70936b9f875825053ea41fc34936169f5dbdba899b9978646d9e94757b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.9

Security for file-item 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page