Skip to main content

best-tags

https://img.shields.io/pypi/v/besttags.svg

I try to find the best hashtags for my post on instagram. There are some grate web pages, but I wand a python package.

  • Free software: MIT license

Install

$ pip install besttags

Command-line

$ best-tags coding python programmer --fix fullstackhero

#fullstackhero #coding #programming #programmer #html #css #javascript #developer
#code #webdeveloper #coder #webdesign #webdevelopment #technology #php #java
#software #tech #python #computer #computerscience #development #codinglife
#linux #programmers #softwaredeveloper #bhfyp #web #webdesigner #c

See the help for more informations

$ python -m besttags --help

or

$ best-tags --help

Examples

The simple one-liner. It will save the best hashtags for the given tags in a file.

from besttags import Manager

# The tags you are interested in.
tags = ['coder', 'programmers', 'python']

Manager()(tags).save('best_hashtags.txt')

You can change the default settings and add additional tags and use print() to show the tags

Manager(limit=10, fix=['fullstackhero'])(tags).save('10_best_hashtags.txt')

print(Manager()(tags))

Use the Manager to create an object, which you can use multiple times. It is callable and allows a list or single strings.

best = Manager(fix=['fullstackhero'])

best('computer', 'instagood')
best(['coder', 'programmers', 'python'])

The result is a class, with some basic functions. So you can iterate it and get the length.

result = best('coder', 'programmers', 'python')

print(len(result))

for tag in result:
    print(tag)

print(result)

result.save('best_hashtags.txt')

History

1.0.1 (2019-02-07)

  • bug-fix for disjunkte tags

1.0.0 (2019-02-07)

  • First release on PyPI.

Metadata

Release files for besttags 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for besttags 1.0.1
File Size Uploaded Provenance
besttags-1.0.1.tar.gz 7.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for besttags 1.0.1
File Interpreter ABI Platform
besttags-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 14.2 kB

Release files / besttags-1.0.1.tar.gz

Download URL besttags-1.0.1.tar.gz
Size 7.5 kB
Tags Source
SHA-256 checksum
How to use checksums
498cf367a449a69f0d8299b63e5b1c6edbaf5ebe2e2f75aa231961e32278fd8d
BLAKE2b-256 checksum
How to use checksums
f30b9a0e4f1abd65cb7a81b8f35dd1110e547b5de3244403031eb03dcaf52e7b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.6.7

Release files / besttags-1.0.1-py3-none-any.whl

Download URL besttags-1.0.1-py3-none-any.whl
Size 6.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5cdcc307d8269234173fe5c6634baaa14fced8a234a5ebfa1d43fdd382f0e436
BLAKE2b-256 checksum
How to use checksums
8d6ef1dfb1a6f1d4cdc5e2e6c78cf5026f6a9c37b0b6d4f3c580561b1ffdedab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.6.7

Security for besttags 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page