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.

PyPI


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.1.4.tar.gz (7.8 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.1.4-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: daps_pip-0.1.4.tar.gz
  • Upload date:
  • Size: 7.8 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.1.4.tar.gz
Algorithm Hash digest
SHA256 c9e33f0c9391d7908c083c3dbd60dd58a98e448557ec9bfff2f226428ded1116
MD5 66d29cb5a189f0e3b17125b32a443d2c
BLAKE2b-256 4a35877eff56b660f834209607ebf7feef01a0f3576ff25d93a439b19dc19135

See more details on using hashes here.

Provenance

The following attestation bundles were made for daps_pip-0.1.4.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.1.4-py3-none-any.whl.

File metadata

  • Download URL: daps_pip-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 7.5 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.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e0166b57e8f429c657d3f5675f2950912defc1fcd1b763cdf45adb2820e7f62f
MD5 d5a4057f6dbfd22556f2ea097bc50f33
BLAKE2b-256 9785ccc6729db01247db5fa31ab4f5d2db3016c1b5eb16ed937b1faed499ec68

See more details on using hashes here.

Provenance

The following attestation bundles were made for daps_pip-0.1.4-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