Skip to main content

DAPS - Definitely a Python Shell

Project description

DAPS

DAPS is a shell written in pure Python. No other language is used, except JSON for the configuration file.


DAPS is available on PyPl!

pip install daps-pip

Usage

Basic shell commands work, like cd or ls.

Built-in commands include:

  • clear – Clears everything on screen.
  • clearhist – Clears shell history. After running this, the shell cannot record history until restarted. This prevents bugs.
  • exit – Exits the shell.
  • update – Updates DAPS by cloning the repository into a temp folder and copying it into /usr/bin.

clear

The clear command clears the screen.
See Configuration below for options.

clearhist

Clears shell history.
The shell cannot record history if this command has been run, until the shell is restarted. This is a safety feature.

exit

Exits the shell.

update

Updates DAPS by cloning the repository into a temporary folder and copying the new version into /usr/bin.


Configuration

The shell creates a file named config.json in the ~/.config/daps/ directory (where ~ is your current user's home folder).

By default, the file contains:

{}

To start editing, add options inside the braces:

{
}

"greeter"

The "greeter" option runs a command every time the shell starts:

{
  "greeter": "fastfetch"
}

This will run fastfetch at shell start.


"aliases"

The "aliases" option lets you create shell aliases:

{
  "aliases": {
    "ll": "ls -l"
  }
}

Note: Built-in shell commands cannot be used in aliases. Built-in commands are listed above.


"cleargreet"

The "cleargreet" option specifies whether the greeter should run when using clear:

{
  "cleargreet": "yes"
}

"devicename"

The "devicename" option specifies if the device name (e.g., ASUS E410MA) should be used instead of the hostname (e.g., fedora):

{
  "devicename": true
}

Example of a full config

{
  "aliases": {
    "ll": "ls -l"
  },
  "greeter": "fastfetch",
  "cleargreet": "yes",
  "devicename": true
}

More Information

  • More features are coming soon!
  • DAPS is protected by the GNU license, meaning any contributions or derivatives of the program must be fully open source.

© 2026, Nytrix Labs

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

daps_pip-0.0.1.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

daps_pip-0.0.1-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file daps_pip-0.0.1.tar.gz.

File metadata

  • Download URL: daps_pip-0.0.1.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for daps_pip-0.0.1.tar.gz
Algorithm Hash digest
SHA256 caa599f5cf6b90dfaf8cf73537522ba96a91d2c19d513a8e2a870e6ef127c3bf
MD5 93f9a7c8552087d65d701013a018c51b
BLAKE2b-256 d4871ec50624b9b69bf104f95b1c9fc309887932915b4a5e69471ed1c3d1dc9d

See more details on using hashes here.

Provenance

The following attestation bundles were made for daps_pip-0.0.1.tar.gz:

Publisher: python-publish.yml on NytrixLabs/DAPS

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file daps_pip-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: daps_pip-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for daps_pip-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f30b4507010778a1470717a3c5e22b59bffc6959ae481bfb3afc34c2f376ea43
MD5 caed1a0d85a254927163e9a90d902d77
BLAKE2b-256 5e3d021a05010ae1b1ddf2a02fbccb2484891042c463809487c67c44ea28ac2c

See more details on using hashes here.

Provenance

The following attestation bundles were made for daps_pip-0.0.1-py3-none-any.whl:

Publisher: python-publish.yml on NytrixLabs/DAPS

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page