Giter Club home page Giter Club logo

Comments (9)

messense avatar messense commented on June 3, 2024 1

https://github.com/CeresDB/ceresdb-client-py/blob/02719e2a7d70a3bd0bb183f965b2ab52b3e3b0f8/.github/workflows/release.yml#L47-L65

It's already there, but you need to configure the PYPI_TOKEN secret. Push a tag will trigger it.

from incubator-horaedb-client-py.

messense avatar messense commented on June 3, 2024 1

It's more than that name change, I'll send a PR soon.

Edit: #12

from incubator-horaedb-client-py.

messense avatar messense commented on June 3, 2024 1

To get a pypi api token for this project, you can run maturin sdist -o dist locally (you can change the version in Cargo.toml to 0.0.0 first because we may not want to ship a v0.1.0 right now) and upload dist/*.tar.gz file using twine to register the package under your PyPI account. After that you can generate a new api token for this project in pypi.org dashboard.

maturin sdist -o dist
pip3 install twine
twine upload dist/*.tar.gz

from incubator-horaedb-client-py.

ShiKaiWi avatar ShiKaiWi commented on June 3, 2024

@messense Would you like provide some suggestions?

from incubator-horaedb-client-py.

messense avatar messense commented on June 3, 2024

I wonder if we should rename the Python package name to ceresdb_client, the _py suffix is redundant. It's much nicer to write import ceresdb_client instead of import ceresdb_client_py.

from incubator-horaedb-client-py.

ShiKaiWi avatar ShiKaiWi commented on June 3, 2024

I wonder if we should rename the Python package name to ceresdb_client, the _py suffix is redundant. It's much nicer to write import ceresdb_client instead of import ceresdb_client_py.

Actually, ceresdb_client_py is just the name of this repository and the package name should be ceresdb_client.

from incubator-horaedb-client-py.

ShiKaiWi avatar ShiKaiWi commented on June 3, 2024

I find that now the project name is ceresdb_client_py and I will fix it:
https://github.com/CeresDB/ceresdb-client-py/blob/02719e2a7d70a3bd0bb183f965b2ab52b3e3b0f8/pyproject.toml#L2

from incubator-horaedb-client-py.

ShiKaiWi avatar ShiKaiWi commented on June 3, 2024

To get a pypi api token for this project, you can run maturin sdist -o dist locally (you can change the version in Cargo.toml to 0.0.0 first because we may not want to ship a v0.1.0 right now) and upload dist/*.tar.gz file using twine to register the package under your PyPI account. After that you can generate a new api token for this project in pypi.org dashboard.

maturin sdist -o dist
pip3 install twine
twine upload dist/*.tar.gz

I'm registering pypi account.

from incubator-horaedb-client-py.

ShiKaiWi avatar ShiKaiWi commented on June 3, 2024

Already upload version 0.0.0 client: https://pypi.org/project/ceresdb-client/. and we are preparing to release 0.1.0 after #13 merged.

Thanks for your guidance. @messense

from incubator-horaedb-client-py.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.