Skip to main content

Allows submitting to the UMD Submit Server from the command line, without the Eclipse Plugin

Project description

umdsubmit

This package allows submitting to the UMD Submit Server from the command line, without the Eclipse Plugin.

Installation

You can install the package via pip:

pip install umdsubmit

Updating

The package can be upgraded via pip:

pip install umdsubmit --upgrade

Usage

After installing navigate to the root of the project directory in the terminal and run the command umdsubmit. Enter your UMD Directory ID and password as requested. Ensure that you run the command from the directory containing the .submit file for the project.

How It Works

  1. Initialization:

    • The umdsubmit command is executed, initiating the submission process.
  2. Zip Archive Creation:

    • The shutil.make_archive function is used to create a zip archive of the current working directory.
  3. File Reading - .submit:

    • The get_info function is called to gather necessary submission data from the .submit file in the current directory.
  4. CVS Account Retrieval:

    • The get_cvs_account function is called to obtain the CVS account.
    • If the .submitUser file exists, it is read to get the account information.
    • If the file doesn't exist, the auth function is triggered to authenticate the user, which creates a .submitUser file storing information for later submissions.
  5. User Authentication (if needed):

    • The auth function prompts the user to enter their UMD Directory ID and password.
    • A POST request is made to the server to negotiate a one-time password.
    • The server's response is written to the .submitUser file and printed to the console.
  6. Submission:

    • A POST request is made to the submit URL with the zip file and the gathered data.
    • The server's response is printed to the console.

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

umdsubmit-1.4.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

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

umdsubmit-1.4-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file umdsubmit-1.4.tar.gz.

File metadata

  • Download URL: umdsubmit-1.4.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.2 Darwin/23.1.0

File hashes

Hashes for umdsubmit-1.4.tar.gz
Algorithm Hash digest
SHA256 0c8ba69caf82266ad77edb2eb48c377b42cd6281715db34083aabf0398999aa3
MD5 9f4fefcd722ebc0d5fc7a0385d30681b
BLAKE2b-256 088d116dc078ff0a2a3b7a1e03abbe8f53798d6bd8656569550e0a96378c8d3b

See more details on using hashes here.

File details

Details for the file umdsubmit-1.4-py3-none-any.whl.

File metadata

  • Download URL: umdsubmit-1.4-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.2 Darwin/23.1.0

File hashes

Hashes for umdsubmit-1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3ece86f24a04d64cb583e01222bdb204d8fa7dafe717704de5a06cde40742df1
MD5 363258c1412ad955de9053a22b006d2c
BLAKE2b-256 3cb5103faeb9fc2121d9f3878cb1421046b829d2bfe6d42d7e6f184f4a66007e

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