Skip to content

BatelT/simple-python-calc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


This code is a simple calculator program that takes user input for two numbers and an operation (+, -, *, /). It performs the operation and displays the result, handling division by zero and invalid operations.

Requirements

  • Python 3.10 or higher - Ensure Python3.10, Pip3 and Virtualenv are installed
  • Artifactory Pypi local Repository

JFrog Artifactory configuration

To start a trial with Artifactory cloud you can easily click here Then create a Pypi repository like the following: After you create the repository run the set me up to configure the pypi client like the following:

To deploy packages using setuptools you need to add an Artifactory repository to the .pypirc file (usually located in your home directory):
[distutils]
index-servers = local
[local]
repository: https://<ARTIFACTORY-URL>.jfrog.io/artifactory/api/pypi/<repository-name>
username: <USERNAME>
password: <PASSWORD>
To deploy a python egg to Artifactory, after changing the .pypirc file, run the following command:

python3 setup.py sdist upload -r local
To deploy a python wheel to Artifactory, after changing the .pypirc file, run the following command:

python3 setup.py bdist_wheel upload -r local
where local is the index server you defined in .pypirc.

Installation

In order to run the package on your local machine, you can clone the repository and utilize the startup.sh script:

git clone https://github.com/BatelT/simple-python-calc.git
cd simple-python-calc
source startup.sh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published