semvec/pypi-packages huggingface dataset:
sitemap-maker 1.0.1
Python tool to generate sitemap XML files
License: MIT

sitemap_maker
=============

|Pypi| |Build Status| |codecov| |MIT licensed|

Python tool to generate sitemap XML files.

This tool relies mainly on the Python crawler
`sitecrawl <https://github.com/gabfl/sitecrawl>`__.

Installation
------------

Using pip:

.. code:: bash

   pip3 install sitemap_maker

   sitemap_maker --help

Or build from sources:

.. code:: bash

   # Clone project
   git clone https://github.com/gabfl/sitemap_maker && cd sitemap_maker

   # Installation
   pip3 install .

Usage
~~~~~

.. code:: bash

   sitemap_maker --url https://www.weather.gov/ \
       --sitemap output.xml \
       --depth 1 \
       --max 5 \
       --no_pound \
       --verbose

   # For help:
   # sitemap_maker --help

Will create a file ``sitemap.xml``:

.. code:: xml

   <?xml version="1.0" encoding="UTF-8"?>
   <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
     <url>
       <loc>https://www.weather.gov</loc>
     </url>
     <url>
       <loc>https://www.weather.gov/wrh/climate</loc>
     </url>
     <url>
       <loc>https://www.weather.gov/safety/flood</loc>
     </url>
     <url>
       <loc>https://www.weather.gov/safety/tsunami</loc>
     </url>
     <url>
       <loc>https://www.weather.gov/safety/beachhazards</loc>
     </url>
   </urlset>

.. |Pypi| image:: https://img.shields.io/pypi/v/sitemap_maker.svg
   :target: https://pypi.org/project/sitemap_maker
.. |Build Status| image:: https://github.com/gabfl/sitemap_maker/actions/workflows/ci.yml/badge.svg?branch=main
   :target: https://github.com/gabfl/sitemap_maker/actions
.. |codecov| image:: https://codecov.io/gh/gabfl/sitemap_maker/branch/main/graph/badge.svg
   :target: https://codecov.io/gh/gabfl/sitemap_maker
.. |MIT licensed| image:: https://img.shields.io/badge/license-MIT-green.svg
   :target: https://raw.githubusercontent.com/gabfl/sitemap_maker/main/LICENSE
plot-map 0.3.7
A tool to add basemap in matplotlib
License: MIT
Requires Python: >=3.6

# plot_map

## 安装

    pip install -U plot-map

## 底图加载功能

### 地图底图加载

只需要用以下代码：   

    import plot_map
    #设定显示范围
    bounds = [lon1,lat1,lon2,lat2]  
    plot_map.plot_map(plt,bounds,zoom = 12,style = 4)  

参数

| 参数        | 描述                                                         |
| ----------- | ------------------------------------------------------------ |
| bounds      | 底图的绘图边界，[lon1,lat1,lon2,lat2] (WGS84坐标系) 其中，lon1,lat1是左下角坐标，lon2,lat2是右上角坐标 |
| zoom        | 底图的放大等级，越大越精细，加载的时间也就越久，一般单个城市大小的范围，这个参数选取12到16之间 |
| style       | 地图底图的样式，可选1-5，或'light','dark'，style为4时为light，style为5时为dark  |
| imgsavepath | 瓦片地图储存路径，设置路径后，会把地图下载到本地的文件夹下，使用时也会优先搜索是否有已经下载的瓦片，默认的存放路径是C:\\ |
| printlog    | 是否显示日志                                                 |

### 绘制指北针和比例尺的功能plotscale

为底图添加指北针和比例尺

    plot_map.plotscale(ax,bounds = bounds,textsize = 10,compasssize = 1,accuracy = 2000,rect = [0.06,0.03])  

参数

| 参数        | 描述                                                         |
| ----------- | ------------------------------------------------------------ |
| bounds      | 底图的绘图边界，[lon1,lat1,lon2,lat2] (WGS84坐标系) 其中，lon1,lat1是左下角坐标，lon2,lat2是右上角坐标 |
| textsize    | 标注文字大小                                                 |
| compasssize | 标注的指北针大小                                             |
| accuracy    | 标注比例尺的长度                                             |
| unit        | 'KM','km','M','m' 比例尺的单位                               |
| style       | 1或2，比例尺样式                                             |
| rect       | 比例尺在图中的大致位置，如[0.9,0.9]则在右上角                    |
CoordinatesConverter 0.1.5
A tool to convert coordinates between WGS84 GCJ02 and BD09
License: MIT
Requires Python: >=3.6

# CoordinatesConverter
WGS84 / BD09 / GCJ02  经纬度坐标互转，基于numpy列运算

## 安装

    pip install CoordinatesConverter

## 用法
    import CoordinatesConverter  
    BUS_GPS['lon'],BUS_GPS['lat'] = CoordinatesConverter.gcj02towgs84(BUS_GPS['lon'],BUS_GPS['lat'])

## 功能
坐标互转，基于numpy列运算

    CoordinatesConverter.wgs84tobd09(lon, lat)  
    CoordinatesConverter.wgs84togcj02(lon, lat)  
    CoordinatesConverter.gcj02tobd09(lon, lat)  
    CoordinatesConverter.gcj02towgs84(lon, lat)  
    CoordinatesConverter.bd09togcj02(lon, lat)  
    CoordinatesConverter.bd09towgs84(lon, lat)  

输入起终点经纬度，获取距离（米），基于numpy列运算
    CoordinatesConverter.getdistance(lon1, lat1, lon2, lat2)  

注：传入列数据类型需为float
fakeid 0.0.1
A fake id creator
License: MIT
Keywords: fake id

this is a python library that can create fake data for human identification

such as:
 - fake names
 - fake birthdays
 - fake addresses
 - and more stuff will be added in the future

Change Log
----------

0.0.1 (30/01/2022)
------------------
 - First Release
 - Added Fake Birthday Creation
pycounts-thomassiu 2.1.0
Calculate word counts in a text file
License: MIT
Requires Python: >=3.9,<4.0

# pycounts_thomassiu

Calculate word counts in a text file!!!

## Installation

```bash
$ pip install pycounts_thomassiu s
```

## Usage

`pycounts_thomassiu` can be used to count words in a text file and plot results
as follows :

```python
from pycounts_thomassiu.pycounts import count_words
from pycounts_thomassiu.plotting import plot_words
import matplotlib.pyplot as plt

file_path = "test.txt"  # path to your file
counts = count_words(file_path)
fig = plot_words(counts, n=10)
plt.show()
```

## Contributing

Interested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.

## License

`pycounts_thomassiu` was created by Thomas Siu. It is licensed under the terms of the MIT license.

## Credits

`pycounts_thomassiu` was created with [`cookiecutter`](https://cookiecutter.readthedocs.io/en/latest/) and the `py-pkgs-cookiecutter` [template](https://github.com/py-pkgs/py-pkgs-cookiecutter) .

test-update