Skip to main content

A minimal command line todo list built with Python and MongoDB

Project description

# pytodo [![Gitter](https://badges.gitter.im/pytodo/community.svg)](https://gitter.im/pytodo/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)

A minimal command line todo list built with Python and MongoDB

![Mongo + Python](/img/mongo_python_love.png)

Living in the command line is blissful. Keeping your things together sometimes isn’t. Track your tasks and deadlines with this command line app built with Python and MongoDB

## Installation

### Installing Python libraries This project uses pipenv to manage dependencies, so make sure you have pipenv installed. ` pip install pipenv ` Clone this repository ` git clone https://github.com/thescriptninja/pytodo.git ` Use pipenv to install the dependencies ` pipenv install ` Create an executable file from the `script.py` file

` cd pytodo/ cp script.py script sudo chmod +x script ` Add the following line in .bashrc file after replacing `CLONED_REPO_PATH` with the absolute path to the cloned repository.

` alias pytodo='python3 <CLONED_REPO_PATH>/pytodo/script `

### Installing MongoDB Download the required MongoDB package the package repository. #### For Ubuntu, run the following commands ` sudo apt update sudo apt install -y mongodb `

#### For Fedora users, run the following commands Configure the dnf repository ` sudo vi /etc/yum.repos.d/mongodb.repo ` Install Mongodb ` sudo dnf update sudo dnf install mongodb-org ` Start the Mongodb service ` sudo systemctl enable mongod.service sudo systemctl start mongod.service `

#### For Arch users, run the following commands Aur package at [mongodb 4.2.1-1](https://aur.archlinux.org/packages/mongodb/)

### Creating a local database Start the mongo shell and create a new database with a collection to store the todos ` mongo use todo-app db.createCollection('todos') `

## Community Channel Join the converstaion on [Gitter](https://gitter.im/pytodo/community?utm_source=share-link&utm_medium=link&utm_campaign=share-link)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytodo_package-0.1.1.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pytodo_package-0.1.1-py2-none-any.whl (6.0 kB view details)

Uploaded Python 2

File details

Details for the file pytodo_package-0.1.1.tar.gz.

File metadata

  • Download URL: pytodo_package-0.1.1.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/2.7

File hashes

Hashes for pytodo_package-0.1.1.tar.gz
Algorithm Hash digest
SHA256 e3916b2c1b7e7e2e793def1d58402a9046c31d4f10b43bb3086759123b8f758b
MD5 02d1adb9750df737b19730f276a97824
BLAKE2b-256 876d9661c668f4e269442d7ee15ba57cbd7e47266f537f26c713d6899373e254

See more details on using hashes here.

File details

Details for the file pytodo_package-0.1.1-py2-none-any.whl.

File metadata

File hashes

Hashes for pytodo_package-0.1.1-py2-none-any.whl
Algorithm Hash digest
SHA256 b36f99f368f4d083ab2233641d94088dad7041e4eb48d6be28c289b459be507c
MD5 db2a5eaf9552c9d07fe6a2a2c388c6ce
BLAKE2b-256 547c990aae0e9f374802729314b0bf14ed1399f25a2fdc1d0d2f6a881dbd842c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page