Everything you frequently use when you use python.
Project description
#+OPTIONS: ':nil *:t -:t ::t <:t H:3 \n:nil ^:{} arch:headline author:t
#+OPTIONS: broken-links:nil c:nil creator:nil d:(not "LOGBOOK") date:t e:t
#+OPTIONS: email:nil f:t inline:t num:nil p:nil pri:nil prop:nil stat:t tags:t
#+OPTIONS: tasks:t tex:t timestamp:t title:t toc:t todo:t |:t
#+TITLE: Napy
#+DATE: <2018-12-11 Tue>
#+AUTHOR: Nasy
#+EMAIL: nasyxx@gmail.com
#+LANGUAGE: en
#+SELECT_TAGS: export
#+EXCLUDE_TAGS: noexport
#+CREATOR: Emacs 27.0.50 (Org mode 9.1.9)
#+SETUPFILE: https://fniessen.github.io/org-html-themes/setup/theme-readtheorg.setup
Everything you frequently use when you use Python.
* Prologue
I 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./
* Introduction
Napy includes some of the packages I frequently use, such as ~requests~, for crawlers; ~sympy~ for
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.el~ contains ~(org-html-klipsify-src . nil)~, it is warning that it is not safe./
* Usage
** Template
*** Crawler
#+begin_src shell
$ 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.
#+end_src
It will generate this:
#+begin_src python
from requests_html import HtmlSession as s
import requests as req
def crawler() -> None:
"""Crawler."""
pass
if __name__ == "__main__":
pass
#+end_src
** More
Still under development.
* Packages
** Normal
+ better_exceptions :: Pretty and helpful exceptions, automatically.
+ pendulum :: Python datetimes made easy.
+ tqdm :: Fast, Extensible Progress Meter.
** Science
+ jupyter :: Jupyter Notebook + IPython :: Jupyter metapackage. Install all the Jupyter components in
one go.
+ numpy :: NumPy: array processing for numbers, strings, records, and objects
+ pandas :: Powerful data structures for data analysis, time series, and statistics
+ sympy :: Computer algebra system (CAS) in Python
** Crawler
+ requests :: Python HTTP for Humans.
+ requests_html :: HTML Parsing for Humans.
+ BeautifulSoup4 :: Screen-scraping library
** Development
+ cleo :: Cleo allows you to create beautiful and testable command-line interfaces.
* Epoligue
** History
#+include: "CHANGELOG" :minlevel 3
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
napy-0.1.0.tar.gz
(38.7 kB
view details)
Built Distribution
napy-0.1.0-py3-none-any.whl
(97.1 kB
view details)
File details
Details for the file napy-0.1.0.tar.gz
.
File metadata
- Download URL: napy-0.1.0.tar.gz
- Upload date:
- Size: 38.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.12.10 CPython/3.7.1 Darwin/18.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 502ff4cd1d21ae0781962e041b5b7f7431ce6027b9159063894d512d379a8f79 |
|
MD5 | 8d44bbdc34dfa78dc34a450ed2c92150 |
|
BLAKE2b-256 | b34ea2ef659b894b55ca6ac9bb61eb68559b2d6a26758bc0e3e6c6ad445e4a81 |
File details
Details for the file napy-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: napy-0.1.0-py3-none-any.whl
- Upload date:
- Size: 97.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.12.10 CPython/3.7.1 Darwin/18.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 541a3bb56c4c0bb2d6ff700be9d77dbd2d7b3ad60dca993e22821dc8399716b5 |
|
MD5 | be343f10bf5018e457db7b442b85ea91 |
|
BLAKE2b-256 | ebe19aa0e3830bf4ece0e375c7c7d011e77f243b241dac663e14784fa8729dbc |