Skip to main content

Example

import os
from anacondas.FileSystemModel import FileSystemModel

fsm = FileSystemModel(os.getcwd())
fsm.show()

The program running result is as follows:

+---------------------------------------------------------------------------------------------------------------------------------------------------------+
|                                                     C:\Users\Zhang Henghua\PycharmProjects\packaging                                                    |
+----+----------------+-------------------------------+-----------+--------+---------------------+---------------------+----------+----------+------------+
| ID | Basename       | Owner                         |      Size |  Type  |    Creation Time    |  Modification Time  | Readable | Writable | Executable |
+----+----------------+-------------------------------+-----------+--------+---------------------+---------------------+----------+----------+------------+
|  0 | .idea          | DESKTOP-O8I71AC\Zhang Henghua |           | <DIR>  | 2024/04/08 09:22:41 | 2024/04/08 09:37:23 |   True   |   True   |    True    |
|  1 | src            | DESKTOP-O8I71AC\Zhang Henghua |           | <DIR>  | 2024/04/08 09:23:02 | 2024/04/08 14:16:41 |   True   |   True   |    True    |
|  2 | LICENSE        | DESKTOP-O8I71AC\Zhang Henghua |   1.04 KB | <FILE> | 2024/04/08 14:41:49 | 2024/04/08 14:46:12 |   True   |   True   |    True    |
|  3 | main.py        | DESKTOP-O8I71AC\Zhang Henghua | 106.00  B | <FILE> | 2024/04/08 09:22:42 | 2024/04/08 14:53:12 |   True   |   True   |    True    |
|  4 | pyproject.toml | DESKTOP-O8I71AC\Zhang Henghua | 507.00  B | <FILE> | 2024/04/08 14:43:26 | 2024/04/08 14:52:38 |   True   |   True   |    True    |
|  5 | README.md      | DESKTOP-O8I71AC\Zhang Henghua |   0.00  B | <FILE> | 2024/04/08 14:43:33 | 2024/04/08 14:43:33 |   True   |   True   |    True    |
+----+----------------+-------------------------------+-----------+--------+---------------------+---------------------+----------+----------+------------+

More operations:

fsm.cd('..')  # Return to the previous level directory.
fsm.show(owner=False, ctime=False, executable=False)

Result:

+--------------------------------------------------------------------------------+
|                     C:\Users\Zhang Henghua\PycharmProjects                     |
+----+----------------+------+-------+---------------------+----------+----------+
| ID | Basename       | Size |  Type |  Modification Time  | Readable | Writable |
+----+----------------+------+-------+---------------------+----------+----------+
|  0 | AI             |      | <DIR> | 2024/03/29 23:36:13 |   True   |   True   |
|  1 | CheckParameter |      | <DIR> | 2024/03/05 17:04:45 |   True   |   True   |
|  2 | diff           |      | <DIR> | 2024/03/01 10:39:34 |   True   |   True   |
|  3 | diode_jagte    |      | <DIR> | 2024/02/28 10:23:07 |   True   |   True   |
|  4 | GenImage       |      | <DIR> | 2024/03/14 16:56:07 |   True   |   True   |
|  5 | moscap         |      | <DIR> | 2024/02/27 16:30:19 |   True   |   True   |
|  6 | packaging      |      | <DIR> | 2024/04/08 15:01:55 |   True   |   True   |
+----+----------------+------+-------+---------------------+----------+----------+

Installation

pip install anacondas

Metadata

Release files for anacondas 0.0.2

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

Source distribution (sdist)

Source distribution for anacondas 0.0.2
File Size Uploaded Provenance Actions
anacondas-0.0.2.tar.gz 5.7 kB Without provenance Details for anacondas-0.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for anacondas 0.0.2
File Interpreter ABI Platform Actions
anacondas-0.0.2-py3-none-any.whl Python 3 none any Details for anacondas-0.0.2-py3-none-any.whl

Total release size: 12.0 kB

Release files / anacondas-0.0.2.tar.gz

Download URL anacondas-0.0.2.tar.gz
Size 5.7 kB
Tags Source
SHA-256 checksum
How to use checksums
07436b09db142d639c378ba3df26106a5f584c0d586b11931f5085e88b21b9f0
BLAKE2b-256 checksum
How to use checksums
6a48547d5d00b09cd55266c73c6b525f92cd9c821671b89353082bafd63c2013
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.1

Release files / anacondas-0.0.2-py3-none-any.whl

Download URL anacondas-0.0.2-py3-none-any.whl
Size 6.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e041d612610f924b42fd954dd24486b3fb7c0ffb81221b2089c4c178226a1e03
BLAKE2b-256 checksum
How to use checksums
079034f316c26a9669c6d72a792f180ca3998cd0b19560265d615efa6332c7c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.1

Security for anacondas 0.0.2

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

0.0.2 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