Package: napy
Table of ContentsPrologueIntroductionUsageTools (Libs)UtilityFlattenComand Line ToolsTemplateCrawlerMorePackagesNormalScienceCrawlerDevelopmentEpoligueHistory0.2.2<2018-12-29 Sat>0.2.1<2018-12-22 Sat>0.1.1<2018-12-17 Mon>0.1.0<2018-12-16 Sun>Here is everything frequently use in python.PrologueI often need to configure a new Python development environment.  Whether it is to help others or for
myself, it is very troublesome to manage packages with pip.  Besides, there are fascinating and
impressive ipython extensions, and every installation of them has to bother Google again.Therefore, I created this napy.This package is still under development, and although is only for myself now, you can use it as you
like.IntroductionNapy includes some packages that I frequently use in python, such asrequests, for crawlers;sympyfor mathematics.  Also, napy has some ipython extensions I write.  A template Napy also has that I
often use (of course, it's still straightforward now).  Hope you like it.Due to the.dir-local.elcontains(org-html-klipsify-src . nil), it is warning that it is not safe.UsageTools (Libs)UtilityFlattenFlatten list of iterable objects.from napy.tools import flatten, flatten_str

list(flatten([1, 2, "ab", [3, "c", [4, ["d"]]]]))
# [1, 2, "ab", 3, "c", 4, "d"]

list(flatten("abc"))
# ["a", "b", "c"]
# regard "abc" as ["a", "b", "c"]

list(flatten_str([1, 2, "ab", [3, "c", [4, ["d"]]]]))
# or list(flatten([1, 2, "ab", [3, "c", [4, ["d"]]]], True))
# [1, 2, "a", "b", 3, "c", 4, "d"]Comand Line ToolsTemplateCrawler$ napy template --help
Usage:
  template [options]

Options:
  -c, --category[=CATEGORY]       Category of template
  -o, --output[=OUTPUT]           Output file (default: "stdout")
  -y, --yes                       Confirmation
  -h, --help                      Display this help message
  -q, --quiet                     Do not output any message
  -V, --version                   Display this application version
      --ansi                      Force ANSI output
      --no-ansi                   Disable ANSI output
  -n, --no-interaction            Do not ask any interactive question
  -v|vv|vvv, --verbose[=VERBOSE]  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Help:
 Template command line tool.It will generate this:from requests_html import HtmlSession as s
import requests as req


def crawler() -> None:
    """Crawler."""
    pass


if __name__ == "__main__":
    passMoreStill under development.PackagesNormalbetter_exceptions:Pretty and helpful exceptions, automatically.pendulum:Python datetimes made easy.tqdm:Fast, Extensible Progress Meter.Sciencejupyter :: Jupyter Notebook + IPython:Jupyter metapackage. Install all the Jupyter components in
one go.numpy:NumPy: array processing for numbers, strings, records, and objectspandas:Powerful data structures for data analysis, time series, and statisticssympy:Computer algebra system (CAS) in PythonCrawlerrequests:Python HTTP for Humans.requests_html:HTML Parsing for Humans.BeautifulSoup4:Screen-scraping libraryDevelopmentcleo:Cleo allows you to create beautiful and testable command-line interfaces.EpoligueHistory0.2.2<2018-12-29 Sat>Fix:now flatten will not flat dict any more.0.2.1<2018-12-22 Sat>Add a new tool flatten0.1.1<2018-12-17 Mon>Use README.md instead of README.org0.1.0<2018-12-16 Sun>The beginning of everything