semvec/pypi-packages huggingface dataset:
pickle-utils 0.1.1
Memoize functions to disk, load and save compressed Pickle files.
Keywords: pickle

*NOTE:* You should use `pandas.read_pickle` and `pandas.to_pickle` instead for
`load` and `dump`.

# Available functions:

Use `help(pickle_utils)` in an interactive session for slightly more detailed
docs.

## `load(filename_or_object)`
Load a Pickle file, from a file name or a file-like object. If the argument is a
file name, it must end in ".pkl" or ".pkl.gz". In the second case the file will
be compressed.

Use `pandas.read_pickle` instead.

## `dump(data, filename_or_object)`
Same as before but dump data to disk.

Use `pandas.to_pickle` instead.

## `@memoize(filename, log_level=info)`
Decorator to memoize the output of a function to `filename` with pickle. The
function will be executed only if `filename` does not exist.
kobjdump 0.1.2
Python program for dumping KerbalObject files.

# kobjdump
A small program to dump KerbalObject files to a human readable format, similar in function to tools like `readelf` or `dumpobj` but only for use with KerbalObject files. Useful for debugging when generating KO files for the langauge of your choice.

For a description of the format of KerbalObject files, see [kobjectlib/docs](https://github.com/etherealfryingpan/kobjectlib "kobjectlib GitHub page")

---

Tested using Python 3.6.9

This project is a Python module, so if using from the source it must be run with:

`python3 -m kobjdump [args]`

Although this can also be installed from PyPi:

`pip3 install kobjdump`

So it can be run as such:

`kobjdump [args]`

This will be the format that will be used throughout these docs

---

## `Module documentation:`

Help can be acquired by:

`kobjdump --help`

---

### `Arguments:`

Specifies an input KerbalObject (.ko) file that will be read  
`kobjdump` `-i` / `--input-file` `FILE_PATH`

Can only be used seperately  
This argument specifies for `kobjdump` to create a sample KO file that contains at least one type of every section, although it will NOT be valid for linking. It is simply to show what each section will look like.  
A file called `sample.ko` will be created in the current working directory.

`kobjdump --generate-sample`

---

If you have any questions / suggestions for this project, let me know.
kobjectlib 0.1.1
Python library for reading and writing KerbalObject files

# kobjectlib
A small repository that just contains the Python library for reading and writing KerbalObject files for use with the KerbalAssembler and KerbalLinker

Tested using Python 3.6.9

This is a Python module that is not executable, and should be included in other projects that would like to use the KerbalObject file format. For example the projects [kobjdump](https://github.com/etherealfryingpan/kobjdump "kobjdump's GitHub") and [klinker](https://github.com/etherealfryingpan/kerbal-klinker "klinker's GitHub")

---

This package can either be used by downloading the source and including the folder in your project, or by installing it from PyPi:

`pip3 install kobjectlib`

The most important part of the project is definitely kobjectlib.KOFile, which is a class that represents an entire KerbalObject file.

From there, one can read a KO file:

```
from kobjectlib import KOFile

contents = None

with open('object.ko', 'rb') as fh:
    contents = fh.read()

kobj = KOFile.read(contents)
```

And then possibly write it again:

```
# ...continued...

kobj_bytes = kobj.generate()

with open('object2.ko', 'wb') as fh:
    fh.write(kobj_bytes)
```

All of the code is commented, so it should be okay to understand.
atd-data-util 0.1.0
Miscellaneous utilities for manipulating data.

# atd-data-util (datautil)

## Installation

Master branch:

```
pip install atd-data-util
```

Development branch:

```
pip install atd-data-util-dev
```

## License

As a work of the City of Austin, this project is in the public domain within the United States.

Additionally, we waive copyright and related rights of the work worldwide through the [CC0 1.0 Universal public domain dedication](https://creativecommons.org/publicdomain/zero/1.0/).