Skip to content

Commit

Permalink
Fix description and authors
Browse files Browse the repository at this point in the history
  • Loading branch information
shaikatzz committed Apr 16, 2024
1 parent 4c561b6 commit e4cbb0f
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 5 deletions.
57 changes: 57 additions & 0 deletions README_FOR_PYPI.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# monday-code


## Requirements.

Python 3.7+

## Installation & Usage
### pip install

If the python package is hosted on a repository, you can install directly using:

```sh
pip install monday-code
```
(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`)

Then import the package:
```python
import monday_code
```

## Getting Started

Please follow the [installation procedure](#installation--usage) and then run the following:

```python

import monday_code
from monday_code.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost:59999
# See configuration.py for a list of all supported configuration parameters.
configuration = monday_code.Configuration(
host = "http://localhost:59999"
)



# Enter a context with an instance of the API client
with monday_code.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = monday_code.QueueApi(api_client)
publish_message_params = monday_code.PublishMessageParams() # PublishMessageParams |

try:
api_response = api_instance.publish_message(publish_message_params)
print("The response of QueueApi->publish_message:\n")
pprint(api_response)
except ApiException as e:
print("Exception when calling QueueApi->publish_message: %s\n" % e)

```

## Documentation
Further documentation could be found at [GitHub](https://github.com/mondaycom/monday-code-python-sdk)
10 changes: 5 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
NAME = "monday-code"
VERSION = "0.0.2"
VERSION = "0.0.3"
PYTHON_REQUIRES = ">=3.7"
REQUIRES = [
"urllib3 >= 1.25.3, < 2.1.0",
Expand All @@ -33,16 +33,16 @@
from pathlib import Path

this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()
long_description = (this_directory / "README_FOR_PYPI.md").read_text()

setup(
name=NAME,
version=VERSION,
description="mcode-sdk-api",
author="OpenAPI Generator community",
author_email="team@openapitools.org",
author="Monday.Com",
author_email="support@monday.com",
url="",
keywords=["OpenAPI", "OpenAPI-Generator", "mcode-sdk-api"],
keywords=["monday-code"],
install_requires=REQUIRES,
packages=find_packages(exclude=["test", "tests"]),
include_package_data=True,
Expand Down

0 comments on commit e4cbb0f

Please sign in to comment.