An open API service indexing awesome lists of open source software.

https://github.com/munenecalvin/alx-backend-python

This repository contains all the Pyhton source code written throughout ALX Backend Specialization.
https://github.com/munenecalvin/alx-backend-python

annotations asynchronous-programming backend doctests python unittests

Last synced: about 1 month ago
JSON representation

This repository contains all the Pyhton source code written throughout ALX Backend Specialization.

Awesome Lists containing this project

README

        

# alx-backend-python

Curriculum

**Short Specializations**

# 0x00. Python - Variable Annotations

`Python` `Back-end`

**Concepts:**

_For this project, look at these concepts:_

* [Advanced Python](https://www.alx-intranet.hbtn.io/concepts/554)

## Resources

**Read or watch:**

* [Python 3 typing documentation](https://www.docs.python.org/3/library/typing.html)
* [MyPy cheat sheet](https://www.mypy.readthedocs.io/en/latest/cheat_sheet_py3.html)

## General Requirements

* Allowed editors: `vi`, `vim`, `emacs`
* Files interpreted/compiled on Ubuntu 18.04 LTS using `python3` (version 3.7)
* First line of file using exactly shebang `#!/usr/bin/env python3`
* Mandatory `README.md` file
* Code use the `pycodestyle` (version 2.5.)
* File must be executable
* Length of file tested using `wc`
* All modules should have a documentation (`python3 -c 'print(__import__("my_module").__doc__)'`)
* All classes should have a documentation (`python3 -c 'print(__import__("my_module").MyClass.__doc__)'`)
* All functions (inside / outside a class) should have a documentation (`python3 -c 'print(__import__("my_module").my_function.__doc__)'`) and (`python3 -c 'print(__import__("my_module").MyClass.my_function.__doc__)'`)
* A documentation explaining purpose of the module or class or method (length will be verified)

## General Learning & Setup

`main.py`

Click to show/hide file contents

```python3
#!/usr/bin/env python3
var = __import__('file').var

print(var())
print(var.__annotations__)
```

## Finally...