Skip to main content

Package containing the Popoto Modem Python API.

Project description

pshell

Python shell pshell and default_shell

Installing package from gitlab

To install the from the gitlab pypi package repository follow these steps:

Create an acess token

  1. Go to your gitlab profile settings
  2. Click on "Access Tokens"
  3. Create a new access token with the following scopes:
    • read_api
    • read_repository
    • read_package_registry
  4. Copy the access token, you will need it later.

Create a pip configuration file

Create a file named pip.conf in your home directory (e.g., ~/.pip/pip.conf on Linux/MacOS or %APPDATA%\pip\pip.conf on Windows) and add the following content:

[global]
index-url = https://__token__:<your_access_token>@gitlab.popotomodem.com/api/v4/projects/138/packages/pypi/simple

Install the package

Now you can install the package using pip:

For the latest version:

pip install popotoshell

For a specific version:

pip install popotoshell==<version>

Example:

pip install popotoshell
# or for a specific version
pip install popotoshell==0.0.1+seng333.7343

Development

To contribute to the project, you can clone the repository and devolop locally or in the included dev container.

Cloning the repository

git clone git@gitlab.popotomodem.com:delresearch/pshell.git

Setting up the development environment

You can use the included dev container for development. To do this, follow these steps:

  1. Open the repository in Visual Studio Code.
  2. Install the "Dev Containers" extension if you haven't already.
  3. A notification should appear asking if you want to reopen the repository in a container. Click "Reopen in Container". Note: If the notification does not appear, you can manually open the command palette (Ctrl+Shift+P or Cmd+Shift+P) and select "Dev Containers: Rebuild and Reopen in Container".
  4. Wait for the container to build and start. Note: If there are any issues with the container build, it's usually related to the mounts in the devcontainer.json file. Make sure you have a .ssh directory in your home directory, and a .gitconfig file in your home directory.
  5. Once the container is running, you can open a terminal in the container and run the following command to install the package in editable mode:
pip install -e .

Note for commits

When making commits, please ensure that you are putting a Jira ticket number in the commit message or that your branch name contains a Jira ticket number. This is important for tracking changes and linking them to the relevant tasks in our project management system. If you are working on a feature or bug fix that is not directly linked to a Jira ticket, please create a new ticket and link it to your commit. This helps maintain clarity and organization in our development process.

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

popoto_shell-0.2.0.tar.gz (27.8 kB view details)

Uploaded Source

Built Distribution

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

popoto_shell-0.2.0-py3-none-any.whl (25.5 kB view details)

Uploaded Python 3

File details

Details for the file popoto_shell-0.2.0.tar.gz.

File metadata

  • Download URL: popoto_shell-0.2.0.tar.gz
  • Upload date:
  • Size: 27.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for popoto_shell-0.2.0.tar.gz
Algorithm Hash digest
SHA256 1ca68f1d09154770edebdc4ab45bda81c53a763813101fe233b24349e4d33297
MD5 8f460a25c8f52b2db7048db64b89d7f1
BLAKE2b-256 030e9025e0b1b295139a4da4b2444c0e33522f2791aeeaf8560f7c894b79350d

See more details on using hashes here.

File details

Details for the file popoto_shell-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: popoto_shell-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 25.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for popoto_shell-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3e9bfc7f8ff98ee15b02bbfe71b644208829552a60177bf110f348b9c6921f44
MD5 2f1bda38f549fc75b9a8fd0bf0dda7a4
BLAKE2b-256 345fcba728b7002f25be87d663d82589b2acff64c4ffa6c8f1872d42b4ab8bb5

See more details on using hashes here.

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