semvec/pypi-packages huggingface dataset:
cdxjGenerator 0.0.1
Generate CDXJ TimeMaps for testing elsewhere
License: MIT
Keywords: web archives replay cdxj memento

# CDXJ Generator

A Python script to generate CDXJ TimeMaps for testing elsewhere. 

# Install

This tool is published to pypi. To install it:

`pip install cdxjGenerator`

To use the development version, clone this repository then `pip install .`


## Usage

These inststructions assume installation via `pip`.

To run:

    cdxjGenerator [number of lines] [URI-R]
    
For example:

    cdxjGenerator 12
    
...will generate CDXJ output (to stdout by default) consisting of entries for 12 random URIs. Alternatively:

    cdxjGenerator 25000 memento.us
    
...will generate 25,000 entries for the URI-R `memento.us`. This output can be written to a file like:

    cdxjGenerator 25000 memento.us > sample.cdxj

The resulting file will likely need to be sorted before used elsewhere. Do this via:

    LC_ALL=C sort sample.cdxj > sample_sorted.cdxj

This can also be performed in a single command, instead of writing to the temporary, unsorted `sample.cdxj` like:

    cdxjGenerator 25000 memento.us | LC_ALL=C sort > sample_sorted.cdxj

## Background
TimeMaps are lists that enumerate URIs of resources that encapsulate prior states of the given resource. ([RFC7089 - Memento](https://tools.ietf.org/html/rfc7089)). TimeMaps are often expressed in an extension of the Web Linking ([RFC5988](https://tools.ietf.org/html/rfc5988)) format. Additional, less common formats, like JSON and CDXJ TimeMaps can also express the same information in a less rigid format. [CDXJ](https://github.com/oduwsdl/ORS/wiki/CDXJ) is the most flexible of the three and is used by [InterPlanetary Wayback (ipwb)](https://github.com/oduwsdl/ipwb), which sparked the initial need for this software existing.
WtwoBai 0.1.0
A python library for love.
License: MIT
Requires Python: >=3.6.0

# WtwoBai

## Usage

A python library for love.

## Installation

You can install, upgrade, uninstall count-line with these commands(without $):

```html
$ pip install WtwoBai
$ pip install --upgrade WtwoBai
$ pip unstall WtwoBai
```
CoolPlot 0.1.6
Create property plots for engineering thermodynamics using CoolProp as data source.
License: MIT
Requires Python: >=3.6.0



![GitHub License](https://img.shields.io/github/license/coolprop/coolplot.svg)
![Coverage - Codecov](https://img.shields.io/codecov/c/gh/CoolProp/CoolPlot.svg)
![Coverage - Coveralls](https://img.shields.io/coveralls/github/CoolProp/CoolPlot.svg)
![PyPI - Version](https://img.shields.io/pypi/v/coolplot.svg)
![PyPI - Downloads](https://img.shields.io/pypi/dm/coolplot.svg)


CoolPlot
========

This repository contain code for a Python module to create property plots
for engineering thermodynamics applications using [CoolProp].

It focusses on refrigeration and heat pumping applications and the enthalpy-
pressure diagrams (logp,h) are considered to be more mature than others.
However, entropy-temperature diagrams (T,s) have also been implemented and
should work for most fluids.

We are still in the process of separating the calculations from the plotting
routines - expect some breaking changes until v1.0.0 is released. The code
has been forked from the main [CoolProp repository] at v6.3.0 and the history
was preserved, thus the old commits.

Pull requests are encouraged!


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

The project gets published on [PyPi] as `coolplot` and you can install it
using pip

```bash
pip install coolplot
```


License
-------

This Python package is released under the terms of the MIT license. 


  [CoolProp]: http://coolprop.sourceforge.net/
  [CoolProp repository]: https://github.com/CoolProp/CoolProp
  [PyPi]: https://docs.python.org/3/distutils/packageindex.html
Hencoder 1.0.0
An text encoder based on Hauffman Encoding.
License: MIT
Requires Python: >=3.0
Keywords: Hauffman,encoder,decoder,Encoding,decoding

# Hencoder

[![forthebadge made-with-python](http://ForTheBadge.com/images/badges/made-with-python.svg)](https://www.python.org/)

[![Python](https://img.shields.io/badge/Python-v3.0+-BLUE.svg)](https://www.python.org/)
[![GitHub release](https://img.shields.io/badge/release-v1.0-BLUE.svg)](https://github.com/Akashtyagi08/Hencoder/releases)
![Build Status](https://travis-ci.org/anfederico/Clairvoyant.svg?branch=master)
![Contributions welcome](https://img.shields.io/badge/contributions-welcome-orange.svg)

------------------------------------------------
### Hencoder is a simple encoder based on greedy algorithim [Huffman encoding](https://en.wikipedia.org/wiki/Huffman_coding).



### ```pip install Hencoder```

#### This package can be used to:

* Encode/Decode any given text
* Encode/Decode any given file. 

This file can be
* Any plain text file.
* Source code along with indentations.
* Any other text that is readable by python.

![Hencoder](https://github.com/Akashtyagi08/Hencoder/blob/master/demo/inplace.gif)
------------------------------------------------

# What's Great about Hencoder ? :star2:	

> Hencoder makes sure that nobody else can decode your text other than you. :superhero:

Hencoder provides a feature to encode your input using a ```secret key```.

This ```secret key``` ensures that no-one else can decode your encoded text until they know the key used for encoding the text.

This secret key gets added to your original text, therefore correct decoding is only possible when the user enters the same key that was used while encoding.

This key can be any value in range of `key = 1-100 ` .

> Geek fact:
>
>   You can super encode your already encoded file with another key to make it even more difficult for someone to crack it.

![Key](https://github.com/Akashtyagi08/Hencoder/blob/master/demo/variable_key.gif)
# How to Use Hencoder ? :book:


It's as smooth as butter.

* Encoding/Decoding can be done in 2 ways:
	1. Encoding/Decoding a **text**
	2. Encoding/Decoding a **file**


```python
Hencoder.encode(text="", key=0, path=None, inplace=False)
Hencoder.decode(text="", key=0, path=None, inplace=False)

* text: Text that needs to be encoded.
		{Default=''} {Optional}

* key: Encoding: Secure your data by adding a secret value.
	   Decoding: When decoding, you need to enter same key.
	    {Default=0}  {Optional}

* path: If want to convert any file, enter its complete path.
		{Default=None} (Optional)

* inplace: When coverting file, modify file inplace. 
		{Default= False} (Optional)
```
![File Encoding](https://github.com/Akashtyagi08/Hencoder/blob/master/demo/Hencoder.gif)
ethanypc-simplerequest 1.0.3
Wrapper around http.client
License: MIT

# ethanypc-simplerequest




A simpler API built on top of Python's http.client. 

Support for Python 3 only.


# Install  

```bash
# from pypi
pip install ethanypc-simplerequest

# from testpypi
pip install -i https://test.pypi.org/simple/ ethanypc-simplerequest
```

# Usage

```python
import simplehttp

r = simplehttp.get_json("https://httpbin.org/get")
assert r["args"] == {}  

r2 = simplehttp.get_json("https://httpbin.org/get?debug=true",
				 params={"name": "常⾒見見問題 Q&A"})
assert r2["args"] == {"debug": "true", "name": "常⾒見見問題 Q&A"}


data = {"isbn": "9789863479116", "title": u"流暢的 Python"}
r3 = simplehttp.post_json("https://httpbin.org/post",
			 params={"debug": "true"}, data=data)
assert r3["args"] == {"debug": "true"}
assert json.loads(r3["json"]) == data
```