87 captures
05 May 2017 - 21 Dec 2025
Aug SEP Oct
16
2019 2020 2021
success
fail

About this capture

COLLECTED BY

Organization: Archive Team

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.

History is littered with hundreds of conflicts over the future of a community, group, location or business that were "resolved" when one of the parties stepped ahead and destroyed what was there. With the original point of contention destroyed, the debates would fall to the wayside. Archive Team believes that by duplicated condemned data, the conversation and debate can continue, as well as the richness and insight gained by keeping the materials. Our projects have ranged in size from a single volunteer downloading the data to a small-but-critical site, to over 100 volunteers stepping forward to acquire terabytes of user-created data to save for future generations.

The main site for Archive Team is at archiveteam.org and contains up to the date information on various projects, manifestos, plans and walkthroughs.

This collection contains the output of many Archive Team projects, both ongoing and completed. Thanks to the generous providing of disk space by the Internet Archive, multi-terabyte datasets can be made available, as well as in use by the Wayback Machine, providing a path back to lost websites and work.

Our collection has grown to the point of having sub-collections for the type of data we acquire. If you are seeking to browse the contents of these collections, the Wayback Machine is the best first stop. Otherwise, you are free to dig into the stacks to see what you may find.

The Archive Team Panic Downloads are full pulldowns of currently extant websites, meant to serve as emergency backups for needed sites that are in danger of closing, or which will be missed dearly if suddenly lost due to hard drive crashes or server failures.

Collection: ArchiveBot: The Archive Team Crowdsourced Crawler

ArchiveBot is an IRC bot designed to automate the archival of smaller websites (e.g. up to a few hundred thousand URLs). You give it a URL to start at, and it grabs all content under that URL, records it in a WARC, and then uploads that WARC to ArchiveTeam servers for eventual injection into the Internet Archive (or other archive sites).

To use ArchiveBot, drop by #archivebot on EFNet. To interact with ArchiveBot, you issue commands by typing it into the channel. Note you will need channel operator permissions in order to issue archiving jobs. The dashboard shows the sites being downloaded currently.

There is a dashboard running for the archivebot process at http://www.archivebot.com.

ArchiveBot's source code can be found at https://github.com/ArchiveTeam/ArchiveBot.

TIMESTAMPS
The Wayback Machine - http://web.archive.org/web/20200916085630/https://github.com/cdgriffith/Box
Skip to content
Sign in Sign up
  • Star
  • Fork 60
  • Python dictionaries with advanced dot notation access

    github.com/cdgriffith/box/wiki
    MIT License
    1.5k stars 60 forks
    Star
    Watch
    master
    9 branches 39 tags
    Go to file
    Code

    If nothing happens, download GitHub Desktop and try again.

    If nothing happens, download GitHub Desktop and try again.

    If nothing happens, download Xcode and try again.

    If nothing happens, download the GitHub extension for Visual Studio and try again.

    Latest commit

    cdgriffith Version 5.1.1
    4b66113 Aug 20, 2020
    Version 5.1.1
    Bugfix dots default (#166)
    4b66113

    Git stats

    Files

    Permalink
    Failed to load latest commit information.
    Type
    Name
    Latest commit message
    Commit time
    .github/workflows
     
     
    box
     
     
    docs
     
     
    test
     
     
    .black.toml
     
     
    .coveragerc
     
     
    .gitignore
     
     
    .pre-commit-config.yaml
     
     
    AUTHORS.rst
     
     
    CHANGES.rst
     
     
    CONTRIBUTING.rst
     
     
    LICENSE
     
     
    MANIFEST.in
     
     
    README.rst
     
     
    box_logo.png
     
     
    requirements-dev.txt
     
     
    requirements-test.txt
     
     
    requirements.txt
     
     
    setup.py
     
     

    README.rst

    BuildStatus CoverageStatus License

    BoxImage

    from box import Box
    
    movie_box = Box({ "Robin Hood: Men in Tights": { "imdb stars": 6.7, "length": 104 } })
    
    movie_box.Robin_Hood_Men_in_Tights.imdb_stars
    # 6.7

    Box will automatically make otherwise inaccessible keys safe to access as an attribute. You can always pass conversion_box=False to Box to disable that behavior. Also, all new dict and lists added to a Box or BoxList object are converted automatically.

    There are over a half dozen ways to customize your Box and make it work for you.

    Check out the new Box github wiki for more details and examples!

    Install

    pip install --upgrade python-box[all]

    Box 5 is no longer forcing install of external dependencies such as yaml and toml. Instead you can specify which you want, for example, all is shorthand for:

    pip install --upgrade python-box[ruamel.yaml,toml,msgpack]

    But you can also sub out "ruamel.yaml" for "PyYAML".

    Check out more details on installation details.

    Box 5 is tested on python 3.6+ and pypy3, if you are upgrading from previous versions, please look through any breaking changes and new features.

    If you have any issues please open a github issue with the error you are experiencing!

    Overview

    Box is designed to be an easy drop in transparently replacements for dictionaries, thanks to Python's duck typing capabilities, which adds dot notation access. Any sub dictionaries or ones set after initiation will be automatically converted to a Box object. You can always run .to_dict() on it to return the object and all sub objects back into a regular dictionary.

    Check out the Quick Start for more in depth details.

    Box can be instantiated the same ways as dict.

    Box({'data': 2, 'count': 5})
    Box(data=2, count=5)
    Box({'data': 2, 'count': 1}, count=5)
    Box([('data', 2), ('count', 5)])
    
    # All will create
    # <Box: {'data': 2, 'count': 5}>

    Box is a subclass of dict which overrides some base functionality to make sure everything stored in the dict can be accessed as an attribute or key value.

    small_box = Box({'data': 2, 'count': 5})
    small_box.data == small_box['data'] == getattr(small_box, 'data')

    All dicts (and lists) added to a Box will be converted on lookup to a Box (or BoxList), allowing for recursive dot notation access.

    Box also includes helper functions to transform it back into a dict, as well as into JSON, YAML, TOML, or msgpack strings or files.

    Thanks

    A huge thank you to everyone that has given features and feedback over the years to Box! Check out everyone that has contributed.

    A big thanks to Python Software Foundation, and PSF-Trademarks Committee, for official approval to use the Python logo on the Box logo!

    Also special shout-out to PythonBytes, who featured Box on their podcast.

    License

    MIT License, Copyright (c) 2017-2020 Chris Griffith. See LICENSE file.

    About

    Python dictionaries with advanced dot notation access

    Topics

    dictionaries bunch python-types python python3 object helper python-library pypi box python-box addict

    Resources

    Readme

    License

    MIT License

    Releases 39

    Version 5.1.1 Latest
    Aug 20, 2020
    + 38 releases

    Used by 869

  • @Ashton-Sidhu
  • @obradovic
  • @stepchoi
  • @irchanbani
  • @sartography
  • @pauldes
  • @carrotFoxx
  • + 861

    Contributors 4

     
  •  
  •  
  •  
  • Languages

  • Privacy
  • Security
  • Status
  • Help
  • You can’t perform that action at this time.