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
-
Initialization:
- The
umdsubmitcommand is executed, initiating the submission process.
- The
-
Zip Archive Creation:
- The
shutil.make_archivefunction is used to create a zip archive of the current working directory.
- The
-
File Reading - .submit:
- The
get_infofunction is called to gather necessary submission data from the.submitfile in the current directory.
- The
-
CVS Account Retrieval:
- The
get_cvs_accountfunction is called to obtain the CVS account. - If the
.submitUserfile exists, it is read to get the account information. - If the file doesn't exist, the
authfunction is triggered to authenticate the user, which creates a.submitUserfile storing information for later submissions.
- The
-
User Authentication (if needed):
- The
authfunction 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
.submitUserfile and printed to the console.
- The
-
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file umdsubmit-1.3.1.post2.tar.gz.
File metadata
- Download URL: umdsubmit-1.3.1.post2.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.11.5 Darwin/23.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
89692bf559daa46ebfd7cb3e9c2c2ac7bab05e5498bf28e16feeca7d89e8fd05
|
|
| MD5 |
0b58216cc83dcf1f89d9f27a56e17c22
|
|
| BLAKE2b-256 |
550e3a19898642b3a96fa215839e91725c2236e0e14c693fee347941d5c04b1b
|
File details
Details for the file umdsubmit-1.3.1.post2-py3-none-any.whl.
File metadata
- Download URL: umdsubmit-1.3.1.post2-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.11.5 Darwin/23.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7177a2c53ba65ac244261d24c9a4bd20885499c9914233db779628c3644f00e3
|
|
| MD5 |
45e73e02fe0dde1e89af0068a3dc60d2
|
|
| BLAKE2b-256 |
e50898dbb89ff030cdb063c0c524299fe335a8aae7c772e0005d03a61808f3af
|