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.
- Host: GitHub
- URL: https://github.com/munenecalvin/alx-backend-python
- Owner: MuneneCalvin
- Created: 2023-04-27T10:36:14.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-22T05:53:13.000Z (almost 2 years ago)
- Last Synced: 2025-02-03T11:50:51.885Z (3 months ago)
- Topics: annotations, asynchronous-programming, backend, doctests, python, unittests
- Language: Python
- Homepage:
- Size: 41 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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').varprint(var())
print(var.__annotations__)
```## Finally...