semvec/pypi-packages huggingface dataset:
mainmethod 0.1.1
C-Like main method support

# mainmethod.py

Provides C-like main method support.

Sample usage:

```py
# file: script.py
from mainmethod import mainmethod

@mainmethod
def main():
    print('hello, world!')
```

Running the script defined above will execute the method `main`.
```
$ python script.py
hello, world
```

No more need for
```py
if __name__ == '__main__':
    main()
```

The decorator inspects the method marked as main and supports these signatures;
1. `main()`.                        -> No command line arguments.
2. `main(argv)` (or `main(args)`)   -> Get `sys.argv` passed to the main method call.

```py
from mainmethod import mainmethod

@mainmethod
def main(argv):
    message = 'hello, world'

    if '--loud' in argv:
        message = message.upper()

    print(message)
```

The decorator also automatically gathers the return value from the main method and uses it as the return status code.
sigma.coding 0.1.0
A python client library used to leverage the different libraries provided by Sigma Coding.
Requires Python: >=3.7
Keywords: sigma coding,governments,finance,APIs

# Sigma Coding Python Library

## Table of Contents

- [Overview](#overview)
- [Setup](#setup)
- [Usage](#usage)
- [Support These Projects](#support-these-projects)

## Overview

## Setup

Right now, the library is not hosted on **PyPi** so you will need to do a local
install on your system if you plan to use it in other scrips you use.

First, clone this repo to your local system. After you clone the repo, make sure
to run the `setup.py` file, so you can install any dependencies you may need. To
run the `setup.py` file, run the following command in your terminal.

```console
pip install sigma.coding
```

This will install all the dependencies listed in the `setup.py` file. Once done
you can use the library wherever you want.

## Usage

Here is a simple example of using the `sigma` library to grab the index
files for specific quarter.

```python
```

## Support These Projects

**Patreon:**
Help support this project and future projects by donating to my [Patreon Page](https://www.patreon.com/sigmacoding). I'm always looking to add more content for individuals like yourself, unfortuantely some of the APIs I would require me to pay monthly fees.

**YouTube:**
If you'd like to watch more of my content, feel free to visit my YouTube channel [Sigma Coding](https://www.youtube.com/c/SigmaCoding).