Create
Create is a simple Python library for creating files, folders, archives, and extracting them without dealing directly with multiple filesystem and archive APIs.
Installation
pip install adcreate
Basic usage
import create
create.dir("C:/IKR/GG")
create.makefile(
"C:/IKR/GG/aloo.py",
'print("GG")\nprint("Aloo")'
)
ZIP
create.zip(
"C:/IKR/GG",
"C:/IKR/",
"GG-zip.zip"
)
Extract ZIP
create.unzip(
"C:/IKR/GG-zip.zip",
"C:/IKR/out"
)
TAR
create.tar(
"C:/IKR/GG",
"C:/IKR/",
"GG.tar"
)
create.untar(
"C:/IKR/GG.tar",
"C:/IKR/out"
)
GZ
create.gz(
"C:/IKR/file.txt",
"C:/IKR/",
"file.txt.gz"
)
create.ungz(
"C:/IKR/file.txt.gz",
"C:/IKR/out"
)
TAR.GZ
create.targz(
"C:/IKR/GG",
"C:/IKR/",
"GG.tar.gz"
)
create.untargz(
"C:/IKR/GG.tar.gz",
"C:/IKR/out"
)
Create also supports other archive combinations such as TAR.ZIP,
ZIP.TAR, ZIP.GZ, GZ.TAR, and GZ.ZIP.
Metadata
Release files for adcreate 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| adcreate-0.1.0.tar.gz | 5.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| adcreate-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.3 kB
Release files / adcreate-0.1.0.tar.gz
| Download URL | adcreate-0.1.0.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
253e4fbf2f1a1adf23e9fd2c0d212330caf65a174f937c4f3bdfa0eabb726860
|
|
BLAKE2b-256 checksum How to use checksums |
8fd0b33e255cf9f15467b1f57464b26321129d8ec2c9899d3bf1c5891f8ccd63
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Release files / adcreate-0.1.0-py3-none-any.whl
| Download URL | adcreate-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
acd9527b276ee7f6351defe052420296bdfe2e1eaba347263beaad602c7bade2
|
|
BLAKE2b-256 checksum How to use checksums |
ac0ef847147d18a401887e02066dd88cf68d506f674e6f24f9f5f5da307efa37
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|