Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

AwareList

AwareList is a simple python class able to keep track of added and removed elements.

Use

Initialisation:

aw_list = AwareList(["Element1", "Element2"])

Work like a normal list:

aw_list += ["New element"]
aw_list.append("New append")
aw_list.pop()
aw_list.remove("Element1")
aw_list.extend(["Extend 1", "Extend 2"])
aw_list.insert(2, "New Insert")
aw_list[0:1] = ["Element 1", "Element 2"]
del aw_list[2]

Access added and removed lists:

aw_list.added
aw_list.removed

Version

0.0.1

Todo's

  • Write setup.py
  • Implement Travis-CI
  • Add Code Comments

License

MIT

About

Python List that can return added and removed elements

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages